/* ==========================================================================
   Custom Movie Poster — mobile-first conversion landing page
   Standalone stylesheet (does not share with styles.css)
   ========================================================================== */

:root {
    --bg: #0B0B0B;          /* matte black */
    --card: #181818;        /* dark gray cards */
    --card-hover: #202020;
    --text: #F8F8F8;        /* white */
    --text-muted: #9a9a9a;
    --accent: #F1641E;      /* Etsy orange */
    --accent-hover: #ff7433;
    --gold: #D7B46A;        /* warm gold */
    --hairline: rgba(255, 255, 255, 0.08);
    --radius: 22px;
    --radius-sm: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --maxw: 640px;          /* single-column, phone-optimized */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Leave room for the sticky bottom CTA bar */
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
}

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

/* --------------------------------------------------------------------------
   Trust badge
   -------------------------------------------------------------------------- */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    background: var(--card);
    border-bottom: 1px solid var(--hairline);
    color: var(--text);
}
.trust-badge strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   Buttons — the single CTA used everywhere
   -------------------------------------------------------------------------- */
.etsy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    min-height: 56px;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: var(--accent);
    border-radius: 100px;
    box-shadow: 0 10px 28px rgba(241, 100, 30, 0.35);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.etsy-btn svg { width: 22px; height: 22px; flex: none; }
.etsy-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.etsy-btn:active { transform: translateY(0); }

.etsy-btn--xl {
    min-height: 62px;
    font-size: 1.2rem;
    max-width: 460px;
}

/* CTA visibility — mobile (< 720px): only the sticky CTA is shown.
   Hide the hero, showcase, and final-CTA buttons by default;
   the desktop media query re-shows hero + showcase. */
.hero .etsy-btn,
.showcase-copy .etsy-btn,
.final-cta .etsy-btn { display: none; }

.secure-note {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    text-align: center;
    padding: 32px 0 56px;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(215, 180, 106, 0.08), transparent 60%),
        var(--bg);
}
/* Hero marquee — auto-scrolling poster row on a single fixed wooden shelf */
.hero-marquee {
    position: relative;
    width: 100%;
    height: 355px;
    margin-bottom: 32px;
    overflow: hidden;
    /* Fade the posters out toward the left/right edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    align-items: flex-end;   /* posters rest on the shelf */
    gap: 14px;
    width: max-content;
    height: 100%;
    padding: 0 14px 48px;    /* bottom space seats posters above the shelf lip */
    animation: hero-scroll 40s linear infinite;
}
.marquee-track img {
    flex: none;
    height: 285px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--hairline);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}
/* Single long fixed shelf — does not scroll, keeps its natural aspect ratio */
.hero-shelf {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24px;
    background: url('/images/wooden-stand.webp') no-repeat center / 100% 100%;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}
@keyframes hero-scroll {
    to { transform: translateX(-50%); }
}
.hero h1 {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.hero-sub {
    max-width: 460px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}
.feature-pill {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: 100px;
    color: var(--text);
}

.rating-line {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    padding: 56px 0;
}
.section--alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.section-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   How it works — vertical timeline
   -------------------------------------------------------------------------- */
.timeline {
    list-style: none;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
}
/* connector line between steps */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(20px + 21px);
    bottom: -15px;
    width: 2px;
    height: 16px;
    background: var(--hairline);
}
.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(215, 180, 106, 0.14);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}
.step-icon { display: none; }
.step h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Product showcase
   -------------------------------------------------------------------------- */
.showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}
.showcase-img {
    max-width: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--hairline);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.showcase-img img {
    display: block;
    width: 100%;
    height: auto;
}
.showcase-copy h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}
.showcase-copy .gold { font-size: 1.9rem; }
.showcase-copy p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Social proof
   -------------------------------------------------------------------------- */
.proof-heading {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.reviews {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
    margin: 0 auto;
}
.review-card {
    padding: 20px 22px;
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    text-align: center;
}
.review-card .stars { display: block; margin-bottom: 8px; }
.review-card p { font-size: 1.05rem; font-weight: 500; }

/* --------------------------------------------------------------------------
   FAQ — native accordion
   -------------------------------------------------------------------------- */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.faq-card {
    background: var(--card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.faq-card summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after {
    content: "+";
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.2s var(--ease);
}
.faq-card[open] summary::after { transform: rotate(45deg); }
.faq-card p {
    padding: 0 20px 18px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
    text-align: center;
    padding: 64px 0;
    background:
        radial-gradient(120% 100% at 50% 100%, rgba(241, 100, 30, 0.10), transparent 60%),
        var(--bg);
    border-top: 1px solid var(--hairline);
}
.final-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 440px;
    margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--hairline);
    background: var(--card);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.footer-inner img { height: auto; opacity: 0.85; margin-bottom: 8px; }
.footer-inner .meta { font-size: 0.85rem; color: var(--text-muted); }
.footer-inner a { color: var(--gold); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Sticky mobile CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: center;
}
.sticky-cta .etsy-btn {
    min-height: 52px;
    box-shadow: 0 6px 20px rgba(241, 100, 30, 0.4);
}

/* --------------------------------------------------------------------------
   Larger screens — keep it centered & comfortable (still single column focus)
   -------------------------------------------------------------------------- */
@media (min-width: 720px) {
    :root { --maxw: 900px; }

    /* Desktop CTAs: show hero + showcase buttons, hide the sticky bar and
       the final-CTA button (final-CTA button stays hidden at all sizes). */
    .hero .etsy-btn,
    .showcase-copy .etsy-btn { display: inline-flex; }
    .sticky-cta { display: none; }
    body { padding-bottom: 0; }

    .hero h1 { font-size: 2.9rem; }
    .hero-marquee { height: 430px; }
    .marquee-track img { height: 360px; }
    .hero-shelf { height: 30px; }

    .showcase {
        flex-direction: row;
        text-align: left;
        gap: 48px;
    }
    .showcase-img { flex: 0 0 42%; max-width: 42%; }
    .showcase-copy { flex: 1; }
    .showcase-copy p { margin-left: 0; margin-right: 0; }
    .showcase-copy .etsy-btn { max-width: 300px; }

    .reviews {
        flex-direction: row;
        max-width: 100%;
    }
    .review-card { flex: 1; }

    /* On desktop the whole page is visible; the sticky bar is less needed but harmless */
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
    .marquee-track { animation: none; }
}
