/**
 * Playlogs Landing Page - Cohesive Letterboxd-Style Design
 * Single unified background, clean typography, no patchwork
 */

/* ============================================
   CSS VARIABLES - Letterboxd Inspired
   ============================================ */

:root {
    /* Background - Single unified dark */
    --bg-page: #14181C;
    --bg-nav: rgba(20, 24, 28, 0.8);
    --bg-nav-scrolled: rgba(20, 24, 28, 0.95);
    
    /* Accent - Cherry palette */
    --accent-primary: #EDEAB1;      /* Gold/Beige - CTA */
    --accent-secondary: #71ADBA;    /* Blue - links */
    --accent-cherry: #512C3A;       /* Cherry - subtle accents */
    
    /* Text - Letterboxd style */
    --text-primary: #FFFFFF;
    --text-secondary: #9AB;         /* Letterboxd gray */
    --text-muted: #678;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(237, 234, 177, 0.3);
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 24px;
    --section-padding-mobile: 60px 20px;
    --content-max-width: 900px;
    --content-wide-width: 1100px;
    
    /* Transitions */
    --transition: 200ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION - Transparent & Minimal
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition);
}

.nav.scrolled {
    background: var(--bg-nav-scrolled);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
    max-width: var(--content-wide-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-nav-scrolled);
    backdrop-filter: blur(10px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
}

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

.mobile-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-cta {
    margin-top: 8px;
    text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-primary);
    color: var(--bg-page);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(237, 234, 177, 0.25);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    text-align: center;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* ============================================
   SECTIONS - Unified Style
   ============================================ */

.section {
    padding: var(--section-padding);
}

.section-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

/* Subtle section divider instead of different backgrounds */
.section-alt {
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--border-subtle);
}

/* ============================================
   FEATURES - Clean columns, no boxes
   ============================================ */

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

.feature {
    text-align: center;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS - Timeline style
   ============================================ */

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-cherry);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.step-content {
    padding-top: 4px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS - Simple quotes
   ============================================ */

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

.testimonial {
    text-align: center;
    padding: 24px;
    border: none;
}

.testimonial p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial cite {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    text-align: center;
    padding: 120px 24px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   FAQ - Accordion
   ============================================ */

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 24px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FOOTER - Minimal
   ============================================ */

.footer {
    padding: 60px 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .features {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile-btn {
        display: block;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary.btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .section {
        padding: var(--section-padding-mobile);
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   ANIMATIONS - Subtle
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .feature {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .feature:nth-child(1) { animation-delay: 0.1s; }
    .feature:nth-child(2) { animation-delay: 0.2s; }
    .feature:nth-child(3) { animation-delay: 0.3s; }
    
    .step {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .step:nth-child(1) { animation-delay: 0.1s; }
    .step:nth-child(2) { animation-delay: 0.2s; }
    .step:nth-child(3) { animation-delay: 0.3s; }
    
    .testimonial {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .testimonial:nth-child(1) { animation-delay: 0.1s; }
    .testimonial:nth-child(2) { animation-delay: 0.2s; }
    .testimonial:nth-child(3) { animation-delay: 0.3s; }
}

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