/* 
 * SIDEWAYS SALES LETTER - GLOBAL STYLES
 * Theme: Apple x MasterClass x AI Startup
 * Minimal. Cinematic. Clean. Luxurious.
 */

:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --accent-gold: #D4AF37;
    --accent-blue: #3A74FF;
    --border-subtle: #333333;

    --font-heading: 'Inter', sans-serif;
    --font-serif: 'Spectral', serif;

    --container-width: 1100px;
    --spacing-section: 120px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--accent-gold);
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1.hero-title {
    font-size: clamp(40px, 8vw, 84px);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 40px;
}

p.lead {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* UI COMPONENTS */
.btn {
    display: inline-block;
    padding: 16px 48px;
    background: var(--accent-gold);
    color: #000;
    font-weight: 700;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
}

/* PROGRESS BAR */
.progress-container {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 15px 0;
}

.progress-track {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
    transition: 0.3s;
}

.progress-step.active,
.progress-step.completed {
    opacity: 1;
}

.step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.progress-step.completed .step-icon {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

/* VIDEO CONTAINER */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* SOCIAL PROOF WALL */
.proof-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.comment-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
}

.username {
    font-weight: 600;
    font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    h1.hero-title {
        font-size: 42px;
    }

    .progress-track {
        gap: 15px;
        font-size: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}