/* CineChase home page. Shared tokens live in site.css. */

/* hero */
.hero { position: relative; overflow: clip; padding: clamp(56px, 8vw, 104px) 0 0; }
.hero::before { content: ""; position: absolute; left: 50%; top: 38%; width: 140vw; height: 90%; transform: translateX(-50%); background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(222,102,40,.30), rgba(222,102,40,.06) 55%, transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { text-align: center; max-width: 820px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: 14px; color: var(--text-2); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(222,102,40,.22); }
.hero h1 { font-size: clamp(48px, 8.4vw, 104px); letter-spacing: -0.035em; line-height: 1.0; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--text-2); max-width: 42ch; margin: 26px auto 34px; }
.stores { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* stage: the TV with the phone in front of it */
.stage { position: relative; margin: clamp(48px, 7vw, 88px) auto 0; max-width: 980px; padding: 0 0 0 clamp(0px, 6vw, 70px); }
.stage .tv { border-radius: clamp(10px, 1.4vw, 16px); overflow: hidden; background: #000; border: clamp(5px, .8vw, 9px) solid #0B0C0F; outline: 1px solid var(--line-2); box-shadow: 0 50px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4); }
.stage .tv img { width: 100%; height: auto; }
.phone { position: relative; aspect-ratio: 1022 / 2082; filter: drop-shadow(0 34px 60px rgba(0,0,0,.55)) drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.phone .screen { position: absolute; left: 5.09%; top: 2.21%; width: 89.82%; height: 95.58%; border-radius: 13.7% / 6.3%; overflow: hidden; background: #000; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .bezel { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .phone { position: absolute; left: 0; bottom: -12%; width: clamp(130px, 24%, 240px); transform: rotate(-5deg); }
.trust { list-style: none; margin: clamp(72px, 9vw, 112px) 0 0; padding: 26px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 640px) { .stage { padding-left: 18%; } .stage .phone { width: 34%; bottom: -16%; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: linear-gradient(180deg, var(--surface), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 0; overflow: clip; display: flex; flex-direction: column; min-height: 580px; }
.lift { transition: transform .35s var(--ease), border-color .35s; }
.lift:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature .num { font-size: 13px; font-weight: 650; letter-spacing: .12em; color: var(--brand-ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.feature h3 { font-size: 26px; }
.feature h3 em { font-style: normal; color: var(--brand); }
.feature p { margin: 12px 0 28px; color: var(--text-2); font-size: 16px; }
.feature .phone { width: 76%; margin: auto auto -44% 12%; transform: rotate(-3deg); }
.feature:nth-child(2) .phone { transform: rotate(3deg); }
@media (max-width: 960px) { .features { grid-template-columns: 1fr; } .feature { min-height: 0; } .feature .phone { width: 58%; margin-bottom: -36%; margin-left: 21%; } }

/* how */
.how { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps .card { background: var(--surface); }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(222,102,40,.14); color: var(--brand-ink); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.note { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.note b { color: var(--text); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* both screens */
.screens .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--text-2); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.tv-shot { border-radius: 14px; overflow: hidden; border: 6px solid #0B0C0F; outline: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.55); }
.tv-shot img { width: 100%; height: auto; }
@media (max-width: 860px) { .screens .wrap { grid-template-columns: 1fr; } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 40px); border: 1px solid var(--line); background: var(--surface); }
.plan h3 { font-size: 30px; margin-bottom: 6px; }
.plan .sub { color: var(--text-2); margin-bottom: 26px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.plan li { display: flex; gap: 12px; align-items: baseline; color: var(--text-2); }
.plan li b { color: var(--text); font-weight: 650; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; transform: translateY(2px); background: var(--text-3); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan.premium { border-color: rgba(232,133,35,.42); background: linear-gradient(180deg, rgba(232,133,35,.11), rgba(232,133,35,0) 60%), var(--surface); }
.plan.premium h3 { color: var(--premium); }
.plan.premium li::before { background: var(--premium); }
.plan .fine { margin-top: 26px; font-size: 13px; color: var(--text-3); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* community */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid3 .card { display: flex; flex-direction: column; gap: 4px; }
.grid3 .card p { flex: 1; margin-bottom: 20px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

/* privacy teaser */
.privacy-teaser { padding-top: 0; }
.teaser { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(ellipse 70% 120% at 0% 0%, rgba(222,102,40,.12), transparent 60%), var(--surface); }
.teaser h2 { font-size: clamp(28px, 3.4vw, 40px); }
.teaser p { margin-top: 14px; color: var(--text-2); max-width: 58ch; }
.teaser .btn { flex: none; }
@media (max-width: 760px) { .teaser { flex-direction: column; align-items: flex-start; } }

/* Xiaohongshu dialog */
.modal { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); padding: 40px 32px 32px; width: min(92vw, 400px); text-align: center; }
.modal::backdrop { background: rgba(10,11,14,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal h3 { font-size: 22px; font-weight: 650; margin-bottom: 20px; }
.modal img { width: 240px; height: 240px; margin: 0 auto 18px; border-radius: 16px; background: #fff; }
.modal p { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text-2); font-size: 22px; line-height: 1; cursor: pointer; }
.modal-close:hover { color: var(--text); }
.modal[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }
