/* =============================================
   BingeList Landing Page — CSS
   Red/Orange gradient branding — NO PINK
   ============================================= */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:         #0a0a0c;
    --bg-card:    #111114;
    --bg-card-2:  #16161a;
    --border:     rgba(255,255,255,0.06);
    --text:       #f0f0f2;
    --text-muted: #8a8a96;
    --accent:     #D32F2F;
    --accent-2:   #F57C00;
    --grad:       linear-gradient(135deg, #D32F2F 0%, #F57C00 100%);
    --grad-text:  linear-gradient(135deg, #D32F2F 0%, #F57C00 50%, #FFA726 100%);
    --glow-red:   rgba(211,47,47,0.2);
    --glow-orange:rgba(245,124,0,0.15);
    --radius:     14px;
    --radius-lg:  20px;
    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
    --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Gradient text utility ---------- */
.grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR
   ============================================ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}

#main-nav.scrolled {
    padding: 10px 0;
    background: rgba(10,10,12,0.82);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-logo img { border-radius: 8px; }

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

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    letter-spacing: 0.01em;
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--grad);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px var(--glow-red);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-red);
}

/* ============================================
   HERO
   ============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

/* Animated gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(211,47,47,0.15) 0%, transparent 70%);
    top: -10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,124,0,0.1) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -3s;
}

.hero-orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(211,47,47,0.08) 0%, transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(20px, -30px) scale(1.05); }
    66%      { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
}

/* --- Hero text --- */
.hero-text {
    position: relative;
    z-index: 2;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    border: 1px solid rgba(211,47,47,0.3);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
    background: rgba(211,47,47,0.06);
}

.pill-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}

#hero-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

#hero-heading .line {
    display: block;
}

#hero-heading .accent-line {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 32px;
    background: var(--grad);
    color: #fff;
    border-radius: 16px;
    transition: all 0.4s var(--ease);
    box-shadow: 0 6px 30px var(--glow-red);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-btn:hover::before { opacity: 1; }

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--glow-red);
}

.cta-btn--lg {
    padding: 18px 48px;
    border-radius: 18px;
    font-size: 1.05rem;
}

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

.cta-small {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.cta-large {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Hero chips */
.hero-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.chip-icon { font-size: 1rem; }

/* --- Hero phones --- */
.hero-phones {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 540px;
    perspective: 1200px;
    overflow: visible;
}

.hero-phone {
    position: absolute;
    transition: all 0.6s var(--ease);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.hero-phone img {
    height: 480px;
    width: auto;
    object-fit: contain;
}

.hero-phone--center {
    z-index: 3;
    transform: translateZ(0);
}

.hero-phone--left {
    z-index: 2;
    transform: translateX(-50%) rotate(-8deg) scale(0.78);
    opacity: 0.65;
}

.hero-phone--right {
    z-index: 2;
    transform: translateX(50%) rotate(8deg) scale(0.78);
    opacity: 0.65;
}

.hero-phone--center:hover {
    transform: translateY(-4px);
}

.hero-phone--left:hover {
    transform: translateX(-50%) rotate(-6deg) scale(0.8);
    opacity: 0.8;
}

.hero-phone--right:hover {
    transform: translateX(50%) rotate(6deg) scale(0.8);
    opacity: 0.8;
}


/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.tag {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(211,47,47,0.3);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 20px;
    background: rgba(211,47,47,0.06);
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* --- Prose (Long-form content) --- */
.prose {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

.prose h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text);
    margin-top: 48px;
    margin-bottom: 16px;
}

.prose h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-top: 24px;
    margin-bottom: 12px;
}

.prose p {
    margin-bottom: 20px;
    line-height: 1.75;
}

.prose ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style: none;
}

.prose ul li {
    position: relative;
    margin-bottom: 10px;
}

.prose ul li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: -16px;
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(211,47,47,0.4);
    text-underline-offset: 4px;
    transition: all 0.3s var(--ease);
}

.prose a:hover {
    text-decoration-color: var(--accent);
    color: var(--accent-2);
}

/* ============================================
   FEATURES
   ============================================ */
#features {
    padding: 120px 0;
    position: relative;
}

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

.f-card {
    padding: 36px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.f-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.f-card:hover::before {
    transform: scaleX(1);
}

.f-card:hover {
    border-color: rgba(211,47,47,0.15);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.f-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.f-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ============================================
   SHOWCASE
   ============================================ */
#showcase {
    padding: 100px 0;
    position: relative;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.showcase-row:last-child { margin-bottom: 0; }

.showcase-row--reverse {
    direction: rtl;
}

.showcase-row--reverse > * {
    direction: ltr;
}

.showcase-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.showcase-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-list li {
    font-size: 0.92rem;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
}

.showcase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.showcase-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.showcase-glow--red {
    background: rgba(211,47,47,0.12);
}

.showcase-glow--orange {
    background: rgba(245,124,0,0.1);
}

.showcase-mockup {
    position: relative;
    height: 520px;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
    transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.showcase-mockup:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 28px 50px rgba(0,0,0,0.4));
}

/* ============================================
   CAROUSEL
   ============================================ */
#gallery {
    padding: 100px 0 120px;
    overflow: hidden;
}

.carousel-wrap {
    position: relative;
    margin-top: 20px;
}

.carousel {
    overflow-x: auto;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0 40px;
}

.carousel::-webkit-scrollbar { display: none; }
.carousel:active { cursor: grabbing; }

.carousel-track {
    display: flex;
    gap: 32px;
    padding: 0 max(24px, calc((100vw - 1200px) / 2));
    width: max-content;
}

.carousel-img {
    height: 480px;
    width: auto;
    border-radius: 12px;
    transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.carousel-img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.4));
}

/* ============================================
   DOWNLOAD CTA
   ============================================ */
#download {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.dl-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.dl-orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(211,47,47,0.08);
    top: -20%;
    right: -10%;
}

.dl-orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(245,124,0,0.06);
    bottom: -20%;
    left: -10%;
}

.dl-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.dl-icon {
    border-radius: 24px;
    margin: 0 auto 32px;
    animation: iconFloat 4s ease-in-out infinite;
    box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}

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

#dl-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.dl-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

#dl-cta {
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.footer-logo img { border-radius: 8px; }

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

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

.footer-bottom a {
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-phone img {
        height: 440px;
    }

    .hero-phones { height: 500px; }

    .showcase-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 24px;
    }

    .hero-text { order: 1; }
    .hero-phones { order: 2; }

    .hero-desc { margin: 0 auto 32px; }
    .hero-cta-row { justify-content: center; }
    .hero-chips { justify-content: center; }

    #hero-heading {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }

    .hero-phones {
        height: 400px;
        margin-top: 20px;
    }

    .hero-phone img {
        height: 350px;
    }

    .hero-phone--left {
        transform: translateX(-45%) rotate(-8deg) scale(0.75);
    }

    .hero-phone--right {
        transform: translateX(45%) rotate(8deg) scale(0.75);
    }

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

    .showcase-row,
    .showcase-row--reverse {
        grid-template-columns: 1fr;
        text-align: center;
        direction: ltr;
    }

    .showcase-row--reverse > * { direction: ltr; }

    .showcase-text {
        order: 1;
    }

    .showcase-visual {
        order: 2;
    }

    .showcase-list li {
        text-align: left;
    }

    .showcase-mockup {
        height: 400px;
    }

    .carousel-img {
        height: 380px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    #hero-heading {
        font-size: 2.5rem;
    }

    .hero-phones { height: 320px; }

    .hero-phone img {
        height: 280px;
    }

    .hero-phone--left {
        transform: translateX(-35%) rotate(-8deg) scale(0.72);
    }

    .hero-phone--right {
        transform: translateX(35%) rotate(8deg) scale(0.72);
    }

    .cta-btn {
        padding: 12px 24px;
    }

    .showcase-mockup {
        height: 340px;
    }

    .carousel-img {
        height: 320px;
    }

    .carousel-track {
        gap: 20px;
        padding: 0 16px;
    }
}
