/* ===========================================================
   PracaFlex — landing page styles
   Display: Sora · Body: Manrope
   =========================================================== */

:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F1EC;
  --ink: #141A24;
  --muted: #5B6472;
  --accent: #D81E2C;
  --accent-dark: #B2131F;
  --accent-soft: #FDECED;
  --border: #E7E3DB;
  --border-strong: #D8D2C7;
  --ok: #15924E;
  --shadow-sm: 0 1px 2px rgba(20, 26, 36, .05), 0 2px 8px rgba(20, 26, 36, .05);
  --shadow-md: 0 8px 24px rgba(20, 26, 36, .08);
  --shadow-lg: 0 24px 60px rgba(20, 26, 36, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, .brand-mark { font-family: "Sora", system-ui, sans-serif; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; line-height: 1.15; margin: 0; }
h3 { font-size: 1.22rem; font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.muted { color: var(--muted); }

.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: currentColor; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  padding: .72em 1.5em; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s;
  white-space: nowrap; line-height: 1;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(216, 30, 44, .28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(216, 30, 44, .34); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: .58em 1.1em; font-size: .95rem; }
.btn-lg { padding: .9em 1.9em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand-mark { font-weight: 800; font-size: 1.32rem; position: relative; padding-right: 10px; }
.brand-flex { color: var(--accent); }
.brand-dot { position: absolute; right: 0; bottom: .28em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-weight: 500; color: var(--muted); font-size: .98rem; transition: color .18s; }
.main-nav a:hover { color: var(--ink); }
.header-inner .btn-primary { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 600; font-size: .86rem; padding: .4em .9em; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .ic { width: .6em; height: .6em; animation: blink 2s infinite; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; line-height: 1.05; margin: 0 0 18px; }
.hero-title .accent { color: var(--accent); }
.hero-sub { font-size: 1.14rem; color: var(--muted); max-width: 30em; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-cta.center { justify-content: center; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .96rem; }
.trust-row .ic { color: var(--ok); width: 1.05em; height: 1.05em; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.hero-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: auto; display: block; }
.live-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(20, 26, 36, .82); color: #fff; backdrop-filter: blur(6px);
  font-size: .8rem; font-weight: 600; padding: .5em .85em; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.live-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #35e07e; box-shadow: 0 0 0 0 rgba(53,224,126,.7); animation: pulse 1.8s infinite; }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 12px 14px; z-index: 3;
}
.float-rating { right: -12px; bottom: 54px; display: flex; align-items: center; gap: 10px; }
.fr-stars { color: #F5A623; display: flex; font-size: .78rem; }
.fr-text { display: flex; flex-direction: column; line-height: 1.15; }
.fr-text strong { font-family: "Sora", sans-serif; font-size: 1.05rem; }
.fr-text span { font-size: .72rem; color: var(--muted); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 12px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--muted); }

/* Ticker */
.ticker-wrap { margin-top: clamp(40px, 6vw, 68px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 16px 0; position: relative; overflow: hidden; }
.ticker-label { max-width: var(--maxw); margin: 0 auto 10px; padding: 0 24px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.ticker { display: flex; gap: 14px; width: max-content; animation: scrollx 46s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.tick {
  display: inline-flex; align-items: center; gap: 10px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 6px; flex: 0 0 auto;
}
.tick img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.tick b { font-family: "Sora", sans-serif; font-weight: 600; font-size: .9rem; }
.tick span { font-size: .82rem; color: var(--muted); }
.tick .pay { color: var(--accent-dark); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head.center { justify-content: center; text-align: center; }
.kicker { display: block; color: var(--accent); font-weight: 700; font-size: .86rem; letter-spacing: .02em; margin-bottom: 8px; }
.badge-soft { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: .88rem; padding: .5em 1em; border-radius: 999px; white-space: nowrap; }

/* Missions */
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mission {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
  display: flex; flex-direction: column; gap: 12px; cursor: pointer;
}
.mission:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.mission-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.4rem; }
.mission h3 { font-size: 1.1rem; }
.mission .pay { font-family: "Sora", sans-serif; font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.mission .pay span { color: var(--muted); font-weight: 500; font-size: .82rem; }
.mission .mlink { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.mission:hover .mlink .ic { transform: translateX(4px); }
.mission .mlink .ic { transition: transform .2s; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Calculator */
.calc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.calc-head { padding: 32px 32px 0; text-align: center; }
.calc-head .kicker { color: var(--accent); }
.calc-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; padding: 28px 32px 32px; align-items: stretch; }
.calc-controls { padding-right: 36px; }
.field-label { display: block; font-weight: 600; font-size: .95rem; margin: 18px 0 10px; }
.field-label:first-child { margin-top: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { font-family: "Manrope", sans-serif; font-weight: 600; font-size: .92rem; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--ink); cursor: pointer; transition: all .18s; }
.seg button:hover { border-color: var(--accent); }
.seg button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--border-strong); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 8px; }
.calc-output { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.co-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .96rem; color: #c7cdd6; }
.co-row strong { font-family: "Sora", sans-serif; color: #fff; font-size: 1.1rem; }
.co-main { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; margin-top: 2px; }
.co-main span { color: #fff; font-weight: 600; }
.co-main strong { font-size: 1.9rem; color: #fff; }
.calc-output .btn { margin-top: 8px; }
.co-note { font-size: .74rem; color: #8b95a3; line-height: 1.4; }

/* Reviews */
.reviews-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; margin-bottom: 34px; }
.rt-big { display: flex; align-items: center; gap: 14px; margin: 6px 0; }
.rt-big strong { font-family: "Sora", sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; }
.rt-stars { color: #F5A623; display: flex; font-size: 1.1rem; }
.rt-bars { display: flex; flex-direction: column; gap: 8px; }
.rt-bar { display: grid; grid-template-columns: 34px 1fr 54px; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.rt-bar .track { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.rt-bar .fill { height: 100%; background: #F5A623; border-radius: 999px; width: 0; transition: width 1s var(--ease); }
.review-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rf-chip { font-family: "Manrope", sans-serif; font-weight: 600; font-size: .88rem; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .16s; }
.rf-chip:hover { border-color: var(--accent); color: var(--ink); }
.rf-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.rv-meta b { font-family: "Sora", sans-serif; font-size: .96rem; display: block; }
.rv-meta span { font-size: .8rem; color: var(--muted); }
.rv-stars { color: #F5A623; font-size: .78rem; display: flex; }
.rv-text { font-size: .94rem; color: #3a4150; line-height: 1.55; }
.rv-foot { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ok); font-weight: 600; margin-top: auto; }
.rv-foot .ic { width: 1.1em; height: 1.1em; }
.review-empty { text-align: center; color: var(--muted); padding: 30px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature h3 { margin-bottom: 7px; font-size: 1.12rem; }
.feature p { color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-q .ic { color: var(--accent); flex: 0 0 auto; transition: transform .25s var(--ease); font-size: 1.2rem; }
.faq-item.open .faq-q .ic { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: .98rem; }

/* Final CTA */
.cta-final { padding: clamp(52px, 8vw, 92px) 0; }
.cta-box { background: linear-gradient(135deg, #1b2230, #141a24); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; top: -40%; right: -10%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(216,30,44,.35), transparent 65%); }
.cta-box h2 { position: relative; margin-bottom: 14px; }
.cta-box p { position: relative; color: #c7cdd6; margin-bottom: 28px; font-size: 1.1rem; }
.cta-box .hero-cta { position: relative; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.footer-brand { max-width: 360px; }
.footer-brand .muted { margin-top: 10px; font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-content: flex-start; }
.footer-links a { color: var(--muted); font-size: .94rem; transition: color .16s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; font-size: .86rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 26, 36, .55); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.modal-dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px; animation: pop .3s var(--ease);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--muted); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; transition: all .16s; }
.modal-close:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.modal-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.mstep { height: 5px; flex: 1; border-radius: 999px; background: var(--border); transition: background .25s; }
.mstep.is-active { background: var(--accent); }
.fstep { display: none; }
.fstep.is-active { display: block; animation: fade .25s var(--ease); }
.fstep h2 { font-size: 1.5rem; margin-bottom: 6px; }
.fstep > .muted { margin-bottom: 20px; }
.fset { border: none; margin: 0 0 20px; padding: 0; }
.fset legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; gap: 8px; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: 10px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .16s; }
.choice span .ic { color: var(--accent); font-size: 1.1rem; }
.choice input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .16s; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 10px; font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); transition: border-color .16s, box-shadow .16s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.invalid { border-color: var(--accent); }
.phone-field { display: flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; background: var(--bg); transition: border-color .16s, box-shadow .16s; }
.phone-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.phone-prefix { display: grid; place-items: center; padding: 0 14px; background: var(--surface-2); font-weight: 600; border-right: 1px solid var(--border-strong); }
.phone-field input { border: none; box-shadow: none; background: transparent; border-radius: 0; }
.phone-field input:focus { box-shadow: none; }
.err { display: block; color: var(--accent); font-size: .82rem; margin-top: 5px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 2px; cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: 0 0 auto; }
.fstep-actions { display: flex; gap: 10px; margin-top: 22px; }
.fstep-actions .btn-ghost { flex: 0 0 auto; }
.fstep-actions .btn-primary { flex: 1; }
.fstep-done { text-align: center; padding: 14px 0; }
.done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f6ee; color: var(--ok); font-size: 1.9rem; margin-bottom: 16px; }
.btn.is-loading { pointer-events: none; opacity: .75; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,250,247,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--border); display: none; }

/* ---------- Hero entrance orchestration (plays once on load) ---------- */
.js .eyebrow     { opacity: 0; animation: aUp .7s var(--ease) .10s both; }
.js .hero-title  { opacity: 0; animation: aUp .8s var(--ease) .22s both; }
.js .hero-sub    { opacity: 0; animation: aUp .7s var(--ease) .40s both; }
.js .hero-cta    { opacity: 0; animation: aUp .7s var(--ease) .54s both; }
.js .trust-row   { opacity: 0; animation: aUp .7s var(--ease) .66s both; }
.js .hero-photo  { opacity: 0; animation: aImg .9s var(--ease) .28s both; }
.js .hero-stats  { opacity: 0; animation: aUp .7s var(--ease) .72s both; }
.js .live-badge  { opacity: 0; animation: aPop .5s var(--ease) .95s both; }
.js .float-rating{ opacity: 0; animation: aPop .5s var(--ease) 1.10s both; }
@keyframes aUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes aImg { from { opacity: 0; transform: translateY(24px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes aPop { from { opacity: 0; transform: scale(.78); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.rv-scale { transform: translateY(30px) scale(.97); }
.reveal.rv-scale.in { transform: none; }

/* ---------- Animations ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(53,224,126,.6); } 70% { box-shadow: 0 0 0 9px rgba(53,224,126,0); } 100% { box-shadow: 0 0 0 0 rgba(53,224,126,0); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .float-rating { right: 10px; bottom: -18px; }
  .mission-grid, .feature-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .reviews-top { grid-template-columns: 1fr; gap: 24px; }
  .calc-body { grid-template-columns: 1fr; gap: 24px; }
  .calc-controls { padding-right: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .header-inner .btn-primary { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .mission-grid, .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .sticky-cta { display: block; }
  main { padding-bottom: 72px; }
  .modal-dialog { padding: 24px 20px; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .js .eyebrow, .js .hero-title, .js .hero-sub, .js .hero-cta, .js .trust-row,
  .js .hero-photo, .js .hero-stats, .js .live-badge, .js .float-rating { opacity: 1 !important; transform: none !important; }
  .ticker { animation: none !important; }
  .eyebrow .ic, .live-badge .pulse { animation: none !important; }
}
