/* ================================================================
   LANDING PAGE — Premium Dark Cinematic UI
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
    --bg-primary: #04040a;
    --bg-secondary: #080814;
    --bg-card: #0c0c1a;
    --bg-card-hover: #10102a;
    --bg-input: #12122a;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #f0f0ff;
    --text-secondary: #8888a8;
    --text-muted: #555578;

    --accent-cyan: #00d4ff;
    --accent-cyan-rgb: 0, 212, 255;
    --accent-magenta: #ff2d78;
    --accent-magenta-rgb: 255, 45, 120;
    --accent-purple: #9b6dff;
    --accent-purple-rgb: 155, 109, 255;
    --accent-green: #00ff88;
    --accent-green-rgb: 0, 255, 136;

    --radius-xl: 20px;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== GLOBAL RESET ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    outline: none;
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.bg-glow.glow-1 {
    top: -200px;
    left: -200px;
    background: var(--accent-cyan);
    animation: glowDrift1 20s ease-in-out infinite;
}

.bg-glow.glow-2 {
    bottom: -300px;
    right: -200px;
    background: var(--accent-magenta);
    animation: glowDrift2 25s ease-in-out infinite;
}

.bg-glow.glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    opacity: 0.08;
    animation: glowDrift3 18s ease-in-out infinite;
}

@keyframes glowDrift1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(100px, 80px); }
    66% { transform: translate(-50px, 120px); }
}

@keyframes glowDrift2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-120px, -60px); }
    66% { transform: translate(80px, -100px); }
}

@keyframes glowDrift3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(24px) saturate(1.2);
    background: rgba(4, 4, 10, 0.7);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(4, 4, 10, 0.92);
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-ghost {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.btn-primary {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
    box-shadow: 0 0 30px rgba(var(--accent-cyan-rgb), 0.3);
    transition: all 0.3s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(var(--accent-cyan-rgb), 0.5);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title .line {
    display: block;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Decrypt text effect */
.decrypt-text {
    display: inline;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-cyan);
    position: relative;
}

.decrypt-text .char {
    display: inline-block;
    transition: all 0.1s;
    min-width: 0.6em;
}

.decrypt-text .char.scrambling {
    color: var(--accent-magenta);
    text-shadow: 0 0 20px rgba(var(--accent-magenta-rgb), 0.8);
}

.decrypt-text .char.resolved {
    color: var(--accent-cyan);
    text-shadow: 0 0 30px rgba(var(--accent-cyan-rgb), 0.6);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.btn-hero {
    position: relative;
    padding: 16px 40px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}

.btn-hero:hover::before {
    transform: translateX(100%);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 60px rgba(var(--accent-cyan-rgb), 0.4);
}

.btn-hero-secondary {
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* ========== STATS BAR ========== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    margin-top: 60px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.3s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    opacity: 0.7;
}

/* ========== VIDEO DEMO SECTION ========== */
.demo-section {
    position: relative;
    padding: 100px 48px;
    z-index: 1;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    justify-content: center;
}

.section-label .line {
    width: 30px;
    height: 1px;
    background: var(--accent-cyan);
    opacity: 0.5;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    background: #000;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 100px rgba(var(--accent-cyan-rgb), 0.12);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: high-quality;
}

.video-placeholder {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.video-placeholder:hover {
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    box-shadow: 0 0 80px rgba(var(--accent-cyan-rgb), 0.08);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-cyan-rgb), 0.03), rgba(var(--accent-purple-rgb), 0.03));
}

.play-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--accent-cyan-rgb), 0.15);
    border: 2px solid rgba(var(--accent-cyan-rgb), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s var(--ease);
    z-index: 1;
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
    background: rgba(var(--accent-cyan-rgb), 0.25);
    box-shadow: 0 0 40px rgba(var(--accent-cyan-rgb), 0.3);
}

.video-placeholder-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    z-index: 1;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    position: relative;
    padding: 100px 48px;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: rgba(var(--accent-cyan-rgb), 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.feature-card:hover::before {
    opacity: 0.6;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.15);
}

.feature-card:nth-child(2) .feature-icon {
    background: rgba(var(--accent-purple-rgb), 0.08);
    border-color: rgba(var(--accent-purple-rgb), 0.15);
}

.feature-card:nth-child(3) .feature-icon {
    background: rgba(var(--accent-magenta-rgb), 0.08);
    border-color: rgba(var(--accent-magenta-rgb), 0.15);
}

.feature-card:nth-child(4) .feature-icon {
    background: rgba(var(--accent-green-rgb), 0.08);
    border-color: rgba(var(--accent-green-rgb), 0.15);
}

.feature-card:nth-child(5) .feature-icon {
    background: rgba(var(--accent-purple-rgb), 0.08);
    border-color: rgba(var(--accent-purple-rgb), 0.15);
}

.feature-card:nth-child(6) .feature-icon {
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border-color: rgba(var(--accent-cyan-rgb), 0.15);
}

.feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    position: relative;
    padding: 100px 48px;
    z-index: 1;
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.pricing-toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
}

.pricing-toggle-label.active {
    color: var(--text-primary);
}

.pricing-toggle {
    position: relative;
    width: 56px;
    height: 30px;
    border-radius: 100px;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.3s var(--ease);
}

.pricing-toggle.yearly {
    background: rgba(var(--accent-cyan-rgb), 0.3);
}

.pricing-toggle .toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-primary);
    transition: transform 0.4s var(--ease-bounce);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pricing-toggle.yearly .toggle-knob {
    transform: translateX(26px);
}

.save-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(var(--accent-green-rgb), 0.1);
    border: 1px solid rgba(var(--accent-green-rgb), 0.2);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease);
}

.save-badge.show {
    opacity: 1;
    transform: translateX(0);
}

.pricing-card-wrapper {
    max-width: 480px;
    margin: 0 auto;
    perspective: 1000px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}

.pricing-card:hover {
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 80px rgba(var(--accent-cyan-rgb), 0.08);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta));
}

.pricing-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.price-display {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    height: 70px;
}

.price-currency {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: 10px;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.5s var(--ease);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    padding-bottom: 8px;
}

.price-yearly-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    min-height: 22px;
    transition: all 0.3s var(--ease);
}

.price-yearly-note .strikethrough {
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li .check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(var(--accent-green-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

.btn-pricing {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}

.btn-pricing:hover::before {
    transform: translateX(100%);
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 50px rgba(var(--accent-cyan-rgb), 0.3);
}

/* ========== SIGN UP / AUTH SECTION ========== */
.auth-section {
    position: relative;
    padding: 100px 48px;
    z-index: 1;
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(var(--accent-cyan-rgb), 0.15), transparent, rgba(var(--accent-purple-rgb), 0.15));
    z-index: -1;
}

.auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.btn-google {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s var(--ease);
}

.btn-google:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-google svg {
    width: 20px;
    height: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider .line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    outline: none;
    transition: all 0.3s var(--ease);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.auth-input::placeholder {
    color: var(--text-muted);
}

.auth-input:focus {
    border-color: rgba(var(--accent-cyan-rgb), 0.5);
    box-shadow: 0 0 0 3px rgba(var(--accent-cyan-rgb), 0.1);
}

.btn-signup {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--accent-cyan), #00b4d8);
    margin-top: 4px;
    transition: all 0.3s var(--ease);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(var(--accent-cyan-rgb), 0.3);
}

.auth-terms {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

/* ========== NAV USER (logged-in state) ========== */
.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--accent-cyan-rgb), 0.3);
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    padding: 60px 48px 40px;
    border-top: 1px solid var(--border-color);
    z-index: 1;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== SCROLL REVEAL ANIMATION ========== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== PARTICLES ========== */
.particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.06), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.3s;
}

/* ========== MARQUEE STATS ========== */
.platforms-marquee {
    overflow: hidden;
    padding: 20px 0;
    margin-top: 20px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.5s forwards;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.6;
}

.marquee-item .icon {
    font-size: 1.2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-section,
    .features-section,
    .pricing-section,
    .auth-section {
        padding: 60px 20px;
    }
    
    .pricing-card,
    .auth-card {
        padding: 32px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========== ANIMATED COUNTER ========== */
.count-up {
    display: inline-block;
}

/* ========== FLOATING SHAPES ========== */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.08);
    animation: float 20s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-duration: 25s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-duration: 20s;
    animation-delay: -5s;
    border-color: rgba(var(--accent-purple-rgb), 0.06);
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-duration: 22s;
    animation-delay: -10s;
    border-color: rgba(var(--accent-magenta-rgb), 0.06);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(15px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(2deg); }
}

/* ========== NUMBER FLIP ANIMATION ========== */
.price-flip-container {
    position: relative;
    overflow: hidden;
    height: 70px;
    display: flex;
    align-items: flex-end;
}

.price-slide {
    transition: transform 0.6s var(--ease-bounce), opacity 0.4s var(--ease);
}

.price-slide.exit-up {
    transform: translateY(-100%);
    opacity: 0;
}

.price-slide.enter-down {
    transform: translateY(100%);
    opacity: 0;
}
