/* ============================================
   RateMyLooks.ai - Premium Dark UI Design
   Matching screenshot design exactly
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors - Premium Palette */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #0f0f0f;
    --bg-card: #111111;
    --bg-card-hover: #161616;

    /* Text Colors - Enhanced Contrast */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    /* Premium Accent Colors */
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-blue-dark: #1d4ed8;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;

    /* Border Colors */
    --border-color: rgba(59, 130, 246, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Premium Gradients */
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-premium: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);

    /* Typography - Premium System */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Premium Type Scale (1.25 ratio - Major Third) */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */

    /* Premium Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Premium Transitions with Bezier Curves */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Premium Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    --shadow-glow-lg: 0 0 80px rgba(59, 130, 246, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   PREMIUM BACKGROUND EFFECTS - Star Field
   ============================================ */

/* Animated star/dot background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

/* Layer 1: Static small dots */
.bg-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 50px 50px;
    background-position: 0 0, 50px 50px, 25px 25px;
    animation: starTwinkle 8s ease-in-out infinite;
}

/* Layer 2: Larger glowing stars */
.bg-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(74, 158, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle, rgba(74, 158, 255, 0.2) 1px, transparent 2px);
    background-size: 200px 200px, 300px 300px;
    background-position: 100px 100px, 150px 150px;
    animation: starTwinkle 12s ease-in-out infinite reverse;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Floating particles effect */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 800px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 30% 10%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: glowShift 8s ease-in-out infinite;
}

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

/* Premium Noise Texture Overlay */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
}

/* Floating Orbs - Ambient Visual Effect */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

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

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(40px, 10px) scale(1.05);
    }
}

/* Premium Gradient Border Effect */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink), var(--accent-blue));
    background-size: 300% 300%;
    -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: gradientShift 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

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

/* Navigation - Premium Glass Effect */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.nav.scrolled {
    padding: var(--spacing-md) var(--spacing-2xl);
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.nav-brand:hover .brand-icon svg {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brand-icon svg {
    width: 32px;
    height: 32px;
    transition: var(--transition-normal);
}

.brand-text {
    display: flex;
    align-items: baseline;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.brand-name {
    color: #ffffff;
    transition: var(--transition-normal);
}

.brand-domain {
    background: linear-gradient(135deg, #60a5fa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-left: 1px;
}

.nav-brand:hover .brand-name {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.nav-breadcrumb {
    color: var(--text-muted);
}

.nav-separator {
    color: var(--accent-blue);
    margin: 0 var(--spacing-xs);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.nav-current {
    color: var(--accent-blue);
}

/* Hero Section - Premium Spacing */
.hero {
    min-height: 100vh;
    padding: calc(100px + var(--spacing-4xl)) var(--spacing-2xl) var(--spacing-4xl);
    display: flex;
    align-items: flex-start;
    position: relative;
}

.hero-container-centered {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

/* Premium Hero Title with Gradient Text */
.hero-title-centered {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: var(--spacing-lg);
    letter-spacing: var(--tracking-tighter);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
}

/* Subtle glow behind title */
.hero-title-centered::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(30px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle-centered {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Hero CTA Button - in info panel */
.hero-info-panel .hero-cta {
    margin-top: var(--spacing-xl);
    font-size: var(--text-base);
    padding: var(--spacing-md) var(--spacing-2xl);
    width: 100%;
}

.hero-visual-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-3xl);
}

/* AI Face Container */
.ai-face-container {
    flex: 0 0 auto;
    width: 320px;
    position: relative;
}

/* CRITICAL: Strong background glow behind face - this is the signature visual */
.ai-face-container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -150px;
    width: 400px;
    height: 160%;
    background: radial-gradient(ellipse 70% 60% at 30% 50%,
        rgba(74, 158, 255, 0.7) 0%,
        rgba(74, 158, 255, 0.5) 25%,
        rgba(74, 158, 255, 0.3) 45%,
        rgba(74, 158, 255, 0.15) 65%,
        transparent 85%);
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Additional outer glow layer for more depth */
.ai-face-container::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -200px;
    width: 500px;
    height: 180%;
    background: radial-gradient(ellipse 60% 50% at 25% 50%,
        rgba(74, 158, 255, 0.35) 0%,
        rgba(74, 158, 255, 0.2) 30%,
        rgba(74, 158, 255, 0.1) 50%,
        transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
}

.ai-face-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
}

.ai-face-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

/* Blue glow on left side of face - ENHANCED for stronger effect */
.face-glow {
    position: absolute;
    top: -10px;
    left: -30px;
    width: 75%;
    height: 110%;
    background: linear-gradient(100deg,
        rgba(74, 158, 255, 0.75) 0%,
        rgba(74, 158, 255, 0.5) 20%,
        rgba(74, 158, 255, 0.25) 45%,
        transparent 70%);
    z-index: 2;
    pointer-events: none;
    filter: blur(15px);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.face-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.face-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(74, 158, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.7;
    border-radius: var(--radius-lg);
}

.face-points .point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue), 0 0 20px rgba(74, 158, 255, 0.5);
    animation: pulse-point 2s ease-in-out infinite;
}

.face-points .point:nth-child(1) { animation-delay: 0s; }
.face-points .point:nth-child(2) { animation-delay: 0.3s; }
.face-points .point:nth-child(3) { animation-delay: 0.6s; }
.face-points .point:nth-child(4) { animation-delay: 0.9s; }

@keyframes pulse-point {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

/* Scanning line effect */
.face-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: scan-line 3s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-blue);
}

@keyframes scan-line {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.score-badge {
    position: absolute;
    bottom: 15px;
    left: 12px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.score-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue);
}

/* Hero Info Panel */
.hero-info-panel {
    flex: 1;
    max-width: 400px;
}

.trustpilot-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.trustpilot-logo {
    color: #00b67a;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.trustpilot-badge .rating {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.photos-analyzed {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.photos-analyzed strong {
    color: var(--text-primary);
}

.info-text {
    padding: var(--spacing-lg);
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.info-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Premium Section Styles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: var(--spacing-md);
    text-align: center;
    letter-spacing: var(--tracking-tighter);
    color: var(--text-primary);
}

/* Gradient variant for section titles */
.section-title.gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--spacing-3xl);
    line-height: var(--leading-relaxed);
    font-weight: 400;
}

/* Features Section */
.features-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: var(--bg-secondary);
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features-header {
    margin-bottom: var(--spacing-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* ============================================
   PREMIUM FEATURE CARDS - Glassmorphism 2.0
   ============================================ */
.feature-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Inner glow effect */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Animated gradient border on hover */
.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink), var(--accent-blue));
    background-size: 300% 300%;
    -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 0.4s ease;
    animation: gradientShift 4s ease infinite;
}

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

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

.feature-card:hover {
    background: rgba(22, 22, 22, 0.8);
    border-color: transparent;
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--spacing-lg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

/* Icon inner glow */
.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
}

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

.feature-icon svg {
    width: 28px;
    height: 28px;
    transition: all 0.4s ease;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.7));
}

.feature-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
}

.feature-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* Celebrity Section */
.celebrity-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: var(--bg-primary);
}

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

.celebrity-header {
    margin-bottom: var(--spacing-3xl);
}

.celebrity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

/* ============================================
   PREMIUM CELEBRITY CARDS
   ============================================ */
.celebrity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* Glow effect on hover */
.celebrity-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0) 0%, rgba(74, 158, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.celebrity-card:hover::after {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, transparent 50%);
    opacity: 1;
}

.celebrity-card:hover {
    border-color: rgba(74, 158, 255, 0.4);
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(74, 158, 255, 0.15);
}

.celebrity-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
}

.celebrity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.celebrity-card:hover .celebrity-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.celebrity-info {
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(74, 158, 255, 0.08), transparent);
}

.celebrity-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--accent-blue);
}

.celebrity-rating {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.rating-value {
    color: var(--accent-blue);
    font-weight: 600;
}

.celebrity-cta-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   PREMIUM BUTTON STYLES - Million Dollar Design
   ============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    background: var(--gradient-blue);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Glow effect layer */
.cta-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    background-size: 200% 200%;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease infinite;
    filter: blur(8px);
}

/* Shimmer effect */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.cta-button-large {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
}

/* Premium Secondary Button */
.cta-button-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.cta-button-secondary::before {
    background: var(--gradient-blue);
    opacity: 0;
    filter: none;
}

.cta-button-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.cta-button-secondary:hover::before {
    opacity: 0;
}

/* Pulse animation for primary CTAs */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.2);
    }
}

.cta-button.pulse {
    animation: buttonPulse 2s ease-in-out infinite;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: var(--bg-secondary);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-container .section-title {
    margin-bottom: var(--spacing-3xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    position: relative;
}

/* ============================================
   PREMIUM TESTIMONIAL CARDS - Floating Effect
   ============================================ */

/* Overlapping card effect - scattered look with floating animation */
.testimonials-grid .testimonial-card:nth-child(1) {
    transform: translateY(30px);
    animation: float1 6s ease-in-out infinite;
}
.testimonials-grid .testimonial-card:nth-child(2) {
    transform: translateY(-15px);
    z-index: 2;
    animation: float2 7s ease-in-out infinite;
}
.testimonials-grid .testimonial-card:nth-child(3) {
    transform: translateY(40px);
    animation: float3 8s ease-in-out infinite;
}
.testimonials-grid .testimonial-card:nth-child(4) {
    transform: translateY(-25px);
    animation: float4 6.5s ease-in-out infinite;
}
.testimonials-grid .testimonial-card:nth-child(5) {
    transform: translateY(15px);
    z-index: 2;
    animation: float5 7.5s ease-in-out infinite;
}
.testimonials-grid .testimonial-card:nth-child(6) {
    transform: translateY(-10px);
    animation: float6 5.5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(30px); }
    50% { transform: translateY(20px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(-15px); }
    50% { transform: translateY(-25px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(40px); }
    50% { transform: translateY(30px); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(-25px); }
    50% { transform: translateY(-15px); }
}
@keyframes float5 {
    0%, 100% { transform: translateY(15px); }
    50% { transform: translateY(5px); }
}
@keyframes float6 {
    0%, 100% { transform: translateY(-10px); }
    50% { transform: translateY(-20px); }
}

.testimonial-card {
    background: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

/* Animated border on hover */
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    background-size: 200% 200%;
    -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 0.4s ease;
    animation: gradientShift 4s ease infinite;
}

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

.testimonial-card:hover {
    background: rgba(22, 22, 22, 0.7);
    border-color: transparent;
    transform: scale(1.06) translateY(-8px) !important;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(59, 130, 246, 0.12);
    z-index: 10 !important;
}

.testimonial-card.featured {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.6) 0%, rgba(59, 130, 246, 0.08) 100%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.testimonial-card.featured::before {
    opacity: 0.5;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue);
}

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

.testimonial-author h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1px;
}

.testimonial-author .verified {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.testimonial-author .checkmark {
    color: var(--accent-blue);
}

.testimonial-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Upload Section */
.upload-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: var(--bg-primary);
}

.upload-cta-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-2xl);
    align-items: center;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(74, 158, 255, 0.03) 50%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(74, 158, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.upload-cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right center, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.upload-cta-content {
    max-width: 350px;
    position: relative;
    z-index: 1;
}

.upload-cta-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: var(--spacing-md);
    letter-spacing: var(--tracking-tighter);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.upload-cta-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    background: rgba(74, 158, 255, 0.02);
    margin-bottom: var(--spacing-lg);
}

.upload-area:hover {
    border-color: var(--accent-blue);
    background: rgba(74, 158, 255, 0.05);
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.upload-main {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.upload-link {
    color: var(--accent-blue);
    cursor: pointer;
}

.upload-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.upload-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.upload-preview img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    background: var(--bg-card);
}

.preview-overlay {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
}

.preview-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.preview-remove:hover {
    background: rgba(239, 68, 68, 0.8);
}

.upload-btn {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--gradient-blue);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

/* Premium glow effect */
.upload-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease infinite;
    filter: blur(10px);
}

.upload-btn:hover:not(:disabled)::before {
    opacity: 1;
}

.upload-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.5),
        0 0 60px rgba(59, 130, 246, 0.3);
}

.upload-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.upload-btn.enabled {
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* CTA Visual Section */
.upload-cta-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 280px;
}

.cta-visual-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    position: relative;
}

/* 3D Spheres Visual - Inline Row Layout */
.cta-spheres {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-spheres .sphere {
    display: block !important;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8e8e8 0%, #c8c8c8 30%, #a0a0a0 60%, #707070 100%);
    box-shadow:
        inset -6px -6px 15px rgba(0, 0, 0, 0.35),
        inset 6px 6px 15px rgba(255, 255, 255, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.3);
    animation: sphereBob 3s ease-in-out infinite;
    flex-shrink: 0;
}

.cta-spheres .sphere-1 {
    width: 55px;
    height: 55px;
    min-width: 55px;
    min-height: 55px;
    animation-delay: 0s;
}

.cta-spheres .sphere-2 {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    animation-delay: 0.2s;
}

.cta-spheres .sphere-3 {
    width: 75px;
    height: 75px;
    min-width: 75px;
    min-height: 75px;
    animation-delay: 0.4s;
}

.cta-spheres .sphere-4 {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    animation-delay: 0.6s;
}

.cta-spheres .sphere-5 {
    width: 55px;
    height: 55px;
    min-width: 55px;
    min-height: 55px;
    animation-delay: 0.8s;
}

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

/* Dashboard Mockup Card */
.cta-dashboard-mockup {
    position: relative;
}

.cta-dashboard-mockup .dashboard-window {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 200px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cta-dashboard-mockup .window-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-dashboard-mockup .window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cta-dashboard-mockup .window-dot.red {
    background: #ff5f57;
}

.cta-dashboard-mockup .window-dot.yellow {
    background: #ffbd2e;
}

.cta-dashboard-mockup .window-dot.green {
    background: #28c840;
}

.cta-dashboard-mockup .window-content {
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.cta-dashboard-mockup .chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
}

.cta-dashboard-mockup .chart-bars .bar {
    width: 18px;
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 4px 4px 0 0;
    min-height: 15px;
}

.cta-dashboard-mockup .chart-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.cta-dashboard-mockup .chart-lines .line {
    height: 10px;
    background: linear-gradient(90deg, #60a5fa 0%, rgba(96, 165, 250, 0.3) 100%);
    border-radius: 5px;
}

.cta-dashboard-mockup .chart-lines .line:nth-child(1) {
    width: 55px;
}

.cta-dashboard-mockup .chart-lines .line:nth-child(2) {
    width: 45px;
}

.cta-dashboard-mockup .chart-lines .line:nth-child(3) {
    width: 50px;
}

/* CTA Dashboard Image */
.cta-hand-spheres {
    position: relative;
    width: 150px;
    flex-shrink: 0;
}

.cta-hand-spheres .hand-spheres-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.cta-dashboard-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 240px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(74, 158, 255, 0.08);
}

.cta-dashboard-image .dashboard-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

.cta-dashboard-image .dashboard-fallback {
    display: none;
}

.cta-dashboard-image.fallback .dashboard-img {
    display: none;
}

.cta-dashboard-image.fallback .dashboard-fallback {
    display: block;
}

/* Fallback Screen Visual */
.fallback-screen {
    width: 240px;
    height: 170px;
    background: linear-gradient(145deg, #1a1a25 0%, #0d0d12 100%);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.fallback-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 49%, rgba(74, 158, 255, 0.02) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(74, 158, 255, 0.02) 50%, transparent 51%);
    background-size: 15px 15px;
    pointer-events: none;
}

.screen-header {
    display: flex;
    gap: 5px;
    margin-bottom: var(--spacing-sm);
}

.screen-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.screen-header span:nth-child(1) { background: #ff5f57; }
.screen-header span:nth-child(2) { background: #febc2e; }
.screen-header span:nth-child(3) { background: #28c840; }

.screen-content {
    display: flex;
    gap: var(--spacing-sm);
    height: calc(100% - 25px);
}

.screen-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
}

.chart-bar {
    flex: 1;
    background: var(--gradient-blue);
    border-radius: 2px;
    min-height: 8px;
    animation: chart-grow 2s ease-out infinite alternate;
}

.chart-bar:nth-child(1) { animation-delay: 0s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.4s; }
.chart-bar:nth-child(4) { animation-delay: 0.6s; }
.chart-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes chart-grow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.screen-stats {
    width: 70px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    justify-content: center;
}

.stat-row {
    height: 6px;
    background: rgba(74, 158, 255, 0.25);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.stat-row::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-blue);
    border-radius: 3px;
    animation: stat-fill 3s ease-in-out infinite;
}

.stat-row:nth-child(1)::after { width: 75%; animation-delay: 0s; }
.stat-row:nth-child(2)::after { width: 60%; animation-delay: 0.5s; }
.stat-row:nth-child(3)::after { width: 85%; animation-delay: 1s; }

@keyframes stat-fill {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Results Section */
.results-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.results-container {
    max-width: 550px;
    margin: 0 auto;
}

.results-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
}

.results-header {
    margin-bottom: var(--spacing-xl);
}

.results-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.score-display {
    margin-bottom: var(--spacing-xl);
}

.score-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(74, 158, 255, 0.05) 100%);
    border: 3px solid var(--accent-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.score-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.score-max {
    font-size: 1.1rem;
    color: var(--text-muted);
}

#scoreLabel {
    font-size: 1rem;
    color: var(--text-secondary);
}

.results-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.share-btn,
.retry-btn {
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.share-btn {
    background: var(--gradient-blue);
    color: var(--text-primary);
    border: none;
}

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

.share-btn:hover,
.retry-btn:hover {
    transform: translateY(-2px);
}

/* Page Navigation */
.page-nav {
    position: fixed;
    bottom: var(--spacing-lg);
    left: var(--spacing-xl);
    right: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
}

.page-indicator,
.page-label {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.page-indicator .bracket,
.page-label .bracket {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-xl);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

/* Grid pattern background on left side of footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 158, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle glow behind the grid */
.footer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 180px;
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo .brand-icon {
    display: flex;
}

.brand-logo .brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.back-to-top {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.back-to-top:hover {
    color: var(--accent-blue);
}

/* Toast */
.toast {
    position: fixed;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    z-index: 2000;
    opacity: 0;
    transition: var(--transition-normal);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.toast-icon {
    font-size: 1.1rem;
}

.toast-message {
    font-size: 0.8rem;
    color: var(--text-primary);
}

/* Payment Modal */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.payment-modal-overlay.show {
    display: flex;
}

.payment-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--bg-card-hover);
}

.payment-modal-content {
    padding: var(--spacing-2xl);
}

.locked-score-preview {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.lock-icon {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.blurred-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-xs);
}

.score-blur {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    filter: blur(8px);
}

.blurred-score .score-label {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.unlock-message {
    font-size: 1rem;
    color: var(--text-primary);
    margin-top: var(--spacing-md);
}

.unlock-benefits {
    margin-bottom: var(--spacing-xl);
}

.benefits-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
}

.benefit-icon {
    font-size: 1rem;
}

.benefit-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.payment-pricing {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-currency {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

.coupon-section {
    margin-top: var(--spacing-md);
}

.coupon-toggle {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.coupon-toggle:hover {
    color: var(--accent-blue-light);
}

.coupon-input-wrapper {
    margin-top: var(--spacing-md);
}

.coupon-input-group {
    display: flex;
    gap: var(--spacing-sm);
}

.coupon-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.8rem;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.coupon-apply-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.coupon-apply-btn:hover {
    background: var(--bg-card-hover);
}

.coupon-feedback {
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
}

.discount-applied {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
}

.discount-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.discount-text {
    font-weight: 700;
    color: #22c55e;
}

.price-breakdown {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.savings-amount {
    color: #22c55e;
    font-weight: 600;
}

.remove-coupon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    margin-top: var(--spacing-sm);
}

.remove-coupon-btn:hover {
    color: #ef4444;
}

.unlock-btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-blue);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.3);
}

.unlock-btn .spinner {
    animation: spin 0.8s linear infinite;
}

.payment-trust {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 71, 87, 0.6); }
}

.urgency-banner .urgency-icon {
    font-size: 1rem;
}

.urgency-banner .urgency-text {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

.urgency-banner .urgency-text strong {
    color: #fff;
    font-weight: 700;
}

/* Social Proof Mini */
.social-proof-mini {
    margin: 12px 0;
    text-align: center;
}

.social-proof-mini .active-users {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(74, 158, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.social-proof-mini .pulse-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.social-proof-mini #activeUsersCount {
    font-weight: 600;
    color: var(--text-primary);
}

/* Guarantee Badge */
.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
}

.guarantee-badge .guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.guarantee-badge .guarantee-text {
    font-size: 0.8rem;
    color: #4caf50;
    font-weight: 600;
}

/* File Input Hidden */
#fileInput {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ============================================
   PREMIUM AI SCANNING ANIMATION
   The "WOW Factor" - Futuristic Analysis Effect
   ============================================ */

/* Scanning overlay container */
.ai-scanning-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-lg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow: hidden;
}

.ai-scanning-overlay.active {
    display: flex;
}

/* Scanning grid effect */
.scanning-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridPulse 2s ease-in-out infinite;
}

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

/* Main scanning line */
.scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--accent-blue) 20%,
        var(--accent-purple) 50%,
        var(--accent-pink) 80%,
        transparent);
    box-shadow:
        0 0 20px var(--accent-blue),
        0 0 40px rgba(59, 130, 246, 0.5),
        0 5px 30px rgba(59, 130, 246, 0.3);
    animation: scanDown 2.5s ease-in-out infinite;
}

@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 3px); opacity: 0; }
}

/* Scanning data points */
.scanning-points {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scan-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    background: transparent;
    animation: pointPulse 1.5s ease-in-out infinite;
}

.scan-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-blue);
}

.scan-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pointRing 2s ease-out infinite;
}

@keyframes pointPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes pointRing {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Specific point positions for facial analysis */
.scan-point.eye-left { top: 30%; left: 35%; animation-delay: 0s; }
.scan-point.eye-right { top: 30%; left: 60%; animation-delay: 0.2s; }
.scan-point.nose { top: 50%; left: 48%; animation-delay: 0.4s; }
.scan-point.mouth-left { top: 65%; left: 38%; animation-delay: 0.6s; }
.scan-point.mouth-right { top: 65%; left: 58%; animation-delay: 0.8s; }
.scan-point.chin { top: 78%; left: 48%; animation-delay: 1s; }
.scan-point.forehead { top: 15%; left: 48%; animation-delay: 1.2s; }

/* Scanning status text */
.scanning-status {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-xl);
}

.scanning-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: var(--tracking-tight);
}

.scanning-subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Progress bar */
.scanning-progress {
    width: 200px;
    height: 4px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.scanning-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    background-size: 200% 100%;
    border-radius: inherit;
    animation: progressFill 2.5s ease-in-out infinite, gradientMove 1s linear infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Metrics being analyzed */
.scanning-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-top: var(--spacing-md);
    max-width: 250px;
}

.metric-tag {
    font-size: var(--text-xs);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    animation: metricFlash 3s ease-in-out infinite;
}

.metric-tag:nth-child(1) { animation-delay: 0s; }
.metric-tag:nth-child(2) { animation-delay: 0.3s; }
.metric-tag:nth-child(3) { animation-delay: 0.6s; }
.metric-tag:nth-child(4) { animation-delay: 0.9s; }
.metric-tag:nth-child(5) { animation-delay: 1.2s; }
.metric-tag:nth-child(6) { animation-delay: 1.5s; }

@keyframes metricFlash {
    0%, 100% { opacity: 0.5; border-color: rgba(59, 130, 246, 0.2); }
    50% { opacity: 1; border-color: var(--accent-blue); box-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }
}

/* Corner brackets - tech aesthetic */
.scan-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
}

.scan-corner.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.scan-corner.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.scan-corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.scan-corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual-row {
        flex-direction: column;
        align-items: center;
    }

    .ai-face-container,
    .hero-info-panel {
        max-width: 380px;
    }

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

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

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

    .upload-cta-container {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg);
        text-align: center;
    }

    .upload-cta-content {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .upload-cta-visual {
        order: -1;
    }

    .cta-visual-wrapper {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .nav {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: calc(60px + var(--spacing-2xl)) var(--spacing-md) var(--spacing-2xl);
    }

    .hero-title-centered {
        font-size: 1.8rem;
    }

    .features-section,
    .celebrity-section,
    .testimonials-section,
    .upload-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

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

    .testimonials-grid .testimonial-card {
        transform: none !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .page-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title-centered {
        font-size: 1.5rem;
    }

    .upload-cta-title {
        font-size: 1.3rem;
    }

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

    .payment-modal-content {
        padding: var(--spacing-lg);
    }

    .payment-trust {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   PREMIUM PAGE LOAD & SCROLL ANIMATIONS
   ============================================ */

/* Fade in up animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero animations */
.hero-title-centered {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle-centered {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.ai-face-container {
    animation: slideInLeft 1s ease-out 0.2s backwards;
}

.hero-info-panel {
    animation: slideInRight 1s ease-out 0.3s backwards;
}

/* Section reveal animations */
.section-title {
    animation: fadeInUp 0.7s ease-out;
}

/* Staggered card animations */
.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.celebrity-card {
    animation: scaleIn 0.5s ease-out backwards;
}

.celebrity-card:nth-child(1) { animation-delay: 0.1s; }
.celebrity-card:nth-child(2) { animation-delay: 0.15s; }
.celebrity-card:nth-child(3) { animation-delay: 0.2s; }
.celebrity-card:nth-child(4) { animation-delay: 0.25s; }
.celebrity-card:nth-child(5) { animation-delay: 0.3s; }
.celebrity-card:nth-child(6) { animation-delay: 0.35s; }

/* Nav link hover effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Footer link hover effects */
.footer-nav a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-nav a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-nav a:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-nav a:hover {
    padding-left: 5px;
}

/* Score badge pulse animation */
.score-badge {
    animation: scorePulse 2s ease-in-out infinite;
}

@keyframes scorePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(74, 158, 255, 0.5);
    }
}

/* Premium smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}

/* Custom cursor effect for interactive elements */
.cta-button,
.feature-card,
.celebrity-card,
.testimonial-card,
.nav-link,
.footer-nav a {
    cursor: pointer;
}

/* 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;
    }
}

/* ============================================
   PREMIUM MICRO-INTERACTIONS & POLISH
   The "Million Dollar" Details
   ============================================ */

/* Premium Link Underline Animation */
.nav-link,
.footer-nav a {
    position: relative;
    display: inline-block;
}

.nav-link::after,
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-premium);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Premium Upload Area */
.upload-area {
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl) var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upload-area:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.03);
    transform: scale(1.01);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area.drag-over {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
    transform: scale(1.02);
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.2),
        inset 0 0 30px rgba(139, 92, 246, 0.05);
}

/* Premium Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.1),
        0 0 20px rgba(59, 130, 246, 0.1);
}

/* Premium Selection Color */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Premium Text Gradient Utility */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Glow Utility */
.glow {
    box-shadow: var(--shadow-glow);
}

.glow-lg {
    box-shadow: var(--shadow-glow-lg);
}

/* Premium Image Loading */
img {
    opacity: 1;
    transition: opacity 0.4s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Premium Link Color on Hover */
a {
    transition: color 0.3s ease;
}

/* Page Loading Animation */
.page-loading {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Smooth Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    animation: sectionReveal 0.8s ease-out forwards;
}

@keyframes sectionReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:nth-child(1) { animation-delay: 0s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }

/* Premium Badge/Tag Style */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

/* Premium Active State Indicator */
.active-indicator {
    display: inline-flex;
}

/* ============================================
   ULTRA-PREMIUM EFFECTS - Level 2
   Next-Generation Visual Design
   ============================================ */

/* 1. MOUSE-TRACKING SPOTLIGHT ON CARDS
   Creates a radial glow that follows cursor */
.feature-card,
.celebrity-card,
.testimonial-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
}

.feature-card::after,
.celebrity-card::before,
.testimonial-card::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        220px circle at var(--mx, 50%) var(--my, 50%),
        rgba(59, 130, 246, 0.25),
        rgba(139, 92, 246, 0.15) 30%,
        rgba(236, 72, 153, 0.1) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::after,
.celebrity-card:hover::before,
.testimonial-card:hover::after {
    opacity: 1;
}

/* Ensure content stays above spotlight */
.feature-card > *,
.celebrity-card > *,
.testimonial-card > * {
    position: relative;
    z-index: 1;
}

/* 2. MAGNETIC BUTTONS - Subtle attraction effect */
.magnetic-btn {
    --magnet-x: 0px;
    --magnet-y: 0px;
    transform: translate(var(--magnet-x), var(--magnet-y));
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-button,
.upload-btn,
.nav-cta {
    --magnet-x: 0px;
    --magnet-y: 0px;
    transform: translate(var(--magnet-x), var(--magnet-y));
    transition:
        transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
    will-change: transform;
}

/* 3. TEXT SCRAMBLE/DECRYPT ANIMATION */
.scramble-text {
    display: inline-block;
}

.scramble-text .char {
    display: inline-block;
    animation: scrambleReveal 0.5s ease forwards;
    opacity: 0;
}

@keyframes scrambleReveal {
    0% {
        opacity: 0;
        transform: translateY(10px) rotateX(90deg);
        filter: blur(4px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(5px) rotateX(45deg);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: blur(0);
    }
}

/* Staggered reveal for each character */
.scramble-text .char:nth-child(1) { animation-delay: 0.02s; }
.scramble-text .char:nth-child(2) { animation-delay: 0.04s; }
.scramble-text .char:nth-child(3) { animation-delay: 0.06s; }
.scramble-text .char:nth-child(4) { animation-delay: 0.08s; }
.scramble-text .char:nth-child(5) { animation-delay: 0.10s; }
.scramble-text .char:nth-child(6) { animation-delay: 0.12s; }
.scramble-text .char:nth-child(7) { animation-delay: 0.14s; }
.scramble-text .char:nth-child(8) { animation-delay: 0.16s; }
.scramble-text .char:nth-child(9) { animation-delay: 0.18s; }
.scramble-text .char:nth-child(10) { animation-delay: 0.20s; }
.scramble-text .char:nth-child(11) { animation-delay: 0.22s; }
.scramble-text .char:nth-child(12) { animation-delay: 0.24s; }
.scramble-text .char:nth-child(13) { animation-delay: 0.26s; }
.scramble-text .char:nth-child(14) { animation-delay: 0.28s; }
.scramble-text .char:nth-child(15) { animation-delay: 0.30s; }

/* 4. 3D TILT EFFECT ON CARDS - Bento Grid Style */
.feature-card,
.celebrity-card,
.testimonial-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card {
    --rx: 0deg;
    --ry: 0deg;
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Inner content parallax effect */
.tilt-card .feature-icon,
.tilt-card .celebrity-image,
.tilt-card .testimonial-avatar {
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

.tilt-card:hover .feature-icon,
.tilt-card:hover .celebrity-image img,
.tilt-card:hover .testimonial-avatar {
    transform: translateZ(50px);
}

/* 5. BLUR-TO-FOCUS SCROLL REVEAL */
.blur-reveal {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(50px);
    transition:
        opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        filter 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.blur-reveal.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Staggered blur reveal for cards */
.blur-reveal-stagger .feature-card,
.blur-reveal-stagger .celebrity-card,
.blur-reveal-stagger .testimonial-card {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(30px) scale(0.95);
    transition:
        opacity 0.6s ease,
        filter 0.6s ease,
        transform 0.6s ease;
}

.blur-reveal-stagger.revealed .feature-card,
.blur-reveal-stagger.revealed .celebrity-card,
.blur-reveal-stagger.revealed .testimonial-card {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.blur-reveal-stagger.revealed .feature-card:nth-child(1),
.blur-reveal-stagger.revealed .celebrity-card:nth-child(1),
.blur-reveal-stagger.revealed .testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.blur-reveal-stagger.revealed .feature-card:nth-child(2),
.blur-reveal-stagger.revealed .celebrity-card:nth-child(2),
.blur-reveal-stagger.revealed .testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.blur-reveal-stagger.revealed .feature-card:nth-child(3),
.blur-reveal-stagger.revealed .celebrity-card:nth-child(3),
.blur-reveal-stagger.revealed .testimonial-card:nth-child(3) { transition-delay: 0.3s; }
.blur-reveal-stagger.revealed .feature-card:nth-child(4),
.blur-reveal-stagger.revealed .celebrity-card:nth-child(4),
.blur-reveal-stagger.revealed .testimonial-card:nth-child(4) { transition-delay: 0.4s; }
.blur-reveal-stagger.revealed .feature-card:nth-child(5),
.blur-reveal-stagger.revealed .celebrity-card:nth-child(5),
.blur-reveal-stagger.revealed .testimonial-card:nth-child(5) { transition-delay: 0.5s; }
.blur-reveal-stagger.revealed .feature-card:nth-child(6),
.blur-reveal-stagger.revealed .celebrity-card:nth-child(6),
.blur-reveal-stagger.revealed .testimonial-card:nth-child(6) { transition-delay: 0.6s; }

/* 6. CHROMATIC ABERRATION ON IMAGES */
.chromatic-aberration {
    position: relative;
}

.chromatic-aberration img {
    position: relative;
    z-index: 1;
}

.chromatic-aberration::before,
.chromatic-aberration::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    mix-blend-mode: screen;
}

.chromatic-aberration::before {
    filter: url('#chromatic-r');
    transform: translate(-2px, 0);
}

.chromatic-aberration::after {
    filter: url('#chromatic-b');
    transform: translate(2px, 0);
}

.chromatic-aberration:hover::before,
.chromatic-aberration:hover::after {
    opacity: 0.6;
}

.chromatic-aberration:hover::before {
    transform: translate(-4px, 0);
}

.chromatic-aberration:hover::after {
    transform: translate(4px, 0);
}

/* CSS-only chromatic effect alternative */
.ai-face-image:hover img,
.celebrity-image:hover img {
    animation: chromaticPulse 0.3s ease;
}

@keyframes chromaticPulse {
    0% {
        filter: none;
    }
    25% {
        filter:
            drop-shadow(-2px 0 0 rgba(255, 0, 0, 0.4))
            drop-shadow(2px 0 0 rgba(0, 255, 255, 0.4));
    }
    50% {
        filter:
            drop-shadow(-3px 0 0 rgba(255, 0, 0, 0.5))
            drop-shadow(3px 0 0 rgba(0, 255, 255, 0.5));
    }
    75% {
        filter:
            drop-shadow(-2px 0 0 rgba(255, 0, 0, 0.4))
            drop-shadow(2px 0 0 rgba(0, 255, 255, 0.4));
    }
    100% {
        filter: none;
    }
}

/* 7. AURORA / NORTHERN LIGHTS BACKGROUND */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.4;
}

.aurora-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    animation: auroraShift 15s ease-in-out infinite;
}

.aurora-layer-1 {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%,
            rgba(59, 130, 246, 0.3) 0%,
            transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%,
            rgba(139, 92, 246, 0.25) 0%,
            transparent 50%);
    animation-duration: 12s;
    filter: blur(60px);
}

.aurora-layer-2 {
    background:
        radial-gradient(ellipse 70% 45% at 30% 70%,
            rgba(236, 72, 153, 0.2) 0%,
            transparent 50%),
        radial-gradient(ellipse 50% 35% at 70% 30%,
            rgba(6, 182, 212, 0.25) 0%,
            transparent 50%);
    animation-duration: 18s;
    animation-delay: -5s;
    filter: blur(80px);
}

.aurora-layer-3 {
    background:
        radial-gradient(ellipse 90% 60% at 50% 50%,
            rgba(59, 130, 246, 0.15) 0%,
            transparent 40%);
    animation-duration: 20s;
    animation-delay: -10s;
    filter: blur(100px);
}

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

/* 8. LENIS-STYLE SMOOTH SCROLL (CSS ENHANCEMENTS) */
html.smooth-scroll {
    scroll-behavior: auto; /* Let JS handle it */
}

/* Scroll-linked velocity effects */
.velocity-skew {
    transition: transform 0.1s ease-out;
}

.velocity-skew.scrolling-down {
    transform: skewY(-0.5deg);
}

.velocity-skew.scrolling-up {
    transform: skewY(0.5deg);
}

/* 9. ENHANCED CURSOR EFFECTS */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition:
        transform 0.15s ease-out,
        width 0.2s ease,
        height 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hovering {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-purple);
}

.custom-cursor.clicking {
    transform: scale(0.8);
}

/* 10. GLOW TRAIL EFFECT ON INTERACTIVE ELEMENTS */
.glow-trail {
    position: relative;
}

.glow-trail::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: var(--gradient-premium);
    border-radius: inherit;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.glow-trail:hover::before {
    opacity: 0.5;
    animation: glowTrailPulse 1.5s ease-in-out infinite;
}

@keyframes glowTrailPulse {
    0%, 100% {
        filter: blur(15px);
        opacity: 0.3;
    }
    50% {
        filter: blur(20px);
        opacity: 0.6;
    }
}

/* 11. MORPHING SHAPES BACKGROUND */
.morph-shapes {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    filter: blur(40px);
    animation: morphShape 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}

.morph-shape-1 {
    top: 10%;
    right: 5%;
}

.morph-shape-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
    animation-direction: reverse;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
        transform: rotate(180deg) scale(0.95);
    }
    75% {
        border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
        transform: rotate(270deg) scale(1.05);
    }
}

/* 12. INTERACTIVE HOVER SHINE */
.shine-hover {
    position: relative;
    overflow: hidden;
}

.shine-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.shine-hover:hover::after {
    transform: translateX(100%) rotate(45deg);
}

/* Apply shine to cards */
.feature-card,
.celebrity-card {
    overflow: hidden;
}

/* 13. PREMIUM LOADING SKELETON */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

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

/* 14. FLOATING LABELS EFFECT */
.floating-label {
    position: absolute;
    top: 50%;
    left: var(--spacing-md);
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-label.active,
input:focus + .floating-label {
    top: 0;
    font-size: var(--text-xs);
    color: var(--accent-blue);
    background: var(--bg-card);
    padding: 0 var(--spacing-xs);
    transform: translateY(-50%);
}

/* 15. RIBBON/BADGE CORNER EFFECT */
.corner-ribbon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 85px;
    height: 85px;
    overflow: hidden;
    z-index: 10;
}

.corner-ribbon span {
    position: absolute;
    top: 20px;
    right: -25px;
    width: 130px;
    padding: 6px 0;
    background: var(--gradient-premium);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.active-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

/* ============================================
   PREMIUM REPORT STYLES v2.0
   Beautiful glassmorphism design for AI analysis report
   ============================================ */

/* Premium Report Container */
.premium-report {
    display: grid;
    gap: 20px;
    padding: 10px 0;
}

/* Section Base Styles - Glassmorphism */
.report-section {
    position: relative;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    animation: reportSectionFadeIn 0.6s ease-out backwards;
}

.report-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Section header with badge */
.report-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.section-badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 2px;
}

/* Section gradient backgrounds */
.report-section.best-features { background-image: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02)); }
.report-section.celebrity { background-image: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.05)); }
.report-section.face-shape { background-image: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.02)); }
.report-section.color-season { background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02)); }
.report-section.first-impression { background-image: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.02)); }
.report-section.photogenic { background-image: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.02)); }
.report-section.quick-wins { background-image: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.02)); }
.report-section.glow-up { background-image: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05)); }
.report-section.style { background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02)); }
.report-section.potential { background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.05)); }
.report-section.detailed { background-image: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02)); }
.report-section.percentile { background-image: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05)); }

/* Animation delays for sections */
.report-section:nth-child(1) { animation-delay: 0.05s; }
.report-section:nth-child(2) { animation-delay: 0.1s; }
.report-section:nth-child(3) { animation-delay: 0.15s; }
.report-section:nth-child(4) { animation-delay: 0.2s; }
.report-section:nth-child(5) { animation-delay: 0.25s; }
.report-section:nth-child(6) { animation-delay: 0.3s; }
.report-section:nth-child(7) { animation-delay: 0.35s; }
.report-section:nth-child(8) { animation-delay: 0.4s; }
.report-section:nth-child(9) { animation-delay: 0.45s; }
.report-section:nth-child(10) { animation-delay: 0.5s; }
.report-section:nth-child(11) { animation-delay: 0.55s; }
.report-section:nth-child(12) { animation-delay: 0.6s; }

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

/* Chips/Tags */
.report-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.report-chip {
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.report-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.report-chip.success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* Grid layouts */
.report-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.report-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.report-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

/* Cards inside sections */
.report-card {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.report-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.report-card-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.report-card-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.report-card-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Celebrity match special styling */
.celebrity-card-primary {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(236, 72, 153, 0.3);
    text-align: center;
    padding: 20px;
}

.celebrity-card-secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    text-align: center;
    padding: 20px;
}

.celebrity-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.archetype-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 12px;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

/* Face shape center display */
.face-shape-display {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.face-shape-badge {
    padding: 16px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    text-align: center;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.face-shape-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.face-shape-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

/* Color season styling */
.color-season-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.season-badge {
    padding: 16px;
    border-radius: 14px;
    text-align: center;
}

.season-badge.spring { background: linear-gradient(135deg, #f59e0b, #d97706); }
.season-badge.summer { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.season-badge.autumn { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.season-badge.winter { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.season-badge .season-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.season-badge .season-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.season-badge .season-subtype {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.undertone-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 14px;
    text-align: center;
}

/* Colors display */
.colors-row {
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 10px;
}

.colors-row.best { border-left: 3px solid #10b981; }
.colors-row.avoid { border-left: 3px solid #ef4444; }

.colors-row-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.colors-row.best .colors-row-label { color: #10b981; }
.colors-row.avoid .colors-row-label { color: #ef4444; }

/* Progress bars for First Impression */
.impression-grid {
    display: grid;
    gap: 14px;
}

.impression-row {
    display: grid;
    grid-template-columns: 110px 1fr 45px;
    align-items: center;
    gap: 14px;
}

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

.impression-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.impression-bar-fill {
    height: 100%;
    border-radius: inherit;
    transition: width 1s ease-out;
}

.impression-bar-fill.trustworthy { background: linear-gradient(90deg, #10b981, #059669); }
.impression-bar-fill.approachable { background: linear-gradient(90deg, #f59e0b, #d97706); }
.impression-bar-fill.confident { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }
.impression-bar-fill.intelligent { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.impression-bar-fill.warm { background: linear-gradient(90deg, #ec4899, #db2777); }
.impression-bar-fill.dominant { background: linear-gradient(90deg, #ef4444, #dc2626); }
.impression-bar-fill.competent { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.impression-bar-fill.attractive { background: linear-gradient(90deg, #f97316, #ea580c); }

.impression-score {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: right;
}

/* Photogenic tips grid */
.tip-card {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tip-card-icon {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.tip-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tip-card.do .tip-card-label { color: #10b981; }
.tip-card.dont .tip-card-label { color: #ef4444; }
.tip-card.lighting .tip-card-label { color: #f59e0b; }
.tip-card.expression .tip-card-label { color: #8b5cf6; }

.tip-card-content {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Quick wins numbered list */
.quick-win-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.04));
    border-left: 4px solid #22c55e;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.quick-win-item:hover {
    transform: translateX(4px);
}

.quick-win-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.quick-win-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Timeline for Glow Up Calendar */
.glow-timeline {
    border-left: 2px solid rgba(139, 92, 246, 0.3);
    padding-left: 24px;
    margin-left: 10px;
}

.glow-week {
    position: relative;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.glow-week::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.glow-week-title {
    font-size: 1rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 8px;
}

.glow-week-content {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Potential score comparison */
.potential-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.potential-score-box {
    text-align: center;
    padding: 20px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
}

.potential-score-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.potential-score-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.potential-score-box.current .potential-score-value { color: #f59e0b; }
.potential-score-box.achievable .potential-score-value { color: #10b981; }

.potential-arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.potential-increase {
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.potential-key {
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 16px;
}

.potential-key-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.potential-key-value {
    font-size: 1rem;
    font-weight: 600;
    color: #f59e0b;
}

/* Percentile display */
.percentile-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.percentile-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#8b5cf6 calc(var(--pct, 50) * 1%), rgba(255, 255, 255, 0.1) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.percentile-ring-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.percentile-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8b5cf6;
}

.percentile-text {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.percentile-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Download button */
.download-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    border: 1px solid rgba(123, 214, 255, 0.3);
    background: linear-gradient(135deg, rgba(123, 214, 255, 0.2), rgba(135, 246, 197, 0.15));
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(123, 214, 255, 0.15);
    margin-top: 20px;
}

.download-report-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 214, 255, 0.25);
    background: linear-gradient(135deg, rgba(123, 214, 255, 0.3), rgba(135, 246, 197, 0.2));
}

.download-report-btn svg {
    width: 20px;
    height: 20px;
}

/* Summary box in first impression */
.impression-summary {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    font-style: italic;
    color: var(--text-primary);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Style tips list */
.style-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid #f59e0b;
    margin-bottom: 10px;
}

.style-tip-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.style-tip-text {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Detailed analysis box */
.detailed-analysis-box {
    padding: 18px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

/* Report actions bar */
.report-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile responsiveness for report */
@media (max-width: 768px) {
    .premium-report {
        gap: 16px;
    }
    
    .report-section {
        padding: 18px;
        border-radius: 16px;
    }
    
    .impression-row {
        grid-template-columns: 90px 1fr 40px;
        gap: 10px;
    }
    
    .potential-comparison {
        flex-direction: column;
        gap: 16px;
    }
    
    .potential-arrow {
        transform: rotate(90deg);
    }
    
    .color-season-display {
        grid-template-columns: 1fr;
    }
    
    .celebrity-card-primary,
    .celebrity-card-secondary {
        padding: 16px;
    }
    
    .report-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .report-section {
        padding: 14px;
    }

    .section-title-text {
        font-size: 1.1rem;
    }

    .potential-score-value {
        font-size: 2rem;
    }

    .face-shape-value {
        font-size: 1.3rem;
    }

    .celebrity-name {
        font-size: 1.1rem;
    }
}

/* ============================================
   MOBILE OPTIMIZATION - Complete Overhaul
   ============================================ */

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    padding: 12px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-subtle);
    z-index: 1002;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

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

.mobile-nav-menu a {
    display: block;
    padding: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.mobile-nav-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

/* Mobile Responsive - Main Breakpoint */
@media (max-width: 768px) {
    /* Show hamburger on mobile */
    .hamburger-btn {
        display: flex;
    }

    .mobile-nav-overlay {
        display: block;
        pointer-events: none;
    }

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

    /* Navigation adjustments */
    nav, .nav-links, .desktop-nav {
        display: none !important;
    }

    /* Hero section mobile */
    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
    }

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

    .hero p {
        font-size: 1rem;
        padding: 0 8px;
    }

    /* Modal improvements for mobile */
    .modal-content {
        width: 95%;
        max-width: 420px;
        margin: 20px auto;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Close button - increase tap target */
    .close-modal,
    .modal-close,
    [class*="close"] {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Form inputs - prevent iOS zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="file"],
    select,
    textarea {
        font-size: 16px !important;
        min-height: 48px;
        padding: 14px 16px;
    }

    /* Buttons - minimum tap target */
    button,
    .btn,
    .cta-button,
    .primary-btn,
    .upload-btn,
    [role="button"] {
        min-height: 48px;
        min-width: 48px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Upload CTA container - fix mobile centering */
    .upload-cta-container {
        display: block !important;
        padding: 12px !important;
        margin: 0 16px !important;
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Upload CTA content - center on mobile */
    .upload-cta-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Upload area adjustments - FORCE FIT ON MOBILE */
    .upload-area,
    .upload-zone,
    #uploadArea {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 12px !important;
        margin: 0 0 12px 0 !important;
        box-sizing: border-box !important;
        border: 2px dashed var(--border-color) !important;
        border-radius: var(--radius-lg) !important;
        background: rgba(74, 158, 255, 0.02) !important;
    }

    /* Preview remove button - increase size */
    .preview-remove,
    .remove-image,
    [class*="remove"] {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    /* Results container */
    .results-container,
    #resultsContainer {
        padding: 16px;
        margin: 0 8px;
    }

    /* Download button mobile */
    .download-report-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }

    /* Payment modal specific */
    .payment-modal,
    .stripe-modal {
        padding: 20px 16px;
    }

    .payment-amount,
    .price-display {
        font-size: 2rem;
    }

    /* Card grid adjustments */
    .report-grid-2,
    .report-grid-3,
    .report-grid-4 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Score display mobile */
    .score-circle,
    .overall-score {
        width: 120px;
        height: 120px;
    }

    .score-value {
        font-size: 2.5rem;
    }
}

/* Extra small screens (320px - 360px) */
@media (max-width: 360px) {
    /* Tighter spacing */
    .hero {
        padding: 80px 12px 50px;
    }

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

    .hero p {
        font-size: 0.9rem;
    }

    /* Modal even smaller */
    .modal-content {
        width: 98%;
        margin: 10px auto;
        padding: 16px;
    }

    /* Sections */
    .report-section {
        padding: 12px;
        border-radius: 12px;
    }

    .section-title-text {
        font-size: 1rem;
    }

    /* Score smaller */
    .score-circle,
    .overall-score {
        width: 100px;
        height: 100px;
    }

    .score-value {
        font-size: 2rem;
    }

    /* Buttons full width */
    button,
    .btn,
    .cta-button {
        width: 100%;
        max-width: none;
    }

    /* Cards tighter */
    .celebrity-card-primary,
    .celebrity-card-secondary,
    .report-card {
        padding: 12px;
    }

    .celebrity-name {
        font-size: 1rem;
    }

    /* Impression bars */
    .impression-row {
        grid-template-columns: 70px 1fr 35px;
        gap: 8px;
        font-size: 0.85rem;
    }

    /* Quick wins */
    .quick-win-item {
        padding: 10px 12px;
    }

    /* Timeline tighter */
    .glow-week {
        padding: 12px;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    /* Fix for iOS bounce scroll */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure inputs don't zoom */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Fix position fixed issues */
    .modal,
    .modal-content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for touch */
    a, button, .clickable {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects that don't work on touch */
    .report-card:hover,
    .btn:hover {
        transform: none;
    }

    /* Active states instead */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .report-card:active {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 16px 40px;
        min-height: auto;
    }

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

    .modal-content {
        max-height: 85vh;
    }

    .upload-area {
        min-height: 150px;
    }
}

/* High DPI mobile screens */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px),
       (min-resolution: 192dpi) and (max-width: 768px) {
    /* Ensure crisp text */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Thinner borders on retina */
    .report-section,
    .modal-content,
    .report-card {
        border-width: 0.5px;
    }
}
