/* ========================================
   DESIGN TOKENS
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #16161f;
    --bg-card-hover: #1e1e2a;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-tertiary: #6b6b80;

    --accent-primary: #2563eb;
    --accent-secondary: #3b82f6;
    --accent-tertiary: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;
    --space-80: 80px;
    --space-96: 96px;
    --space-128: 128px;

    /* Typography */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 20px;
    --text-xl: 24px;
    --text-2xl: 30px;
    --text-3xl: 40px;
    --text-4xl: 48px;
    --text-5xl: 64px;

    --leading-normal: 1.5;
    --leading-relaxed: 1.7;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Container */
    --container-max: 1200px;
    --container-max-wide: 1440px;
}

/* Large desktops: widen the container so we don't look cramped on >=1440 displays */
@media (min-width: 1440px) {
    :root { --container-max: var(--container-max-wide); }
}

/* Very small phones: tighten horizontal padding so content doesn't get clipped */
@media (max-width: 360px) {
    .container { padding: 0 var(--space-12); }
    .btn { padding: 12px 18px; font-size: var(--text-sm); }
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-24);
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6 0%, #93c5fd 50%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    will-change: background-position;
}

.gradient-text-static {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-16);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-64);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wordReveal {
    from {
        opacity: 0.15;
        filter: blur(4px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes chartDraw {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

@keyframes barGrow {
    from { width: 0; }
}

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

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Word by word reveal */
.word-reveal {
    display: inline-block;
    opacity: 0.15;
    animation: wordReveal 0.8s ease-out forwards;
}

.word-reveal:nth-child(1) { animation-delay: 0.1s; }
.word-reveal:nth-child(2) { animation-delay: 0.2s; }
.word-reveal:nth-child(3) { animation-delay: 0.3s; }
.word-reveal:nth-child(4) { animation-delay: 0.4s; }
.word-reveal:nth-child(5) { animation-delay: 0.5s; }
.word-reveal:nth-child(6) { animation-delay: 0.6s; }
.word-reveal:nth-child(7) { animation-delay: 0.7s; }
.word-reveal:nth-child(8) { animation-delay: 0.8s; }

/* Fade up with delay */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section header fade up */
.fade-up-header .section-label {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.fade-up-header .section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.fade-up-header .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.fade-up-header.active .section-label,
.fade-up-header.active .section-title,
.fade-up-header.active .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    padding: 14px 28px;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.2;
}

.btn-sm {
    padding: 10px 20px;
    font-size: var(--text-sm);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: var(--text-lg);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: var(--space-16) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-12) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-32);
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-gradient);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
    transition: all var(--transition-base);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-8);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-128) 0 var(--space-96);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
    animation: gradientShift 12s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-16);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-24);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-24);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-32);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-16);
    margin-bottom: var(--space-48);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    animation: float 6s ease-in-out infinite, fadeInUp 0.8s ease-out 1s both;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    margin-bottom: var(--space-24);
}

.card-dots {
    display: flex;
    gap: var(--space-6);
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.card-dots span:nth-child(1) { background: var(--error); }
.card-dots span:nth-child(2) { background: var(--warning); }
.card-dots span:nth-child(3) { background: var(--success); }

.card-title {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.card-chart {
    margin-bottom: var(--space-24);
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease;
}

.chart-area {
    opacity: 0;
    transition: opacity 1s ease 1.5s;
}

.chart-line.animated {
    stroke-dashoffset: 0;
}

.chart-area.animated {
    opacity: 1;
}

.chart-dot {
    animation: pulse 2s infinite;
}

.card-metrics {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-16);
    border-top: 1px solid var(--border-subtle);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.metric-label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.metric-value {
    font-size: var(--text-lg);
    font-weight: 700;
}

.metric-value.up {
    color: var(--success);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-32);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    animation: float 2s ease-in-out infinite;
    transition: opacity 0.4s ease;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-tertiary);
    border-bottom: 2px solid var(--text-tertiary);
    transform: rotate(45deg);
}

/* ========================================
   METRICS CAROUSEL
   ======================================== */

.metrics-carousel {
    padding: var(--space-48) 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.carousel-track {
    display: flex;
    gap: var(--space-24);
    animation: scrollCarousel 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    padding: var(--space-24) var(--space-32);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    min-width: 220px;
    transition: all var(--transition-base);
}

.metric-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.metric-card-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.metric-card-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-primary);
}

.metric-card-trend {
    font-size: var(--text-xs);
    font-weight: 600;
}

.metric-card-trend.up {
    color: var(--success);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--space-128) 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-48);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
    text-align: left;
}

.feature {
    display: flex;
    gap: var(--space-16);
    padding: var(--space-24);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.06);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.feature-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-8);
}

.feature-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: var(--space-80) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
    max-width: 1040px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37, 99, 235, 0.08);
}

.service-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-gradient);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: var(--space-16);
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-8);
}

.service-card > p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-16);
}

.service-features {
    flex: 1;
    margin-bottom: var(--space-16);
}

.service-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    margin-top: auto;
}

.service-cta:hover {
    gap: var(--space-12);
}

/* ========================================
   GROWTH SECTION
   ======================================== */

.growth {
    padding: var(--space-128) 0;
    background: var(--bg-secondary);
}

.growth-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-64);
    align-items: center;
}

.growth-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-48);
}

.growth-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
    margin-bottom: var(--space-48);
}

.growth-feature {
    padding: var(--space-24);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.growth-feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.growth-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: var(--space-16);
}

.growth-feature h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-8);
}

.growth-feature p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.growth-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    align-items: flex-start;
}

.growth-badge {
    font-size: var(--text-sm);
    color: var(--success);
    font-weight: 600;
    padding: var(--space-8) var(--space-16);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Growth Visual */
.growth-visual {
    animation: float 6s ease-in-out infinite;
}

.growth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    box-shadow: var(--shadow-xl);
}

.growth-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-24);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid var(--border-subtle);
}

.growth-card-header span:first-child {
    font-weight: 600;
}

.growth-card-date {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.growth-metrics {
    display: flex;
    flex-direction: column;
    gap: var(--space-20);
    margin-bottom: var(--space-24);
}

.growth-metric {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.growth-metric-header {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
}

.growth-metric-header span:first-child {
    color: var(--text-secondary);
}

.growth-trend {
    font-weight: 600;
    color: var(--success);
}

.growth-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.growth-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.growth-insights {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    padding-top: var(--space-16);
    border-top: 1px solid var(--border-subtle);
}

.insight-item {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.insight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.insight-dot.green { background: var(--success); }
.insight-dot.yellow { background: var(--warning); }

/* ========================================
   AUDITS SECTION
   ======================================== */

.audits {
    padding: var(--space-80) 0;
}

.audits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
    max-width: 1040px;
    margin: 0 auto;
}

.audit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.audit-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37, 99, 235, 0.08);
}

.audit-badge {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.audit-badge.free {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.audit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-16) auto;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
}

.audit-icon svg {
    width: 28px;
    height: 28px;
}

.audit-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-8);
}

.audit-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-16);
}

.audit-features {
    flex: 1;
    margin-bottom: var(--space-16);
    text-align: left;
}

.audit-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.audit-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.audit-cta {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    padding: var(--space-128) 0;
    background: var(--bg-secondary);
}

.process-container {
    max-width: 800px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-48);
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-32);
    position: relative;
}

.process-step.reveal {
    transition-delay: calc(var(--step-index, 0) * 0.15s);
}

.step-number {
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--accent-primary);
    opacity: 0.3;
}

.step-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-8);
}

.step-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.step-line {
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, transparent 100%);
    opacity: 0.2;
}

.process-step:last-child .step-line {
    display: none;
}

/* ========================================
   ADD-ONS SECTION
   ======================================== */

.addons {
    padding: var(--space-80) 0;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
    max-width: 1040px;
    margin: 0 auto;
}

.addon-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.addon-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(37, 99, 235, 0.08);
}

.addon-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-16);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
}

.addon-icon svg {
    width: 32px;
    height: 32px;
}

.addon-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-8);
}

.addon-card > p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-12);
    flex: 1;
}

.addon-note {
    display: inline-block;
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: var(--space-16);
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
}

.addon-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    margin-top: auto;
}

.addon-cta:hover {
    gap: var(--space-12);
}

/* ========================================
   PAGE HERO
   ======================================== */

.page-hero {
    padding-top: 140px;
    padding-bottom: var(--space-64);
    background: var(--bg-primary);
}

.page-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-size: var(--text-4xl);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-16);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: var(--space-32) 0 var(--space-96);
    background: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.contact-info h3 {
    font-size: var(--text-xl);
    font-weight: 800;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.contact-benefit {
    display: flex;
    gap: var(--space-16);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.contact-benefit h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.contact-benefit p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.contact-direct {
    padding-top: var(--space-16);
    border-top: 1px solid var(--border-subtle);
}

.contact-direct h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-12);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.contact-email:hover {
    gap: var(--space-12);
}

/* Contact Form */
.form-header {
    margin-bottom: var(--space-16);
    padding-bottom: var(--space-16);
    border-bottom: 1px solid var(--border-subtle);
}

.form-header h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.form-header p {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.form-group label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-8) var(--space-12);
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    padding: var(--space-128) 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
}

.cta-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-24);
}

.cta-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-48);
}

.cta-actions {
    margin-bottom: var(--space-24);
}

.cta-note {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-96) 0 var(--space-32);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-64);
    margin-bottom: var(--space-64);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-16);
}

.footer-logo .logo-img {
    height: 72px;
}

.footer-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-24);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-16);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
}

.footer-col h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-20);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.footer-col a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-32);
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* ========================================
   NEXAUDIT HUB SECTION
   ======================================== */

.hub-section {
    padding: var(--space-64) 0;
    background: var(--bg-secondary);
}

.hub-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48);
    align-items: center;
}

.hub-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-24);
}

.hub-content .section-label {
    margin-bottom: 0;
}

.hub-content .section-title {
    margin-bottom: 0;
}

.hub-content .section-subtitle {
    margin-bottom: 0;
}

.hub-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.hub-content .btn {
    padding: 10px 20px;
    font-size: 13px;
    margin: 0;
}

.hub-cta-note {
    font-size: 11px;
    color: var(--text-tertiary);
    margin: 0;
}

.hub-content .section-label {
    margin-bottom: 0;
}

.hub-content .section-title {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.hub-content .section-subtitle {
    margin: 0;
    max-width: none;
}

.hub-preview {
    display: flex;
    justify-content: center;
}

.hub-preview-card {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(37,99,235,0.15), 0 0 0 1px rgba(255,255,255,0.05);
}

.hub-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.hub-preview-dots {
    display: flex;
    gap: 6px;
}

.hub-preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.hub-preview-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.hub-preview-tabs span {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    padding: 6px 10px;
    border-radius: 6px;
}

.hub-preview-tabs span.active {
    color: #2563eb;
    background: rgba(37,99,235,0.1);
}

.hub-preview-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.hub-kpi {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hub-kpi-label {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hub-kpi-value {
    font-size: 16px;
    font-weight: 800;
}

.hub-kpi-value.green { color: #10b981; }
.hub-kpi-value.red { color: #ef4444; }

.hub-preview-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hub-sub-tag {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

.hub-sub-tag span {
    color: #ef4444;
    font-weight: 700;
    margin-left: 4px;
}

.hub-content .btn {
    padding: 10px 20px;
    font-size: 13px;
}

.hub-cta-note {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .hub-layout {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }
    .hub-content {
        align-items: center;
        text-align: center;
    }
    .hub-content .section-title,
    .hub-content .section-subtitle {
        text-align: center;
    }
    .hub-preview-card {
        max-width: 100%;
    }
}

/* ========================================
   MAINTENANCE SECTION
   ======================================== */

.maintenance {
    padding: var(--space-64) 0;
}

.maintenance-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
    max-width: 640px;
    margin: 0 auto var(--space-32);
}

.maintenance-plan {
    padding: var(--space-24);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: border-color var(--transition-fast);
}

.maintenance-plan:hover {
    border-color: var(--border-medium);
}

.maintenance-plan h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-12);
    color: var(--text-primary);
}

.maintenance-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.maintenance-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.maintenance-features li svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.maintenance-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-20);
}

.maintenance-footer p {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* ========================================
   RESPONSIVE: HUB & MAINTENANCE
   ======================================== */

@media (max-width: 768px) {
    .maintenance-plans {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE: TABLET
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature {
        padding: 20px;
        gap: 16px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .feature-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .feature-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .services-grid,
    .audits-grid,
    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .growth-container {
        grid-template-columns: 1fr;
    }

    .growth-visual {
        order: -1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 40px;
        --text-4xl: 32px;
        --text-3xl: 28px;
    }

    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .hero-gradient {
        position: absolute;
        top: -30%;
        left: 0;
        right: 0;
        width: 100%;
        height: 800px;
        background: radial-gradient(ellipse at center top, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
        animation: none;
    }

    .hero-grid {
        background-size: 40px 40px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: #0a0a0f;
        flex-direction: column;
        padding: 80px 24px 24px;
        transition: right 0.25s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        overflow-y: auto;
        z-index: 10001;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        display: block;
        width: 100%;
    }

    .nav-menu .nav-link {
        color: #ffffff !important;
        font-size: 16px;
        font-weight: 500;
        padding: 16px 0;
        display: block;
        width: 100%;
        opacity: 1 !important;
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
        padding: 14px 32px !important;
        border-radius: 9999px;
        background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%) !important;
        color: #ffffff !important;
        border: none !important;
        font-weight: 600;
        font-size: 16px;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    }

    .nav-menu .nav-link::after {
        display: none !important;
    }

    /* Sign in button spacing in mobile menu */
    #nav-signin-btn {
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
    }
    #nav-signin-btn .btn-sm {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    /* Auth container (logged in avatar) spacing in mobile menu */
    #nav-auth-container {
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(255,255,255,0.06) !important;
        justify-content: center !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 10002;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
    }

    .services-grid,
    .audits-grid,
    .addons-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .feature {
        padding: 20px !important;
        gap: 16px !important;
    }

    .feature-icon {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
    }

    .feature-content h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    .feature-content p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .audit-badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        display: block !important;
        margin: 0 auto 20px !important;
        text-align: center;
    }

    .audit-icon {
        margin: 0 auto 20px !important;
        width: 64px !important;
        height: 64px !important;
    }

    .audit-card {
        padding: 24px 20px !important;
    }

    .audit-card h3 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .audit-desc {
        margin-bottom: 16px !important;
    }

    .audit-features {
        margin-bottom: 16px !important;
    }

    .service-card {
        padding: 24px 20px !important;
    }

    .service-card h3 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }

    .service-card > p {
        margin-bottom: 16px !important;
    }

    .service-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 20px !important;
    }

    .featured-badge {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        display: inline-block !important;
        margin-bottom: 16px !important;
    }

    .service-features {
        margin-bottom: 16px !important;
    }

    .addon-icon {
        width: 64px !important;
        height: 64px !important;
        margin-bottom: 20px !important;
    }

    .addon-card {
        padding: 24px 20px !important;
    }

    .addon-note {
        margin-top: 12px;
        margin-bottom: 0;
    }

    .addons-grid,
    .audits-grid,
    .services-grid {
        gap: 16px !important;
    }

    .growth-feature {
        padding: 20px !important;
    }

    .growth-features-grid {
        gap: 16px !important;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-8);
        text-align: center;
    }

    .process-step {
        grid-template-columns: 50px 1fr;
        gap: var(--space-16);
    }

    .step-number {
        font-size: var(--text-xl);
    }

    .step-line {
        left: 25px;
    }

    .cta::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        transform: none !important;
        animation: none !important;
        background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    }

    .scroll-indicator {
        position: fixed;
        bottom: 24px;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 100;
        animation: float 2s ease-in-out infinite;
    }

    .scroll-arrow {
        display: inline-block;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    *, *::before, *::after {
        max-width: 100%;
    }

    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }

    .container {
        padding: 0 var(--space-16);
        width: 100%;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: var(--space-96) 0 var(--space-64);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .metrics-carousel {
        padding: var(--space-32) 0;
    }

    .metric-card {
        min-width: 180px;
        padding: var(--space-16) var(--space-24);
    }

    .carousel-track {
        gap: var(--space-16);
    }

    .about-features,
    .services-grid,
    .audits-grid,
    .addons-grid {
        gap: var(--space-16);
    }

    .feature,
    .service-card,
    .audit-card,
    .addon-card {
        padding: var(--space-20);
    }

    .growth-card {
        padding: var(--space-16);
    }

    .contact-form-wrapper {
        padding: var(--space-16);
    }

    .footer-container {
        gap: var(--space-32);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    html, body {
        overflow-x: hidden !important;
    }

    .hero-bg {
        left: 0;
        right: 0;
    }

    .hero-gradient {
        left: auto;
        right: -10%;
        transform: none;
        animation: gradientShift 12s ease-in-out infinite;
    }
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-section {
    padding: var(--space-32) 0 var(--space-96);
    background: var(--bg-secondary);
}

.legal-container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-12);
    margin-top: var(--space-32);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-16);
}

.legal-content ul {
    margin-bottom: var(--space-16);
    padding-left: var(--space-24);
}

.legal-content ul li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-24);
}

.cookie-table th,
.cookie-table td {
    text-align: left;
    padding: var(--space-12);
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

.cookie-table th {
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
}

.cookie-table td {
    color: var(--text-secondary);
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-16) var(--space-24);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-24);
}

.cookie-banner-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
    flex: 1;
}

.cookie-banner-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: var(--space-12);
    flex-shrink: 0;
}

.btn-accept {
    background: var(--accent-gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-decline {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
        flex-direction: row-reverse;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .fade-up,
    .word-reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .carousel-track {
        animation: none;
    }
}

/* ═══════════ PRODUCTS DROPDOWN ═══════════ */
.nav-products { position: relative; }
.nav-products > .nav-link .arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.85em;
    color: #60a5fa;
    opacity: 1;
    transition: transform 0.25s ease, color 0.2s;
    line-height: 1;
}
.nav-products:hover > .nav-link .arrow,
.nav-products:focus-within > .nav-link .arrow {
    transform: rotate(180deg);
    color: #93c5fd;
}
/* Invisible hover bridge so the dropdown doesn't close when crossing the gap */
.nav-products::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -12px;
    right: -12px;
    height: 18px;
    pointer-events: none;
}
.nav-products:hover::before,
.nav-products:focus-within::before {
    pointer-events: auto;
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    list-style: none;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10002;
}
.nav-products:hover .nav-dropdown,
.nav-products:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown li { display: block; width: 100%; margin: 0; padding: 0; }
.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
.nav-dropdown a::after { display: none !important; }
.soon-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Mobile overrides: flatten dropdown into slide-in menu */
@media (max-width: 768px) {
    .nav-products::before { display: none; }
    .nav-dropdown {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
        margin: 0;
        min-width: 0;
        width: 100%;
    }
    .nav-products > .nav-link .arrow { display: none; }
    .nav-dropdown a {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 15px;
        padding: 12px 0 12px 24px;
        opacity: 0.85;
    }
    .nav-dropdown a::before {
        content: '└ ';
        opacity: 0.5;
        margin-right: 4px;
    }
}
