/* MinuteDrama-style landing — full structure clone of the old product page
 * (nav · hero · category grids · highlights · compare · install steps ·
 *  share · FAQ · CTA · footer · sticky bottom CTA · cookie banner).
 *
 * Self-contained: no dependency on style.css or drama.css.
 * Dark theme · green primary (#006a4e) · red accent (#f42a41).
 */

:root {
  --h-bg:         #0a0e14;
  --h-bg-soft:    #111722;
  --h-card:       #161d2a;
  --h-card-2:     #1c2433;
  --h-border:     #1f2937;
  --h-text:       #ffffff;
  --h-text-soft:  #cbd5e1;
  --h-text-mute:  #94a3b8;
  --h-primary:    #006a4e;          /* configurable from brand.color */
  --h-primary-2:  #00866a;
  --h-on-primary: #ffffff;
  --h-accent:     #f42a41;
  --h-amber:      #fbbf24;
  --h-success:    #2ecc71;
  --h-max:        1180px;
  --h-radius:     14px;
  --h-shadow:     0 12px 32px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--h-bg); color: var(--h-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased; }
body { padding-bottom: 90px; }
img, video { max-width: 100%; display: block; }
a { color: var(--h-text); text-decoration: none; }
button { font: inherit; cursor: pointer; }

.h-container { max-width: var(--h-max); margin: 0 auto; padding: 0 20px; }
.h-center    { text-align: center; }

/* ── Top nav ──────────────────────────────────────────────────── */
.h-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10,14,20,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--h-border);
  padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
}
.h-nav-logo { display: flex; align-items: center; gap: 10px; flex: 1; font-weight: 700; font-size: 16px; }
.h-nav-logo img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.h-nav-right { display: flex; align-items: center; gap: 20px; }
.h-nav-link  { color: var(--h-text-mute); font-size: 14px; }
.h-nav-link:hover { color: var(--h-text); }
.h-nav-dl    {
  background: var(--h-primary); color: var(--h-on-primary);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  transition: background .15s;
}
.h-nav-dl:hover { background: var(--h-primary-2); color: #fff; }

@media (max-width: 720px) { .h-nav-link { display: none; } }

/* ── Buttons ──────────────────────────────────────────────────── */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .15s;
  line-height: 1.2;
}
.h-btn-primary { background: var(--h-primary); color: var(--h-on-primary);
  box-shadow: 0 6px 16px rgba(0,106,78,.35); }
.h-btn-primary:hover { background: var(--h-primary-2); color: #fff; transform: translateY(-1px); }
.h-btn-ghost   { background: transparent; color: var(--h-text);
  border-color: rgba(255,255,255,.18); }
.h-btn-ghost:hover { background: rgba(255,255,255,.06); }
.h-btn-xl   { padding: 16px 36px; font-size: 17px; }
.h-btn-sm   { padding: 7px 14px; font-size: 13px; }
.h-btn-main { font-size: 17px; }
.h-btn-sub  { font-size: 11.5px; font-weight: 500; opacity: .85; }

@keyframes h-pulse {
  0%,100% { box-shadow: 0 6px 16px rgba(0,106,78,.35); }
  50%     { box-shadow: 0 8px 22px rgba(0,106,78,.6), 0 0 0 6px rgba(0,106,78,.15); }
}
.h-btn-xl { animation: h-pulse 2.2s ease-in-out infinite; }

/* ── Hero ─────────────────────────────────────────────────────── */
.h-hero { position: relative; padding: 56px 20px 64px; overflow: hidden; }
.h-hero-bg {
  position: absolute; inset: -40px 0 0 0; z-index: 0;
  background:
    radial-gradient(70% 60% at 25% 18%, rgba(244,42,65,.25), transparent 60%),
    radial-gradient(60% 50% at 80% 70%, rgba(0,106,78,.35), transparent 65%),
    linear-gradient(180deg, var(--h-bg), var(--h-bg-soft));
  filter: blur(.5px);
}
.h-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto; text-align: center;
}
.h-hero-chip {
  display: inline-block;
  background: rgba(244,42,65,.12); color: #ffc1c8;
  border: 1px solid rgba(244,42,65,.35);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  margin-bottom: 18px;
}
.h-hero-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
}
.h-hl-grad {
  background: linear-gradient(90deg, var(--h-accent), #ff7e1b);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.h-hero-sub {
  margin: 0 0 28px;
  color: var(--h-text-soft); font-size: clamp(15px, 3vw, 17px);
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.h-hero-info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px;
  margin: 28px 0;
}
.h-hero-info-item { display: flex; flex-direction: column; align-items: center; }
.h-hero-info-item strong { font-size: 22px; font-weight: 800; color: var(--h-text); }
.h-hero-info-item span   { color: var(--h-text-mute); font-size: 12.5px; margin-top: 2px; }

.h-hero-cta { margin-top: 12px; }
.h-hero-meta { color: var(--h-text-mute); font-size: 11.5px; margin: 14px 0 0; }
.h-hero-meta a { color: var(--h-text-soft); text-decoration: underline; }

/* ── Section helpers ──────────────────────────────────────────── */
.h-h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800; letter-spacing: -.01em;
  margin: 0 0 6px;
}
.h-h2-tight { margin-bottom: 4px; }
.h-h2-sub {
  margin: 0 auto 32px;
  color: var(--h-text-mute); font-size: 15px;
  max-width: 620px; text-align: center;
}
.h-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px; gap: 12px;
}
.h-section-sub { color: var(--h-text-mute); font-size: 13px; }

/* ── Category / show grids ────────────────────────────────────── */
.h-cats { padding: 28px 0; }
.h-cats-demo { padding-top: 0; }
.h-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

/* ── Multi-row showcase: N rows × M horizontally-scrolling covers ── */
.h-rows { padding: 28px 0 16px; }
.h-row  { margin-bottom: 28px; }
.h-row:last-child { margin-bottom: 0; }
.h-row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.h-row-title {
  margin: 0;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700; letter-spacing: -.01em;
}
.h-row-more {
  font-size: 13px; color: var(--h-text-mute);
  white-space: nowrap;
}
.h-row-more:hover { color: var(--h-text-soft); }

.h-row-track {
  display: flex; gap: 12px;
  overflow-x: auto; overflow-y: hidden;
  padding: 4px 0 14px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--h-text-mute) 55%, transparent) transparent;
}
.h-row-track::-webkit-scrollbar { height: 8px; }
.h-row-track::-webkit-scrollbar-track { background: transparent; }
.h-row-track::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--h-text-mute) 50%, transparent);
  border-radius: 4px;
}
.h-row-track::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--h-text-soft) 60%, transparent);
}
.h-row-track .h-cat {
  flex: 0 0 auto;
  width: clamp(140px, 22vw, 180px);
  scroll-snap-align: start;
}
.h-row-track .h-cat-cover { aspect-ratio: 3/4; }
.h-cat {
  position: relative; cursor: pointer;
  background: var(--h-card); border-radius: 12px; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.h-cat:hover { transform: translateY(-3px); box-shadow: var(--h-shadow); }
.h-cat-cover { width: 100%; aspect-ratio: 3/4; background: var(--h-card-2); position: relative; overflow: hidden; }
.h-cat-cover img { width: 100%; height: 100%; object-fit: cover; }
.h-cat-cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.85));
}
.h-cat-meta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; }
.h-cat-title { font-weight: 700; font-size: 13.5px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.h-cat-sub   { color: rgba(255,255,255,.78); font-size: 11.5px; margin-top: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.h-cat-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: var(--h-accent); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── Highlights (6 feature cards) ─────────────────────────────── */
.h-hl { padding: 56px 0; background: var(--h-bg-soft); border-top: 1px solid var(--h-border); border-bottom: 1px solid var(--h-border); }
.h-hl-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.h-hl-card {
  background: var(--h-card); border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 22px 22px 20px;
  transition: transform .15s, border-color .15s;
}
.h-hl-card:hover { transform: translateY(-3px); border-color: rgba(0,106,78,.5); }
.h-hl-icon { font-size: 30px; margin-bottom: 12px; line-height: 1; }
.h-hl-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.h-hl-card p  { margin: 0; color: var(--h-text-mute); font-size: 13.5px; }

/* ── Compare table ────────────────────────────────────────────── */
.h-compare { padding: 56px 0; }
.h-compare-wrap {
  background: var(--h-card); border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  overflow: hidden;
  max-width: 880px; margin: 0 auto;
}
.h-compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.h-compare-table th, .h-compare-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--h-border);
}
.h-compare-table th {
  background: var(--h-bg-soft); color: var(--h-text-mute);
  font-weight: 600; font-size: 13px;
}
.h-compare-table .h-th-us {
  color: var(--h-text);
  background: rgba(0,106,78,.18);
  position: relative;
}
.h-compare-table tbody tr:last-child td { border-bottom: 0; }
.h-compare-table td:first-child { color: var(--h-text-mute); width: 28%; }
.h-compare-table td.ok { color: var(--h-text); background: rgba(0,106,78,.08); }
.h-compare-table td.ok::before { content: "✓ "; color: var(--h-success); font-weight: 700; margin-right: 4px; }
.h-compare-table td.x  { color: var(--h-text-mute); }
.h-compare-table td.x::before  { content: "—  "; color: var(--h-text-mute); }
@media (max-width: 640px) {
  .h-compare-table th, .h-compare-table td { padding: 10px 12px; font-size: 13px; }
  .h-compare-table td:first-child { width: 38%; }
}

/* ── Install steps ────────────────────────────────────────────── */
.h-install { padding: 56px 0; background: var(--h-bg-soft); border-top: 1px solid var(--h-border); border-bottom: 1px solid var(--h-border); }
.h-step-cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 900px; margin: 0 auto;
}
.h-step-card {
  background: var(--h-card); border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 28px 22px 26px;
  text-align: center;
}
.h-step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--h-primary); color: var(--h-on-primary);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  margin: 0 auto 14px;
  box-shadow: 0 6px 14px rgba(0,106,78,.4);
}
.h-step-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.h-step-card p  { margin: 0 0 14px; color: var(--h-text-mute); font-size: 13.5px; }
.h-step-card em { color: var(--h-text-soft); font-style: normal; font-weight: 600; }

/* ── Share ────────────────────────────────────────────────────── */
.h-share { padding: 48px 0; }
.h-share-card {
  background: var(--h-card); border: 1px solid var(--h-border);
  border-radius: var(--h-radius);
  padding: 28px;
  display: grid; gap: 20px; align-items: center;
  grid-template-columns: 1fr auto;
}
.h-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.h-share-btns .h-btn { padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 720px) {
  .h-share-card { grid-template-columns: 1fr; }
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.h-faq { padding: 56px 0; background: var(--h-bg-soft); border-top: 1px solid var(--h-border); }
.h-faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.h-faq-item {
  background: var(--h-card); border: 1px solid var(--h-border);
  border-radius: 12px;
}
.h-faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px;
  font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.h-faq-item summary::-webkit-details-marker { display: none; }
.h-faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--h-text-mute); font-weight: 400;
  transition: transform .15s;
}
.h-faq-item[open] summary::after { content: "−"; }
.h-faq-item p {
  padding: 0 20px 18px; margin: 0;
  color: var(--h-text-soft); font-size: 14px;
}
.h-faq-item p a { color: var(--h-primary-2); text-decoration: underline; }

/* ── Final CTA banner ─────────────────────────────────────────── */
.h-cta-banner { padding: 64px 20px; }
.h-cta-banner .h-h2 { margin-bottom: 8px; }
.h-cta-banner .h-h2-sub { margin-bottom: 24px; }

/* ── Footer ───────────────────────────────────────────────────── */
.h-footer {
  border-top: 1px solid var(--h-border);
  padding: 28px 20px;
  background: var(--h-bg);
}
.h-footer-grid {
  display: grid; gap: 14px;
}
.h-footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.h-footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.h-footer-nav {
  display: flex; flex-wrap: wrap; gap: 12px 22px;
}
.h-footer-nav a { color: var(--h-text-mute); font-size: 13px; }
.h-footer-nav a:hover { color: var(--h-text-soft); }
.h-footer-copy { color: var(--h-text-mute); font-size: 12px; margin: 0; }

/* ── Floating sticky bottom CTA ───────────────────────────────── */
.h-float-cta {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 50;
  background: var(--h-primary); color: var(--h-on-primary);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,106,78,.5);
  text-decoration: none;
  max-width: 480px; margin: 0 auto;
}
.h-float-cta:hover { background: var(--h-primary-2); color: #fff; }
.h-float-arrow { display: inline-block; transform: translateY(1px); }
@media (min-width: 880px) {
  .h-float-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ── Cookie banner ────────────────────────────────────────────── */
.h-cookie {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 60;
  background: #161d2a; color: var(--h-text);
  border: 1px solid var(--h-border); border-radius: 14px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  max-width: 760px; margin: 0 auto;
  box-shadow: var(--h-shadow);
}
.h-cookie p { margin: 0; font-size: 13px; line-height: 1.5; flex: 1 1 240px; color: var(--h-text-soft); }
.h-cookie-actions { display: flex; gap: 8px; }
@media (min-width: 880px) { .h-cookie { bottom: 20px; } }

[hidden] { display: none !important; }
