:root {
    --primary-color: #e91e63; /* talkspark pink */
    --bg-color: #000000;
    --bg-gradient: radial-gradient(circle at 50% -20%, #1a1a1a 0%, #000000 100%);
    --card-bg: #111111;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --nav-btn-bg: #111111;
    --nav-btn-border: #222222;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem;
    position: relative;
    z-index: 1001;
}

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

.nav-links-desktop {
    display: flex;
    gap: 1rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    background: var(--nav-btn-bg);
    border: 1px solid var(--nav-btn-border);
    border-radius: 9999px;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    background: #1a1a1a;
    border-color: #333333;
    color: var(--text-main);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

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

/* Toggle Animation */
.mobile-menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:last-child {
    transform: translateY(0) rotate(-45deg);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 45, 85, 0.2);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

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

h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 600px;
}

h1 .accent {
    color: var(--primary-color);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 480px;
    font-weight: 500;
}

/* Download Section */
.download-section {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.app-store-badge {
    height: 52px;
    transition: var(--transition-smooth);
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.qr-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #111111;
    border-radius: 24px;
    border: 1px solid #222222;
    transition: var(--transition-smooth);
}

.qr-container:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.qr-text-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qr-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: right;
    max-width: 140px;
}

.qr-arrow {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.qr-code {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 14px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

/* iPhone Mockup */
.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #1a1a1a;
    border-radius: 54px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.5), 
        0 30px 60px -30px rgba(0, 0, 0, 0.5),
        inset 0 0 2px 1px rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
    border: 1px solid #2a2a2a;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    border: 1px solid #000;
}

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

/* Dynamic Glow */
.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links-desktop {
        display: none;
    }

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

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 2rem;
    }
    
    .hero-content {
        align-items: center;
    }

    h1 {
        font-size: 3.5rem;
    }

    .download-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .qr-text {
        text-align: center;
    }

    .qr-container {
        display: none;
    }
}
