/* Reset & Base Styles */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f11;
    --card-surface: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #FF2E93, #6D28D9, #3B82F6);
    --hover-gradient: linear-gradient(135deg, #FF4DA5, #7e3af2, #60a5fa);
    --glow-color: rgba(109, 40, 217, 0.5);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: #4c1d95;
    top: -200px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #be185d;
    bottom: -100px;
    right: -100px;
    animation-delay: -2s;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: #1d4ed8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(15, 15, 17, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

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

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 0 30px -10px var(--glow-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px -10px var(--glow-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: white;
    backdrop-filter: blur(10px);
}

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

/* Phone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 50px;
    padding: 15px;
    border: 4px solid #333;
    box-shadow: 
        0 0 0 5px #111,
        0 50px 100px -20px rgba(0,0,0,0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 2rem 1.5rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.preview-cd {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1f2937, #111827);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.preview-cd::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.05));
    border-radius: inherit;
}

/* Features */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features {
    padding: 8rem 2rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 8rem 2rem;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    background: var(--card-surface);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.step-arrow svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 10px var(--glow-color));
    animation: arrow-pulse 2s infinite;
}

@keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    50% { transform: translateX(5px); opacity: 0.8; }
}

/* Download */
.download {
    padding: 10rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(109, 40, 217, 0.1) 0%, transparent 70%);
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

.store-button:hover {
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

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

.store-label {
    font-size: 0.75rem;
    color: #999;
}

.store-name {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

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

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .step-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
        margin: -1rem 0;
    }
    
    .step-arrow svg {
        animation: arrow-pulse-vertical 2s infinite;
    }

    @keyframes arrow-pulse-vertical {
        0%, 100% { transform: translateY(0); opacity: 0.3; }
        50% { transform: translateY(5px); opacity: 0.8; }
    }

    .steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}
