/* ========================================
   Prompt Labs Pro - Premium Ultra Version
   Premium Visuals, Noise Texture & Performance Optimized
   ======================================== */

/* CSS Variables - Premium Ultra Theme */
:root {
    /* Premium Dark Palette */
    --background: #050508;
    --backgroundBrighter: #08080C;
    --surface: #08080C;
    --surfaceHighlight: #0D0D12;
    --surfaceElevated: #12121A;
    
    /* Premium Silver/Metallic */
    --primary: #FFFFFF;
    --secondary: #A5A7AD;
    --accent: #F2F4F8;
    --silverGradient: linear-gradient(135deg, #FFFFFF 0%, #F0F2F5 25%, #D8DAE0 50%, #EDEFF3 75%, #FFFFFF 100%);
    --chromeGradient: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 25%, #E8EAED 50%, #D4D6DC 75%, #B8BAC2 100%);
    --warmSilverGradient: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 15%, #E8EAEE 35%, #D4D6DA 55%, #C8CACD 75%, #FFFFFF 100%);
    --premiumGradient: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 20%, #E4E7EB 40%, #D0D3D9 60%, #BFC2C7 80%, #FFFFFF 100%);
    
    /* Metallic Highlights */
    --silverLight: #FAFAFC;
    --silverMid: #E8EAEE;
    --silverDark: #A5A7AD;
    --silverDarker: #65676B;
    
    /* Text Colors */
    --textPrimary: #FFFFFF;
    --textSecondary: #B8BCC2;
    --textTertiary: #787A80;
    --textMuted: #4A4C52;
    
    /* Agent Colors */
    --agentRouter: #9CA3AF;
    --agentClarifier: #A3E635;
    --agentContext: #FACC15;
    --agentConstraints: #F87171;
    --agentPersona: #C4B5FD;
    --agentOptimizer: #38BDF8;
    
    /* Semantic Colors */
    --success: #34D399;
    --successGlow: rgba(52, 211, 153, 0.25);
    
    /* Glass Effects - Enhanced */
    --glassBackground: rgba(8, 8, 12, 0.85);
    --glassBorder: rgba(255, 255, 255, 0.03);
    --glassBorderStrong: rgba(255, 255, 255, 0.06);
    --glassBorderHighlight: rgba(255, 255, 255, 0.1);
    --glassHighlight: rgba(255, 255, 255, 0.02);
    --glassHighlightStrong: rgba(255, 255, 255, 0.04);
    
    /* Effects */
    --shadowSoft: rgba(0, 0, 0, 0.15);
    --shadowMedium: rgba(0, 0, 0, 0.3);
    --shadowStrong: rgba(0, 0, 0, 0.5);
    --glowSilver: rgba(240, 242, 245, 0.05);
    --glowSilverStrong: rgba(240, 242, 245, 0.1);
    --metallicShine: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    --premiumShine: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 40%, rgba(255,255,255,0.03) 100%);
    --spotlightGradient: radial-gradient(150px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(255,255,255,0.06) 0%, transparent 70%);
    
    /* Typography */
    --fontFamily: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fontSizeBase: 16px;
    
    /* Spacing */
    --sectionPadding: 130px 0;
    --containerMax: 1280px;
    
    /* Transitions */
    --transitionFast: 0.12s ease;
    --transitionMedium: 0.25s ease;
    --transitionSlow: 0.45s ease;
    --transitionSpring: 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Border Radius */
    --radiusSmall: 6px;
    --radiusMedium: 10px;
    --radiusLarge: 18px;
    --radiusXL: 30px;
}

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

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

body {
    font-family: var(--fontFamily);
    font-size: var(--fontSizeBase);
    line-height: 1.6;
    color: var(--textPrimary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--silverMid);
    text-decoration: none;
    transition: color var(--transitionFast);
}

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

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

.container {
    max-width: var(--containerMax);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 3;
}

/* ========================================
   Canvas Layers
   ======================================== */
.aurora-canvas,
.noise-canvas,
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.aurora-canvas { z-index: 0; opacity: 0.5; }
.noise-canvas { z-index: 1; opacity: 0.035; mix-blend-mode: overlay; }
.particles-canvas { z-index: 2; opacity: 0.4; }

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--silverDarker), var(--silverMid), var(--silverDark));
    z-index: 1002;
    transition: width 0.08s linear;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: all var(--transitionMedium);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 8, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--textPrimary);
    font-weight: 600;
    font-size: 18px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radiusMedium);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform var(--transitionSpring);
}

.logo:hover .logo-icon {
    transform: scale(1.08) rotate(3deg);
}

.logo-text {
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--textSecondary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--silverDark), var(--primary));
    transition: width var(--transitionMedium);
}

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

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

.nav-cta {
    padding: 12px 24px;
    font-size: 14px;
    background: var(--chromeGradient);
    color: #1a1a1e !important;
    border-radius: var(--radiusMedium);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--silverMid), var(--primary));
    transition: all var(--transitionFast);
    border-radius: 2px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--fontFamily);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radiusMedium);
    border: none;
    cursor: pointer;
    transition: all var(--transitionMedium);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left var(--transitionSlow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--chromeGradient);
    color: #1a1a1e;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--silverMid);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.app-store-btn {
    padding: 14px 28px;
}

.app-store-icon {
    width: 26px;
    height: 26px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
}

.btn-strong {
    font-size: 17px;
    font-weight: 700;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: -70%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(ellipse 55% 35% at 50% 50%, rgba(210, 212, 220, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radiusXL);
    font-size: 13px;
    font-weight: 500;
    color: var(--silverDark);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseGlow 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px var(--success);
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 12px var(--success), 0 0 20px var(--success);
    }
    50% { 
        box-shadow: 0 0 25px var(--success), 0 0 35px var(--success), 0 0 45px var(--success);
    }
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F2F5 50%, #B8BAC2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F2F5 50%, #B8BAC2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(45px);
    opacity: 0.35;
    z-index: -1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--textSecondary);
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 44px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--textTertiary);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.phone-mockup {
    position: relative;
    perspective: 1500px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.phone-frame {
    width: 310px;
    height: 640px;
    background: linear-gradient(148deg, #1A1A20, #08080C);
    border-radius: 56px;
    padding: 15px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 0 2px rgba(180, 182, 190, 0.05),
        0 35px 70px -12px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: floatPhone 9s ease-in-out infinite;
}

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

.phone-notch {
    width: 115px;
    height: 32px;
    background: linear-gradient(90deg, #1A1A20, #08080C, #1A1A20);
    border-radius: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.phone-screen {
    width: 100%;
    height: calc(100% - 52px);
    background: var(--background);
    border-radius: 42px;
    overflow: hidden;
}

.screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(148deg, rgba(28, 28, 34, 0.95), rgba(14, 14, 18, 0.95));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radiusMedium);
    font-size: 14px;
    font-weight: 600;
    color: var(--silverMid);
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.card-1 {
    top: 110px;
    right: -80px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 150px;
    left: -80px;
    animation-delay: 3s;
}

.card-icon {
    font-size: 19px;
}

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

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 75px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radiusXL);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--silverDarker);
    margin-bottom: 22px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--textSecondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--sectionPadding);
    background: var(--surface);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 34px;
    background: linear-gradient(148deg, rgba(12, 12, 16, 0.85), rgba(5, 5, 8, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radiusLarge);
    transition: all var(--transitionMedium);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    opacity: 0;
    transition: opacity var(--transitionMedium);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--spotlightGradient);
    opacity: 0;
    transition: opacity var(--transitionMedium);
    pointer-events: none;
}

.feature-card.spotlight-active::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.55);
}

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

.feature-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radiusMedium);
    margin-bottom: 22px;
    background: linear-gradient(148deg, #26262C, #1A1A20);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transitionMedium);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(4deg);
    background: linear-gradient(148deg, #2D2D34, #1F1F25);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.feature-icon svg {
    width: 29px;
    height: 29px;
    stroke: var(--silverDark);
    fill: none;
    stroke-width: 1.5;
    transition: stroke var(--transitionMedium);
}

.feature-card:hover .feature-icon svg {
    stroke: var(--silverLight);
}

.feature-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--textPrimary);
    transition: color var(--transitionMedium);
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-description {
    font-size: 15px;
    color: var(--textSecondary);
    line-height: 1.75;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    padding: var(--sectionPadding);
    position: relative;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 920px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 34px;
    padding: 40px;
    background: linear-gradient(148deg, rgba(12, 12, 16, 0.65), rgba(5, 5, 8, 0.65));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radiusLarge);
    position: relative;
    transition: all var(--transitionMedium);
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--silverDarker), var(--silverMid), var(--silverDark));
    opacity: 0.35;
    transition: opacity var(--transitionMedium);
}

.step:hover {
    border-color: rgba(255, 255, 255, 0.05);
    background: linear-gradient(148deg, rgba(16, 16, 20, 0.75), rgba(8, 8, 12, 0.75));
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 52px;
    font-weight: 800;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 85px;
    transition: transform var(--transitionSpring);
}

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

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(148deg, #26262C, #1A1A20);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radiusMedium);
    margin-bottom: 20px;
    transition: all var(--transitionMedium);
}

.step:hover .step-icon {
    transform: scale(1.12);
    background: linear-gradient(148deg, #2D2D34, #1F1F25);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--silverDark);
    fill: none;
    stroke-width: 1.5;
    transition: stroke var(--transitionMedium);
}

.step:hover .step-icon svg {
    stroke: var(--silverLight);
}

.step-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--textPrimary);
    transition: color var(--transitionMedium);
}

.step:hover .step-title {
    color: var(--primary);
}

.step-description {
    font-size: 16px;
    color: var(--textSecondary);
    line-height: 1.8;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    position: absolute;
    bottom: 34px;
    right: 34px;
    opacity: 0.35;
    transition: all var(--transitionMedium);
}

.step:hover .step-arrow {
    opacity: 1;
    transform: translateX(6px);
}

.step-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--textTertiary);
    fill: none;
    stroke-width: 2;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--sectionPadding);
    background: var(--surface);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 34px;
    background: linear-gradient(148deg, rgba(12, 12, 16, 0.85), rgba(5, 5, 8, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radiusLarge);
    transition: all var(--transitionMedium);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 26px;
    right: 30px;
    font-size: 78px;
    font-family: Georgia, serif;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.06;
    line-height: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--spotlightGradient);
    opacity: 0;
    transition: opacity var(--transitionMedium);
    pointer-events: none;
}

.testimonial-card.spotlight-active::after {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.55);
}

.testimonial-rating {
    background: linear-gradient(90deg, #FACC15, #FACC15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--textSecondary);
    line-height: 1.8;
    margin-bottom: 26px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(148deg, #38383E, #28282E);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: var(--silverMid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transitionMedium);
}

.testimonial-card:hover .author-avatar {
    background: linear-gradient(148deg, #40404A, #2E2E35);
    color: var(--silverLight);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--textPrimary);
}

.author-title {
    font-size: 13px;
    color: var(--textTertiary);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: var(--sectionPadding);
}

.cta-content {
    text-align: center;
    padding: 90px 60px;
    background: linear-gradient(148deg, rgba(12, 12, 16, 0.92), rgba(5, 5, 8, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radiusXL);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silverDark), var(--silverMid), var(--silverDark), transparent);
}

.cta-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--premiumShine);
    pointer-events: none;
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.65; }
}

.cta-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--textSecondary);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 65px 0 35px;
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 65px;
    margin-bottom: 45px;
}

.footer-brand {
    max-width: 320px;
}

.footer-tagline {
    font-size: 15px;
    color: var(--textSecondary);
    margin-top: 16px;
}

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

.footer-heading {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--silverDarker);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--textSecondary);
    margin-bottom: 12px;
    transition: all var(--transitionFast);
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.copyright, .company-info, .contact-info {
    font-size: 13px;
    color: var(--textTertiary);
}

.contact-info a {
    color: var(--textSecondary);
    transition: color var(--transitionFast);
}

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

/* ========================================
   Legal Pages
   ======================================== */
.legal-page .navbar {
    background: rgba(5, 5, 8, 0.9);
}

.legal-content {
    padding: 150px 0 90px;
    min-height: 85vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 65px;
}

.legal-header h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
    background: var(--premiumGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    font-size: 14px;
    color: var(--textTertiary);
}

.legal-body {
    max-width: 840px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--textPrimary);
}

.legal-section p {
    font-size: 16px;
    color: var(--textSecondary);
    line-height: 1.85;
    margin-bottom: 16px;
}

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

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--textSecondary);
    line-height: 1.8;
}

.legal-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--silverDarker);
    font-size: 12px;
}

.legal-section ul li strong {
    color: var(--textPrimary);
    font-weight: 500;
}

.contact-details {
    background: linear-gradient(148deg, rgba(12, 12, 16, 0.5), rgba(5, 5, 8, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radiusMedium);
    padding: 26px;
    margin-top: 22px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Animations
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .hero-title { font-size: 58px; }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 70px;
    }
    
    .hero-content { order: 1; }
    .hero-visual { order: 2; }
    
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .footer-brand {
        max-width: none;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero {
        padding: 130px 0 90px;
    }
    
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 17px; }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 22px;
    }
    
    .stat-divider {
        width: 44px;
        height: 1px;
    }
    
    .section-title { font-size: 34px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .step {
        flex-direction: column;
        padding: 30px;
    }
    
    .step-number { font-size: 38px; min-width: auto; }
    .step-arrow { display: none; }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .cta-content { padding: 70px 26px; }
    .cta-title { font-size: 30px; }
    
    .legal-header h1 { font-size: 38px; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    
    .hero-title { font-size: 34px; }
    
    .phone-frame {
        width: 270px;
        height: 560px;
    }
    
    .floating-card { display: none; }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .section-title { font-size: 28px; }
    
    .feature-card { padding: 28px; }
    .testimonial-card { padding: 28px; }
}

/* ========================================
   Mobile Menu States
   ======================================== */
.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);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(24px);
    padding: 22px;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
