/* Landing page + import guides. The legal pages keep using style.css. */
:root {
  --bg: #0e0e0f;
  --bg-2: #151517;
  --card: #1a1a1d;
  --line: #2a2a2e;
  --fg: #f2f2f4;
  --muted: #a0a0aa;
  --accent: #ff6a3d;
  --grad: linear-gradient(135deg, #ff8a3d, #ff4d4d 55%, #e8216b);
  --radius: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(14, 14, 15, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand svg { width: 32px; height: 32px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.top nav a:hover { color: var(--fg); }
.top nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; transition: transform 0.15s ease, opacity 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 77, 77, 0.6); }
.btn-ghost { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.btn svg { width: 20px; height: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(255, 106, 61, 0.28), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 106, 61, 0.12); color: #ffb08a; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.eyebrow:hover { background: rgba(255, 106, 61, 0.2); }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 18px; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: #cfcfd6; max-width: 34em; margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 260px; border-radius: 34px; overflow: hidden; border: 6px solid #232327; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); background: #000; }
.phone img { width: 100%; height: auto; }
.phones .p1 { left: 0; top: 40px; transform: rotate(-5deg); }
.phones .p2 { right: 0; top: 0; transform: rotate(4deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 440px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
}
@media (max-width: 420px) {
  .phones { height: 380px; }
  .phone { width: 170px; }
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 10px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .shot { order: 2; }
.feature .shot { display: flex; justify-content: center; }
.feature .shot .phone { position: static; width: 270px; transform: none; }
.feature h3 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.feature p { color: #cfcfd6; margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.feature li { margin: 4px 0; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .shot { order: 0; }
  .feature .shot .phone { width: 230px; }
}

/* Card grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .promise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } }
.promise .card { border-color: rgba(255, 106, 61, 0.25); background: linear-gradient(180deg, rgba(255, 106, 61, 0.08), var(--card) 60%); }

/* Import band */
.band { border-radius: 28px; padding: 44px; background: var(--grad); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.band h2 { color: #fff; }
.band p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; }
.band .btn { background: #fff; color: #1a1a1c; }
.band .sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.band .sources li { background: rgba(0, 0, 0, 0.18); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 0.9rem; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #cfcfd6; margin: 12px 0 0; }

/* Final CTA + footer */
.final { text-align: center; }
.final .cta-row { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer a { color: var(--muted); }
footer .tmdb { flex-basis: 100%; font-size: 0.82rem; }

/* Guide pages */
.guide { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.guide h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.guide h2 { font-size: 1.5rem; margin-top: 44px; }
.guide ol.steps { counter-reset: s; list-style: none; padding: 0; }
.guide ol.steps > li { counter-increment: s; position: relative; padding: 4px 0 18px 52px; }
.guide ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.guide code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; word-break: break-all; }
.note { background: var(--card); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 18px; margin: 20px 0; color: #cfcfd6; }

/* What sets Cena apart, and the hero's floating cards. */
.diff { padding-top: 56px; }
.diff .feature { padding: 44px 0; }
.mock-card { background: #17171a; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9); }
.alert-card { display: flex; gap: 12px; align-items: center; font-size: 0.9rem; font-weight: 600; border-color: rgba(155, 93, 229, 0.5); background: linear-gradient(100deg, rgba(155, 93, 229, 0.18), #17171a 70%); }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.85rem; background: #9b5de5; }
.ring { flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#ff4d4d var(--p), #2a2a2e 0); }
.ring b { width: 52px; height: 52px; border-radius: 50%; background: #17171a; display: grid; place-items: center; font-size: 0.98rem; }
.match-head { display: flex; align-items: center; gap: 14px; }
.match-head strong { display: block; font-size: 1rem; line-height: 1.25; }
.match-head span { color: #8b8a90; font-size: 0.84rem; }
.tag { display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 106, 61, 0.12); color: #ffb08a; font-size: 0.8rem; font-weight: 800; }
.hero .float-card { position: absolute; z-index: 2; width: 270px; }
.phones .f1 { left: 50%; margin-left: -190px; bottom: 26px; }
.phones .f2 { right: -4px; top: 18px; width: 228px; }
@media (max-width: 900px) { .phones .f1 { margin-left: -150px; bottom: 6px; width: 250px; } .phones .f2 { right: 0; top: 0; width: 205px; } }
@media (max-width: 420px) { .phones .f1 { width: 240px; margin-left: -120px; } .phones .f2 { width: 188px; } .phones .phone.solo { left: 6px; } }
.phones .phone.solo { left: 40px; top: 20px; transform: rotate(-3deg); }
@media (max-width: 520px) { .band .btn { width: 100%; } .cta-row .btn { width: 100%; } }

/* Press page */
.press .press-h { margin-top: 12px; }
.press hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 40px; }
.press-list { padding-left: 1.1rem; color: #cfcfd6; }
.press-list li { margin: 8px 0; }
.facts { margin: 0; }
.facts div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { flex: 0 0 38%; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.press-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.press-assets a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; color: var(--fg); text-decoration: none; font-size: 0.86rem; font-weight: 600; }
.press-assets img { width: 100%; height: 190px; object-fit: contain; margin-bottom: 8px; }

/* Language switch */
.top nav .langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.top nav .langs a { padding: 3px 7px; border-radius: 999px; font-size: 0.74rem; }
.top nav .langs a.is-on { background: var(--card); color: var(--fg); }
