/* =========================================
   Base & Reset
========================================= */
:root {
    --bg-color: #0B0C10;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #8B949E;
    --accent-primary: #00F2FE;
    --accent-secondary: #4FACFE;
    --purple-glow: #B100FF;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(177, 0, 255, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
}

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

/* =========================================
   Typography
========================================= */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

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

/* =========================================
   Components (Glassmorphism, Buttons)
========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-img-small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--purple-glow) 100%);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(177, 0, 255, 0.3);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--surface-border);
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: inline-block;
    text-align: center;
    backdrop-filter: blur(10px);
}

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

.lang-switch {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
}

.lang-switch:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Hero Section
========================================= */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(50px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite alternate;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    border-radius: 40px;
    z-index: 1;
}

/* =========================================
   Features Section
========================================= */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(177, 0, 255, 0.2) 100%);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Placeholder icons using CSS shapes for demonstration */
.duplicate-icon::after { background-color: var(--accent-primary); border-radius: 4px; box-shadow: 6px 6px 0 rgba(255,255,255,0.8); width: 16px; height: 16px; transform: translate(-70%, -70%);}
.video-icon::after { background-color: transparent; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid var(--purple-glow); width: 0; height: 0; }
.blur-icon::after { border: 2px solid var(--accent-secondary); border-radius: 50%; filter: blur(1px); }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   CTA Section
========================================= */
.cta-section {
    padding: 6rem 2rem 8rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-container {
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(177, 0, 255, 0.1) 100%);
    border: 1px solid rgba(177, 0, 255, 0.2);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    min-width: 200px;
}

.btn-store:hover {
    transform: scale(1.05);
    background: #111;
}

.store-text {
    text-align: left;
}

.store-text small {
    display: block;
    font-size: 0.65rem;
    color: #aaa;
}

.store-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.apple-icon, .play-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Use simple CSS geometry or unicode if no icons */
.apple-icon::before { content: '🍎'; font-size: 20px; }
.play-icon::before { content: '▶'; font-size: 20px; color: #4FACFE;}

/* =========================================
   Footer
========================================= */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 4rem 2rem 2rem;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid var(--surface-border);
    padding-top: 2rem;
}

/* =========================================
   Animations & Responsive
========================================= */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.3; }
    100% { transform: scale(1.05); opacity: 0.6; }
}

/* Scroll Fade Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}
