:root {
  --emerald: #0b3d2e;
  --emerald-mid: #12573f;
  --emerald-dark: #07291f;
  --gold: #f2b705;
  --gold-hover: #ffca28;
  --ink: #0f1f19;
  --muted: #52665e;
  --bg: #f5f8f6;
  --white: #ffffff;
  --line: #dce5e0;
  --soft: #ebf2ee;
  --red: #c62828;
  --ok: #1b7f4c;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(7, 41, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 41, 31, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11, 61, 46, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand-link img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.brand-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(242, 183, 5, 0.16);
  color: var(--gold);
  padding: 3px 8px;
  border-radius: 999px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  background: var(--emerald-dark);
  padding: 14px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu a { color: #fff; text-decoration: none; font-weight: 600; padding: 6px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--emerald-dark); box-shadow: 0 6px 20px rgba(242, 183, 5, 0.25); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-emerald:hover { background: var(--emerald-mid); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: #fff; color: var(--emerald); border: 1.5px solid var(--emerald); }
.btn-outline-dark:hover { background: var(--soft); }
.btn-sm { padding: 8px 14px; font-size: 14px; min-height: 38px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(242, 183, 5, 0.14), transparent 45%),
              linear-gradient(155deg, var(--emerald-dark) 0%, var(--emerald) 55%, var(--emerald-mid) 100%);
  color: #fff;
  padding: 68px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(242, 183, 5, 0.12);
  border: 1px solid rgba(242, 183, 5, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  margin: 0 0 28px;
  font-size: 17.5px;
  color: #cfe3da;
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 520px;
  font-size: 13.5px;
  color: #d6e9e1;
}
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: 0 0 8px; }

/* Hero Mockup Card */
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.2);
}
.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hc-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--emerald); }
.hc-brand img { width: 32px; height: 32px; border-radius: 8px; }
.hc-pill { font-size: 12px; font-weight: 700; background: #e8f5ee; color: var(--ok); padding: 4px 10px; border-radius: 999px; }
.route-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.route-stop { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.route-stop + .route-stop { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pin-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.pin-dot.a { background: var(--emerald); }
.pin-dot.b { background: var(--gold); border: 2px solid var(--emerald); }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.hc-stat { background: var(--soft); border-radius: 12px; padding: 10px; text-align: center; }
.hc-stat small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.hc-stat b { font-size: 16px; color: var(--emerald); }
.offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.offer-row strong { display: block; font-size: 14px; }
.offer-row span { font-size: 12px; color: var(--muted); }
.offer-price { font-weight: 900; font-size: 16px; color: var(--emerald); }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark {
  background: linear-gradient(160deg, var(--emerald-dark), var(--emerald));
  color: #fff;
}
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-mid);
  background: var(--soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.section.dark .sec-kicker { background: rgba(242,183,5,0.16); color: var(--gold); }
.sec-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.sec-head p { margin: 0; color: var(--muted); font-size: 16.5px; }
.section.dark .sec-head p { color: #cfe3da; }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--soft);
  color: var(--emerald);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* How it works tabs */
.seg-tabs {
  display: inline-flex;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  margin: 0 auto 30px;
}
.seg-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 22px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.seg-tabs button.active { background: var(--emerald); color: #fff; }
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--emerald-dark);
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

/* Pricing & Driver section */
.price-list { list-style: none; padding: 0; margin: 16px 0 22px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.price-list li:last-child { border-bottom: 0; }
.driver-highlight {
  background: linear-gradient(155deg, var(--emerald-dark), var(--emerald));
  color: #fff;
  border-color: rgba(242, 183, 5, 0.4);
}
.driver-highlight p, .driver-highlight .muted-light { color: #cfe3da; }
.driver-highlight .price-list li { border-bottom-color: rgba(255,255,255,0.14); }
.big-price { font-size: 36px; font-weight: 900; color: var(--gold); line-height: 1.1; margin: 10px 0 4px; }

/* Download section */
.dl-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(242, 183, 5, 0.16);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex: 0 0 54px;
}
.dl-meta { font-size: 13px; color: #cfe3da; }
.dl-steps { margin: 8px 0 0; padding-left: 18px; color: #d8ebe3; font-size: 14px; }
.dl-steps li { margin: 5px 0; }
.status-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(242, 183, 5, 0.18);
  color: var(--gold);
}

/* Inline Auth & Company Grid */
.auth-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-height: 46px;
}
.field input:focus { outline: none; border-color: var(--emerald); }
.role-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-chip {
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--emerald);
  border-radius: 12px;
  padding: 11px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.role-chip.on { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.demo-note {
  background: #fff6d6;
  color: #5a4300;
  border: 1px solid #f0dc8a;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
.msg { font-size: 13.5px; font-weight: 600; margin-top: 10px; min-height: 20px; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--ok); }

/* Company facts */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.fact {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.fact small { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: 0.05em; }
.fact strong { display: block; font-size: 16px; color: var(--emerald); margin-top: 4px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq-list summary { font-weight: 700; cursor: pointer; font-size: 16px; color: var(--ink); }
.faq-list details p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* Footer */
.site-footer {
  background: var(--emerald-dark);
  color: #cfe3da;
  padding: 52px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid a { color: #cfe3da; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(207, 227, 218, 0.78);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 41, 31, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-box {
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 18px;
  cursor: pointer;
}
.modal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--soft); padding: 4px; border-radius: 12px; margin: 14px 0 18px; }
.modal-tabs button { border: 0; background: transparent; padding: 9px; border-radius: 9px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.modal-tabs button.active { background: var(--emerald); color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .grid-3, .fact-grid, .trust-strip { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  .section { padding: 54px 0; }
}

/* ===== HyperFrames Motion Graphics & Video Showcase ===== */
.hero-video-card {
  background: rgba(4, 25, 18, 0.85);
  border: 1.5px solid rgba(242, 183, 5, 0.4);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}
.hv-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #041912;
  aspect-ratio: 4 / 3;
}
.hv-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hv-live-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(4, 25, 18, 0.86);
  border: 1px solid rgba(44, 230, 166, 0.45);
  color: #e4fff4;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.hv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ce6a6;
  box-shadow: 0 0 8px #2ce6a6;
}
.hv-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* Cinema Section */
.cinema-section {
  background: linear-gradient(180deg, #062118 0%, #0b3d2e 100%);
  color: #fff;
}
.cinema-section .sec-head h2 { color: #fff; }
.cinema-section .sec-head p { color: #c7e2d6; }
.cinema-shell { max-width: 1020px; margin: 0 auto; }
.cinema-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(242, 183, 5, 0.45);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
  background: #041912;
  aspect-ratio: 16 / 9;
}
.cinema-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cinema-overlay-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(4, 25, 18, 0) 0%, rgba(4, 25, 18, 0.92) 75%);
}
.cinema-btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cine-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 32, 23, 0.88);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.cine-btn:hover { border-color: var(--gold); color: var(--gold); }
.cine-btn.gold { background: var(--gold); color: #052017; border-color: var(--gold); }
.cine-btn.gold:hover { background: var(--gold-hover); color: #052017; }
.cinema-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #cfe3da;
  background: rgba(4, 25, 18, 0.8);
  padding: 5px 12px;
  border-radius: 999px;
}
.chapter-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.chap-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #d7ebe2;
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.chap-pill span {
  display: inline-block;
  color: var(--gold);
  font-family: ui-monospace, monospace;
  margin-right: 6px;
}
.chap-pill.active, .chap-pill:hover {
  background: rgba(242, 183, 5, 0.16);
  border-color: var(--gold);
  color: #fff;
}

/* Driver Spotlight Video */
.spotlight-video-wrap {
  margin-top: 32px;
  background: linear-gradient(155deg, #062118, #0b3d2e);
  border: 1.5px solid rgba(242, 183, 5, 0.45);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.spotlight-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.spotlight-head h3 { margin: 0; font-size: 22px; color: #fff; }
.spotlight-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #041912;
  aspect-ratio: 16 / 9;
}
.spotlight-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Download 3D Phone Frame */
.download-showcase-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 32px;
  align-items: center;
}
.phone-mockup-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.phone-device {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 16;
  background: #03110c;
  border-radius: 38px;
  padding: 10px;
  border: 3px solid rgba(242, 183, 5, 0.65);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 18px;
  background: #03110c;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen-video {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  display: block;
}
.phone-caption {
  font-size: 12.5px;
  color: #cfe3da;
  text-align: center;
}
.phone-caption a { color: var(--gold); font-weight: 700; }
.dl-cards-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 960px) {
  .chapter-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-showcase-grid { grid-template-columns: 1fr; }
  .dl-cards-stack { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hv-actions { flex-direction: column; }
  .chapter-pills { grid-template-columns: 1fr; }
}


/* Step-by-Step Booking Walkthrough + Social Reel Showcase */
.tutorial-showcase {
  margin-top: 36px;
  background: linear-gradient(155deg, #041912 0%, #0b3d2e 100%);
  border: 1.5px solid rgba(242, 183, 5, 0.48);
  border-radius: 26px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.tutorial-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.tutorial-head h3 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.tutorial-head p { margin: 0; color: #cfe3da; font-size: 14.5px; max-width: 660px; }
.tutorial-dl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tutorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 22px;
  align-items: start;
}
.chapter-pills.six-col { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.reel-card {
  background: rgba(4, 25, 18, 0.78);
  border: 1.5px solid rgba(44, 230, 166, 0.35);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.reel-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #8bf7d0;
  background: rgba(44, 230, 166, 0.14);
  border: 1px solid rgba(44, 230, 166, 0.35);
  padding: 5px 10px;
  border-radius: 999px;
}
.reel-phone-frame {
  width: 196px;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  border: 2.5px solid rgba(242, 183, 5, 0.65);
  background: #03120d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.reel-phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-caption { margin: 0; font-size: 12.5px; color: #cfe3da; line-height: 1.4; }
@media (max-width: 960px) {
  .tutorial-grid { grid-template-columns: 1fr; }
  .chapter-pills.six-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel-card { max-width: 340px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .tutorial-showcase { padding: 18px; border-radius: 20px; }
  .chapter-pills.six-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Live Tracking, WhatsApp Safety & Turn-by-Turn Nav Section */
.tracking-section {
  background: linear-gradient(160deg, #041912 0%, #093326 55%, #062118 100%);
  color: #fff;
}
.tracking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.track-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.track-card:hover { transform: translateY(-3px); border-color: rgba(242, 183, 5, 0.55); }
.track-card.wa-accent {
  background: linear-gradient(155deg, rgba(7, 94, 84, 0.42), rgba(4, 25, 18, 0.85));
  border-color: rgba(37, 211, 102, 0.52);
}
.track-pill {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(44, 230, 166, 0.16);
  color: #8bf7d0;
  border: 1px solid rgba(44, 230, 166, 0.38);
}
.track-pill.wa { background: rgba(37, 211, 102, 0.22); color: #98fbc0; border-color: rgba(37, 211, 102, 0.65); }
.track-pill.gold { background: rgba(242, 183, 5, 0.2); color: #ffe17d; border-color: rgba(242, 183, 5, 0.55); }
.track-ico { font-size: 32px; line-height: 1; margin-top: 2px; }
.track-card h3 { margin: 0; font-size: 20px; color: #fff; }
.track-card p { margin: 0; font-size: 14.5px; color: #d1e7dd; line-height: 1.55; }
.track-points {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.track-points li {
  font-size: 13.5px;
  color: #eef9f4;
  font-weight: 600;
  padding-left: 20px;
  position: relative;
}
.track-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ce6a6;
  font-weight: 900;
}
.track-card.wa-accent .track-points li::before { color: #25d366; }
@media (max-width: 780px) {
  .tracking-grid { grid-template-columns: 1fr; }
}


/* ===== Comprehensive Mobile, Tablet & Desktop Responsive Enhancements (v0.7.2) ===== */
html, body {
  overflow-x: clip;
  max-width: 100%;
}
video, iframe, svg {
  max-width: 100%;
}
.container {
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.brand-link { flex-shrink: 0; white-space: nowrap; }
.nav { gap: 12px; }
.nav-links { gap: clamp(10px, 1.25vw, 18px); }
.nav-links a { white-space: nowrap; }
.nav-actions { flex-shrink: 0; }
.nav-actions .btn { white-space: nowrap; }
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu {
  max-height: calc(100dvh - 70px);
  overflow-y: auto;
  gap: 4px;
}
.mobile-menu a {
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15.5px;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu #mobile-auth-slot {
  padding-top: 10px;
}
.card, .dl-card, .track-card, .auth-panel, .modal-box, .faq-list details {
  min-width: 0;
  overflow-wrap: break-word;
}
.price-list li {
  flex-wrap: wrap;
}
.price-list li strong {
  text-align: right;
}
.modal-box > div:first-of-type {
  padding-right: 40px;
}
.seg-tabs {
  max-width: 100%;
}
.phone-device {
  width: min(280px, 100%);
}
.reel-phone-frame {
  width: min(196px, 100%);
}

/* Responsive Comparison Table (#why-rountown) */
.compare-wrap {
  background: #fff;
  border: 1px solid #dfe5e2;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(11, 61, 46, 0.06);
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead tr {
  background: #0b3d2e;
  color: #fff;
  text-align: left;
}
.compare-table th {
  padding: 14px 18px;
  font-weight: 800;
}
.compare-table th.rt-col { color: #f2b705; }
.compare-table th.other-col { opacity: 0.88; }
.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid #eef2f0;
  vertical-align: top;
}
.compare-table tbody tr:nth-child(even) { background: #f8fbf9; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td.feat-col { font-weight: 700; color: var(--ink); }
.compare-table td.rt-col { color: #0e6939; font-weight: 700; }
.compare-table td.other-bad { color: #7a2e2e; }
.compare-table td.other-warn { color: #5d6b66; }

/* Unified Responsive Subpage Shells (Download, Delete Account, Pay Done) */
.subpage-hero {
  background: linear-gradient(145deg, var(--emerald-dark) 0%, var(--emerald) 58%, var(--emerald-mid) 100%);
  color: #fff;
  padding: 44px 0 38px;
}
.subpage-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.subpage-hero p {
  margin: 0;
  color: #d6e9e1;
  max-width: 680px;
  font-size: 16px;
}
.subpage-main {
  padding: 32px 0 56px;
}
.subpage-narrow {
  max-width: 640px;
  margin: 0 auto;
}
.dl-page-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.dl-preview-card {
  background: linear-gradient(155deg, #07291f, #0b3d2e);
  color: #fff;
  border: 1.5px solid rgba(242, 183, 5, 0.45);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.dl-preview-card p { color: #cfe3da; }
.dl-preview-phone {
  width: min(190px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  border: 2.5px solid rgba(242, 183, 5, 0.65);
  background: #041912;
  margin: 0 auto;
}
.dl-preview-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-guide-card {
  background: linear-gradient(155deg, #041912, #0b3d2e);
  color: #fff;
  border: 1.5px solid rgba(242, 183, 5, 0.48);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.dl-guide-card p { color: #cfe3da; }
.dl-guide-video {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(242, 183, 5, 0.55);
  background: #03120d;
  aspect-ratio: 16 / 9;
  margin: 14px 0 16px;
}
.dl-guide-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-btn-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.store-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.store-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--soft);
  flex: 0 0 48px;
}
.dl-notice {
  background: #fff6d6;
  color: #5a4300;
  border: 1px solid #f0dc8a;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}
.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-danger:hover {
  background: #a91f1f;
}
code.inline-code {
  font-size: 12px;
  word-break: break-all;
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Tablet Landscape (961px - 1140px) */
@media (max-width: 1140px) and (min-width: 961px) {
  .nav { gap: 10px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 13.5px; }
  .brand-link { font-size: 19px; gap: 8px; }
  .brand-pill { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
  .download-showcase-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 22px; }
  .phone-device { width: 250px; }
}

/* Tablet Portrait & Small Laptop (<= 960px) */
@media (max-width: 960px) {
  .hero { padding: 52px 0 62px; }
  .hero-video-card { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .chapter-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chapter-pills.six-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .download-showcase-grid { grid-template-columns: 1fr; }
  .dl-cards-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Small Tablet / Large Mobile (<= 760px) */
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .dl-cards-stack { grid-template-columns: 1fr; }
  .tracking-grid { grid-template-columns: 1fr; }
  .dl-preview-card { grid-template-columns: 1fr; text-align: left; }
}

/* Mobile Card Stack for Comparison Table (<= 719px) */
@media (max-width: 719px) {
  .compare-wrap {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    background: #fff !important;
    border: 1px solid #dfe5e2;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(11, 61, 46, 0.05);
  }
  .compare-table tbody tr:last-child { margin-bottom: 0; }
  .compare-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eef2f0;
    font-size: 14px;
  }
  .compare-table td:last-child { border-bottom: 0; padding-bottom: 2px; }
  .compare-table td.feat-col {
    padding-top: 2px;
    font-size: 15.5px;
    color: var(--emerald-dark);
  }
  .compare-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .compare-table td.rt-col[data-label]::before {
    color: var(--emerald);
  }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .nav { min-height: 62px; gap: 10px; }
  .brand-link { font-size: 18.5px; gap: 8px; }
  .brand-link img { width: 34px; height: 34px; }
  .hero { padding: 36px 0 48px; }
  .hero h1 { font-size: clamp(30px, 8.2vw, 40px); }
  .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head p { font-size: 15px; }
  .card, .auth-panel, .dl-card, .track-card { padding: 18px; }
  .spotlight-video-wrap { padding: 16px; border-radius: 18px; }
  .spotlight-head h3 { font-size: 19px; }
  .tutorial-showcase { padding: 16px; border-radius: 20px; }
  .tutorial-head h3 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .dl-btn-pair { grid-template-columns: 1fr; }

  /* Keep 16:9 video 100% unobstructed on phones by docking controls directly beneath video */
  .cinema-frame {
    aspect-ratio: auto;
    border-radius: 16px;
  }
  .cinema-frame video {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
  }
  .cinema-overlay-bar {
    position: static;
    background: #041912;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 12px;
    gap: 8px;
  }
  .cine-btn {
    font-size: 12px;
    padding: 7px 11px;
  }
  .cinema-time {
    font-size: 12px;
    padding: 4px 10px;
  }
  .chapter-pills,
  .chapter-pills.six-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .chap-pill {
    font-size: 12.5px;
    padding: 10px;
  }
  .dl-head {
    align-items: flex-start;
  }
  .dl-badge-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 22px;
  }
  .modal-box {
    padding: 20px 16px;
    border-radius: 18px;
  }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  .brand-pill { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .tutorial-dl-row { width: 100%; flex-direction: column; }
  .tutorial-dl-row .btn { width: 100%; }
  .seg-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .seg-tabs button { padding: 10px 12px; font-size: 14px; }
  .tracking-ctas { flex-direction: column; }
  .tracking-ctas .btn { width: 100%; }
}


/* ===== Minimal Silent Video Widget Chrome (v0.7.3) ===== */
.cinema-frame,
.dl-guide-video {
  position: relative;
}
.cinema-frame video,
.dl-guide-video video {
  cursor: pointer;
}
.mini-play-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 25, 18, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.18s ease, transform 0.14s ease, border-color 0.18s ease;
  padding: 0;
}
.cinema-frame:hover .mini-play-btn,
.dl-guide-video:hover .mini-play-btn,
.mini-play-btn:hover,
.mini-play-btn:focus-visible {
  opacity: 1;
  border-color: rgba(242, 183, 5, 0.78);
  color: var(--gold);
}
.mini-play-btn:active { transform: scale(0.94); }
.mini-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 3;
  pointer-events: none;
}
.mini-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2ce6a6, #f2b705);
  transition: width 0.2s linear;
}
@media (max-width: 640px) {
  .cinema-frame { aspect-ratio: 16 / 9; }
  .cinema-frame video { width: 100%; height: 100%; object-fit: cover; }
  .mini-play-btn { width: 30px; height: 30px; right: 9px; bottom: 9px; font-size: 10px; opacity: 0.7; }
}
