@charset "UTF-8";
/* 1) Global box-sizing so inputs don't overflow their cells */
/* 2) Make the two columns truly independent and allow shrinking */
.form-grid.fs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 16px;
  grid-auto-rows: min-content;
}

/* 3) Prevent long content from forcing columns wider than their track */
.form-grid.fs > div {
  min-width: 0;
}

/* 4) Explicitly keep controls inside their boxes */
.overlay *, .overlay *::before, .overlay *::after {
  box-sizing: border-box;
}
.overlay input, .overlay select, .overlay textarea {
  width: 100%;
  box-sizing: border-box; /* redundant after (1), but safe */
}

/* ===================== THEME ===================== */
:root {
  --bg-1:#0b0f15;
  --bg-2:#0f1420;
  --bg-3:#121a2a; /* layered dark */
  --ink:#e7eef7;
  --muted:#a8b2c2;
  --line:rgba(255,255,255,.12);
  --cyan:#4fd2ff;
  --mag:#d676ff;
  --blue:#4da3ff;
  --lime:#6dffa8;
  --btn-from:#76e4ff;
  --btn-to:#2bb9ff;
  --btn-txt:#031521;
  --chrome-1:#f6f7fb;
  --chrome-2:#cdd5e0;
  --chrome-3:#8c95a4;
  --chrome-4:#e4ebf4;
  --glass:rgba(255,255,255,.06);
  --radius:20px;
  --radius-xl:28px;
  --shadow-1: 0 18px 60px rgba(0,0,0,.45);
  --shadow-2: 0 6px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ===================== BASE ===================== */
html {
  background: rgb(11, 15, 21);
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1100px 700px at 85% 10%, rgba(80, 120, 255, 0.1), transparent 60%) fixed no-repeat, radial-gradient(900px 700px at 15% 90%, rgba(236, 118, 255, 0.08), transparent 60%) fixed no-repeat, linear-gradient(180deg, var(--bg-1), var(--bg-2)) fixed no-repeat;
  overflow-x: hidden;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.9), rgba(12, 16, 24, 0.55));
  backdrop-filter: blur(10px) saturate(130%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg {
  filter: drop-shadow(0 8px 24px rgba(80, 120, 255, 0.25));
}

.brand b {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img {
  max-width: 175px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

/* ===================== GENERIC BUTTON ===================== */
.btn {
  --r:16px;
  --h:50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border-radius: var(--r);
  border: 0;
  cursor: pointer;
  letter-spacing: 0.2px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--btn-from), var(--btn-to));
  color: var(--btn-txt);
  box-shadow: 0 14px 34px rgba(43, 185, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--r) + 2px);
  background: conic-gradient(from 120deg, rgba(79, 210, 255, 0), rgba(214, 118, 255, 0.35), rgba(79, 210, 255, 0));
  filter: blur(8px);
  opacity: 0.85;
  z-index: -1;
}

.btn.secondary {
  background: linear-gradient(180deg, #f0f4fb, #cfd7e3);
  color: #0a1016;
  box-shadow: 0 14px 30px rgba(180, 192, 210, 0.28);
}

.btn:active {
  transform: translateY(0);
}

/* ===================== HERO ===================== */
header.hero {
  position: relative;
  padding: clamp(70px, 10vw, 140px) 0 50px;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: min(6vw, 64px);
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

h1 {
  margin: 14px 0 8px;
  line-height: 51px;
  font-size: 40px;
}

.highlight {
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
}

.hero-card {
  padding: 24px 20px;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}

.hero-li {
  display: flex;
  gap: 12px;
  font-style: italic;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #7dffcf, #3ed892);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.usp {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  font-weight: 700;
  color: var(--muted);
}

/* ===================== HERO CTA (single definitive style) ===================== */
header.hero .btn {
  text-transform: uppercase;
  font-size: 16px;
  text-shadow: 2px 2px 2px #000000;
  --h:58px;
  --r:999px;
  height: var(--h);
  padding: 0 32px;
  border-radius: var(--r);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  box-shadow: 0 8px 24px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  isolation: isolate;
}

header.hero .btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.25s ease;
  z-index: -1;
}

header.hero .btn::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translateX(0);
  transition: transform 0.25s ease;
}

header.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 210, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

header.hero .btn:hover::before {
  opacity: 0.7;
}

header.hero .btn:hover::after {
  transform: rotate(-45deg) translateX(4px);
}

header.hero .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

/* ===================== ISOMETRIC EMBLEM ===================== */
.iso-wrap {
  aspect-ratio: 1/1;
  max-width: 560px;
  margin-inline: auto;
  perspective: 1000px;
}

.iso {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-28deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.iso .plate {
  position: absolute;
  inset: 0;
  border-radius: 36% 48% 42% 50%/44% 40% 56% 48%;
  background: radial-gradient(110% 110% at 30% 18%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%), linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 40%), linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.04));
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px) saturate(140%);
}

.iso .core {
  position: absolute;
  inset: 12%;
  border-radius: 34% 46% 38% 48%/42% 38% 52% 46%;
  background: radial-gradient(80% 100% at 40% 20%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 50%), linear-gradient(200deg, #0b1421, #0d121a 40%, #171a22);
  box-shadow: inset 0 -2px 22px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.iso .chrome-edge {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, var(--chrome-1), var(--chrome-2) 35%, var(--chrome-3) 55%, var(--chrome-4));
  -webkit-mask: radial-gradient(80% 80% at 50% 50%, black 56%, transparent 58%);
  mask: radial-gradient(80% 80% at 50% 50%, black 56%, transparent 58%);
  opacity: 0.75;
  filter: blur(0.6px);
}

.iso .specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  mix-blend-mode: screen;
  opacity: 0.75;
  background: radial-gradient(60% 30% at 25% 10%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 60%), radial-gradient(45% 25% at 60% 80%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 50%);
}

.iso-float {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
/* ===================== SECTIONS ===================== */
section {
  padding: 80px 0 70px;
}

.h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  margin: 0 0 10px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-2);
}

.card {
  text-align: center;
  /* stagger animations for each icon */
}
.card:nth-child(1) .image img {
  animation-delay: 0s;
}
.card:nth-child(2) .image img {
  animation-delay: 1s;
}
.card:nth-child(3) .image img {
  animation-delay: 0.5s;
}
.card .image img {
  animation: floatGlowPremium 3s ease-in-out infinite;
  display: block;
  max-width: 130px;
  margin: 0 auto;
  transform-style: preserve-3d;
}

@keyframes floatGlowPremium {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 6px rgba(0, 153, 255, 0.5));
  }
  50% {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 0 18px rgba(0, 153, 255, 0.9));
  }
}
/* ===================== TABLE ===================== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

th, td {
  padding: 16px 14px;
  text-align: left;
}

thead th {
  background: rgba(255, 255, 255, 0.07);
}

tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===================== FAQ ===================== */
.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

/* ===================== CTA ===================== */
.cta {
  background: linear-gradient(90deg, rgba(79, 210, 255, 0.18), rgba(214, 118, 255, 0.18));
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-1);
}

/* ===================== APPLY (FULL-SCREEN MODAL) ===================== */
.overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
  background: rgba(2, 6, 12, 0.55);
  backdrop-filter: blur(8px) saturate(120%);
}

.overlay[open] {
  display: block;
}

.panel.panel-full {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: radial-gradient(1400px 800px at 85% 10%, rgba(80, 120, 255, 0.1), transparent 60%), radial-gradient(1000px 800px at 15% 90%, rgba(236, 118, 255, 0.08), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(14px, 4vw, 28px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.9), rgba(12, 16, 24, 0.55));
  position: sticky;
  top: 0;
  z-index: 1;
}

.panel-header h3 {
  margin: 0;
}

.icon-close {
  font-size: 28px;
  line-height: 1;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(2, 8, 16, 0.45);
  color: var(--ink);
  cursor: pointer;
}

.panel-body {
  overflow: auto;
  flex: 1;
  padding: clamp(18px, 4vw, 40px) 0;
}

.sheet {
  width: min(860px, 94vw);
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  padding: clamp(16px, 3vw, 28px);
}

.sheet-sub {
  margin: 4px 0 14px;
  color: var(--muted);
}

.sheet-actions {
  justify-content: flex-end;
  padding-top: 6px;
}

.sheet-foot {
  margin: 6px 0 0;
}

/* Form grid + inputs */
.form-grid.fs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.form-grid.fs .full {
  grid-column: 1/-1;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(2, 8, 16, 0.55);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 4px rgba(79, 210, 255, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 840px) {
  .form-grid.fs {
    grid-template-columns: 1fr;
  }
}
/* ===================== ANIMATIONS ON SCROLL ===================== */
[data-anim] {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
}

[data-anim].in {
  opacity: 1;
  transform: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .usp {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iso-float, .btn::after {
    animation: none;
  }
  [data-anim] {
    transition: none;
  }
}
/* ===== RIGHT SIDE OFFER CARD ===== */
.sidecard {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.sidecard-gloss {
  position: absolute;
  inset: -40% -40% auto -40%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 10%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}

.sidecard-ring {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 120deg, rgba(79, 210, 255, 0.4), rgba(214, 118, 255, 0.4), rgba(79, 210, 255, 0.4));
  -webkit-mask: radial-gradient(95% 95% at 50% 50%, transparent 58%, black 60%);
  mask: radial-gradient(95% 95% at 50% 50%, transparent 58%, black 60%);
  filter: blur(12px);
  opacity: 0.5;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, rgba(79, 210, 255, 0.22), rgba(214, 118, 255, 0.22));
  border: 1px solid var(--line);
  color: var(--ink);
  width: max-content;
}

.sidecard-title {
  font-size: clamp(20px, 2vw, 26px);
  margin: 4px 0 0;
  line-height: 1.15;
}

.sidecard-title span {
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sidecard-list {
  margin: 6px 0 4px;
  padding-left: 18px;
  color: var(--muted);
}

.sidecard-list li {
  margin: 6px 0;
}

.sidecard-btn {
  align-self: flex-start;
}

.sidecard-friction {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .sidecard {
    min-height: auto;
  }
}
.sidecard[data-anim] img {
  animation: floatGlow 4s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 6px rgba(0, 153, 255, 0.5));
  }
  50% {
    transform: translateY(-8px) scale(1.04);
    filter: drop-shadow(0 0 18px rgba(0, 153, 255, 0.9));
  }
}
.btn-relative {
  justify-content: flex-start;
}

/* NAV LINKS */
.nav-links a {
  color: #fff; /* force white text */
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

/* APPLY NOW button in nav (match hero button style) */
.nav-links .btn {
  text-transform: uppercase;
  text-shadow: 2px 2px 2px #000000;
  font-size: 15px;
  --h:48px;
  --r:999px;
  height: var(--h);
  padding: 0 26px;
  border-radius: var(--r);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  box-shadow: 0 8px 24px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  position: relative;
  isolation: isolate;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.nav-links .btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.25s ease;
  z-index: -1;
}

.nav-links .btn::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translateX(0);
  transition: transform 0.25s ease;
}

.nav-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 210, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.nav-links .btn:hover::before {
  opacity: 0.7;
}

.nav-links .btn:hover::after {
  transform: rotate(-45deg) translateX(4px);
}

.kpis {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--line);
}

.kpis-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 18px 0;
}

.kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  text-align: center;
  position: relative;
}

.kpi:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: var(--line);
}

.kpi .num {
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1;
}

.kpi .label {
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .kpis-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }
  .kpi:not(:last-child)::after {
    display: none;
  }
}
.friction-remover {
  margin-top: 10px;
  font-size: 15px;
}
.friction-remover img {
  max-width: 16px;
  vertical-align: middle;
}

.btn-relative {
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.section-item .btn-relative {
  display: flex;
  padding-top: 50px;
  justify-content: center;
  align-items: center;
}

.section-item .btn {
  text-transform: uppercase;
  font-size: 16px;
  text-shadow: 2px 2px 2px #000000;
  --h:58px;
  --r:999px;
  height: var(--h);
  padding: 0 32px;
  border-radius: var(--r);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  box-shadow: 0 8px 24px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  isolation: isolate;
}

.section-item .btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.25s ease;
  z-index: -1;
}

.section-item .btn::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translateX(0);
  transition: transform 0.25s ease;
}

.section-item .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 210, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.section-item .btn:hover::before {
  opacity: 0.7;
}

.section-item .btn:hover::after {
  transform: rotate(-45deg) translateX(4px);
}

.section-item .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

/* ===== REVIEWS ===== */
.reviews-grid {
  margin-top: 12px;
}

.review-card .g {
  filter: invert(1);
}

.review-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card .rev-title {
  font-size: 1.05rem;
  margin: 4px 0 2px;
}

.review-card .rev-text {
  color: var(--muted);
  margin: 0 0 6px;
}

.review-card .rev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.rev-name {
  font-weight: 800;
}

.rev-source .g {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

/* Stars — gradient fill to match brand */
.stars {
  display: flex;
  gap: 6px;
}

.star {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: url(#starGrad);
  filter: drop-shadow(0 2px 6px rgba(79, 210, 255, 0.35));
}

/* paint once, reuse everywhere */
#starGrad, .star-grad-defs {
  display: none;
}

/* Stars */
.stars svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 2px 6px rgba(79, 210, 255, 0.35));
}

.star-fill {
  fill: url(#starGrad);
}

.star-bg {
  fill: rgba(255, 255, 255, 0.12);
}

.stars {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.star {
  width: 20px;
  height: 20px;
  fill: url(#reviewStarGrad);
  filter: drop-shadow(0 2px 6px rgba(79, 210, 255, 0.35));
}

.benefits-h2 {
  text-align: center;
  padding-bottom: 25px;
}

.cta .btn {
  text-transform: uppercase;
  font-size: 16px;
  text-shadow: 2px 2px 2px #000000;
  --h:58px;
  --r:999px;
  height: var(--h);
  padding: 0 32px;
  border-radius: var(--r);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  box-shadow: 0 8px 24px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  isolation: isolate;
}

.cta .btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.25s ease;
  z-index: -1;
}

.cta .btn::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translateX(0);
  transition: transform 0.25s ease;
}

.cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 210, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.cta .btn:hover::before {
  opacity: 0.7;
}

.cta .btn:hover::after {
  transform: rotate(-45deg) translateX(4px);
}

.cta .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.sheet-actions .btn {
  text-transform: uppercase;
  font-size: 14px;
  text-shadow: 2px 2px 2px #000000;
  --h:58px;
  --r:999px;
  height: var(--h);
  padding: 0 32px;
  border-radius: var(--r);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  border: 0;
  cursor: pointer;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  box-shadow: 0 8px 24px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  isolation: isolate;
}

.sheet-actions .btn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.25s ease;
  z-index: -1;
}

.sheet-actions .btn::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) translateX(0);
  transition: transform 0.25s ease;
}

.sheet-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 210, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.sheet-actions .btn:hover::before {
  opacity: 0.7;
}

.sheet-actions .btn:hover::after {
  transform: rotate(-45deg) translateX(4px);
}

.sheet-actions .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 210, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

/* ===== PREMIUM MOTION KIT v2 ===== */
/* Sections: aurora + spotlight + scroll-scrubbed depth */
section[data-anim], header.hero {
  position: relative;
  overflow: clip;
}

section[data-anim]::before,
header.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(1200px 600px at 25% -10%, rgba(79, 210, 255, 0.1), transparent 60%), radial-gradient(900px 800px at 120% 120%, rgba(214, 118, 255, 0.08), transparent 60%), radial-gradient(900px 700px at -10% 120%, rgba(109, 255, 168, 0.05), transparent 60%);
  filter: blur(18px) saturate(120%);
  opacity: clamp(0, 0.12 + 0.35 * var(--reveal, 0), 0.4);
  transform: translate3d(0, calc((1 - var(--reveal, 0)) * 18px), 0);
  pointer-events: none;
}

section[data-anim]::after,
header.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(180px 140px at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: overlay;
  opacity: calc(0 + 0.55 * var(--reveal, 0));
  transition: opacity 0.3s ease;
}

/* Cards: scroll-scrubbed 3D rise + neon edge that blooms on entry */
.grid-3 .card {
  transform-origin: 50% 80%;
  transform: translateY(calc((1 - var(--reveal, 0)) * 28px)) rotateX(calc((1 - var(--reveal, 0)) * 6deg)) scale(calc(0.98 + 0.02 * var(--reveal, 0)));
  opacity: calc(0.35 + 0.65 * var(--reveal, 0));
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

header.hero .btn-relative {
  padding-left: 25px;
}

/* Card icon/illustration: premium float + depth glow (async) */
.card .image img {
  display: block;
  margin: 0 auto;
  max-width: 130px;
  transform-style: preserve-3d;
  transform: translateY(calc((1 - var(--reveal, 0)) * 14px)) scale(calc(1 + 0.02 * var(--reveal, 0)));
  filter: drop-shadow(0 6px calc(8px + 10px * var(--reveal, 0)) rgba(79, 210, 255, 0.35)) drop-shadow(0 0 calc(4px + 10px * var(--reveal, 0)) rgba(214, 118, 255, 0.25));
  animation: iconDrift 6s ease-in-out infinite;
}

.card:nth-child(2) .image img {
  animation-delay: 0.7s;
}

.card:nth-child(3) .image img {
  animation-delay: 1.4s;
}

@keyframes iconDrift {
  0%, 100% {
    transform: translateY(calc((1 - var(--reveal, 0)) * 14px)) scale(calc(1 + 0.02 * var(--reveal, 0)));
  }
  50% {
    transform: translateY(calc(-6px + (1 - var(--reveal, 0)) * 4px)) scale(calc(1.04 + 0.02 * var(--reveal, 0)));
  }
}
/* Headline: one-time soft bloom */
[data-anim].in > .h2 {
  animation: headingBloom 1000ms ease 0.1s both;
}

@keyframes headingBloom {
  0% {
    text-shadow: 0 0 0 rgba(79, 210, 255, 0);
  }
  40% {
    text-shadow: 0 2px 18px rgba(79, 210, 255, 0.28), 0 2px 28px rgba(214, 118, 255, 0.2);
  }
  100% {
    text-shadow: none;
  }
}
/* KPI strip: classy sweep, numbers roll via JS */
.kpis {
  position: relative;
  overflow: clip;
}

.kpis.in::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 80%);
  animation: kpiSheen 1200ms cubic-bezier(0.22, 0.8, 0.25, 1) both;
}

@keyframes kpiSheen {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(50%);
  }
}
/* Review stars: high-end micro twinkle */
#reviews .stars .star {
  animation: starTwinkle 3.2s ease-in-out infinite;
  transform-origin: 50% 50%;
}

#reviews .stars .star:nth-child(2) {
  animation-delay: 0.5s;
}

#reviews .stars .star:nth-child(3) {
  animation-delay: 0.2s;
}

#reviews .stars .star:nth-child(4) {
  animation-delay: 0.8s;
}

#reviews .stars .star:nth-child(5) {
  animation-delay: 0.35s;
}

@keyframes starTwinkle {
  0%, 100% {
    filter: drop-shadow(0 2px 6px rgba(79, 210, 255, 0.35));
    transform: scale(1);
  }
  42% {
    filter: drop-shadow(0 3px 10px rgba(214, 118, 255, 0.55));
    transform: scale(1.08);
  }
}
/* Magnetic CTAs: gradient angle reacts to pointer */
.btn {
  --angle: 90deg; /* default; JS updates on hover */
  background: linear-gradient(var(--angle), var(--cyan), var(--mag)) !important;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.2s ease;
}

.btn:hover {
  box-shadow: 0 12px 28px rgba(79, 210, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  section[data-anim]::before,
  section[data-anim]::after,
  header.hero::before,
  header.hero::after,
  .grid-3 .card, .card .image img,
  #reviews .stars .star,
  .kpis::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
/* ===== APPLY (FULL-SCREEN) — POLISH ===== */
.panel.panel-full {
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.92), rgba(12, 16, 24, 0.88)); /* higher contrast */
}

.panel-header {
  padding: 14px clamp(14px, 4vw, 28px);
  height: 64px;
  backdrop-filter: blur(8px);
}

.icon-close {
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.icon-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* center content and tighten spacing */
.panel-body {
  display: grid;
  place-items: start center;
  padding: clamp(20px, 5vw, 48px) 0;
}

/* card */
.sheet {
  width: min(820px, 94vw);
  border-radius: 24px;
  background: rgba(18, 24, 36, 0.82); /* darker, cleaner */
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.sheet-sub {
  color: var(--muted);
  margin: 2px 0 16px;
}

/* grid */
.form-grid.fs {
  gap: 16px;
}

.form-grid.fs .full {
  grid-column: 1/-1;
}

/* controls */
label {
  display: block;
  margin: 0 0 6px;
  color: var(--chrome-3);
  font-weight: 600;
}

input, select, textarea {
  height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #eaf1fb;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  height: auto;
  min-height: 120px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' stroke='white' stroke-opacity='.8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 42px;
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(79, 210, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(79, 210, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  background: rgba(255, 255, 255, 0.05);
}

/* invalid state */
input:invalid, select:invalid {
  border-color: rgba(255, 99, 132, 0.55);
}

/* actions */
.sheet-actions {
  gap: 10px;
  justify-content: flex-end;
  padding-top: 10px;
}

.sheet .btn {
  --h:52px;
}

.sheet .btn.secondary {
  background: linear-gradient(180deg, #f0f4fb, #cfd7e3) !important;
  color: #0a1016;
  box-shadow: 0 8px 24px rgba(180, 192, 210, 0.22);
}

/* mobile */
@media (max-width: 840px) {
  .form-grid.fs {
    grid-template-columns: 1fr;
  }
  .panel-body {
    padding: 14px 0 24px;
  }
  .sheet {
    border-radius: 20px;
  }
}
@media (max-width: 920px) {
  .form-grid.fs {
    grid-template-columns: 1fr;
  }
}
/* Default state (neutral) */
#applyForm input:invalid,
#applyForm select:invalid,
#applyForm textarea:invalid {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

/* Show red while focused AND invalid */
#applyForm input:focus:invalid,
#applyForm select:focus:invalid,
#applyForm textarea:focus:invalid {
  border-color: rgba(255, 99, 132, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 99, 132, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* Keep red after blur only if the user touched it and it's still invalid */
#applyForm .touched:invalid {
  border-color: rgba(255, 99, 132, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 99, 132, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* ============= MOBILE POLISH PACK ============= */
/* Safer tap & system areas */
:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html, body {
  -webkit-tap-highlight-color: transparent;
}

/* Base container breathing room on phones */
@media (max-width: 480px) {
  .container {
    width: min(600px, 94vw);
  }
}
/* ---------- Nav: keep brand + CTA, hide section links ---------- */
@media (max-width: 820px) {
  .nav-inner {
    padding: 10px 0;
  }
  .brand img {
    width: 140px;
    height: auto;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-links a {
    display: none;
  } /* hide text links on mobile */
  .nav-links .btn {
    --h: 44px;
    font-size: 14px;
    padding: 0 18px;
  }
}
/* ---------- Hero: single column, clearer hierarchy ---------- */
@media (max-width: 980px) {
  header.hero {
    padding: 56px 0 28px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 480px) {
  .eyebrow {
    justify-content: center;
    font-size: 0.7rem;
  }
  h1 {
    margin: 25px 0 50px;
    font-size: clamp(24px, 7.6vw, 30px);
    line-height: 1.18;
    text-align: center;
  }
  .hero-card {
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 12px;
    margin-bottom: 25px;
  }
  .hero-li {
    font-size: 14.8px;
  }
  header.hero .btn {
    width: 100%;
  } /* full-width CTA */
  header.hero .btn-relative {
    display: grid;
    gap: 8px;
    align-items: stretch;
    justify-items: stretch;
    padding-left: 0;
  }
  .friction-remover {
    text-align: center;
    font-size: 14px;
  }
  .sidecard img {
    display: block;
    width: min(88vw, 420px);
    margin: 4px auto 0;
  }
}
/* ---------- KPI strip: readable, 2-up on phones ---------- */
@media (max-width: 980px) {
  .kpis-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 10px;
  }
  .kpi:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .kpi .num {
    font-size: clamp(17px, 5.2vw, 22px);
  }
  .kpi .label {
    font-size: 0.9rem;
  }
}
/* ---------- Sections & cards spacing ---------- */
@media (max-width: 480px) {
  section {
    padding: 40px 0 34px;
  }
  section.kpis {
    text-align: center;
  }
  .h2 {
    font-size: clamp(22px, 6.4vw, 28px);
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 18px;
    border-radius: 16px;
  }
}
/* ---------- Reviews: single column, compact meta ---------- */
@media (max-width: 640px) {
  #reviews .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-card .rev-title {
    font-size: 1rem;
  }
  .review-card .rev-footer {
    gap: 10px;
  }
}
/* ---------- Comparison table: scrollable on small screens ---------- */
#compare table {
  border-radius: 14px;
}

@media (max-width: 760px) {
  #compare table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border-radius: 14px;
  }
  #compare thead th {
    position: sticky;
    left: 0;
    background: rgba(255, 255, 255, 0.07);
  }
  #compare th, #compare td {
    min-width: 140px;
  }
}
/* ---------- CTA block: stack & stretch ---------- */
@media (max-width: 640px) {
  .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cta .btn {
    width: 100%;
  }
}
/* ---------- Footer: center & wrap nicely ---------- */
@media (max-width: 640px) {
  footer .container > div {
    width: 100%;
    justify-content: center !important;
    text-align: center;
    gap: 6px;
  }
}
/* ---------- Full-screen form: true 1-column, no overflow, touch sizes ---------- */
@media (max-width: 900px) {
  .form-grid.fs {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .form-grid.fs .full {
    grid-column: 1/-1;
  }
}
@media (max-width: 480px) {
  .panel-body {
    padding: 18px 0 calc(18px + var(--safe-bottom));
  }
  .sheet {
    width: min(700px, 94vw);
    border-radius: 18px;
  }
  #applyForm label {
    font-size: 0.9rem;
  }
  #applyForm input,
  #applyForm select,
  #applyForm textarea {
    height: 50px; /* 48px+ touch target */
    font-size: 16px; /* iOS zoom prevention */
    padding: 12px 14px;
  }
  #applyForm textarea {
    height: auto;
    min-height: 120px;
  }
  .sheet-actions {
    padding-top: 6px;
  }
  .sheet-actions .btn {
    --h: 48px;
    width: 100%;
  }
}
/* ---------- Motion sanity on touch devices ---------- */
@media (hover: none) {
  .btn {
    transform: none !important;
  }
}
/* Keep existing invalid/touched logic; add subtle success feel */
#applyForm input:valid,
#applyForm select:valid {
  border-color: rgba(109, 255, 168, 0.4);
  box-shadow: 0 0 0 2px rgba(109, 255, 168, 0.16);
}

/* ===== Comparison table: mobile fix ===== */
@media (max-width: 760px) {
  #compare {
    position: relative;
  }
  #compare::before {
    content: "Swipe →";
    position: absolute;
    right: 6px;
    top: -20px;
    font-size: 12px;
    color: var(--muted);
  }
  #compare table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border-radius: 14px;
    border: 1px solid var(--line);
    scroll-snap-type: x mandatory;
    /* soft edges while scrolling */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  /* Keep table layout semantics while allowing scroll */
  #compare thead, #compare tbody, #compare tr {
    display: table;
    width: max-content;
    table-layout: fixed;
  }
  #compare th, #compare td {
    padding: 12px 10px;
    font-size: 14px;
    min-width: 132px;
  }
  #compare th:first-child, #compare td:first-child {
    min-width: 170px;
    white-space: normal;
  }
  /* Sticky feature (first) column */
  #compare th:first-child,
  #compare td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: rgba(12, 16, 24, 0.92);
    backdrop-filter: blur(6px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 8px 0 12px rgba(0, 0, 0, 0.25);
  }
  /* Optional sticky header row */
  #compare thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(6px);
  }
  /* Center competitor columns; keep feature labels left */
  #compare td:not(:first-child), #compare th:not(:first-child) {
    text-align: center;
  }
  /* Highlight Monoclean column (2nd) */
  #compare thead th:nth-child(2),
  #compare tbody td:nth-child(2) {
    background: rgba(79, 210, 255, 0.1);
  }
  /* Row zebra + snap */
  #compare tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.03);
  }
  #compare tbody tr {
    scroll-snap-align: start;
  }
}
/* --- Submit button states --- */
.btn[disabled] {
  opacity: 0.9;
  cursor: not-allowed;
}

.btn .spinner {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn .check {
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
  transform: scale(0.8);
  animation: pop 0.28s ease-out forwards;
}

@keyframes pop {
  from {
    transform: scale(0.8);
    opacity: 0.3;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ===================== POLICY MODALS (Privacy & Terms) ===================== */
/* Center the dialog instead of full-screen; keep backdrop from .overlay */
#privacy[open],
#terms[open] {
  display: flex; /* override display:block from .overlay[open] */
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
}

/* Turn the inner panel into a glassy dialog with a readable width */
#privacy .panel-full,
#terms .panel-full {
  position: relative; /* override fixed/inset from .panel-full */
  inset: auto;
  width: min(860px, 94vw);
  height: auto;
  max-height: min(80vh, 860px);
  margin: 0; /* centered by parent flex */
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 22, 33, 0.92), rgba(16, 22, 33, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px) saturate(120%);
}

/* Compact sticky header with centered title and a floating close button */
#privacy .panel-header,
#terms .panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  padding: 10px 48px; /* leave space for close btn */
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.95), rgba(12, 16, 24, 0.65));
  border-bottom: 1px solid var(--line);
}

#privacy .panel-header h3,
#terms .panel-header h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

#privacy .icon-close,
#terms .icon-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  font-size: 22px;
  line-height: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

#privacy .icon-close:hover,
#terms .icon-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Scrollable content area with comfortable reading rhythm */
#privacy .panel-body,
#terms .panel-body {
  padding: clamp(16px, 4vw, 28px);
  overflow: auto; /* respect max-height on panel */
  line-height: 1.7;
  color: var(--ink);
}

/* Typography & spacing (scoped) */
#privacy .panel-body p,
#terms .panel-body p {
  margin: 0 0 12px;
}

#privacy .panel-body h4,
#terms .panel-body h4 {
  margin: 22px 0 10px;
  font-size: 1.06rem;
  color: #dfe7f5;
  letter-spacing: 0.2px;
}

#privacy .panel-body strong,
#terms .panel-body strong {
  color: #fff;
}

/* First paragraph (“Last updated…”) style */
#privacy .panel-body p:first-child,
#terms .panel-body p:first-child {
  text-align: center;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Lists: tidy bullets with brand accent */
#privacy .panel-body ul,
#terms .panel-body ul {
  margin: 8px 0 14px;
  padding-left: 1.1em;
  list-style: none;
}

#privacy .panel-body li,
#terms .panel-body li {
  margin: 6px 0;
}

#privacy .panel-body li::before,
#terms .panel-body li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan), var(--mag));
  transform: translateY(1px);
}

/* Links inside docs */
#privacy .panel-body a,
#terms .panel-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Subtle custom scrollbar for long policies (WebKit) */
#privacy .panel-body::-webkit-scrollbar,
#terms .panel-body::-webkit-scrollbar {
  width: 10px;
}

#privacy .panel-body::-webkit-scrollbar-thumb,
#terms .panel-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Mobile tweaks */
@media (max-width: 540px) {
  #privacy .panel-full,
  #terms .panel-full {
    width: 96vw;
    max-height: 86vh;
    border-radius: 16px;
  }
  #privacy .panel-header,
  #terms .panel-header {
    height: 54px;
    padding: 8px 44px;
  }
  #privacy .icon-close,
  #terms .icon-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
}

/*# sourceMappingURL=style.css.map */
