* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00D4FF;
    --secondary: #7B3FF2;
    --accent: #00FFA3;
    --danger: #FF3B3B;
    --warning: #FFB800;
    --success: #00FF88;
    --bg-dark: #0A0B1E;
    --bg-card: rgba(16, 18, 48, 0.8);
    --text-primary: #FFFFFF;
    --text-secondary: #A8B2D1;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Performance: Use system fonts for faster load */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport height fix */
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

ul {
  list-style-type: none;
}

/* Skip to content for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Animated Background - Optimized */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0A0B1E 0%, #1A1B3A 50%, #0A0B1E 100%);
    will-change: transform;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(123, 63, 242, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Grid Pattern Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Header - Sticky for better UX */
header {
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 11, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFFFFF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: filter 0.3s ease;
    white-space: nowrap;
}

.logo:hover {
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-weight: 600;
}

.announcement-bar a {
    color: white;
    text-decoration: underline;
}

/* Enhanced Button Styles */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section - Enhanced */
.hero {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Trust Badges - Enhanced */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 600px;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.trust-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Search Box - Enhanced */
.search-container {
    max-width: 600px;
    margin: 3rem auto;
    position: relative;
}

.search-wrapper {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.search-box {
    width: 100%;
    padding: 1.5rem;
    padding-right: 140px;
    font-size: 1.1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
}

.search-box::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Recent Inspections - Enhanced Cards */
.recent-inspections {
    margin: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.inspections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.inspection-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.inspection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.inspection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.inspection-card:hover::before {
    transform: scaleX(1);
}

.inspection-card:hover .status-badge {
    transform: scale(1.05);
}

/* Inspection Header */
.inspection-header {
    display: block;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 2.5rem;
}

.project-info {
    padding-right: 6rem;
    max-width: calc(100% - 6rem);
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    transition: transform 0.3s ease;
}

.status-verified {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.2);
}

.status-warning {
    background: rgba(255, 184, 0, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 184, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.2);
}

.status-failed {
    background: rgba(255, 59, 59, 0.15);
    color: var(--danger);
    border: 1px solid rgba(255, 59, 59, 0.3);
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.2);
    animation: pulse-danger 3s infinite;
}

@keyframes pulse-danger {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 59, 59, 0.2);
    }
    50% {
        box-shadow: 0 2px 16px rgba(255, 59, 59, 0.4);
    }
}

/* Stats Section */
.stats-section {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 6rem 0;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 6rem 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.feature-card:hover::after {
    transform: translateX(0);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How it Works - Process */
.process-section {
    margin: 6rem 0;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

/* Connect steps with lines on desktop */
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: calc(50% + 40px);
        width: calc(100% - 80px);
        height: 2px;
        background: linear-gradient(90deg, var(--primary), transparent);
        z-index: -1;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 63, 242, 0.05));
    border-radius: 24px;
    margin: 6rem 0;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Form Styles */
.request-form {
    max-width: 600px;
    margin: 3rem auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 1.25rem;
    font-size: 1rem;
    background: rgba(16, 18, 48, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-select {
    width: 100%;
    padding: 1.25rem;
    font-size: 1rem;
    background: rgba(16, 18, 48, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* Queue Status Widget */
.queue-status {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    border: 1px solid var(--border-color);
}

.queue-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.queue-stat {
    text-align: center;
}

.queue-stat-value {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.queue-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    margin: 6rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: rgba(10, 11, 30, 0.5);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Live Queue Ticker */
.queue-ticker {
    background: var(--bg-card);
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 2rem;
    color: var(--text-secondary);
}

.ticker-item strong {
    color: var(--primary);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin: -0.5rem;
}

/* Tablet Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 11, 30, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 1rem;
    }

    header {
        padding: 0.875rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .inspections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .bg-animation,
    .grid-overlay,
    header,
    footer,
    .cta,
    .search-container {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 2rem;
    display: none;
    animation: slideIn 0.3s ease;
    z-index: 1000;
}

.toast.show {
    display: block;
}

.toast.success {
    border-color: var(--success);
    background: rgba(0, 255, 136, 0.1);
}

.toast.error {
    border-color: var(--danger);
    background: rgba(255, 59, 59, 0.1);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===================================== */
/* ADDITIONAL CLASSES FOR SPECIFIC PAGES */
/* ===================================== */

/* Blog Page */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.blog-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

/* API Documentation */
.api-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.endpoint {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
}

.method {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.get { background: rgba(0, 255, 136, 0.2); color: var(--success); }
.post { background: rgba(0, 212, 255, 0.2); color: var(--primary); }

.code-example, .code-block {
    background: #1A1B3A;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary);
    overflow-x: auto;
}

.response-example {
    background: rgba(0, 255, 163, 0.05);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

/* Security & Privacy Pages */
.security-grid, .info-grid, .asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.security-card, .info-card, .asset-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.security-card:hover, .info-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: var(--accent);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.2rem;
}

/* Badge Page */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

/* Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Queue Page */
.queue-table {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
}

.queue-table th,
.queue-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.queue-table th {
    background: rgba(0, 212, 255, 0.05);
    color: var(--primary);
    font-weight: 600;
}

.queue-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.queue-option {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.queue-note {
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.queue-stats-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
}

/* Status badges variants */
.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(0, 255, 163, 0.2);
    color: var(--accent);
}

.status-priority {
    background: rgba(123, 63, 242, 0.2);
    color: var(--secondary);
}

.priority {
    color: var(--warning);
    font-weight: 600;
}

/* Red Flags Page */
.flag-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--danger);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.check-list, .verify-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.check-list li,
.verify-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.verify-list li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--warning);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.check-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--success);
    border-radius: 8px;
    padding: 1rem;
}

/* Methodology Page */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.method-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.method-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(0, 212, 255, 0.1);
}

.phase {
    display: inline-block;
    background: rgba(123, 63, 242, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.inspection-phases {
    margin: 3rem 0;
}

/* Process Details */
.process-detailed {
    margin: 3rem 0;
}

.process-step-detailed {
    background: var(--bg-card);
    border-left: 3px solid var(--primary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-content {
    margin-left: 3rem;
}

.step-title {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Page */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Careers Page */
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.job-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

/* Press Page */
.press-releases {
    margin: 3rem 0;
}

.press-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Error Pages */
.error-container,
.maintenance-container,
.offline-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.offline-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 63, 242, 0.1));
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

/* Additional Utilities */
.content-section {
    margin: 3rem 0;
    padding: 2rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 2rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.note-card {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 1rem;
}

.boilerplate {
    background: rgba(123, 63, 242, 0.05);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.bounty-info {
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.1), rgba(0, 212, 255, 0.1));
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.gear {
    display: inline-block;
    animation: spin 4s linear infinite;
}

.in-progress {
    opacity: 0.6;
    position: relative;
}

.in-progress::after {
    content: " (Coming Soon)";
    color: var(--warning);
    font-size: 0.85rem;
    font-style: italic;
}

.warning {
    color: var(--warning);
    font-weight: 600;
}

.danger {
    color: var(--danger);
    font-weight: 600;
}

/* Stat Card for various pages */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Project specific elements */
.project-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.project-ticker {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-info {
    margin-bottom: 1rem;
}

.inspection-findings {
    margin: 1.5rem 0;
}

.finding {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--text-secondary);
}

.finding-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.inspection-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.inspection-date a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.inspection-date a:hover {
    text-decoration: underline;
}

/* Active state for navigation */
.active {
    color: var(--primary) !important;
    font-weight: 600;
}
