/* ================================
   CSS Variables & Reset
   ================================ */
:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #0a0a1a;
    --bg-tertiary: #051015;

    /* Accent Colors */
    --accent-glow: #00F5FF;
    --accent-primary: #00D9FF;
    --accent-secondary: #005F73;
    --accent-gold: #FFD700;
    --accent-mint: #00FF9D;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Glass Effects */
    --glass-bg: rgba(30, 30, 40, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

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

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.nav-cta {
    position: relative;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    color: var(--bg-primary);
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-12deg);
    transition: left 0.6s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.4);
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
    border-bottom: 1px solid var(--glass-border);
}

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

.mobile-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: radial-gradient(ellipse at center top, #0a1a24 0%, #040b10 40%, #000 100%);
}

/* Subtle ambient glow */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(80px);
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}

/* Hero Video */
.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
}

.hero-video-container .video-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.25;
    z-index: -1;
    filter: blur(40px);
    animation: videoGlow 4s ease-in-out infinite;
}

@keyframes videoGlow {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 24px;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.2), transparent);
    animation: badgeGlow 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    color: var(--bg-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.3);
}

.cta-primary svg {
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(4px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--accent-primary);
}

/* ================================
   Features Section
   ================================ */
.features {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

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

.feature-card {
    position: relative;
    padding: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(0, 217, 255, 0.1));
    border: 1px solid var(--accent-primary);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.feature-icon.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.feature-icon.mint {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 255, 157, 0.1));
    border-color: var(--accent-mint);
    color: var(--accent-mint);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.feature-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 245, 255, 0.15);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-primary);
}

.feature-pill.gold {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.feature-pill.mint {
    background: rgba(0, 255, 157, 0.15);
    border-color: var(--accent-mint);
    color: var(--accent-mint);
}

/* ================================
   Screenshots Section
   ================================ */
.screenshots {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.screenshot-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.screenshot-card.featured {
    transform: scale(1.05);
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.screenshot-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.screenshot-glow.cyan {
    background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.2) 0%, transparent 50%);
}

.screenshot-glow.gold {
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
}

.screenshot-glow.mint {
    background: radial-gradient(ellipse at center, rgba(0, 255, 157, 0.2) 0%, transparent 50%);
}

.screenshot-card:hover .screenshot-glow {
    opacity: 1;
}

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

.screenshot-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* ================================
   Download Section
   ================================ */
.download {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.download-content {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--accent-primary) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(60px);
}

.download-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.download-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
}

.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.store-btn:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.store-btn svg {
    color: var(--text-primary);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 11px;
    color: var(--text-tertiary);
}

.store-name {
    font-size: 18px;
    font-weight: 700;
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 60px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-tertiary);
}

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

    .screenshot-card.featured {
        transform: none;
    }

    .screenshot-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .feature-card {
        padding: 32px;
    }

    .download-content {
        padding: 60px 24px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   Legal Pages (Privacy Policy, Terms of Service)
   ================================ */
.legal-content {
    min-height: 100vh;
    padding: 120px 24px 80px;
    background: var(--bg-primary);
}

.legal-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-updated {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

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

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 16px;
}

.legal-section li strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .legal-title {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-content {
        padding: 100px 16px 60px;
    }
}
