/* ==========================================================================
   YouGetFitWithUs — landing page styles
   Handcrafted, dependency-free. Design tokens at the top.
   Structure copy uses logical properties where practical (RTL-ready base).
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --ink-900: #070b14;
  --ink-800: #0b1220;
  --ink-700: #111a2e;
  --ink-panel: rgba(13, 20, 36, 0.72);
  --volt: #c8f135;
  --volt-deep: #5d7d00;   /* accessible accent on light backgrounds */
  --volt-link: #4e6903;
  --paper: #f6f7f2;
  --card-light: #ffffff;
  --line-light: #e4e8dc;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text-dark: #10192e;   /* text on light sections */
  --muted-dark: #4d586d;  /* secondary text on light */
  --text-light: #eef2f6;  /* text on dark sections */
  --muted-light: #9aa4ba; /* secondary text on dark */
  --warn: #f2b33d;

  /* type */
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* rhythm */
  --radius: 20px;
  --radius-sm: 12px;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --container: 1180px;
  --header-h: 72px;

  --shadow-lift: 0 18px 44px -18px rgba(7, 11, 20, 0.45);
  --shadow-volt: 0 12px 40px -10px rgba(200, 241, 53, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink-900);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--volt); color: var(--ink-900); }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Icons (lucide-style stroke set) ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--volt);
  color: var(--ink-900);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-volt);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  color: var(--muted-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--text-light); }

.text-link {
  color: var(--volt-link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--volt-deep); }

/* ---------- Section headers ---------- */
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--volt);
  margin: 0 0 1.1rem;
}
.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--volt);
}
.eyebrow {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.eyebrow::before { display: none; }
.eyebrow .icon { color: var(--volt); }

h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-sub { color: var(--muted-light); font-size: 1.06rem; }

.accent { color: var(--volt); }
.accent-dark { color: var(--volt-deep); }

/* Light sections get dark text */
.benefits, .how, .testimonials, .faq {
  color: var(--text-dark);
}
.benefits .kicker, .how .kicker, .faq .kicker {
  color: var(--volt-deep);
}
.benefits .kicker::before, .how .kicker::before, .faq .kicker::before {
  background: var(--volt-deep);
}
.benefits .section-sub, .how .section-sub { color: var(--muted-dark); }
.faq .faq-intro p { color: var(--muted-dark); }

/* ---------- Chips ---------- */
.chip {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chip-ok { background: rgba(200, 241, 53, 0.14); color: var(--volt); }
.chip-warn { background: rgba(242, 179, 61, 0.16); color: #ffd27a; }
.chip-mute { background: rgba(255, 255, 255, 0.08); color: var(--muted-light); }

/* ---------- Glass surfaces ---------- */
.glass-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-panel {
  background: var(--ink-panel);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lift);
}
.glass-card-light {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgba(16, 25, 46, 0.25);
}

/* Film-grain overlay for dark sections */
.hero::after, .features::after, .region::after, .demo::after, .site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 11, 20, 0.92);
  border-bottom-color: var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}
.brand-name em { font-style: normal; color: var(--volt); }

.nav-links {
  display: flex;
  gap: 1.7rem;
  font-size: 0.93rem;
  font-weight: 550;
  color: #c6cfdd;
}
.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text-light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: var(--text-light);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--line-dark);
  background: rgba(7, 11, 20, 0.97);
  padding: 1.1rem 1.25rem 1.4rem;
  display: grid;
  gap: 1.1rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: 0.2rem; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.65rem 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
}
.mobile-menu a:not(.btn):hover { background: rgba(255, 255, 255, 0.06); }

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg .mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(200, 241, 53, 0.13), transparent 60%),
    radial-gradient(40rem 26rem at -10% 30%, rgba(56, 89, 199, 0.16), transparent 65%),
    radial-gradient(46rem 30rem at 60% 115%, rgba(200, 241, 53, 0.07), transparent 60%),
    linear-gradient(180deg, #0a1122 0%, var(--ink-900) 70%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.glow-a { width: 26rem; height: 26rem; background: rgba(200, 241, 53, 0.16); top: -8rem; right: -6rem; }
.glow-b { width: 22rem; height: 22rem; background: rgba(64, 98, 219, 0.22); bottom: -6rem; left: -8rem; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  font-weight: 750;
  letter-spacing: -0.032em;
  margin-bottom: 0.45em;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted-light);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ccd4e2;
}
.trust-chips .icon { color: var(--volt); width: 1.05em; height: 1.05em; }

/* --- Hero scene: dashboard + phone + floating cards --- */
.hero-visual { position: relative; }
.hero-scene {
  position: relative;
  min-height: 620px;
}

.dash {
  position: absolute;
  inset-inline-start: 0;
  top: 64px;
  width: min(508px, 88%);
  transform: rotate(-1.6deg);
  overflow: hidden;
  background: rgba(11, 17, 31, 0.92);
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}
.dash-chrome .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.dash-url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: 0.6rem;
  font-size: 0.72rem;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}
.dash-url .icon { width: 0.9em; height: 0.9em; }

.dash-body { display: grid; grid-template-columns: 52px 1fr; }
.dash-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 0;
  border-inline-end: 1px solid var(--line-dark);
}
.side-item {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--muted-light);
}
.side-item .icon { width: 18px; height: 18px; }
.side-item.is-active { background: rgba(200, 241, 53, 0.14); color: var(--volt); }

.dash-main { padding: 0.95rem 1.1rem 1.1rem; }
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.dash-hi { font-family: var(--font-display); font-weight: 650; font-size: 0.98rem; margin: 0; }
.dash-date { font-size: 0.74rem; color: var(--muted-light); margin: 0; }
.dash-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--volt);
  border: 1px solid rgba(200, 241, 53, 0.35);
  background: rgba(200, 241, 53, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.dash-stats .stat {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
  display: grid;
  gap: 0.1rem;
}
.dash-stats .stat-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.dash-stats .stat.is-volt { border-color: rgba(200, 241, 53, 0.4); background: rgba(200, 241, 53, 0.08); }
.dash-stats .stat.is-volt .stat-n { color: var(--volt); }
.dash-stats .stat-l { font-size: 0.62rem; color: var(--muted-light); line-height: 1.25; }

.dash-rows { display: grid; gap: 0.35rem; }
.drow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
}
.davatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 241, 53, 0.14);
  color: var(--volt);
  font-size: 0.62rem;
  font-weight: 750;
  flex: none;
}
.dname { font-weight: 600; min-width: 6.4rem; }
.dplan { color: var(--muted-light); font-size: 0.72rem; flex: 1; }
.dqr {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  padding: 0.16rem 0.45rem;
}

/* --- Phone mockup --- */
.phone {
  position: absolute;
  inset-inline-end: 2%;
  top: 8px;
  width: 246px;
  transform: rotate(1.8deg);
  padding: 0.9rem 0.85rem 1rem;
  z-index: 2;
  background: rgba(11, 17, 31, 0.94);
}
.phone-notch {
  width: 84px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin: 0 auto 0.8rem;
}
.app-head { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.85rem; }
.app-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--volt), #8fbf1f);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  flex: none;
}
.app-gym { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; margin: 0; }
.app-sub { font-size: 0.66rem; color: var(--muted-light); margin: 0; }
.app-bell {
  margin-inline-start: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: var(--muted-light);
}
.app-bell .icon { width: 15px; height: 15px; }

.app-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--volt);
  color: var(--ink-900);
  font-weight: 750;
  font-size: 0.92rem;
  border-radius: 14px;
  padding: 0.7rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-volt);
}
.app-qr .icon { width: 20px; height: 20px; }

.app-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 0 0 0.45rem;
}
.app-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.45rem;
}
.app-item p { margin: 0; font-size: 0.78rem; font-weight: 600; }
.app-sub2 { font-size: 0.66rem !important; color: var(--muted-light); font-weight: 500 !important; }
.app-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(200, 241, 53, 0.12);
  color: var(--volt);
  flex: none;
}
.app-ico .icon { width: 16px; height: 16px; }
.app-otp {
  margin-top: 0.7rem;
  font-size: 0.64rem;
  color: var(--muted-light);
  text-align: center;
  letter-spacing: 0.04em;
}
.app-otp span { color: var(--volt); }

/* --- Floating cards --- */
.float-card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  max-width: 250px;
  font-size: 0.78rem;
  z-index: 3;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .icon { color: var(--volt); margin-top: 0.15rem; }

.chat {
  inset-inline-start: 0;
  bottom: 16px;
  flex-direction: column;
  gap: 0.45rem;
}
.chat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 0;
}
.chat-msg { margin: 0; font-weight: 550; line-height: 1.4; }
.chat-cta {
  align-self: flex-start;
  background: var(--volt);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.74rem;
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
}
.checkin {
  inset-inline-end: 4%;
  bottom: 0;
  align-items: center;
}
.checkin p { margin: 0; font-weight: 650; font-size: 0.78rem; }
.chat-sub { color: var(--muted-light) !important; font-weight: 500 !important; }

.visual-caption {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted-light);
  text-align: end;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.checkin { animation-delay: 1.6s; }

/* ==========================================================================
   3. BENEFITS STRIP (light)
   ========================================================================== */
.benefits {
  background: var(--paper);
  padding: var(--section-pad) 0;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.benefit {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -30px rgba(16, 25, 46, 0.35);
}
.benefit-ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(200, 241, 53, 0.22);
  color: var(--volt-link);
  margin-bottom: 1.1rem;
}
.benefit-ico .icon { width: 22px; height: 22px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: 0.5em; }
.benefit p { color: var(--muted-dark); font-size: 0.94rem; margin: 0; }

/* ==========================================================================
   DIVIDER BAND
   ========================================================================== */
.divider-band {
  position: relative;
  min-height: clamp(280px, 42vw, 460px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.band-media { margin: 0; position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.82), rgba(7, 11, 20, 0.55) 45%, rgba(7, 11, 20, 0.88));
}
.band-line {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  letter-spacing: -0.025em;
  text-align: center;
  color: #fff;
  margin: 0;
  padding: 1rem 1.5rem;
}

/* ==========================================================================
   4. FEATURES (dark)
   ========================================================================== */
.features {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-900), #0a1122 55%, var(--ink-900));
  padding: var(--section-pad) 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.feature {
  padding: 1.7rem 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 241, 53, 0.4);
  background: linear-gradient(165deg, rgba(200, 241, 53, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-lift);
}
.feature-ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(200, 241, 53, 0.12);
  border: 1px solid rgba(200, 241, 53, 0.25);
  color: var(--volt);
  margin-bottom: 1.1rem;
}
.feature-ico .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.feature p { color: var(--muted-light); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   5. HOW IT WORKS (light)
   ========================================================================== */
.how {
  background: var(--paper);
  padding: var(--section-pad) 0;
}
.how-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.journey-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 1.6rem;
}
.journey-title .icon { color: var(--volt-link); width: 21px; height: 21px; }

.timeline { position: relative; padding-inline-start: 1.9rem; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 15px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--volt-deep), rgba(93, 125, 0, 0.15));
}
.tstep {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-bottom: 1.7rem;
}
.tstep:last-child { padding-bottom: 0; }
.tstep::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.9rem;
  top: 6px;
  width: 9px;
  height: 9px;
  margin-inline-start: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--volt-deep);
}
.tnum {
  position: absolute;
  inset-inline-start: -1.9rem;
  display: none;
}
.tstep h4 {
  font-size: 1.06rem;
  margin: 0 0 0.3em;
}
.tstep p { color: var(--muted-dark); font-size: 0.93rem; margin: 0; }
.tstep em { font-style: normal; font-weight: 650; color: var(--volt-link); }

.how-side {
  display: grid;
  gap: 1.2rem;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.how-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: 0 26px 60px -34px rgba(16, 25, 46, 0.5);
}
.how-photo img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  object-position: 50% 28%;
}
.frontdesk { padding: 1.6rem 1.5rem; }
.frontdesk h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.06rem;
  margin-bottom: 0.4rem;
}
.frontdesk h3 .icon { color: var(--volt-link); width: 20px; height: 20px; }
.frontdesk-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt-link);
  margin: 0 0 1rem;
}
.fd-steps { display: grid; gap: 0.65rem; counter-reset: fd; }
.fd-steps li {
  position: relative;
  padding-inline-start: 2rem;
  font-size: 0.92rem;
  color: var(--muted-dark);
}
.fd-steps li::before {
  counter-increment: fd;
  content: counter(fd);
  position: absolute;
  inset-inline-start: 0;
  top: 0.05em;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(200, 241, 53, 0.28);
  color: var(--volt-link);
  font-size: 0.72rem;
  font-weight: 750;
}

/* ==========================================================================
   6. BUILT FOR THE REGION (dark)
   ========================================================================== */
.region {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-900), #0a1122 50%, var(--ink-900));
  padding: var(--section-pad) 0;
}
.region .section-head { max-width: 52rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 0 0 clamp(2.6rem, 5vw, 3.8rem);
  padding: 1.6rem clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat-cell dt {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--volt);
  line-height: 1.05;
  margin: 0 0 0.3rem;
}
.stat-cell dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-light);
}

.region-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.region-list { display: grid; gap: 1.5rem; }
.region-item { display: flex; gap: 1.05rem; }
.region-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(200, 241, 53, 0.12);
  border: 1px solid rgba(200, 241, 53, 0.25);
  color: var(--volt);
  flex: none;
}
.region-ico .icon { width: 22px; height: 22px; }
.region-item h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.region-item p { color: var(--muted-light); font-size: 0.94rem; margin: 0; }
.region-item em { font-style: normal; font-weight: 650; color: var(--volt); }

.region-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(6, 44px);
  gap: 0.9rem;
}
.region-collage figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.region-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.region-collage figure:hover img { transform: scale(1.05); }
.collage-a { grid-row: 1 / 4; }
.collage-b { grid-row: 1 / 5; }
.collage-c { grid-row: 4 / 7; }
.collage-d { grid-row: 5 / 7; }

/* ==========================================================================
   7. TESTIMONIALS (light wrapper, dark photo band)
   ========================================================================== */
.testimonials { background: var(--paper); padding: var(--section-pad) 0; }

.testi-band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3.5rem);
}
.testi-bg { position: absolute; inset: 0; margin: 0; z-index: -1; }
.testi-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.testi-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 11, 20, 0.96) 20%, rgba(7, 11, 20, 0.78) 60%, rgba(7, 11, 20, 0.55));
}
.testi-inner { position: relative; }
.testi-inner h2 { color: #fff; }
.testi-note {
  color: #c3cbda;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 46rem;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.testi-card { padding: 1.5rem 1.4rem; }
.testi-card p {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.55;
  color: #dfe6f0;
  margin: 0 0 1rem;
}
.testi-card footer {
  font-size: 0.82rem;
  color: var(--muted-light);
}
.testi-card cite { font-style: normal; color: #c3cbda; }

/* ==========================================================================
   8. DEMO CTA (dark)
   ========================================================================== */
.demo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-900), #0a1122 55%, var(--ink-900));
  padding: var(--section-pad) 0;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.demo-copy h2 { color: #fff; }
.demo-copy > p { color: var(--muted-light); font-size: 1.05rem; }

.demo-points { display: grid; gap: 0.8rem; margin: 1.6rem 0 2rem; }
.demo-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #ccd4e2;
  font-size: 0.97rem;
}
.demo-points .icon {
  color: var(--volt);
  margin-top: 0.2rem;
  width: 20px;
  height: 20px;
}
.demo-alt { font-size: 0.9rem; color: var(--muted-light); }
.demo-alt a { color: var(--volt); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.demo-alt a:hover { color: #ddff70; }
.demo-wa { color: #ccd4e2; font-variant-numeric: tabular-nums; }

.demo-form-wrap { position: relative; }
.demo-form, .form-success {
  background: var(--ink-panel);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lift);
}
.demo-form h3, .form-success h3 { font-size: 1.35rem; color: #fff; margin-bottom: 1.2rem; }

.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field label {
  font-size: 0.84rem;
  font-weight: 650;
  color: #d5dce8;
}
.field label span { color: var(--volt); }
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-light);
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa4ba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.field select:invalid { color: var(--muted-light); }
.field select option { color: var(--text-light); background: var(--ink-800); }
.field input::placeholder { color: #5c6880; }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(200, 241, 53, 0.18);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #e5604c;
  box-shadow: 0 0 0 3px rgba(229, 96, 76, 0.15);
}
.field-hint { font-size: 0.76rem; color: var(--muted-light); margin: 0; }
.field-error { font-size: 0.8rem; color: #ff9d8d; font-weight: 550; margin: 0; }

.form-consent { font-size: 0.78rem; color: var(--muted-light); margin: 0.2rem 0 1.1rem; }
.form-fallback { font-size: 0.8rem; color: var(--muted-light); margin: 1rem 0 0; }
.form-fallback a { color: var(--volt); text-decoration: underline; text-underline-offset: 3px; }

.form-success { text-align: center; }
.success-ico {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 241, 53, 0.14);
  border: 1px solid rgba(200, 241, 53, 0.4);
  color: var(--volt);
  margin-bottom: 1.2rem;
}
.success-ico .icon { width: 30px; height: 30px; }
.form-success p { color: var(--muted-light); font-size: 0.95rem; max-width: 26rem; margin-inline: auto; }
.form-success .btn { margin-top: 1.2rem; }
.form-success .link-btn { display: block; margin: 1.1rem auto 0; }

/* ==========================================================================
   9. FAQ (light)
   ========================================================================== */
.faq {
  background: var(--paper);
  padding: var(--section-pad) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro h2 { color: var(--text-dark); }
.faq-intro p { font-size: 1rem; }

.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover { border-color: #cdd6bf; }
.faq-item.open {
  border-color: var(--volt-deep);
  box-shadow: 0 18px 44px -30px rgba(93, 125, 0, 0.5);
}
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: start;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.014em;
  color: var(--text-dark);
}
.faq-btn .chev {
  color: var(--volt-link);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq-item.open .chev { transform: rotate(180deg); }
.faq-panel { padding: 0 1.3rem 1.25rem; animation: panelIn 0.35s var(--ease); }
.faq-panel p { color: var(--muted-dark); font-size: 0.95rem; margin: 0; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   10. FOOTER (dark)
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  border-top: 1px solid var(--line-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.8rem;
}
.footer-brand .footer-line {
  color: var(--muted-light);
  font-size: 0.92rem;
  max-width: 24rem;
  margin: 1.1rem 0 1.4rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  color: var(--muted-light);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--volt);
  border-color: rgba(200, 241, 53, 0.4);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d97ab;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.65rem; font-size: 0.92rem; }
.footer-col a {
  color: #c6cfdd;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--volt); }
.footer-col li { display: flex; gap: 0.55rem; align-items: flex-start; color: #c6cfdd; }
.footer-col .icon { color: var(--muted-light); margin-top: 0.2rem; width: 17px; height: 17px; }
.city-todo { font-style: normal; color: #6b7588; font-size: 0.82em; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding: 1.3rem 0 1.6rem;
  font-size: 0.84rem;
  color: #8d97ab;
}
.footer-tag { margin: 0; }

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.mobile-cta {
  display: none;
}
@media (max-width: 720px) {
  .mobile-cta {
    display: block;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 55;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .mobile-cta.show { transform: translateY(0); }
}

/* ==========================================================================
   SKIP LINK
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -100%;
  inset-inline-start: 1rem;
  z-index: 100;
  background: var(--volt);
  color: var(--ink-900);
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.9rem; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }
[data-reveal-delay="7"] { transition-delay: 0.56s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .dash { width: min(520px, 96%); }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-scene { min-height: 0; display: grid; justify-items: center; }
  .dash {
    position: relative;
    inset: auto;
    top: auto;
    width: min(560px, 100%);
    order: 2;
    margin-top: 1.2rem;
    transform: none;
  }
  .phone {
    position: relative;
    inset: auto;
    order: 1;
    transform: none;
    width: min(280px, 88%);
  }
  .float-card { position: relative; inset: auto; }
  .chat { order: 3; margin-top: 1.2rem; max-width: 340px; }
  .checkin { display: none; }
  .visual-caption { text-align: center; }

  .how-grid, .region-grid, .demo-grid, .faq-grid { grid-template-columns: 1fr; }
  .how-side { position: static; }
  .how-photo { order: 2; }
  .frontdesk { order: 1; }
  .faq-intro { position: static; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 72px; } /* room for the sticky CTA bar */

  .hero { padding-top: 2.6rem; }
  .hero-copy h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  .hero-ctas .btn { flex: 1 1 auto; }

  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dname { min-width: 0; }
  .dplan, .dqr { display: none; }
  .dash-head { gap: 0.6rem; }
  .dash-hi { font-size: 0.9rem; }
  .dash-pill { display: none; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .benefit-grid, .feature-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 1.2rem; padding-block: 1.3rem; }
  .region-collage { grid-template-rows: repeat(4, 42px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 2rem); }
  .brand-name { font-size: 0.95rem; }
  .phone { width: 100%; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
}

/* ==========================================================================
   FLAGSHIP FEATURES (owner directive 2026-11-09 22:49)
   Biometric & QR check-in · WhatsApp engagement · Membership plan management
   lead the features grid as dominant cards with the volt-lime accent
   treatment; every other card keeps the standard glass treatment.
   ========================================================================== */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(3rem, 7vw, 4.5rem);
}

.feature.flagship {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2rem 2.3rem;
  border-color: rgba(200, 241, 53, 0.42);
  background: linear-gradient(168deg, rgba(200, 241, 53, 0.1), rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(200, 241, 53, 0.1),
    0 20px 55px -26px rgba(200, 241, 53, 0.32),
    var(--shadow-lift);
}

/* soft volt spotlight washing the top corner */
.feature.flagship::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(115% 90% at 88% -10%, rgba(200, 241, 53, 0.17), rgba(200, 241, 53, 0) 58%);
  pointer-events: none;
}
.feature.flagship > * { position: relative; }

.feature.flagship:hover,
.feature.flagship:focus-within {
  transform: translateY(-8px);
  border-color: rgba(200, 241, 53, 0.68);
  background: linear-gradient(168deg, rgba(200, 241, 53, 0.13), rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(200, 241, 53, 0.18),
    0 26px 70px -26px rgba(200, 241, 53, 0.42),
    var(--shadow-lift);
}

.feature.flagship .flagship-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-900);
  background: var(--volt);
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px -8px rgba(200, 241, 53, 0.6);
}

.feature.flagship .feature-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(200, 241, 53, 0.16);
  border-color: rgba(200, 241, 53, 0.42);
  margin-bottom: 1.35rem;
}
.feature.flagship .feature-ico .icon { width: 26px; height: 26px; }

.feature.flagship h3 {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-bottom: 0.5em;
}
.feature.flagship p {
  font-size: 1rem;
  line-height: 1.65;
  color: #c4cee0;
  margin: 0;
}

@media (max-width: 1080px) {
  .flagship-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .feature.flagship { padding: 1.9rem 1.7rem 2rem; }
  .feature.flagship p { max-width: 56ch; }
}

/* groups now hold 3 and 6 cards — rows of three keep the rhythm tidy */
.feature-group .feature-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) {
  .feature-group .feature-grid { grid-template-columns: repeat(2, 1fr); }
  /* an odd trailing card fills the row instead of sitting alone */
  .feature-group .feature-grid .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .feature-group .feature-grid { grid-template-columns: 1fr; }
}
