/* ============================================
   NAURIE - Premium Design System
   Inspired by Linear, Vercel, Stripe
   ============================================ */

/* --- DESIGN TOKENS --- */
:root {
    /* Primary Palette */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --primary-subtle: rgba(99, 102, 241, 0.08);

    /* Accent Colors */
    --accent-cyan: #22d3ee;
    --accent-violet: #a78bfa;
    --accent-rose: #fb7185;
    --accent-amber: #fbbf24;

    /* Neutrals - Refined Gray Scale */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --gray-950: #09090b;

    /* Semantic Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-500);
    --text-tertiary: var(--gray-400);
    --text-inverse: #ffffff;

    --surface-primary: #ffffff;
    --surface-secondary: var(--gray-50);
    --surface-elevated: #ffffff;
    --surface-dark: var(--gray-950);

    /* Glass Effect Colors */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-subtle: rgba(0, 0, 0, 0.05);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent-violet) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 50%, var(--accent-violet) 100%);
    --gradient-aurora: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
                       radial-gradient(ellipse 60% 40% at 80% 50%, rgba(34, 211, 238, 0.1), transparent),
                       radial-gradient(ellipse 50% 30% at 20% 80%, rgba(167, 139, 250, 0.1), transparent);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(34, 211, 238, 0.06) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(167, 139, 250, 0.06) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(251, 113, 133, 0.04) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);

    /* Typography */
    --font-display: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;

    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --tracking-tighter: -0.04em;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.02em;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

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

    /* Shadows - Enhanced for premium feel */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-glow-lg: 0 0 80px rgba(99, 102, 241, 0.2);
    --shadow-glow-intense: 0 0 60px rgba(99, 102, 241, 0.35), 0 0 120px rgba(99, 102, 241, 0.2);

    /* Premium Glass Effects */
    --glass-premium: rgba(255, 255, 255, 0.85);
    --glass-border-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(167, 139, 250, 0.2), rgba(34, 211, 238, 0.2));

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-base: 200ms;
    --duration-slow: 300ms;
    --duration-slower: 500ms;

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --section-padding: var(--space-24);
    --section-padding-lg: var(--space-32);

    /* Noise texture (base64 encoded) */
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");

    /* Grid pattern */
    --grid-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23e4e4e7' stroke-width='0.5'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--surface-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
}

/* Noise overlay for texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--noise);
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* Subtle grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--grid-pattern);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-fast) var(--ease-out-quart);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    letter-spacing: var(--tracking-tighter);
    margin-bottom: var(--space-4);
}

.section-sub {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: linear-gradient(135deg, var(--primary-subtle), rgba(167, 139, 250, 0.06));
    border-radius: var(--radius-full);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

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

.max-w-prose {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--text-sm);
    cursor: pointer;
    border: none;
    transition: all var(--duration-base) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(99, 102, 241, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Gradient shimmer overlay */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 40%,
        transparent 60%
    );
    pointer-events: none;
}

/* Animated shine effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.5s var(--ease-out-expo);
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 12px 32px rgba(99, 102, 241, 0.45),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
    transition-duration: var(--duration-fast);
}

/* Secondary button with gradient border */
.btn-secondary {
    background: var(--surface-primary);
    color: var(--text-primary);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300), var(--gray-200));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out-expo);
}

.btn-secondary:hover {
    background: var(--surface-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-subtle), rgba(167, 139, 250, 0.15), var(--primary-subtle));
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
    letter-spacing: -0.01em;
}

.btn svg, .btn i {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.btn:hover svg, .btn:hover i {
    transform: translateX(2px);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    top: env(safe-area-inset-top);
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: var(--space-4) 0;
    padding-top: calc(var(--space-4) + env(safe-area-inset-top, 0px));
    transition: all var(--duration-slow) var(--ease-out-expo);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.navbar.scrolled::before {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Subtle gradient underline on scroll */
.navbar.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.15),
        rgba(167, 139, 250, 0.15),
        transparent
    );
    opacity: 0.8;
}

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

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
}

.nav-links {
    display: flex;
    gap: var(--space-8);
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--duration-base) var(--ease-out-expo);
    position: relative;
    padding: var(--space-1) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-violet));
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--duration-base) var(--ease-out-expo);
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    padding-bottom: var(--space-2);
    margin-bottom: calc(-1 * var(--space-2));
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.dropdown-icon {
    width: 14px;
    height: 14px;
    transition: transform var(--duration-base) var(--ease-out);
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--surface-primary);
    border: 1px solid var(--glass-border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    padding-top: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out), visibility var(--duration-base) var(--ease-out);
    z-index: 100;
}

/* Invisible bridge to prevent menu from closing */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--space-2));
    left: 0;
    right: 0;
    height: var(--space-2);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
}

.nav-dropdown-menu a:hover {
    background: var(--primary-subtle);
    color: var(--primary);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-actions .btn {
    padding: var(--space-2) var(--space-5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: var(--space-2);
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all var(--duration-base) var(--ease-out);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: var(--surface-primary);
    z-index: 999;
    padding-top: calc(80px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--space-6);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--duration-slower) var(--ease-out-expo);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: calc(var(--space-6) + env(safe-area-inset-top, 0px));
    right: var(--space-6);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    z-index: 1001;
}

.mobile-menu-close svg,
.mobile-menu-close i {
    width: 28px;
    height: 28px;
}

.mobile-link {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
}

/* Mobile CTA Button */
.mobile-cta {
    margin: 0 var(--space-8);
    width: auto !important;
    max-width: calc(100% - var(--space-16));
    align-self: center;
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mobile-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.mobile-dropdown-trigger .dropdown-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--duration-base) var(--ease-out);
}

.mobile-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-4);
    padding: var(--space-4) 0;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: flex;
}

.mobile-sublink {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
}

.mobile-sublink:hover {
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100dvh;
    min-height: 100vh; /* fallback for older browsers */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background:
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        var(--gradient-mesh);
}

@supports (min-height: 100dvh) {
    .hero {
        min-height: 100dvh;
    }
}

/* Aurora Background Effect - Enhanced */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 50% 70% at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 35% 45% at 85% 25%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 55% at 15% 60%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 70% 70%, rgba(251, 113, 133, 0.05) 0%, transparent 50%);
    animation: aurora 20s ease-in-out infinite;
    pointer-events: none;
}

/* Subtle gradient line at top */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.3) 20%,
        rgba(167, 139, 250, 0.4) 50%,
        rgba(34, 211, 238, 0.3) 80%,
        transparent 100%
    );
    opacity: 0.6;
}

@keyframes aurora {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, -2%) rotate(1deg); }
    50% { transform: translate(-1%, 2%) rotate(-0.5deg); }
    75% { transform: translate(-2%, -1%) rotate(0.5deg); }
}

/* --- ANIMATED HERO GRAPHIC --- */
.hero-graphic {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 700px;
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
}

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

/* Rotating circles */
.hero-circle {
    transform-origin: center;
    fill: none;
    stroke-dasharray: 8 12;
}

.hero-circle-1 {
    animation: rotateCircle 60s linear infinite;
}

.hero-circle-2 {
    animation: rotateCircle 45s linear infinite reverse;
}

.hero-circle-3 {
    animation: rotateCircle 30s linear infinite;
    stroke-dasharray: 4 8;
}

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

/* Floating nodes */
.hero-node {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.node-1 { animation: floatNode 8s ease-in-out infinite; }
.node-2 { animation: floatNode 7s ease-in-out infinite 0.5s; }
.node-3 { animation: floatNode 9s ease-in-out infinite 1s; }
.node-4 { animation: floatNode 6s ease-in-out infinite 1.5s; }
.node-5 { animation: floatNode 8s ease-in-out infinite 2s; }
.node-6 { animation: pulseNode 3s ease-in-out infinite; }

@keyframes floatNode {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(10px, -15px) scale(1.2); opacity: 1; }
}

@keyframes pulseNode {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5)); }
    50% { transform: scale(1.3); filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8)); }
}

/* Connection lines */
.hero-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 3s ease-out forwards;
    opacity: 0.6;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 0.4s; }
.line-3 { animation-delay: 0.6s; }
.line-4 { animation-delay: 0.8s; }
.line-5 { animation-delay: 1s; }

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Pulse rings */
.hero-pulse {
    transform-origin: center;
    opacity: 0;
}

.pulse-1 {
    animation: pulseRing 4s ease-out infinite;
}

.pulse-2 {
    animation: pulseRing 4s ease-out infinite 2s;
}

@keyframes pulseRing {
    0% { r: 30; opacity: 0.8; stroke-width: 3; }
    100% { r: 120; opacity: 0; stroke-width: 0.5; }
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 15s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
    top: -20%;
    right: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
    bottom: -15%;
    left: -10%;
    animation-delay: -5s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge - Premium glass effect */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    box-shadow:
        var(--shadow-sm),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 20px rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer animation */
.badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: badgeShimmer 3s infinite;
}

@keyframes badgeShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--primary-glow);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--primary-glow); }
    50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 16px var(--primary-glow); }
}

/* Hero Typography */
.hero h1 {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: var(--space-6);
    max-width: 14ch;
}

.hero-sub {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    line-height: var(--leading-relaxed);
}

.hero-btns {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-16);
}

/* Trust Badges - Enhanced */
.trust-badges {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all var(--duration-base) var(--ease-out-expo);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.trust-item svg, .trust-item i {
    width: 16px;
    height: 16px;
    color: var(--primary);
    opacity: 0.8;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    opacity: 0.6;
    transition: all var(--duration-base) var(--ease-out-expo);
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow svg, .scroll-arrow i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* Hide on smaller screens where hero is taller */
@media (max-height: 700px) {
    .scroll-indicator {
        display: none;
    }
}

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .hero {
        padding-bottom: 80px;
    }

    /* Show translucent navbar background on mobile from the start */
    .navbar::before {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
}

/* --- DARK SECTION --- */
.dark-section {
    background: var(--surface-dark);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-aurora);
    opacity: 0.5;
}

.dark-section h2, .dark-section h3 {
    color: var(--text-inverse);
}

.dark-section .section-sub {
    color: var(--gray-400);
}

/* Pain Points Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.pain-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--duration-slow) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-amber);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.pain-icon-box svg, .pain-icon-box i {
    width: 22px;
    height: 22px;
}

.pain-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    letter-spacing: var(--tracking-tight);
}

.pain-card p {
    color: var(--gray-400);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

/* --- SERVICES SECTION - BENTO GRID --- */
.services-section {
    background: var(--surface-secondary);
    padding: var(--section-padding-lg) 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: var(--space-5);
}

/* Bento Card Base - Premium glass styling */
.bento-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease-out-expo);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Gradient border effect container */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.2),
        rgba(167, 139, 250, 0.1),
        rgba(34, 211, 238, 0.1),
        rgba(99, 102, 241, 0.1)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
    pointer-events: none;
}

/* Shine effect on hover */
.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-6px);
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover::after {
    left: 130%;
}

/* Bento Grid Layout - 7 cards */
.bento-card:nth-child(1) { grid-column: span 7; }
.bento-card:nth-child(2) { grid-column: span 5; }
.bento-card:nth-child(3) { grid-column: span 4; }
.bento-card:nth-child(4) { grid-column: span 4; }
.bento-card:nth-child(5) { grid-column: span 4; }
.bento-card:nth-child(6) { grid-column: span 6; }
.bento-card:nth-child(7) { grid-column: span 6; }

/* Featured card (first one) - larger styling */
.bento-card.featured {
    background: var(--gradient-mesh), var(--surface-primary);
}

.bento-card .icon-wrapper {
    width: 52px;
    height: 52px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    transition: all var(--duration-base) var(--ease-out-expo);
}

.bento-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.bento-card .icon-wrapper svg,
.bento-card .icon-wrapper i {
    width: 24px;
    height: 24px;
}

.bento-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    letter-spacing: var(--tracking-tight);
}

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

/* Legacy services grid (fallback) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-5);
}

.service-card {
    background: var(--surface-primary);
    border: 1px solid var(--gray-200);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    transition: all var(--duration-slow) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity var(--duration-slow);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    transition: all var(--duration-base) var(--ease-out-expo);
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.service-card p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* --- HOW IT WORKS --- */
.bg-light {
    background: var(--surface-secondary);
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 0 var(--space-4);
    position: relative;
    z-index: 2;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    margin: 0 auto var(--space-5);
    box-shadow:
        0 0 0 8px var(--surface-secondary),
        var(--shadow-md),
        0 0 20px rgba(99, 102, 241, 0.2);
    transition: all var(--duration-base) var(--ease-out-expo);
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow:
        0 0 0 8px var(--surface-secondary),
        var(--shadow-lg),
        0 0 30px rgba(99, 102, 241, 0.3);
}

.step-item h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.step-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-300), var(--gray-200));
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

/* --- VISUAL TIMELINE --- */
.process-section {
    background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--surface-primary) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.timeline-line {
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        180deg,
        var(--primary) 0%,
        var(--accent-violet) 50%,
        var(--accent-cyan) 100%
    );
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 90px;
    padding-bottom: var(--space-12);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 6px var(--surface-secondary),
        0 8px 24px rgba(99, 102, 241, 0.35);
    transition: all var(--duration-slow) var(--ease-out-expo);
    z-index: 2;
}

.timeline-number {
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow:
        0 0 0 8px var(--surface-secondary),
        0 12px 32px rgba(99, 102, 241, 0.45),
        0 0 40px rgba(99, 102, 241, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow:
        0 12px 40px rgba(99, 102, 241, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateX(8px);
}

.timeline-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.timeline-highlight {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    padding-top: var(--space-3);
    border-top: 1px solid var(--gray-100);
}

/* Card Stats */
.card-stat {
    display: block;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.bento-card:hover .card-stat {
    opacity: 1;
    transform: translateY(0);
}

/* Text gradient light for dark sections */
.text-gradient-light {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- COMPARISON SECTION --- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.comparison-col {
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    position: relative;
}

.comparison-col.traditional {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    border: 1px solid #fecaca;
}

.comparison-col.naurie {
    background: linear-gradient(135deg, var(--primary-subtle) 0%, #fff 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.comparison-col.naurie::before {
    content: 'Recommended';
    position: absolute;
    top: -14px;
    right: var(--space-8);
    background: var(--primary);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.comparison-col h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
}

.comparison-col ul li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

.bad i, .bad svg { color: #ef4444; width: 20px; height: 20px; }
.good i, .good svg { color: #22c55e; width: 20px; height: 20px; }

/* --- STATS SECTION --- */
.stats-section {
    background: var(--surface-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: var(--space-8);
    background: var(--surface-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.stat-item h3 {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--primary);
    display: inline;
    letter-spacing: var(--tracking-tighter);
}

.stat-item span {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

.trusted-text {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* --- PRICING SECTION --- */
.bg-gradient-light {
    background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--surface-primary) 100%);
    padding: var(--space-16) 0;
}

.pricing-content {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-content h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    margin-bottom: var(--space-3);
}

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

/* --- FAQ SECTION --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--space-6) 0;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color var(--duration-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i, .faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out-expo);
}

.faq-answer p {
    padding-bottom: var(--space-6);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question i,
.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.link-styled {
    color: var(--primary);
    font-weight: 500;
    font-size: var(--text-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--duration-fast);
}

.link-styled:hover {
    color: var(--primary-dark);
    gap: var(--space-3);
}

.mt-large {
    margin-top: var(--space-12);
}

/* --- CTA SECTION --- */
.cta-section {
    padding: var(--section-padding-lg) 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
    margin-bottom: var(--space-4);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-actions {
    margin-top: var(--space-8);
}

.small-note {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.relative { position: relative; }
.z-10 { z-index: 10; }

/* --- PAGE HEADER (Subpages) --- */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-mesh);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-aurora);
    opacity: 0.5;
}

.page-header-minimal {
    padding: 140px 0 60px;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.page-header-sub {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- THANK YOU PAGE --- */
.thank-you-section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-mesh);
    padding: 160px 0 80px;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 2;
}

.thank-you-content h1 {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-5xl));
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}

.thank-you-message {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.thank-you-next {
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

.thank-you-next > p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.thank-you-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .thank-you-section {
        padding: 120px 0 60px;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}

/* --- ABOUT PAGE --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.about-content h2 {
    margin-bottom: var(--space-6);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.about-content p:last-child {
    margin-bottom: 0;
}

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

.stat-card {
    background: var(--surface-secondary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.value-card {
    background: var(--surface-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
    text-align: center;
    transition: all var(--duration-base) var(--ease-out-expo);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.value-icon svg, .value-icon i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.value-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

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

/* Approach Section */
.approach-content {
    max-width: 800px;
    margin: 0 auto;
}

.approach-item {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--gray-200);
}

.approach-item:last-child {
    border-bottom: none;
}

.approach-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    flex-shrink: 0;
    width: 60px;
}

.approach-text h3 {
    margin-bottom: var(--space-2);
}

.approach-text p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-form-wrapper h2 {
    margin-bottom: var(--space-2);
}

.contact-form-wrapper > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

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

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

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

.form-group label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: var(--font-body);
    background: var(--surface-primary);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

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

.form-group select {
    cursor: pointer;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-info-card {
    background: var(--primary-subtle);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.contact-info-card h3 {
    margin-bottom: var(--space-2);
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.contact-details h3 {
    margin-bottom: var(--space-4);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--surface-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg, .contact-icon i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-hours h3 {
    margin-bottom: var(--space-3);
}

.contact-hours p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
}

.contact-note {
    margin-top: var(--space-3) !important;
    font-style: italic;
}

.contact-social h3 {
    margin-bottom: var(--space-3);
}

/* --- LEGAL PAGES (Privacy, Terms) --- */
.legal-content {
    padding-top: var(--space-8);
}

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

.legal-section {
    margin-bottom: var(--space-12);
}

.legal-section h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--gray-200);
}

.legal-section h3 {
    font-size: var(--text-lg);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.legal-section ul {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.legal-section li {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2);
}

.legal-section .contact-list {
    list-style: none;
    padding-left: 0;
}

.legal-section .contact-list li {
    margin-bottom: var(--space-2);
}

.legal-section .contact-list a {
    color: var(--primary);
    text-decoration: none;
}

.legal-section .contact-list a:hover {
    text-decoration: underline;
}

/* --- SERVICE PAGES --- */
.service-header {
    padding-bottom: 100px;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    margin-top: var(--space-10);
}

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

.header-stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

/* Service Intro */
.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-12);
}

.service-intro h2 {
    margin-bottom: var(--space-4);
}

.lead-text {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* Problem/Solution Grid */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.problem-card,
.solution-card {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

.problem-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}

.solution-card {
    background: var(--primary-subtle);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.problem-card h3,
.solution-card h3 {
    margin-bottom: var(--space-4);
}

.problem-list,
.solution-list {
    list-style: none;
    padding: 0;
}

.problem-list li,
.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
}

.problem-list li i,
.solution-list li i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-list li i {
    color: var(--accent-rose);
}

.solution-list li i {
    color: var(--primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: var(--surface-primary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
    transition: all var(--duration-base) var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.feature-icon svg, .feature-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

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

/* Process Steps - Service Pages */
.process-steps {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
    margin-top: var(--space-12);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-6) 0;
    border-bottom: 1px solid var(--gray-200);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
    opacity: 0.6;
    flex-shrink: 0;
    width: 50px;
    line-height: 1.2;
}

.process-step-content {
    flex: 1;
}

.process-step-content h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

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

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.result-industry {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.result-metric {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.result-before {
    font-size: var(--text-xl);
    color: var(--gray-400);
    text-decoration: line-through;
}

.result-metric i {
    width: 20px;
    height: 20px;
    color: var(--accent-cyan);
}

.result-after {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-inverse);
}

.result-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-bottom: var(--space-4);
}

.result-card p {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: var(--leading-relaxed);
}

/* Platforms Grid (Paid Ads) */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.platform-card {
    background: var(--surface-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
    text-align: center;
}

.platform-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.platform-icon svg, .platform-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.platform-card h3 {
    margin-bottom: var(--space-2);
}

.platform-card > p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.platform-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.platform-features li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--gray-100);
}

.platform-features li:last-child {
    border-bottom: none;
}

/* SEO Services Grid */
.seo-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.seo-service-card {
    background: var(--surface-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
}

.seo-service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.seo-service-icon svg, .seo-service-icon i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.seo-service-card h3 {
    margin-bottom: var(--space-2);
}

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

.seo-service-list {
    list-style: none;
    padding: 0;
}

.seo-service-list li {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    padding: var(--space-1) 0;
}

/* AI Solutions Grid */
.ai-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.ai-solution-card {
    background: var(--surface-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
}

.ai-solution-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.ai-solution-icon svg, .ai-solution-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.ai-solution-card h3 {
    margin-bottom: var(--space-2);
}

.ai-solution-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.ai-feature i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* How It Works Visual */
.how-it-works-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hiw-step {
    text-align: center;
    max-width: 180px;
}

.hiw-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.hiw-icon svg, .hiw-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.hiw-step h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
}

.hiw-step p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.hiw-arrow {
    display: flex;
    align-items: center;
    padding-top: var(--space-6);
}

.hiw-arrow i {
    width: 24px;
    height: 24px;
    color: var(--gray-300);
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.use-case-card {
    background: var(--surface-primary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-subtle);
}

.use-case-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

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

/* --- RESPONSIVE: Service Pages --- */
@media (max-width: 1024px) {
    .header-stats {
        gap: var(--space-6);
    }

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

    .platforms-grid,
    .seo-services-grid,
    .ai-solutions-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .service-header {
        padding-bottom: 60px;
    }

    .header-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .header-stat-number {
        font-size: var(--text-3xl);
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .platforms-grid,
    .seo-services-grid,
    .ai-solutions-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        gap: var(--space-2);
    }

    .process-step-number {
        width: auto;
    }

    .how-it-works-visual {
        flex-direction: column;
        align-items: center;
    }

    .hiw-arrow {
        transform: rotate(90deg);
        padding: var(--space-2) 0;
    }

    .hiw-step {
        max-width: 100%;
    }
}

/* --- RESPONSIVE: Subpages --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 150px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .contact-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: var(--text-3xl);
    }

    .page-header-sub {
        font-size: var(--text-lg);
    }

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

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

    .approach-item {
        flex-direction: column;
        gap: var(--space-3);
    }

    .approach-number {
        width: auto;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-card {
        min-width: auto;
    }
}

/* --- FOOTER --- */
.footer {
    background: var(--surface-dark);
    color: var(--text-inverse);
    padding: var(--space-20) 0 var(--space-6);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
    position: relative;
    z-index: 2;
}

.watermark {
    position: absolute;
    bottom: -80px;
    right: -40px;
    font-size: 280px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-display);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    letter-spacing: var(--tracking-tighter);
}

.footer-logo {
    color: white;
    display: block;
    margin-bottom: var(--space-4);
}

.footer p {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.footer h4 {
    color: white;
    margin-bottom: var(--space-5);
    font-size: var(--text-base);
    font-weight: 600;
}

.footer ul li {
    margin-bottom: var(--space-3);
}

.footer ul li a {
    color: var(--gray-500);
    font-size: var(--text-sm);
    transition: color var(--duration-fast);
}

.footer ul li a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--duration-fast);
}

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

.footer-bottom {
    margin-top: var(--space-16);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* --- ANIMATIONS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s var(--ease-out-expo),
        transform 0.7s var(--ease-out-expo);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for sequential reveal */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Scale fade for emphasis elements */
.scale-fade {
    opacity: 0;
    transform: scale(0.95);
    transition:
        opacity 0.6s var(--ease-out-expo),
        transform 0.6s var(--ease-out-expo);
}

.scale-fade.visible {
    opacity: 1;
    transform: scale(1);
}

/* Blur fade for premium feel */
.blur-fade {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition:
        opacity 0.8s var(--ease-out-expo),
        filter 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo);
}

.blur-fade.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Hover lift for interactive elements */
.hover-lift {
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Subtle float animation for decorative elements */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-subtle {
    animation: subtleFloat 6s ease-in-out infinite;
}

/* Icon sizes */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .bento-card:nth-child(1) { grid-column: span 6; }
    .bento-card:nth-child(2) { grid-column: span 6; }
    .bento-card:nth-child(3) { grid-column: span 3; }
    .bento-card:nth-child(4) { grid-column: span 3; }
    .bento-card:nth-child(5) { grid-column: span 6; }
    .bento-card:nth-child(6) { grid-column: span 3; }
    .bento-card:nth-child(7) { grid-column: span 3; }
}

@media (max-width: 900px) {
    :root {
        --section-padding: var(--space-16);
        --section-padding-lg: var(--space-20);
    }

    .nav-links, .nav-actions, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; z-index: 1002; }

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

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

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

    .bento-card:nth-child(n) {
        grid-column: span 1;
    }

    .process-step {
        flex-direction: column;
        gap: var(--space-3);
    }

    .process-step-number {
        width: auto;
    }

    .comparison-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }

    /* Timeline responsive */
    .timeline-item {
        padding-left: 80px;
    }

    .timeline-marker {
        width: 52px;
        height: 52px;
    }

    .timeline-line {
        left: 25px;
    }

    /* Hero graphic responsive */
    .hero-graphic {
        position: absolute;
        top: auto;
        bottom: -10%;
        right: -20%;
        width: 80%;
        opacity: 0.4;
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: var(--text-4xl);
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        margin-bottom: var(--space-8);
    }
    .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--space-3);
    }

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

    .comparison-col {
        padding: var(--space-6);
    }

    .comparison-col.naurie::before {
        right: var(--space-4);
    }
}

/* --- ROTATING TEXT ANIMATION --- */
.rotating-text-wrapper {
    display: inline-block;
    height: 1.15em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}

.rotating-text {
    display: flex;
    flex-direction: column;
    animation: rotateText 12.5s infinite;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-text span {
    height: 1.15em;
    line-height: 1.15;
    display: block;
    /* Ensure gradient text is visible in Chrome */
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes rotateText {
    0%, 15% { transform: translateY(0); }
    20%, 35% { transform: translateY(-20%); }
    40%, 55% { transform: translateY(-40%); }
    60%, 75% { transform: translateY(-60%); }
    80%, 95% { transform: translateY(-80%); }
    100% { transform: translateY(0); }
}

/* --- FLOATING CTA BAR - Premium glass effect --- */
.floating-cta {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.05),
        0 0 60px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition:
        bottom var(--duration-slower) var(--ease-out-expo),
        transform var(--duration-slower) var(--ease-out-expo);
}

.floating-cta.visible {
    bottom: var(--space-6);
}

/* Subtle hover lift */
.floating-cta:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 0 80px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.floating-cta-content {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.floating-cta-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    white-space: nowrap;
}

.floating-cta-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    border-radius: var(--radius-md);
}

/* --- CURSOR GLOW EFFECT - Enhanced --- */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(167, 139, 250, 0.04) 30%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition:
        opacity 0.4s var(--ease-out-expo),
        width 0.3s var(--ease-out-expo),
        height 0.3s var(--ease-out-expo);
    opacity: 0;
    mix-blend-mode: normal;
}

.cursor-glow.active {
    opacity: 1;
}

/* Intensify on interactive elements */
.btn:hover ~ .cursor-glow,
.bento-card:hover ~ .cursor-glow,
.case-study-card:hover ~ .cursor-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.12) 0%,
        rgba(167, 139, 250, 0.06) 30%,
        transparent 70%
    );
}

/* --- TRUST BADGES ENHANCED --- */
.trust-item.highlight {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    color: #b45309;
}

.trust-item.highlight svg,
.trust-item.highlight i {
    color: var(--accent-amber);
}

/* --- CASE STUDIES SECTION --- */
.case-studies-section {
    background: linear-gradient(180deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
    overflow: hidden;
    position: relative;
}

/* Subtle gradient orb in background */
.case-studies-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

.case-studies-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    position: relative;
    z-index: 1;
}

.case-study-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    transition: all var(--duration-slow) var(--ease-out-expo);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    overflow: hidden;
}

/* Gradient border on hover */
.case-study-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.2), rgba(167, 139, 250, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
    pointer-events: none;
}

.case-study-card:hover {
    border-color: transparent;
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.case-study-card:hover::before {
    opacity: 1;
}

.case-study-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-subtle), rgba(167, 139, 250, 0.08));
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.case-study-metric {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
}

.metric-before {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-400);
    text-decoration: line-through;
    text-decoration-color: var(--accent-rose);
}

.metric-arrow {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
}

.metric-after {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: var(--tracking-tight);
}

.metric-label {
    width: 100%;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

.case-study-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.case-study-timeline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-tertiary);
}

.case-study-timeline svg,
.case-study-timeline i {
    width: 14px;
    height: 14px;
}

/* Responsive case studies */
@media (max-width: 1024px) {
    .case-studies-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .case-studies-carousel {
        grid-template-columns: 1fr;
    }
}

/* --- CALL PREVIEW SECTION --- */
.call-preview-section {
    background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--surface-primary) 100%);
    padding: var(--space-16) 0;
    position: relative;
}

.call-preview-section .section-header {
    margin-bottom: var(--space-10);
}

.call-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 700px;
    margin: 0 auto var(--space-8);
}

.call-step {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    transition: all var(--duration-slow) var(--ease-out-expo);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.call-step:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow:
        0 12px 32px rgba(99, 102, 241, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateX(8px);
}

.call-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-base);
    flex-shrink: 0;
    box-shadow:
        0 4px 12px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform var(--duration-base) var(--ease-out-expo);
}

.call-step:hover .call-step-number {
    transform: scale(1.1);
}

.call-step-content {
    flex: 1;
}

.call-step-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

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

.call-step-time {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-tertiary);
    background: var(--gray-100);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.call-guarantees {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

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

.guarantee-item svg,
.guarantee-item i {
    width: 18px;
    height: 18px;
    color: #22c55e;
}

/* --- ENHANCED CTA SECTION --- */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--accent-amber);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.cta-badge svg,
.cta-badge i {
    width: 16px;
    height: 16px;
}

.cta-bg-glow-2 {
    top: 30%;
    left: 30%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(99, 102, 241, 0.3),
            0 0 20px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1),
            0 2px 8px rgba(99, 102, 241, 0.3),
            0 0 40px rgba(99, 102, 241, 0.4);
    }
}

.cta-trust-row {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-400);
}

.cta-trust-item svg,
.cta-trust-item i {
    width: 16px;
    height: 16px;
}

.availability-note {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    font-size: var(--text-sm);
    color: var(--gray-400);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.availability-note svg,
.availability-note i {
    width: 16px;
    height: 16px;
}

.availability-note strong {
    color: var(--accent-amber);
}

/* --- RESPONSIVE UPDATES --- */
@media (max-width: 900px) {
    .floating-cta {
        left: var(--space-4);
        right: var(--space-4);
        transform: none;
        border-radius: var(--radius-xl);
    }

    .floating-cta-content {
        flex-direction: column;
        gap: var(--space-3);
    }

    .floating-cta-text {
        text-align: center;
    }

    .call-step {
        flex-direction: column;
        text-align: center;
        padding: var(--space-6);
    }

    .call-step:hover {
        transform: translateY(-4px);
    }

    .call-step-time {
        order: -1;
    }

    .call-guarantees {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }

    .cta-trust-row {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
}

@media (max-width: 640px) {
    .cursor-glow {
        display: none;
    }

    .rotating-text-wrapper {
        display: block;
        height: auto;
        overflow: visible;
    }

    .rotating-text {
        animation: none;
    }

    .rotating-text span {
        display: none;
    }

    .rotating-text span:first-child {
        display: block;
    }
}

/* --- AMPLIFIED VISUAL EFFECTS --- */

/* Animated gradient text */
.gradient-text-animated {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--accent-violet) 25%,
        var(--accent-cyan) 50%,
        var(--accent-violet) 75%,
        var(--primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 8s linear infinite;
}

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

/* Section divider with animated gradient */
.section-divider {
    position: relative;
    height: 1px;
    width: 100%;
    margin: var(--space-16) 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.3) 20%,
        rgba(167, 139, 250, 0.5) 50%,
        rgba(34, 211, 238, 0.3) 80%,
        transparent 100%
    );
    overflow: visible;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.15) 50%,
        transparent 100%
    );
    filter: blur(4px);
    animation: dividerPulse 4s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Enhanced card glow on hover */
.glow-on-hover {
    position: relative;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.4),
        rgba(167, 139, 250, 0.3),
        rgba(34, 211, 238, 0.4)
    );
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.glow-on-hover:hover::after {
    opacity: 1;
}

/* Sparkle effect */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.sparkle-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
    animation: sparkle 2s ease-in-out infinite;
}

/* Morphing blob background */
.morphing-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.15),
        rgba(167, 139, 250, 0.1),
        rgba(34, 211, 238, 0.15)
    );
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(60px);
    animation: morph 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    25% { border-radius: 50% 40% 30% 70% / 60% 40% 50% 40%; }
    50% { border-radius: 30% 60% 40% 70% / 50% 60% 30% 60%; }
    75% { border-radius: 60% 40% 50% 40% / 30% 50% 70% 50%; }
}

/* Pulsing glow ring */
.pulse-ring {
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: transparent;
    border: 2px solid rgba(99, 102, 241, 0.4);
    animation: pulseRingEffect 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRingEffect {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Timeline marker specific pulse override */
.timeline-marker.pulse-ring::after {
    inset: -6px;
}

/* Enhanced icon wrapper glow */
.icon-wrapper {
    position: relative;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.bento-card:hover .icon-wrapper::before,
.service-card:hover .icon-wrapper::before {
    opacity: 1;
}

/* Animated border gradient */
.animated-border {
    position: relative;
    background: var(--surface-primary);
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(
        var(--border-angle, 0deg),
        var(--primary),
        var(--accent-violet),
        var(--accent-cyan),
        var(--primary)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 6s linear infinite;
}

@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}

/* Register custom property for border animation */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Enhanced stats number glow */
.counter {
    text-shadow:
        0 0 20px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(99, 102, 241, 0.3),
        0 0 60px rgba(99, 102, 241, 0.1);
}

/* Neon text effect */
.neon-text {
    color: white;
    text-shadow:
        0 0 5px var(--primary-light),
        0 0 10px var(--primary-light),
        0 0 20px var(--primary),
        0 0 40px var(--primary),
        0 0 80px var(--primary);
}

/* Glassmorphism card variant - extra premium */
.glass-ultra {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 100%
    );
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 32px 64px -12px rgba(99, 102, 241, 0.15);
}

/* Shimmer loading effect */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-effect {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

/* Floating particles effect */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 14s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

/* Enhanced FAQ styling with glow */
.faq-item.active .faq-question {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(167, 139, 250, 0.05) 100%
    );
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

/* Spotlight effect on hover */
.spotlight-effect {
    position: relative;
    overflow: hidden;
}

.spotlight-effect::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.15) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out-expo);
    pointer-events: none;
}

.spotlight-effect:hover::before {
    opacity: 1;
}

/* Text reveal on scroll */
.text-reveal {
    clip-path: inset(0 100% 0 0);
    animation: textReveal 1s var(--ease-out-expo) forwards;
}

@keyframes textReveal {
    to { clip-path: inset(0 0 0 0); }
}

/* Magnetic button effect vars */
.btn-magnetic {
    transition: transform var(--duration-fast) var(--ease-out-expo);
}

/* CTA Section enhanced aurora */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 40% 30% at 20% 20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 30% 40% at 80% 30%, rgba(167, 139, 250, 0.1), transparent),
        radial-gradient(ellipse 35% 35% at 50% 80%, rgba(34, 211, 238, 0.1), transparent);
    animation: auroraShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auroraShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5%, -5%) rotate(2deg); }
    50% { transform: translate(-3%, 3%) rotate(-1deg); }
    75% { transform: translate(-5%, -3%) rotate(1deg); }
}

/* Enhanced service card icon animation */
.service-card:hover .icon-wrapper {
    animation: iconBounce 0.5s var(--ease-out-expo);
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Glitch text effect (subtle) */
.glitch-subtle {
    position: relative;
}

.glitch-subtle:hover {
    animation: glitchSubtle 0.3s ease-in-out;
}

@keyframes glitchSubtle {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
}

/* Reduce motion for accessibility */
@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;
    }

    .gradient-text-animated,
    .morphing-blob,
    .particle,
    .shimmer-effect {
        animation: none !important;
    }
}

/* =========================================
   Schedule Page Styles
   ========================================= */

.schedule-section {
    padding-top: var(--space-8);
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

.schedule-info {
    background: var(--surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.schedule-info h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.schedule-info > p {
    color: var(--gray-400);
    margin-bottom: var(--space-8);
}

.schedule-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.schedule-benefit-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
    text-align: center;
    background: var(--surface-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.schedule-benefit-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.schedule-benefit-item p {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin: 0;
}

.schedule-trust {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.schedule-trust-label {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin: 0;
}

.schedule-stats {
    display: flex;
    gap: var(--space-8);
}

.schedule-stat {
    display: flex;
    flex-direction: column;
}

.schedule-stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.schedule-stat-label {
    font-size: var(--text-sm);
    color: var(--gray-400);
}

/* Cal.com Embed Container */
.schedule-embed-container {
    background: var(--surface-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 700px;
    border: 1px solid var(--border-subtle);
}

#my-cal-inline-30min {
    width: 100%;
    min-height: 750px;
}

/* Placeholder styles - remove when Cal.com is connected */
.cal-placeholder {
    padding: var(--space-12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.cal-placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.cal-placeholder-icon svg,
.cal-placeholder-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.cal-placeholder h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.cal-placeholder > p {
    color: var(--gray-400);
    margin-bottom: var(--space-6);
    max-width: 300px;
}

.cal-placeholder-steps {
    text-align: left;
    background: var(--surface-primary);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    max-width: 350px;
}

.cal-placeholder-steps p {
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
}

.cal-placeholder-steps ol {
    padding-left: var(--space-5);
    margin: 0;
}

.cal-placeholder-steps li {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-bottom: var(--space-2);
}

.cal-placeholder-steps a {
    color: var(--primary);
    text-decoration: underline;
}

/* Cal.com embed iframe styling */
.schedule-embed-container iframe {
    width: 100%;
    height: 700px;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .schedule-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-embed-container {
        min-height: 650px;
    }
}

@media (max-width: 768px) {
    .schedule-info {
        padding: var(--space-6);
    }

    .schedule-benefits {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .schedule-benefit-item {
        text-align: center;
        padding: var(--space-4);
    }

    .schedule-trust {
        flex-direction: column;
        gap: var(--space-4);
    }

    .schedule-stats {
        gap: var(--space-6);
    }

    .cal-placeholder {
        padding: var(--space-8);
    }
}
