/* ============================================================
   Relgard Car Backseat Organizer — Sales Page Styles
   Palette pulled from the product: matte black + orange stitch
   ============================================================ */

:root {
  --ink: #14141a;
  --ink-soft: #3a3a44;
  --muted: #6b6b76;
  --line: #e7e7ec;
  --bg: #ffffff;
  --bg-soft: #f6f5f3;
  --bg-dark: #14141a;
  --brand: #ff6a1a;          /* orange stitching */
  --brand-dark: #e2540a;
  --brand-soft: #fff1e8;
  --green: #1f9d57;
  --star: #ffb300;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 20, 26, 0.18);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

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

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-dark);
  background: var(--brand-soft); padding: 6px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; cursor: pointer;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 24px rgba(255, 106, 26, .35);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }

/* ---------- Top announcement + nav ---------- */
.announce {
  background: var(--bg-dark); color: #fff; text-align: center;
  font-size: .85rem; font-weight: 600; padding: 9px 14px; letter-spacing: .02em;
}
.announce b { color: var(--brand); }

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand .dot { width: 12px; height: 12px; border-radius: 4px; background: var(--brand); transform: rotate(45deg); }
.nav-links { display: flex; gap: 26px; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--brand-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-price { font-weight: 800; font-size: 1rem; }
.nav-price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.nav .btn { padding: 11px 22px; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; background:
  radial-gradient(1200px 500px at 80% -10%, #fff4ec 0%, rgba(255,255,255,0) 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .sub { font-size: 1.18rem; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 18px; }
.price-line { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.price-now { font-size: 2.1rem; font-weight: 800; }
.price-was { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.price-save { background: var(--green); color: #fff; font-weight: 700; font-size: .8rem;
  padding: 4px 10px; border-radius: 999px; }
.rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); }
.hero-badge {
  position: absolute; bottom: -14px; left: -14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px;
  padding: 12px 16px; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px;
}
.hero-badge .em { font-size: 1.3rem; }

/* trust row */
.trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 20px; }
.trust div { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.trust .ic { color: var(--green); font-size: 1.1rem; }

/* ---------- Logo / value strip ---------- */
.strip { background: var(--bg-dark); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 20px; text-align: center; }
.strip .item .big { font-size: 1.6rem; font-weight: 800; color: var(--brand); }
.strip .item .lbl { font-size: .85rem; color: #c9c9d2; font-weight: 600; }
@media (max-width: 760px){ .strip .wrap { grid-template-columns: repeat(2,1fr); } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 42em; margin: 0 auto 44px; text-align: center; }

/* Problem cards */
.bg-soft { background: var(--bg-soft); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.card .em { font-size: 2rem; display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .98rem; }

/* Feature rows (alternating media/text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 72px; }
.feature:last-child { margin-bottom: 0; }
.feature.rev .f-media { order: 2; }
.f-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.f-media video, .f-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.f-tag { display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color: var(--brand-dark); margin-bottom: 10px; }
.f-list { list-style: none; padding: 0; margin: 16px 0 0; }
.f-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-weight: 500; color: var(--ink-soft); }
.f-list li::before { content: "✓"; color: var(--green); font-weight: 800; }
.play-pill { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.6); color:#fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px;
  display:flex; align-items:center; gap:6px; }

/* Everything-has-its-place gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); background:#000; }
.gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.gallery figcaption { background:#fff; color: var(--ink); font-size:.82rem; font-weight:600; padding: 10px 12px; }
@media (max-width: 860px){ .gallery { grid-template-columns: repeat(2,1fr); } }

/* Use cases */
.usecases { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.uc { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.uc .em { font-size: 1.6rem; }
.uc h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.uc p { font-size: .92rem; margin: 0; }

/* ---------- Offer / pricing ---------- */
.offer { background: var(--bg-dark); color: #fff; }
.offer h2, .offer h3 { color: #fff; }
.offer .section-head p { color: #c9c9d2; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan {
  background: #1d1d25; border: 1px solid #2c2c36; border-radius: var(--radius);
  padding: 30px 26px; position: relative; display: flex; flex-direction: column;
}
.plan.best { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,106,26,.25); }
.plan .flag { position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: var(--brand); color:#fff; font-weight:700; font-size:.78rem; letter-spacing:.06em;
  padding:6px 14px; border-radius:999px; white-space:nowrap; }
.plan h3 { margin-bottom: 4px; }
.plan .ptag { color:#b9b9c4; font-size:.9rem; margin-bottom: 16px; }
.plan .pprice { display:flex; align-items:baseline; gap:10px; margin-bottom: 4px; }
.plan .pnow { font-size: 2.4rem; font-weight: 800; }
.plan .pwas { color:#8a8a96; text-decoration: line-through; font-weight:600; }
.plan .punit { color:#b9b9c4; font-size:.85rem; margin-bottom: 18px; }
.plan ul { list-style:none; padding:0; margin: 0 0 22px; }
.plan li { display:flex; gap:10px; padding: 7px 0; font-size:.95rem; color:#e6e6ec; border-top:1px solid #2c2c36; }
.plan li:first-child { border-top: none; }
.plan li .ic { color: var(--brand); font-weight:800; }
.plan .btn { margin-top: auto; }
.guarantee { max-width: 700px; margin: 34px auto 0; text-align:center;
  background:#1d1d25; border:1px dashed #3a3a46; border-radius: var(--radius); padding: 22px; }
.guarantee b { color:#fff; }
.guarantee p { color:#c9c9d2; margin: 0; }
@media (max-width: 720px){ .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.q { border-bottom: 1px solid var(--line); }
.q button {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font); font-size: 1.08rem; font-weight: 700; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative;
}
.q button::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.q.open button::after { content: "−"; }
.q .a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.q .a p { padding-bottom: 22px; margin: 0; }

/* ---------- Final CTA ---------- */
.final { text-align:center; background:
  radial-gradient(900px 400px at 50% 0%, #fff4ec 0%, rgba(255,255,255,0) 70%), var(--bg); }
.final h2 { max-width: 16em; margin-inline: auto; }
.final .sub { max-width: 34em; margin: 0 auto 26px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
footer { background: var(--bg-dark); color: #b9b9c4; padding: 40px 0; font-size: .9rem; }
footer .wrap { display:flex; flex-wrap:wrap; justify-content: space-between; gap: 16px; align-items:center; }
footer .brand { color:#fff; }
footer a:hover { color: var(--brand); }
.disclaimer { max-width: var(--maxw); margin: 18px auto 0; padding: 0 20px; color:#6f6f7a; font-size:.78rem; }

/* ---------- Sticky mobile buy bar ---------- */
.buybar { position: fixed; left:0; right:0; bottom:0; z-index:60; display:none;
  background:#fff; border-top:1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  padding: 10px 14px; align-items:center; justify-content: space-between; gap: 12px; }
.buybar .p { font-weight:800; }
.buybar .p s { color: var(--muted); font-weight:500; margin-right:6px; }
.buybar .btn { padding: 13px 22px; }

/* ---------- Refer & earn band ---------- */
.refer-band { display:grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items:center;
  background: var(--bg-dark); color:#fff; border-radius: var(--radius); padding: 40px 44px; }
.refer-band h2 { color:#fff; }
.refer-band .muted { color:#c9c9d2; }
.refer-art { text-align:center; font-size: 3.4rem; line-height:1.1; }
.refer-art span { display:block; font-size:.9rem; font-weight:700; color: var(--brand); letter-spacing:.04em; margin-top:6px; }
@media (max-width: 720px){ .refer-band { grid-template-columns: 1fr; text-align:center; padding: 30px 22px; } }

/* ---------- Standalone funnel pages (refer / thank-you) ---------- */
.page-hero { padding: 70px 0 30px; text-align:center; }
.page-wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.uv-placeholder { background:#fff; border:2px dashed var(--line); border-radius: var(--radius);
  padding: 48px 24px; text-align:center; color: var(--muted); }
.uv-placeholder code { background: var(--bg-soft); padding:2px 6px; border-radius:6px; }
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin: 30px 0; text-align:left; }
.steps .card .n { display:inline-flex; width:34px; height:34px; border-radius:50%; background:var(--brand);
  color:#fff; font-weight:800; align-items:center; justify-content:center; margin-bottom:10px; }
@media (max-width:720px){ .steps { grid-template-columns:1fr; } }
.ty-check { font-size: 3.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature { grid-template-columns: 1fr; gap: 26px; margin-bottom: 54px; }
  .feature.rev .f-media { order: 0; }
  .cards3, .usecases { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px){
  section { padding: 54px 0; }
  .nav-cta .nav-price { display: none; }
  .buybar { display: flex; }
  body { padding-bottom: 70px; }
}
