/* =========================================================
   Samsung Bespoke AI WindFree™ — EASY PAY 6 sales page
   Design tokens → base → components → sections → motion
   ========================================================= */

:root {
  --navy: #0A1A3F;
  --navy-2: #13285E;
  --blue: #1428A0;
  --blue-2: #2F6BFF;
  --sky: #5AB8FF;
  --ice: #EEF5FF;
  --ice-2: #F6F9FF;
  --ink: #0E1A33;
  --muted: #56658A;
  --line: #E1E8F4;
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --gold: #F5A524;
  --green: #0FA36A;
  --red: #E5394F;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px -2px rgba(16, 40, 110, .12);
  --shadow: 0 14px 34px -14px rgba(16, 40, 110, .28);
  --shadow-lg: 0 30px 60px -24px rgba(16, 40, 110, .38);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-h: 66px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: var(--blue-2); }
button { font: inherit; cursor: pointer; }
[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg text { font-family: var(--font); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.fine { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.soft-bg { background: linear-gradient(180deg, var(--ice-2), var(--ice)); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-2); background: #E6EFFF; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow-light { background: rgba(255, 255, 255, .12); color: #BFE0FF; }
.grad-text {
  background: linear-gradient(90deg, #1B4DFF, #3FA2FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; letter-spacing: .02em; text-decoration: none; text-align: center;
  border: 0; border-radius: 999px; padding: 14px 24px; font-size: .95rem; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #2F6BFF, #1428A0);
  box-shadow: 0 12px 26px -10px rgba(31, 77, 255, .65);
}
.btn-primary:hover { box-shadow: 0 18px 34px -12px rgba(31, 77, 255, .75); }
.btn-ghost { color: var(--blue); background: #fff; box-shadow: inset 0 0 0 2px #CFDDF6; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue-2); }
.btn-light { color: var(--blue); background: #fff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.btn-wa { color: #fff; background: var(--wa); box-shadow: 0 12px 26px -10px rgba(37, 211, 102, .6); }
.btn-wa:hover { background: var(--wa-dark); }

/* ---------- Top bar & nav ---------- */
.topbar {
  background: var(--navy); color: #D6E4FF; text-align: center; font-size: .85rem;
  padding: 9px 16px;
}
.topbar p { margin: 0; }
.topbar strong { color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.02rem; white-space: nowrap; }
.brand-text b i { font-style: normal; color: var(--blue-2); font-weight: 800; margin: 0 1px; }
.brand-text small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--blue-2); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-login {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 10px; background: none; border: 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-2); background: #EEF4FF; }
.nav-login { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.nav-login .soon { font-size: .62rem; font-weight: 700; background: #EEF2F8; color: var(--muted); padding: 2px 6px; border-radius: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: #EEF4FF; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (dark premium, agent-led) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  padding: clamp(40px, 6vw, 76px) 0 clamp(56px, 7vw, 88px);
  background: linear-gradient(160deg, #0D2470 0%, #0A1A3F 55%, #071230 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hb-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hb-glow.g1 { width: 720px; height: 720px; right: -180px; top: -220px; background: radial-gradient(circle, rgba(47, 107, 255, .55), transparent 65%); }
.hb-glow.g2 { width: 560px; height: 560px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(90, 184, 255, .28), transparent 65%); }
.hb-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: .45em; }
.hero h1 .grad-text { display: block; background-image: linear-gradient(90deg, #7CC4FF, #A6F2FF 60%, #FFFFFF); }
.hero-kicker {
  display: inline-block; font-weight: 700; font-size: clamp(.95rem, 1.5vw, 1.08rem); color: #FFE68F; margin-bottom: 12px;
  padding-left: 14px; border-left: 3px solid #F5A524;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: #C9D8F3; max-width: 500px; }
.lead strong { color: #fff; }
.promo-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #DCE8FF; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 18px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34E089; box-shadow: 0 0 0 0 rgba(52, 224, 137, .5); animation: ping 2s infinite; }

.hero-offer { display: grid; gap: 2px; margin: 26px 0 28px; padding-left: 18px; border-left: 3px solid #5AB8FF; }
.ho-label { font-size: .72rem; font-weight: 800; color: #9FC4FF; text-transform: uppercase; letter-spacing: .12em; }
.ho-amount { font-size: clamp(3rem, 5.4vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #fff; }
.ho-amount small { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; color: #C9D8F3; }
.ho-note { font-size: .9rem; color: #C9D8F3; }

.hero-cd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.hcd-label { font-size: .82rem; font-weight: 700; color: #9FB2D6; margin-right: 4px; }
.hcd-box { display: inline-flex; align-items: baseline; gap: 3px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 5px 9px; }
.hcd-box b { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.hcd-box small { font-size: .68rem; color: #9FB2D6; font-weight: 600; }
.promo-ended .hero-cd { display: none; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn-glow { position: relative; background: linear-gradient(135deg, #4C86FF, #1B4DFF); box-shadow: 0 14px 34px -10px rgba(76, 134, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-glow::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(124, 196, 255, .6); animation: halo 2.4s ease-out infinite; pointer-events: none; }
.trust-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; max-width: 520px; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #E2EBFF; }
.trust-row svg { width: 20px; height: 20px; flex: none; }

/* Stage */
.hero-stage { position: relative; aspect-ratio: 1 / 1.04; width: 100%; max-width: 540px; margin-left: auto; }
.stage-orb {
  position: absolute; left: 0; bottom: 9%; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #4D86FF 0%, #2149E0 40%, #142C9C 70%, rgba(20, 40, 160, .2) 100%);
  box-shadow: 0 0 120px 10px rgba(47, 107, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.stage-ring { position: absolute; left: -7%; bottom: 2%; width: 94%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(166, 210, 255, .14); }
.stage-ac {
  position: absolute; top: 0; right: 0; width: 56%; margin: 0; z-index: 1;
  background: #fff; border-radius: 18px; overflow: hidden; aspect-ratio: 700 / 260;
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, .7), 0 0 0 5px rgba(255, 255, 255, .07);
  animation: float 7s ease-in-out infinite;
}
.stage-ac img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.05); }
.stage-air { position: absolute; top: 18%; right: 2%; width: 52%; height: auto; z-index: 1; overflow: visible; opacity: .8; }
.stage-agent {
  position: absolute; left: 1%; bottom: 0; height: 86%; width: auto; max-width: none; z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45));
  -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 98%); mask-image: linear-gradient(180deg, #000 76%, transparent 98%);
}
.float-chip {
  position: absolute; right: 0; z-index: 3; display: flex; align-items: center; gap: 10px; width: 218px;
  background: rgba(13, 30, 80, .55); color: #DCE8FF; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  padding: 9px 14px 9px 9px; font-size: .8rem; font-weight: 600; line-height: 1.25;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { width: 30px; height: 30px; flex: none; }
.float-chip b { display: block; color: #fff; font-weight: 800; font-size: .95rem; }
.fc-0 { top: 26%; animation-delay: -1s; }
.fc-1 { top: 38%; }
.fc-2 { top: 50%; animation-delay: -2s; }
.fc-3 { top: 62%; animation-delay: -4s; }
.chip-hl { background: linear-gradient(135deg, rgba(245, 165, 36, .32), rgba(13, 30, 80, .6)); border-color: rgba(255, 214, 120, .55); }
.chip-hl b { color: #FFE68F; }
.agent-plate {
  position: absolute; z-index: 4; left: 0; bottom: 1%;
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 8px;
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .65);
}
.agent-plate img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 6%; background: linear-gradient(135deg, #DCEBFF, #A9C8FF); box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2F6BFF; margin-left: 4px; }
.agent-plate strong { display: flex; align-items: center; gap: 6px; font-size: 1rem; line-height: 1.15; }
.agent-plate strong::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.agent-plate span { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }
.plate-wa { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--wa); color: #fff; display: grid; place-items: center; margin-left: 4px; transition: background .2s; }
.plate-wa:hover { background: var(--wa-dark); }

.svg-display { font-size: 15px; font-weight: 800; fill: #7CD3FF; }
.svg-display-sm { font-size: 12px; }
.svg-ph-title { font-size: 11px; font-weight: 800; fill: var(--ink); }
.svg-ph-sub { font-size: 7.5px; fill: var(--muted); }
.svg-ph-big { font-size: 18px; font-weight: 800; fill: var(--ink); }
.svg-ph-btn { font-size: 10px; font-weight: 800; fill: #fff; }
.svg-ph-btn-sub { font-size: 8px; fill: #DDEBFF; }
.svg-coin { font-size: 11px; font-weight: 800; fill: #fff; }
.svg-z { font-size: 18px; font-weight: 800; }
.svg-z-sm { font-size: 12px; }

/* ---------- Problems ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prob-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.prob-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prob-ico { width: 104px; height: 104px; margin-bottom: 14px; }
.prob-card h3 { font-size: 1.2rem; font-weight: 800; }
.prob-card p { color: var(--muted); margin-bottom: .6em; }
.prob-card .agitate { color: var(--red); font-weight: 600; font-size: .92rem; margin: 0; }
.bridge {
  margin-top: 40px; text-align: center; background: linear-gradient(135deg, #F2F7FF, #E6F0FF);
  border: 1px solid #D6E4FB; border-radius: var(--radius); padding: 28px clamp(20px, 4vw, 48px);
}
.bridge p { font-size: 1.1rem; max-width: 720px; margin: 0 auto 18px; }

/* ---------- Chat testimonials ---------- */
.chat {
  background: #EFE9E1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid #E3DCD2; display: flex; flex-direction: column;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0B5C4F; color: #fff; }
.chat-head .avatar { width: 38px; height: 38px; flex: none; }
.chat-head strong { display: block; font-size: .92rem; }
.chat-head small { font-size: .72rem; opacity: .75; }
.chat-art { width: 40px; height: 40px; margin-left: auto; background: rgba(255, 255, 255, .9); border-radius: 12px; padding: 3px; }
.chat-body { padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; }
.bubble {
  position: relative; max-width: 88%; padding: 9px 12px 20px; border-radius: 14px; font-size: .9rem; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.bubble time { position: absolute; right: 10px; bottom: 4px; font-size: .66rem; color: #7A8A99; }
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; align-self: flex-start; background: #fff; padding: 10px 12px; border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA8B6; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat-theme { margin: 0; padding: 10px 14px; font-size: .78rem; font-weight: 700; color: #5B5346; background: #E6DED3; }

/* Chat entrance (only with JS) */
.js .chat .bubble, .js .chat .typing { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .4s, transform .4s; }
.js .chat.in .bubble.in { opacity: 1; transform: none; transition-delay: .2s; }
.js .chat.in .bubble.out { opacity: 1; transform: none; transition-delay: 1s; }
.js .chat.in .typing { opacity: 1; transform: none; transition-delay: 1.6s; }

/* ---------- Demo ---------- */
.demo-sec {
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(47, 107, 255, .35), transparent 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(90, 184, 255, .22), transparent 60%),
    var(--navy);
  color: #fff;
}
.demo-sec .section-head p { color: #B9CBEB; }
.demo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.demo-stage {
  margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px; padding: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.demo-stage svg { width: 100%; height: auto; border-radius: 22px; }
.demo-stage figcaption { font-size: .78rem; color: #B9CBEB; text-align: center; padding: 10px 6px 2px; }

.panel {
  background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 28px; padding: 22px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px;
}
.panel-head { display: flex; align-items: center; gap: 10px; }
.power-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
.panel-tag { margin-left: auto; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #EEF2F8; color: var(--muted); padding: 4px 10px; border-radius: 8px; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #EEF3FB; padding: 6px; border-radius: 18px; }
.mode-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px;
  padding: 14px 10px; background: transparent; color: var(--muted); font-weight: 800; font-size: .92rem;
  transition: background .25s, color .25s, box-shadow .25s;
}
.mode-btn svg { width: 22px; height: 22px; flex: none; }
.mode-btn[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.mode-btn[data-mode="windfree"][aria-pressed="true"] { background: linear-gradient(135deg, #2F6BFF, #1428A0); color: #fff; }
.try-hint { margin: -6px 0 0; font-size: .82rem; color: var(--blue-2); text-align: center; animation: nudge 1.6s ease-in-out infinite; }
.try-hint.hide { visibility: hidden; }
.temp-ctrl { display: flex; align-items: center; justify-content: space-between; background: var(--ice-2); border: 1px solid var(--line); border-radius: 18px; padding: 8px; }
.temp-ctrl button { width: 48px; height: 48px; border-radius: 14px; border: 0; background: #fff; box-shadow: var(--shadow-sm); font-size: 1.5rem; font-weight: 700; color: var(--blue); }
.temp-ctrl button:hover { background: #EAF1FF; }
.temp-ctrl output { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.stats > div { background: var(--ice-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.stats dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 8px; min-height: 22px; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.bars i { width: 6px; border-radius: 2px; background: #D5DFEF; transition: background .3s; }
.bars i:nth-child(1) { height: 6px; } .bars i:nth-child(2) { height: 10px; } .bars i:nth-child(3) { height: 14px; } .bars i:nth-child(4) { height: 18px; }
.bars[data-level="1"] i:nth-child(-n+1), .bars[data-level="4"] i { background: var(--blue-2); }
.meter { flex: 1; height: 8px; background: #DCE5F3; border-radius: 4px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 90%; background: linear-gradient(90deg, #FFB547, #E5394F); border-radius: 4px; transition: width .5s, background .5s; }
.demo[data-mode="windfree"] .meter span { width: 15%; background: linear-gradient(90deg, #93F2BC, #0FA36A); }
.mode-desc { background: linear-gradient(135deg, #F2F7FF, #E8F0FF); border-radius: 18px; padding: 16px; }
.mode-desc h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--blue); }
.mode-desc p { margin: 0; font-size: .92rem; color: var(--muted); }

/* demo states */
.wind-direct, .wind-soft, .soft-mist, .demo-holes-glow, .shiver-marks, .calm-marks, .mouth-cold, .mouth-calm { transition: opacity .5s ease; }
.demo-vent { transform-box: fill-box; transform-origin: 50% 0; transition: transform .5s ease, fill .5s; }
.wind-direct path { stroke-dasharray: 18 22; animation: flow .7s linear infinite; }
.demo[data-mode="normal"] .wind-soft,
.demo[data-mode="normal"] .soft-mist,
.demo[data-mode="normal"] .demo-holes-glow,
.demo[data-mode="normal"] .calm-marks,
.demo[data-mode="normal"] .mouth-calm { opacity: 0; }
.demo[data-mode="windfree"] .wind-direct,
.demo[data-mode="windfree"] .shiver-marks,
.demo[data-mode="windfree"] .mouth-cold { opacity: 0; }
.demo[data-mode="windfree"] .demo-vent { transform: scaleY(.22); fill: #B7C6DF; }
.demo-holes-glow { opacity: .35; animation: holes 2.4s ease-in-out infinite; }
.demo[data-mode="normal"] .demo-holes-glow { animation: none; }
.soft-mist { animation: breathe 4s ease-in-out infinite; }
.shiver-marks { animation: shiver .25s linear infinite alternate; }
.calm-marks text { animation: floatZ 2.6s ease-in-out infinite; }
.calm-marks text:nth-child(2) { animation-delay: .6s; }
.wind-soft circle { animation: softfall var(--t, 7s) linear infinite; animation-delay: var(--d, 0s); opacity: 0; }

.demo-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.demo-facts div { text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 16px 10px; }
.demo-facts b { display: block; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: #9BD3FF; }
.demo-facts span { font-size: .85rem; color: #C8D6EF; }
.demo-sec .fine { color: #9FB2D6; }
.demo-sec .btn { margin-top: 10px; }

/* ---------- Features ---------- */
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #CFDDF6; }
.feat:hover .feat-ico { transform: translateY(-4px) rotate(-3deg); }
.feat-ico { width: 76px; height: 76px; margin-bottom: 14px; transition: transform .3s; }
.feat h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.feat p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Get cards (phones) ---------- */
.get {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.get:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.phone {
  width: 150px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 18px 22px rgba(16, 40, 110, .22));
  transition: transform .4s;
}
.get:hover .phone { transform: translateY(-4px) rotate(-2deg); }
.get h3 { font-size: 1.08rem; font-weight: 800; }
.get p { font-size: .92rem; color: var(--muted); flex: 1; }
.value-tag { font-size: .8rem; font-weight: 700; background: var(--ice-2); border: 1px dashed #C7D6EF; border-radius: 10px; padding: 8px 12px; }
.value-tag span { color: var(--muted); font-weight: 600; }
.ph-t { font-size: 10px; font-weight: 800; fill: var(--ink); }
.ph-s { font-size: 7.5px; fill: var(--muted); }
.ph-w { font-size: 9.5px; font-weight: 800; fill: #fff; }
.ph-ws { font-size: 7.5px; fill: #CFE0FF; }
.ph-big { font-size: 24px; font-weight: 800; fill: var(--ink); }

/* phone micro-animations */
.a-knob { animation: knob 3s ease-in-out infinite; }
.a-twinkle circle { animation: twinkle 2.4s ease-in-out infinite; }
.a-twinkle circle:nth-child(3n) { animation-delay: .4s; }
.a-twinkle circle:nth-child(3n+1) { animation-delay: .8s; }
.a-twinkle circle:nth-child(4n) { animation-delay: 1.2s; }
.a-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar 2.6s ease-in-out infinite; }
.a-bar:nth-child(2) { animation-delay: .2s; } .a-bar:nth-child(3) { animation-delay: .4s; }
.a-bar:nth-child(4) { animation-delay: .6s; } .a-bar:nth-child(5) { animation-delay: .8s; }
.a-draw { stroke-dasharray: 260; animation: draw 3.6s ease-in-out infinite; }
.a-ring { animation: ring 3.2s ease-in-out infinite; }
.a-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.a-progress { animation: progress 3.4s ease-in-out infinite; }
.a-drop { transform-box: fill-box; transform-origin: center; animation: bob 1.8s ease-in-out infinite; }
.a-hand { transform-box: view-box; transform-origin: 80px 106px; animation: spin 4s linear infinite; }
.a-knob2 { animation: knob2 4s ease-in-out infinite; }
.a-toggle { animation: toggleBg 4s ease-in-out infinite; }

/* ---------- Testimoni (phone mockup) ---------- */
.tm-sec { background: radial-gradient(700px 400px at 20% 30%, #E6F0FF, transparent 70%), #fff; }
.tm-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; max-width: 980px; margin: 0 auto; }
.phone-mock {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; padding: 11px; border-radius: 46px;
  background: linear-gradient(145deg, #2A3550, #0E1A33); box-shadow: 0 40px 70px -30px rgba(16, 40, 110, .6), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotate(-3deg); margin-inline: auto;
}
.pm-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F0EBE3; }
.pm-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.pm-notch { position: absolute; z-index: 2; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #0E1A33; }
.pm-btn { position: absolute; right: -3px; width: 4px; border-radius: 2px; background: #2A3550; }
.pm-b1 { top: 22%; height: 54px; }
.pm-b2 { top: 34%; height: 34px; }
.tm-quote { position: relative; }
.tm-qmark { width: 52px; height: 44px; margin-bottom: 14px; }
.tm-quote blockquote { margin: 0 0 18px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.tm-who { display: flex; flex-direction: column; margin-bottom: 18px; }
.tm-who strong { font-size: 1rem; }
.tm-who span { font-size: .85rem; color: var(--muted); }
.tm-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.tm-points li { position: relative; padding-left: 28px; font-weight: 600; font-size: .95rem; }
.tm-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #93F2BC, #0FA36A); }
.tm-points li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Flow ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; position: relative; }
.flow::before, .flow::after {
  content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 4px; border-radius: 2px; background: #D9E4F6;
}
.flow::after { background: linear-gradient(90deg, #2F6BFF, #5AB8FF, #0FA36A); transform: scaleX(0); transform-origin: left; transition: transform 1.8s ease; }
.flow.in::after { transform: scaleX(1); }
.flow-step { position: relative; z-index: 1; text-align: center; }
.flow-step svg { width: 72px; height: 72px; margin: 0 auto 12px; filter: drop-shadow(0 10px 14px rgba(16, 40, 110, .2)); }
.step-no { display: inline-block; font-size: .7rem; font-weight: 800; color: var(--blue-2); background: #E6EFFF; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.flow-step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.flow-step p { font-size: .85rem; color: var(--muted); margin: 0; }
.js .flow-step { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.js .flow.in .flow-step { opacity: 1; transform: none; }
.flow.in .flow-step:nth-child(2) { transition-delay: .25s; } .flow.in .flow-step:nth-child(3) { transition-delay: .5s; }
.flow.in .flow-step:nth-child(4) { transition-delay: .75s; } .flow.in .flow-step:nth-child(5) { transition-delay: 1s; }
.flow.in .flow-step:nth-child(6) { transition-delay: 1.25s; }

/* ---------- Offer stack ---------- */
.offer { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.offer-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.offer-stack ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer-stack li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.offer-stack li:last-child { border-bottom: 0; }
.o-ico svg { width: 24px; height: 24px; }
.offer-stack li b { display: block; font-size: .96rem; }
.offer-stack li small { color: var(--muted); font-size: .8rem; }
.offer-stack em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--muted); background: var(--ice-2); border: 1px dashed #C7D6EF; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.offer-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 14px 18px; border-radius: 16px; background: var(--ice); font-weight: 700; }
.offer-total strong { color: var(--muted); }
.offer-pay { margin-top: 12px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #2F6BFF, #1428A0); color: #fff; display: grid; gap: 2px; }
.offer-pay span { font-size: .85rem; color: #D6E4FF; }
.offer-pay strong { font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.offer-pay small { font-size: 1rem; }

/* ---------- Promo ---------- */
.promo { background: linear-gradient(135deg, #1428A0 0%, #0A1A3F 70%); color: #fff; position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(90, 184, 255, .35), transparent 65%); }
.promo-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.promo h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.promo p { color: #C9D8F3; }
.promo strong { color: #fff; }
.promo .fine { color: #9FB2D6; }
.promo-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .1em; font-size: .8rem; background: rgba(255, 230, 143, .15); color: #FFE68F; border: 1px solid rgba(255, 230, 143, .4); padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; }
.save-calc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 6px; }
.save-calc div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 12px 16px; text-align: center; min-width: 92px; }
.save-calc b { display: block; font-size: 1.6rem; font-weight: 800; }
.save-calc span { font-size: .75rem; color: #C9D8F3; }
.save-calc .hl { background: linear-gradient(135deg, #FFE68F, #F09A0E); border: 0; color: #3A2500; }
.save-calc .hl span { color: #5A3B00; }
.save-calc .op { font-size: 1.4rem; font-weight: 800; color: #9FB2D6; }
.countdown-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 28px; padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: center; }
.cd-label { font-weight: 700; color: #C9D8F3; margin-bottom: 14px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.cd-grid div { background: #fff; color: var(--navy); border-radius: 16px; padding: 12px 4px; }
.cd-grid b { display: block; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-grid span { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cd-end { font-size: .88rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 26px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #C7D8F6; }
.price.featured { border-color: var(--blue-2); box-shadow: 0 24px 48px -24px rgba(31, 77, 255, .5); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(135deg, #2F6BFF, #1428A0); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.price header p { font-size: .86rem; color: var(--muted); min-height: 2.8em; margin-bottom: 12px; }
.p-compare { font-size: .85rem; color: var(--muted); }
.p-compare s { font-weight: 700; color: #8D9AB5; }
.p-amount { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.03em; margin: 4px 0; }
.p-amount small { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.p-period { display: inline-block; width: fit-content; font-size: .78rem; font-weight: 800; color: #fff; background: var(--green); padding: 3px 10px; border-radius: 8px; margin: 4px 0 10px; }
.p-after { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.p-after strong { color: var(--ink); }
.p-save { font-size: .8rem; font-weight: 700; color: #8A5A00; background: #FFF6E0; border-radius: 10px; padding: 6px 10px; margin-bottom: 14px; }
.p-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; flex: 1; }
.p-list li { position: relative; padding-left: 24px; font-size: .88rem; }
.p-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #E3F7EE; }
.p-list li::after { content: ""; position: absolute; left: 5.5px; top: 7px; width: 4px; height: 7px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.p-total { display: flex; flex-direction: column; font-size: .78rem; color: var(--muted); font-weight: 600; background: var(--ice-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.p-total strong { font-size: 1.15rem; color: var(--ink); }
.checkout-status { margin: 8px 0 0; font-size: .8rem; font-weight: 600; color: #A15C00; text-align: center; min-height: 0; }
.checkout-status:empty { display: none; }
.terms { margin-top: 36px; background: var(--ice-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.terms h3 { font-size: 1rem; }
.terms ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .88rem; display: grid; gap: 6px; }
.promo-ended-note { display: none; text-align: center; font-weight: 700; color: #8A1F2D; background: #FFE9EC; border-radius: 14px; padding: 12px; margin-bottom: 24px; }
.promo-ended .promo-ended-note { display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #CFDDF6; }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left;
  padding: 18px 20px; background: none; border: 0; font-weight: 700; color: var(--ink); font-size: 1rem;
}
.faq-item button i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #EEF4FF; }
.faq-item button i::before, .faq-item button i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--blue-2); border-radius: 1px; transition: transform .3s; }
.faq-item button i::after { transform: rotate(90deg); }
.faq-item.open button i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final {
  padding: clamp(64px, 9vw, 110px) 0; color: #fff; text-align: center;
  background: radial-gradient(700px 360px at 50% 0%, rgba(90, 184, 255, .35), transparent 70%), linear-gradient(160deg, #1B3FD8, #0A1A3F 75%);
}
.final-inner { max-width: 820px; }
.final-art { width: 180px; margin: 0 auto 18px; }
.final h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
.final p { color: #CFDDF6; font-size: 1.08rem; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 26px 0 18px; }
.final-note { font-size: .82rem !important; color: #9FB2D6 !important; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: #071230; color: #9FB2D6; padding: 40px 0 28px; font-size: .85rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.foot-brand { color: #fff; font-size: 1rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer nav a { color: #C9D8F3; text-decoration: none; }
.footer nav a:hover { color: #fff; }
.foot-legal { font-size: .76rem; color: #7E8FB3; margin-bottom: 8px; }

/* ---------- Sticky mobile CTA & toast ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 18px; padding: 8px 8px 8px 16px; box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta div { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.sticky-cta small { font-size: .7rem; color: var(--muted); }
.sticky-cta strong { color: var(--blue); font-size: 1.05rem; }
.sticky-wa { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; }

.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: .9rem; font-weight: 600;
  max-width: calc(100% - 32px); width: max-content; text-align: center; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero SVG motion ---------- */
.flakes circle { animation: drift var(--t, 6s) linear infinite; animation-delay: var(--d, 0s); opacity: 0; }
.wave { stroke-dasharray: 10 14; animation: flow 3s linear infinite; opacity: .55; }
.w2 { animation-duration: 4s; } .w3 { animation-duration: 5s; }
.hole-glow { opacity: .2; animation: holes 3s ease-in-out infinite; }
.led { animation: blink 2.4s ease-in-out infinite; }
.ring-spin { animation: ring 4s ease-in-out infinite; }
.ico-wind path { stroke-dasharray: 12 8; animation: flow 1.2s linear infinite; }
.shiver { animation: shiver .3s linear infinite alternate; }
.arrow-up { animation: bob 1.6s ease-in-out infinite; }
.final-flakes circle { animation: bob 3s ease-in-out infinite; }
.final-flakes circle:nth-child(2n) { animation-delay: .8s; }

/* ---------- Keyframes ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(15, 163, 106, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(15, 163, 106, 0); } }
@keyframes flow { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
@keyframes drift { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(var(--x, 10px), 230px); opacity: 0; } }
@keyframes softfall { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: .85; } 100% { transform: translate(var(--x, 0px), 210px); opacity: 0; } }
@keyframes holes { 0%, 100% { opacity: .12; } 50% { opacity: .45; } }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes shiver { from { transform: translateX(-1.5px); } to { transform: translateX(1.5px); } }
@keyframes floatZ { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes knob { 0%, 30% { transform: translateX(0); } 50%, 80% { transform: translateX(16px); } 100% { transform: translateX(0); } }
@keyframes knob2 { 0%, 40% { transform: translateX(0); } 55%, 90% { transform: translateX(10px); } 100% { transform: translateX(0); } }
@keyframes toggleBg { 0%, 40% { fill: #C9D6EE; } 55%, 90% { fill: #0FA36A; } 100% { fill: #C9D6EE; } }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes bar { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes draw { 0% { stroke-dashoffset: 260; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }
@keyframes ring { 0%, 100% { stroke-dasharray: 90 300; } 50% { stroke-dasharray: 190 300; } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes progress { 0% { stroke-dashoffset: 264; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes halo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.12, 1.35); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .flow::before, .flow::after { display: none; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 16px 16px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a, .nav-login { padding: 13px 12px; font-size: 1rem; }
  .hero-grid, .demo, .offer, .promo-grid, .tm-feature { grid-template-columns: 1fr; }
  /* mobile: show the agent right after the headline */
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 2; }
  .promo-pill, .hero-kicker, .hero h1 { order: 0; }
  .promo-pill, .hero-kicker { align-self: flex-start; }
  .hero-stage { order: 1; margin: 4px auto 40px; max-width: 440px; }
  .tm-quote { text-align: center; }
  .tm-points { width: fit-content; margin-inline: auto; text-align: left; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3.get-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { padding-bottom: 80px; }
  .sticky-cta { display: flex; }
  .topbar { font-size: .78rem; }
  .float-chip { width: 158px; font-size: .68rem; gap: 8px; padding: 7px 10px 7px 7px; }
  .float-chip b { font-size: .82rem; }
  .float-chip svg { width: 24px; height: 24px; }
  .agent-plate span { font-size: .68rem; }
  .hero-ctas .btn { width: 100%; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .trust-row li { font-size: .8rem; align-items: flex-start; }
  .grid-4, .price-grid, .grid-3.get-grid { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .feat-ico { width: 64px; height: 64px; grid-row: span 2; margin: 0; }
  .demo-facts { gap: 8px; }
  .demo-facts span { font-size: .72rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .panel { padding: 16px; }
  .mode-btn { font-size: .82rem; padding: 12px 6px; }

  /* vertical timeline */
  .flow { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .flow-step { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; text-align: left; padding-bottom: 22px; position: relative; }
  .flow-step::before { content: ""; position: absolute; left: 29px; top: 60px; bottom: 0; width: 3px; background: linear-gradient(#2F6BFF, #5AB8FF); border-radius: 2px; }
  .flow-step:last-child::before { display: none; }
  .flow-step svg { width: 60px; height: 60px; margin: 0; grid-row: span 3; }
  .step-no { width: fit-content; }
  .offer-stack li { grid-template-columns: auto 1fr; }
  .offer-stack em { grid-column: 2; width: fit-content; }
  .cd-grid { gap: 6px; }
  .final-ctas .btn { width: 100%; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.95rem; }
  .brand-text b { font-size: .9rem; }
  .hcd-label { width: 100%; }
  .trust-row { grid-template-columns: 1fr; }
  .save-calc .op { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flakes circle, .wind-soft circle { opacity: .6; animation: none !important; }
  .js .reveal, .js .flow-step, .js .chat .bubble, .js .chat .typing { opacity: 1; transform: none; }
  .btn-glow::after { display: none; }
}
