:root{
  --bg: #0b0f17;
  --panel: #111827;
  --panel2: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --line: rgba(255,255,255,.10);
  --accent: #ef4444;
  --good: #22c55e;
  --bad: #ef4444;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --max: 1120px;
  --font: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% 0%, rgba(239,68,68,.22), transparent 55%),
              radial-gradient(1000px 500px at 0% 20%, rgba(59,130,246,.18), transparent 60%),
              var(--bg);
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:24px}

/* HERO */
.hero{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-media{
  height: 220px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15)),
    url("https://dummyimage.com/1400x500/111827/9ca3af&text=Hero+Image/Video+Placeholder") center/cover no-repeat;
}

.hero-inner{
  padding:32px 24px 36px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.brand-row{
  display:flex;
  justify-content:center;
  margin-top:-48px;
}

.logo{
  height:80px;
  width:auto;
  background:none;
  border:0;
  padding:0;
}

.logo img{
  height:125px;
  width:auto;
  max-width:100%;
  object-fit:contain;
}


.pill{
  border:1px solid var(--line);
  background: rgba(17,24,39,.70);
  border-radius:999px;
  padding:8px 10px;
  display:flex; align-items:center; gap:10px;
  font-size:13px;
}
.pill button{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-radius:999px;
  padding:6px 10px;
  cursor:pointer;
  font-weight:600;
}
.pill button:hover{border-color:rgba(255,255,255,.25)}
h1{margin:14px 0 8px; font-size:28px; letter-spacing:-.02em}

.seo-copy{
  color:var(--muted);
  margin:0 auto;
  line-height:1.5;
  max-width:70ch;
}


/* Toggle */
.toggle-row{
  display:flex; align-items:center; justify-content:space-between;
  margin:18px 0 10px;
  gap:12px; flex-wrap:wrap;
}
.segmented{
  display:inline-flex;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius:999px;
  padding:4px;
  gap:4px;
}
.segmented button{
  border:0;
  background: transparent;
  color: var(--muted);
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
}
.segmented button[aria-pressed="true"]{
  background: rgba(239,68,68,.22);
  color: var(--text);
}

/* PRICING GRID */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:10px;
}
@media (max-width: 980px){
  .grid{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 560px){
  .grid{grid-template-columns: 1fr}
}

.card{
  border:1px solid var(--line);
  background: rgba(17,24,39,.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 430px;
  position:relative;
}
.card-header{
  padding:14px 14px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent);
  border-bottom:1px solid var(--line);
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(239,68,68,.16);
}
.badge.secondary{background: rgba(59,130,246,.16)}
.badge.neutral{background: rgba(255,255,255,.07)}
.plan-title{margin:10px 0 0; font-size:18px}
.plan-sub{margin:6px 0 0; color:var(--muted); font-size:13px}

.card-body{padding:12px 14px; display:flex; flex-direction:column; gap:12px; flex:1}
.features{margin:0; padding-left:18px; color:var(--text); line-height:1.5}
.features li{margin:6px 0}
.features li.good::marker{color: var(--good)}
.features li.bad::marker{color: var(--bad)}
.price{
  margin-top:auto;
  font-size:26px;
  font-weight:900;
  letter-spacing:-.02em;
}
.price small{font-size:14px; color:var(--muted); font-weight:700}
.card-footer{
  padding:14px;
  border-top:1px solid var(--line);
  background: rgba(15,23,42,.65);
  display:flex; flex-direction:column; gap:10px;
}
.cta{
  width:100%;
  border:0;
  border-radius:999px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
  background: var(--accent);
  color: #fff;
  letter-spacing:.02em;
}
.cta:focus{outline:3px solid rgba(239,68,68,.35); outline-offset:2px}
.footnote{margin:0; color:var(--muted); font-size:12px; line-height:1.4}

/* Promo Bar */
.promo{
  margin-top:14px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:12px 14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.promo strong{display:block; margin-bottom:4px}
.promo .muted{color:var(--muted); font-size:13px; line-height:1.45; max-width:85ch}
.promo .countdown{
  font-variant-numeric: tabular-nums;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  border-radius: 10px;
  padding:8px 10px;
  min-width: 220px;
  text-align:right;
}

/* Sticky mobile CTA bar */
.sticky{
  position:fixed; left:0; right:0; bottom:0;
  padding:10px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
  display:none;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  z-index: 50;
}
.sticky-title{font-weight:900}
.sticky-actions{display:flex; gap:8px}
.sticky button{
  padding:10px 12px;
  border-radius:999px;
  border:0;
  font-weight:900;
  cursor:pointer;
}
.sticky .primary{background: var(--accent); color:#fff}
.sticky .secondary{background: rgba(255,255,255,.08); color: var(--text); border:1px solid var(--line)}
@media (max-width: 560px){
  .sticky{display:flex}
  body{padding-bottom:70px}
}

/* Footer legal */
.legal{
  margin:16px 0 0;
  color: rgba(229,231,235,.75);
  font-size:12px;
  line-height:1.5;
  text-align:center;
  opacity:.9;
}

/* =========================
   RESPONSIVE POLISH
   ========================= */

/* Hero: better scaling + spacing */
@media (max-width: 980px){
  .wrap{ padding:18px; }
  .hero-media{ height: 200px; }
  .hero-inner{ padding:28px 18px 30px; }
  h1{ font-size:24px; }
  .seo-copy{ max-width: 62ch; }
}

/* Mobile: tighter hero + readable type */
@media (max-width: 560px){
  .wrap{ padding:14px; }

  .hero-media{ height: 150px; }

  /* If you centered everything earlier, this keeps it clean on mobile */
  .hero-inner{
    padding:22px 14px 22px;
  }

  h1{
    font-size:20px;
    line-height:1.2;
  }

  .seo-copy{
    font-size:14px;
    line-height:1.5;
    max-width: 40ch;
  }

  /* Toggle row stacks nicely */
  .toggle-row{
    flex-direction:column;
    align-items:center;
    gap:10px;
    margin:14px 0 6px;
  }

  /* Make segmented control easier to tap */
  .segmented{
    width:100%;
    justify-content:space-between;
  }
  .segmented button{
    flex:1;
    text-align:center;
  }

  /* Cards: reduce minimum height so they don't feel huge */
  .card{
    min-height:auto;
  }
  .card-header{ padding:12px 12px 10px; }
  .card-body{ padding:12px; }
  .card-footer{ padding:12px; }

  /* Buttons: full width already, just ensure finger-friendly */
  .cta{
    padding:14px 14px;
  }

  /* Promo bar: stack countdown under text */
  .promo{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .promo .countdown{
    width:100%;
    min-width:unset;
    text-align:center;
  }
}

/* Ultra-small phones */
@media (max-width: 360px){
  h1{ font-size:18px; }
  .badge{ font-size:11px; }
  .price{ font-size:22px; }
}

@media (min-width: 981px){
  .grid{ align-items:stretch; }
  .card{ height:100%; }
}
