/* =============================================
   SNAPFLO — STUDIO SESSION HOMEPAGE
   ============================================= */

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

:root {
    --crimson: #E8364B;
    --crimson-hover: #FF4D63;
    --blue: #2B8FE8;
    --blue-hover: #4DA6F5;
    --gold: #F0A830;
    --gold-light: #FFD700;

    --dark: #0A0A0F;
    --dark-card: #131318;
    --dark-surface: #1C1C22;
    --dark-border: rgba(255, 255, 255, 0.06);

    --text: #F2F2F2;
    --text-muted: #9A9AA0;
    --text-dim: #5A5A64;

    --green: #34A853;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =============================================
   HEADER
   ============================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dark-border);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

nav a:hover {
    color: var(--crimson);
    background: rgba(232, 54, 75, 0.08);
}

nav a.active {
    color: var(--gold);
    background: rgba(240, 168, 48, 0.08);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 24px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left 30%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.1) 0%,
        rgba(10, 10, 15, 0.45) 35%,
        rgba(10, 10, 15, 0.88) 70%,
        rgba(10, 10, 15, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 80px 20px 60px;
}

.hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-style: italic;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #E8364B 0%, #F0A830 45%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: skewX(-8deg);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 40px rgba(232, 54, 75, 0.3))
            drop-shadow(0 0 80px rgba(240, 168, 48, 0.12));
    animation: heroShift 8s ease-in-out infinite;
}

@keyframes heroShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 36px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green), 0 0 16px rgba(52, 168, 83, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green), 0 0 16px rgba(52, 168, 83, 0.3); }
    50% { opacity: 0.5; box-shadow: 0 0 4px var(--green); }
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--crimson);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 0 24px rgba(232, 54, 75, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    background: var(--crimson-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(232, 54, 75, 0.45),
                0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid rgba(43, 143, 232, 0.25);
}

.btn-ghost:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: rgba(43, 143, 232, 0.06);
    box-shadow: 0 0 20px rgba(43, 143, 232, 0.12);
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 100px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(240, 168, 48, 0.12);
    text-align: left;
    display: inline-block;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.divider-line {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(232, 54, 75, 0.12) 15%,
        rgba(240, 168, 48, 0.2) 50%,
        rgba(43, 143, 232, 0.12) 85%,
        transparent 100%
    );
    max-width: 1200px;
    margin: 0 auto;
}

/* =============================================
   FEATURES
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:nth-child(1)::before {
    background: linear-gradient(90deg, transparent, rgba(232, 54, 75, 0.4), transparent);
}
.feature-card:nth-child(2)::before {
    background: linear-gradient(90deg, transparent, rgba(43, 143, 232, 0.4), transparent);
}
.feature-card:nth-child(3)::before {
    background: linear-gradient(90deg, transparent, rgba(240, 168, 48, 0.4), transparent);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card:nth-child(1):hover {
    border-color: rgba(232, 54, 75, 0.2);
    box-shadow: 0 12px 40px rgba(232, 54, 75, 0.06), 0 4px 16px rgba(0,0,0,0.3);
}
.feature-card:nth-child(2):hover {
    border-color: rgba(43, 143, 232, 0.2);
    box-shadow: 0 12px 40px rgba(43, 143, 232, 0.06), 0 4px 16px rgba(0,0,0,0.3);
}
.feature-card:nth-child(3):hover {
    border-color: rgba(240, 168, 48, 0.2);
    box-shadow: 0 12px 40px rgba(240, 168, 48, 0.06), 0 4px 16px rgba(0,0,0,0.3);
}

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

/* Word cycle animation */
.word-cycle {
    display: inline-block;
    color: var(--crimson);
    min-width: 5.5em;
    text-align: left;
    position: relative;
}

.word-cycle.scrambling {
    animation: glitchFlicker 0.08s steps(1) infinite;
}

@keyframes glitchFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.feature-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-card:nth-child(1) .feature-icon {
    background: rgba(232, 54, 75, 0.12);
    color: var(--crimson);
}
.feature-card:nth-child(2) .feature-icon {
    background: rgba(43, 143, 232, 0.12);
    color: var(--blue);
}
.feature-card:nth-child(3) .feature-icon {
    background: rgba(240, 168, 48, 0.12);
    color: var(--gold);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   CTA / WAITLIST
   ============================================= */
.cta-section {
    padding: 100px 48px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(240, 168, 48, 0.12);
}

.cta-section > p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    border-top: 1px solid var(--dark-border);
    padding: 60px 48px;
    background: rgba(10, 10, 15, 0.5);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    padding-left: 0;
    margin-bottom: 10px;
}

.footer-col ul li::before {
    display: none;
}

.footer-col ul a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 15px;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--gold);
    border-color: rgba(240, 168, 48, 0.3);
    background: rgba(240, 168, 48, 0.06);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--dark-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .section,
    .cta-section {
        padding: 60px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    header {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--dark);
        border-left: 1px solid var(--dark-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav a {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        position: relative;
        z-index: 1;
    }

    body.nav-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 99;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 0;
    }

    .hero-content {
        padding: 60px 16px 40px;
    }

    .hero-bg img {
        object-position: 25% 20%;
    }

    .hero-content h1 {
        transform: skewX(-5deg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section,
    .cta-section {
        padding: 40px 20px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 2rem;
        text-align: center;
        display: block;
    }

    .word-cycle {
        display: block;
        min-width: 0;
        text-align: center;
    }

    footer {
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 32px;
        text-align: center;
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col ul {
        padding-left: 0;
    }

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