/* ===========================================================
   EZBack — Aurora Glass wellness | Storytelling Landing v3
   Soft gradients · glass cards · rounded · light-dominant
   =========================================================== */

:root {
  --violet: #6b5ce7;
  --violet-soft: #ebe8ff;
  --violet-deep: #4a3db8;
  --coral: #ff6b6b;
  --coral-soft: #fff0f0;
  --coral-deep: #e84a4a;
  --mint: #3ecfaa;
  --mint-soft: #e8faf5;
  --sky: #eef4ff;
  --bg: #f6f8fc;
  --bg-alt: #ffffff;
  --ink: #1a2233;
  --ink-soft: #4a5568;
  --muted: #7b8798;
  --line: rgba(26, 34, 51, 0.08);
  --line-strong: rgba(26, 34, 51, 0.14);
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 4px 20px rgba(107, 92, 231, 0.06);
  --shadow-md: 0 16px 48px rgba(107, 92, 231, 0.12);
  --shadow-lg: 0 32px 80px rgba(26, 34, 51, 0.14);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 20px 60px rgba(107, 92, 231, 0.18);
  --radius-s: 14px;
  --radius: 22px;
  --radius-l: 32px;
  --radius-pill: 999px;
  --maxw: 1140px;
  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --aqua-deep: var(--violet-deep);
  --peach: var(--coral);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 8% -5%, rgba(107, 92, 231, 0.14), transparent 55%),
    radial-gradient(700px 500px at 92% 10%, rgba(255, 107, 107, 0.12), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(62, 207, 170, 0.1), transparent 55%),
    var(--bg);
  pointer-events: none;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h2 { font-size: clamp(1.75rem, 3.8vw, 2.65rem); }
h3 { font-size: clamp(1.18rem, 2.1vw, 1.48rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-deep);
  background: var(--violet-soft);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  flex-shrink: 0;
}

/* ---------- Promo ---------- */
.promo {
  background: linear-gradient(90deg, var(--violet-deep), var(--violet), var(--coral));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 18px;
  letter-spacing: 0.03em;
}
.promo b { color: #fff; font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 0 16px;
  max-width: calc(var(--maxw) + 32px);
  margin-inline: auto;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, top .3s;
}
.header.scrolled {
  top: 8px;
  box-shadow: var(--shadow-md);
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 8px 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--violet), var(--coral));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(107, 92, 231, 0.35);
}
.brand .logo svg { width: 20px; height: 20px; }
.brand b { font-weight: 800; }
.brand i { font-style: normal; color: var(--violet); }

.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: .2s;
}
.nav-links a:hover {
  color: var(--violet-deep);
  background: var(--violet-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .25s, filter .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), #ff8585);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.38);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(255, 107, 107, 0.45);
  filter: brightness(1.03);
}
.btn-ghost {
  background: var(--white);
  color: var(--violet-deep);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--violet);
  background: var(--violet-soft);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 0.98rem; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }

.breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--violet); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  margin: 18px 0 20px;
  line-height: 1.06;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--violet-deep), var(--coral));
  -webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero p.lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.badge svg { width: 16px; height: 16px; color: var(--violet); flex-shrink: 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 4px solid var(--white);
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin-inline: auto;
}
.hero-visual .frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(107, 92, 231, 0.25), transparent 65%);
  z-index: -1;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-visual .float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero-visual .float-card .dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fc-1 { bottom: 16px; left: -12px; }
.fc-1 .dot { background: var(--violet-soft); }
.fc-2 { top: 20px; right: -12px; }
.fc-2 .dot { background: var(--coral-soft); }
.hero-visual .float-card b { display: block; font-size: 0.9rem; }
.hero-visual .float-card small { color: var(--muted); font-size: 0.76rem; }
.hero-visual svg { width: 20px; height: 20px; }

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--violet);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 10px); }
}

.legal-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 36px 0 0;
  font-size: 0.87rem;
  color: var(--ink-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--violet);
}
.legal-note svg { width: 22px; height: 22px; color: var(--violet); flex-shrink: 0; margin-top: 2px; }
.legal-note .meta { display: block; margin-top: 8px; font-size: 0.76rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.04rem; }

.story {
  position: relative;
  padding: 0;
  border-top: 1px solid var(--line);
}
.story:nth-child(odd) .wrap { background: transparent; }
.story .wrap { padding: 72px 0; }

.story-grid { display: grid; grid-template-columns: 72px 1fr; gap: 36px; }
.story-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(160deg, var(--violet), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: sticky;
  top: 110px;
  height: fit-content;
  line-height: 1;
}
.story-body h2 { margin-bottom: 10px; }
.story-body > .eyebrow { margin-bottom: 18px; }
.story-body p { color: var(--ink-soft); margin-bottom: 18px; }
.story-body p:first-of-type { font-size: 1.06rem; color: var(--ink); }

.story-callout {
  background: linear-gradient(135deg, var(--violet-soft), var(--white));
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 8px 0 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border: 1px solid rgba(107, 92, 231, 0.15);
}
.story-callout.warn {
  background: linear-gradient(135deg, var(--coral-soft), var(--white));
  border-color: rgba(255, 107, 107, 0.2);
}

.story-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 4px;
}
.story-media.center {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 520px;
  margin-inline: auto;
}
.story-media.center figure {
  width: 100%;
}
.story-media.center img {
  aspect-ratio: auto;
  object-fit: contain;
}
.story-media figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.story-media figure:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.story-media img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.story-media figcaption {
  font-size: 0.76rem;
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 600;
  background: var(--bg-alt);
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--coral), var(--mint));
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.pillar::after { display: none; }
.pillar .ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--violet-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.pillar .ico svg { width: 26px; height: 26px; color: var(--violet-deep); }
.pillar .step {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pillar h3 { margin: 6px 0 10px; }
.pillar p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Benefits ---------- */
.benefits-wrap {
  background: linear-gradient(165deg, #1a2233 0%, #2d3560 50%, #1e2840 100%);
  color: #e8ecf4;
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.benefits-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 400px at 20% 30%, rgba(107, 92, 231, 0.25), transparent),
    radial-gradient(400px 300px at 80% 70%, rgba(255, 107, 107, 0.15), transparent);
  pointer-events: none;
}
.benefits-wrap > .wrap { position: relative; z-index: 1; }
.benefits-wrap .section-head h2,
.benefits-wrap .section-head p { color: #eef1f8; }
.benefits-wrap .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.benefits-wrap > .wrap > p { color: #a8b0c4 !important; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: .3s;
}
.benefit:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}
.benefit .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(107, 92, 231, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.benefit .ico svg { width: 22px; height: 22px; color: #a89cf5; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.benefit p { color: #b0b8cc; font-size: 0.91rem; }

/* ---------- Demo ---------- */
.demo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.demo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.demo-card:hover { box-shadow: var(--shadow-md); }
.demo-card .media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.demo-card .media img, .demo-card .media video { width: 100%; height: 100%; object-fit: cover; }
.demo-card .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-card .body { padding: 24px 26px; }
.demo-card h3 { margin-bottom: 8px; }
.demo-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Week ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  transition: .25s;
  box-shadow: var(--shadow-sm);
}
.day:hover {
  border-color: var(--violet);
  background: var(--violet-soft);
  transform: translateY(-4px);
}
.day .d {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}
.day .ico {
  width: 38px;
  height: 38px;
  margin: 10px auto 8px;
  border-radius: 12px;
  background: var(--mint-soft);
  display: grid;
  place-items: center;
}
.day .ico svg { width: 18px; height: 18px; color: var(--violet); }
.day p { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- Compare ---------- */
.compare {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.compare thead th {
  background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.compare thead th.hl { background: linear-gradient(135deg, var(--coral-deep), var(--coral)); }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare td.center, .compare th.center { text-align: center; }
.compare tbody tr:hover { background: var(--sky); }
.compare .yes { color: var(--mint); font-weight: 800; font-size: 1.15rem; }
.compare .no { color: #d0d5de; }
.compare .col-hl { background: rgba(107, 92, 231, 0.05); }

/* ---------- Before / After ---------- */
.beforeafter { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ba-card {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.ba-card:hover { box-shadow: var(--shadow-md); }
.ba-card .media { aspect-ratio: 4/3; overflow: hidden; }
.ba-card .media img, .ba-card .media video { width: 100%; height: 100%; object-fit: cover; }
.ba-card .label { padding: 20px 24px; }
.ba-card .label .pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ba-card .label .pill.before { background: var(--coral-soft); color: var(--coral-deep); }
.ba-card .label .pill.after { background: var(--mint-soft); color: #1a8a6a; }
.ba-card .label p { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

/* ---------- Price ---------- */
.price-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.price-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 92, 231, 0.06), rgba(255, 107, 107, 0.04));
  pointer-events: none;
}
.price-grid { display: grid; grid-template-columns: 1fr 0.88fr; position: relative; z-index: 1; }
.price-info { padding: 52px 48px; }
.price-info .eyebrow { background: var(--violet-soft); }
.price-info h2 { margin: 14px 0 16px; }
.price-info p { color: var(--muted); font-size: 1rem; max-width: 46ch; }
.price-list { margin-top: 24px; display: grid; gap: 12px; }
.price-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.price-list svg { width: 20px; height: 20px; color: var(--violet); flex-shrink: 0; }

.price-card {
  background: linear-gradient(160deg, var(--violet-deep), #3d3280);
  color: #fff;
  margin: 24px;
  border-radius: var(--radius-l);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.price-card .save {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-card .old { color: rgba(255, 255, 255, 0.55); text-decoration: line-through; font-size: 1.05rem; margin-top: 14px; }
.price-card .amount {
  font-family: var(--font-head);
  font-size: 3.5rem;
  line-height: 1;
  margin: 6px 0 8px;
  color: #fff;
}
.price-card .amount span { font-size: 1.15rem; color: rgba(255, 255, 255, 0.7); font-family: var(--font-body); }
.price-card .ship { font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.price-card .btn {
  margin-top: 22px;
  width: 100%;
  background: linear-gradient(135deg, var(--coral), #ff8585);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.price-card .guarantee { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); text-align: center; margin-top: 14px; }

/* ---------- Order ---------- */
.order-wrap {
  background: linear-gradient(180deg, var(--sky), var(--bg));
  border-top: 1px solid var(--line);
}
.order-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 40px; align-items: start; }
.order-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-md);
}
.order-summary h3 { margin-bottom: 18px; }
.summary-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.summary-row img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-s);
  object-fit: cover;
  border: 2px solid var(--line);
}
.summary-row .t b { display: block; }
.summary-row .t small { color: var(--muted); font-size: 0.82rem; }
.summary-row .p { margin-left: auto; font-weight: 800; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  font-weight: 800;
}
.summary-total .big {
  font-family: var(--font-head);
  font-size: 1.85rem;
  color: var(--violet-deep);
}
.summary-trust { display: grid; gap: 10px; margin-top: 18px; }
.summary-trust li {
  display: flex;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  align-items: center;
}
.summary-trust svg { width: 17px; height: 17px; color: var(--violet); flex-shrink: 0; }

.order-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.order-form h3 { margin-bottom: 6px; }
.order-form > p.sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(107, 92, 231, 0.12);
  background: var(--white);
}
.field input.with-prefix { padding-left: 54px; }
.field .input-prefix { position: relative; }
.field .input-prefix .pfx {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.field .hint { font-size: 0.76rem; color: var(--muted); margin-top: 5px; }
.field .err-msg { display: none; font-size: 0.76rem; color: var(--coral-deep); margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--coral);
  background: var(--coral-soft);
}
.field.invalid .err-msg { display: flex; }
.field.valid input, .field.valid select, .field.valid textarea { border-color: var(--mint); }

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--bg);
}
.qty-control button {
  width: 44px;
  height: 46px;
  border: none;
  background: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--violet-deep);
  font-weight: 700;
}
.qty-control button:hover { background: var(--violet-soft); }
.qty-control input {
  width: 52px;
  text-align: center;
  border: none;
  background: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 0;
}
.qty-control input:focus { box-shadow: none; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex-shrink: 0; }
.consent label { font-size: 0.84rem; color: var(--ink-soft); font-weight: 500; line-height: 1.55; }
.consent a { color: var(--violet-deep); text-decoration: underline; font-weight: 600; }
.consent.invalid label { color: var(--coral-deep); }

.form-success {
  display: none;
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, var(--mint-soft), var(--white));
  border: 1px solid rgba(62, 207, 170, 0.3);
  border-radius: var(--radius);
  margin-top: 18px;
}
.form-success.show { display: block; animation: pop .4s ease; }
.form-success .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), #2eb892);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(62, 207, 170, 0.35);
}
.form-success .check svg { width: 28px; height: 28px; color: #fff; }
.form-success h4 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 6px; }
.form-success p { color: var(--muted); font-size: 0.92rem; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 92, 231, 0.25);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: var(--violet-soft);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--violet);
  border-radius: 2px;
  transition: transform .3s;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 12px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 12px; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--coral);
}
.disclaimer svg { width: 24px; height: 24px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.disclaimer p { font-size: 0.9rem; color: var(--ink-soft); }
.disclaimer b { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--violet-deep), var(--violet), var(--coral));
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 120%, rgba(255, 255, 255, 0.15), transparent 50%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 50ch;
  margin: 12px auto 26px;
  position: relative;
}
.cta-band .btn {
  position: relative;
  background: #fff;
  color: var(--violet-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.cta-band .btn:hover { background: var(--violet-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #9aa3b5;
  padding: 64px 0 28px;
  margin-top: 72px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--coral), var(--mint));
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand i { color: #a89cf5; }
.footer p { font-size: 0.88rem; color: #7a8499; max-width: 38ch; line-height: 1.65; }
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 800;
}
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 0.9rem; color: #9aa3b5; transition: .2s; }
.footer ul a:hover { color: #fff; }
.footer .contact-li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #9aa3b5;
  margin-bottom: 10px;
}
.footer .contact-li svg { width: 17px; height: 17px; color: #a89cf5; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: #6a7388; }
.footer-disclaimer {
  font-size: 0.76rem;
  color: #5a6378;
  line-height: 1.65;
  margin-top: 18px;
  max-width: 100%;
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 48px 0 40px;
  min-height: 55vh;
}
.legal-page .wrap { max-width: 820px; }
.legal-page .eyebrow { margin-bottom: 14px; }
.legal-page h1 { font-size: clamp(1.95rem, 4vw, 2.75rem); margin-bottom: 10px; }
.legal-page .updated { color: var(--muted); font-size: 0.86rem; margin-bottom: 36px; }

.legal-body h2 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--ink); }
.legal-body h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 12px; font-size: 0.97rem; }
.legal-body ul { list-style: disc; padding-left: 22px; }
.legal-body ol { list-style: decimal; padding-left: 26px; margin-bottom: 16px; }
.legal-body ul li, .legal-body ol li { margin-bottom: 8px; }
.legal-body a { color: var(--violet-deep); text-decoration: underline; font-weight: 600; }
.legal-body a:hover { color: var(--coral); }

.legal-body .info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--violet);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--violet-deep);
  font-size: 0.88rem;
  padding: 10px 18px;
  background: var(--violet-soft);
  border-radius: var(--radius-pill);
  transition: .2s;
}
.back-link:hover { background: var(--violet); color: #fff; }
.back-link svg { width: 16px; height: 16px; }

/* Legal page hero strip */
.legal-page .wrap > .eyebrow + h1 {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .header { margin: 0 12px; top: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual .frame { max-width: 100%; }
  .fc-1 { left: 8px; }
  .fc-2 { right: 8px; }
  .price-grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .week { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .header { position: sticky; }
  .nav { position: relative; flex-wrap: wrap; height: auto; min-height: 64px; padding: 8px 12px 8px 16px; }
  .nav-links a { padding: 12px 16px; }
  .burger { display: block; margin-left: auto; }
  .nav .btn-primary { display: none; }
  .pillars, .benefits { grid-template-columns: 1fr; }
  .demo, .beforeafter { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 12px; }
  .story-num { position: static; font-size: 2.2rem; }
  .story-media { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr 1fr; }
  .story-media { grid-template-columns: 1fr; }
  .price-info, .price-card { padding: 28px 22px; margin: 0; }
  .price-card { margin: 0 16px 20px; }
  .cta-band { padding: 40px 22px; }
  .compare { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 .accent { display: inline; }
}
