/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from the app - 80s Neon Theme */
    --primary: hsl(270, 85%, 60%);
    --primary-light: hsl(270, 85%, 70%);
    --accent: hsl(320, 70%, 70%);
    --accent-light: hsl(320, 70%, 80%);
    --background: hsl(260, 20%, 8%);
    --foreground: hsl(280, 20%, 95%);
    --card-bg: hsl(260, 20%, 10%);
    
    /* 80s Inspired Colors */
    --neon-pink: hsl(330, 100%, 60%);
    --neon-cyan: hsl(180, 100%, 50%);
    --neon-yellow: hsl(50, 100%, 60%);
    --neon-green: hsl(120, 100%, 50%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Orbitron', monospace;
    --font-retro: 'Permanent Marker', cursive;
}

body {
    font-family: var(--font-main);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 14, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(161, 52, 255, 0.3);
}

.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: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--primary));
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    letter-spacing: -0.02em;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login,
.btn-signup {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-login {
    color: var(--foreground);
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-login:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(161, 52, 255, 0.4);
}

.btn-signup {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(161, 52, 255, 0.5), 0 0 30px rgba(239, 108, 189, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 8rem 2rem 4rem;
    background: 
        linear-gradient(135deg, 
            rgba(161, 52, 255, 0.1) 0%, 
            rgba(239, 108, 189, 0.1) 100%),
        radial-gradient(ellipse at top right, rgba(161, 52, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(239, 108, 189, 0.15) 0%, transparent 50%),
        var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(161, 52, 255, 0.03) 2px,
            rgba(161, 52, 255, 0.03) 4px
        );
    animation: scan 8s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.title-line-1,
.title-line-2,
.title-line-3,
.title-line-4 {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line-1 {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
    animation-delay: 0.1s;
}

.title-line-2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--primary);
    animation-delay: 0.2s;
}

.title-line-3 {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
    animation-delay: 0.3s;
    font-size: 0.8em;
}

.title-line-4 {
    color: var(--neon-pink);
    text-shadow: 0 0 20px var(--neon-pink);
    animation-delay: 0.4s;
    font-size: 0.8em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(280, 20%, 80%);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 
        0 4px 20px rgba(161, 52, 255, 0.4),
        0 0 40px rgba(239, 108, 189, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(161, 52, 255, 0.4),
            0 0 40px rgba(239, 108, 189, 0.2);
    }
    50% {
        box-shadow: 
            0 6px 30px rgba(161, 52, 255, 0.6),
            0 0 60px rgba(239, 108, 189, 0.4);
    }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(161, 52, 255, 0.6),
        0 0 60px rgba(239, 108, 189, 0.4);
}

.trial-text {
    font-size: 0.95rem;
    color: hsl(280, 20%, 70%);
    margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neon-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 
        0 0 40px rgba(161, 52, 255, 0.3),
        inset 0 0 20px rgba(161, 52, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

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

.neon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(161, 52, 255, 0.1),
        transparent
    );
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-stage {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stage-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-stage h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stage-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stage-song {
    font-size: 1.1rem;
    color: var(--accent);
}

/* ============================================
   TRIAL BANNER
   ============================================ */
.trial-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 -4px 30px rgba(161, 52, 255, 0.3);
}

.trial-container {
    max-width: 800px;
    margin: 0 auto;
}

.trial-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.trial-banner h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.trial-banner strong {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.trial-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-trial {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-trial:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--spacing-xl) 2rem;
    background: var(--background);
}

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-display);
}

.title-accent {
    display: block;
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-main {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(161, 52, 255, 0.3);
}

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

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

.feature-card p {
    color: hsl(280, 20%, 70%);
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--spacing-xl) 2rem;
    background: 
        linear-gradient(135deg, 
            rgba(161, 52, 255, 0.05) 0%, 
            rgba(239, 108, 189, 0.05) 100%);
}

.how-container {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 4px 20px rgba(161, 52, 255, 0.4);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.step-content p {
    font-size: 1.1rem;
    color: hsl(280, 20%, 70%);
    line-height: 1.6;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
    padding: var(--spacing-xl) 2rem;
    background: var(--background);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    font-size: 1.2rem;
    padding: 1rem 0;
    color: hsl(280, 20%, 80%);
    border-bottom: 1px solid hsl(260, 20%, 20%);
}

.stats-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    display: grid;
    gap: 2rem;
    box-shadow: 0 0 40px rgba(161, 52, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1.2rem;
    color: hsl(280, 20%, 70%);
    margin-top: 0.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--spacing-xl) 2rem;
    background: 
        linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cta-note {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-note a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cta-note a:hover {
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 2rem;
    background: hsl(260, 20%, 5%);
    border-top: 2px solid var(--primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer-text {
    color: hsl(280, 20%, 60%);
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    #header {
        position: relative;
    }

    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .nav-buttons {
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .btn-login,
    .btn-signup {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        flex: 0 1 auto;
    }

    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .trial-banner {
        padding: 2rem 1rem;
    }

    .trial-banner h2 {
        font-size: 1.8rem;
    }

    .trial-banner p {
        font-size: 1rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .how-it-works {
        padding: 3rem 1rem;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .benefits {
        padding: 3rem 1rem;
    }

    .benefits-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--primary));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--primary));
    }
}