/* ========== DESIGN TOKENS ========== */
:root {
  --brand-50:  #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;
  --brand-400: #38bdf8;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #0369a1;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --red-500:   #ef4444;
  --amber-500: #f59e0b;
  --surface:   #ffffff;
  --border:    var(--slate-200);
  --text:      var(--slate-800);
  --muted:     var(--slate-500);
  --radius-sm: .25rem;
  --radius-md: .5rem;
  --radius-lg: .75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-card: 0 1px 3px rgba(0,0,0,.08),0 4px 12px rgba(0,0,0,.06);
  --shadow-soft: 0 8px 24px rgba(14,165,233,.18);
  --shadow-hover: 0 12px 32px rgba(14,165,233,.25);
  --trans-fast: 150ms ease;
  --trans-mid:  250ms ease;
  --container:  1200px;
  --px: clamp(1rem, 5vw, 2rem);
  --header-h: 68px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--slate-50); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; border: none; outline: none; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: var(--radius-sm); }
* { scrollbar-width: thin; scrollbar-color: var(--slate-400) var(--slate-200); }

/* ========== UTILITIES ========== */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-100); color: var(--brand-700); font-size: .78rem; font-weight: 700; padding: .2rem .875rem; border-radius: var(--radius-full); letter-spacing: .03em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; border-radius: var(--radius-xl); transition: all var(--trans-fast); white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--brand-500); color: #fff; padding: .7rem 1.5rem; font-size: .9rem; }
.btn-primary:hover { background: var(--brand-600); box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--brand-500); color: var(--brand-600); padding: .7rem 1.5rem; font-size: .9rem; }
.btn-outline:hover { background: var(--brand-50); }
.btn-lg { padding: .875rem 2.25rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: 1.25rem; }
.btn-ghost { color: var(--muted); font-size: .875rem; font-weight: 600; }
.btn-ghost:hover { color: var(--brand-600); text-decoration: underline; }
.sec { padding: 5rem 0; }
.sec-head { text-align: center; margin-bottom: 3.5rem; }
.sec-title { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--slate-900); line-height: 1.2; letter-spacing: -.02em; margin-top: .625rem; }
.sec-desc { font-size: 1.1rem; color: var(--muted); margin-top: .875rem; max-width: 580px; margin-inline: auto; line-height: 1.7; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; } .d6 { transition-delay: .6s; }

/* ========== HEADER ========== */
.hdr {
  display: flex;
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
}
.hdr-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .625rem; font-weight: 800; font-size: 1.2rem; color: var(--slate-900); }
.logo-icon { width: 36px; height: 36px; background: var(--brand-500); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: -.03em; flex-shrink: 0; }
.nav-links { display: none; list-style: none; gap: 1.875rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color var(--trans-fast); }
.nav-links a:hover { color: var(--brand-600); }
.hdr-actions { display: flex; align-items: center; gap: .75rem; }

/* ========== HERO ========== */
.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(145deg, #fff 0%, var(--brand-50) 55%, var(--brand-100) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--brand-200); border-radius: var(--radius-full); padding: .35rem 1rem; font-size: .82rem; font-weight: 700; color: var(--brand-700); margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(14,165,233,.12); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.35)} }
.hero-h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.13; color: var(--slate-900); letter-spacing: -.025em; margin-bottom: 1.25rem; }
.hero-h1 .accent { color: var(--brand-500); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: .875rem; }
.hero-micro { font-size: .82rem; color: var(--slate-400); }

/* Browser mockup */
.mockup { background: var(--slate-800); border-radius: 1rem; overflow: hidden; box-shadow: 0 32px 64px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.08); }
.mock-bar { background: var(--slate-700); padding: .75rem 1rem; display: flex; align-items: center; gap: .75rem; }
.mock-dots { display: flex; gap: 6px; }
.mock-dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #febc2e; }
.mock-dot:nth-child(3) { background: #28c840; }
.mock-url { flex: 1; background: var(--slate-600); border-radius: var(--radius-md); padding: .25rem .75rem; font-size: .72rem; color: var(--slate-300); font-family: monospace; max-width: 200px; margin: 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { padding: 1.5rem; background: #fff; position: relative; }
.mock-form { display: flex; flex-direction: column; gap: .75rem; }
.mock-row { display: flex; flex-direction: column; gap: .2rem; }
.mock-lbl { font-size: .65rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .06em; }
.mock-field { height: 36px; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 0 .75rem; font-size: .82rem; color: var(--text); background: var(--slate-50); display: flex; align-items: center; justify-content: space-between; }
.mock-field.ok { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-700); }
.mock-check { color: var(--brand-500); font-size: .72rem; font-weight: 800; }
.mock-submit { height: 38px; background: var(--brand-500); border-radius: var(--radius-md); color: #fff; font-size: .82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: .375rem; }
.popup-card { position: absolute; top: 1rem; right: 1rem; width: 190px; background: #fff; border-radius: var(--radius-xl); box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06); padding: .875rem; }
.popup-hdr { display: flex; align-items: center; gap: .375rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
.popup-ico { width: 20px; height: 20px; background: var(--brand-500); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .5rem; font-weight: 800; }
.popup-name { font-weight: 800; font-size: .68rem; color: var(--slate-800); }
.popup-sel { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .225rem .5rem; font-size: .62rem; color: var(--brand-700); font-weight: 700; display: flex; align-items: center; justify-content: space-between; margin-bottom: .375rem; }
.popup-fill { width: 100%; background: var(--brand-500); border-radius: var(--radius-md); color: #fff; padding: .3rem; font-size: .62rem; font-weight: 800; text-align: center; }
.popup-info { display: flex; justify-content: space-between; margin-top: .5rem; }
.pinfo { text-align: center; }
.pinfo strong { display: block; color: var(--green-500); font-weight: 800; font-size: .68rem; }
.pinfo span { font-size: .58rem; color: var(--muted); }

/* ========== STATS ========== */
.stats-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat-n { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--brand-600); line-height: 1; margin-bottom: .2rem; }
.stat-l { font-size: .875rem; font-weight: 700; color: var(--slate-700); }
.stat-s { font-size: .75rem; color: var(--muted); margin-top: .125rem; }

/* ========== PROBLEM ========== */
.problem { background: var(--slate-900); color: #fff; }
.problem .chip { background: rgba(14,165,233,.15); color: var(--brand-200); }
.problem .sec-title { color: #fff; }
.prob-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .prob-inner { grid-template-columns: 1fr 1fr; } }
.prob-desc { font-size: 1.05rem; color: var(--slate-400); line-height: 1.75; margin-top: .875rem; max-width: 480px; }
.pains { display: flex; flex-direction: column; gap: .875rem; margin-top: 1.5rem; }
.pain { display: flex; align-items: flex-start; gap: .875rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl); padding: .875rem 1.125rem; }
.pain-x { color: var(--red-500); font-size: 1.1rem; line-height: 1; flex-shrink: 0; margin-top: .1rem; }
.pain-t { font-size: .875rem; color: var(--slate-300); line-height: 1.55; }
.counter-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-2xl); padding: 2rem; }
.counter-ttl { font-size: .72rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 1.5rem; }
.c-row { display: flex; justify-content: space-between; align-items: center; padding: .875rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.c-row:last-child { border-bottom: none; }
.c-lbl { font-size: .875rem; color: var(--slate-400); }
.c-val { font-size: 1.35rem; font-weight: 800; }
.c-bad { color: var(--red-500); }
.c-good { color: var(--green-500); }

/* ========== FEATURES ========== */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 1.375rem; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.75rem; transition: all var(--trans-mid); }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand-200); }
.feat-ico { width: 48px; height: 48px; background: var(--brand-100); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-size: 1.375rem; margin-bottom: 1.125rem; }
.feat-title { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin-bottom: .4rem; }
.feat-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ========== HOW IT WORKS ========== */
.how { background: var(--brand-50); }
.steps { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps::before { content: ''; position: absolute; top: 28px; left: calc(16.66% + .5rem); right: calc(16.66% + .5rem); height: 2px; background: var(--brand-200); z-index: 0; }
}
.step { text-align: center; position: relative; z-index: 1; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-500); color: #fff; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; box-shadow: 0 4px 16px rgba(14,165,233,.4); }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--slate-900); margin-bottom: .5rem; }
.step-desc { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ========== TESTIMONIALS ========== */
.test-grid { display: grid; grid-template-columns: 1fr; gap: 1.375rem; }
@media (min-width: 640px) { .test-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .test-grid { grid-template-columns: repeat(3, 1fr); } }
.test-card { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.75rem; position: relative; }
.stars { color: #fbbf24; font-size: .95rem; margin-bottom: .875rem; letter-spacing: 2px; }
.test-txt { font-size: .875rem; color: var(--slate-700); line-height: 1.7; margin-bottom: 1.125rem; }
.test-q { font-size: 3rem; color: var(--brand-200); line-height: 1; position: absolute; top: 1rem; right: 1.375rem; font-family: Georgia, serif; pointer-events: none; }
.test-author { display: flex; align-items: center; gap: .75rem; }
.test-av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-500); color: #fff; font-size: .82rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.test-name { font-size: .875rem; font-weight: 700; color: var(--slate-900); }
.test-role { font-size: .75rem; color: var(--muted); }

/* ========== GUARANTEE ========== */
.guarantee { background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%); color: #fff; padding: 4rem 0; }
.guar-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .guar-inner { flex-direction: row; text-align: left; gap: 3rem; } }
.guar-shield { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; font-size: 2.25rem; flex-shrink: 0; }
.guar-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.guar-desc { font-size: 1rem; opacity: .85; line-height: 1.65; max-width: 560px; }

/* ========== PRICING ========== */
.pricing { background: var(--slate-50); }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 780px; margin-inline: auto; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
.price-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-2xl); padding: 2.25rem; position: relative; }
.price-card.hot { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(14,165,233,.1), var(--shadow-card); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-500); color: #fff; font-size: .72rem; font-weight: 800; padding: .25rem .875rem; border-radius: var(--radius-full); white-space: nowrap; }
.price-name { font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: .625rem; text-transform: uppercase; letter-spacing: .05em; }
.price-row { display: flex; align-items: baseline; gap: .2rem; margin-bottom: .25rem; }
.price-big { font-size: 3rem; font-weight: 800; color: var(--slate-900); line-height: 1; }
.price-period { font-size: 1rem; color: var(--muted); }
.price-feats { list-style: none; margin: 1.625rem 0 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.pf { display: flex; align-items: center; gap: .625rem; font-size: .875rem; color: var(--slate-700); }
.pf::before { content: '✓'; flex-shrink: 0; width: 20px; height: 20px; background: var(--green-100); color: var(--green-500); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; }
.price-micro { text-align: center; font-size: .75rem; color: var(--muted); margin-top: .5rem; }

/* ========== FAQ ========== */
.faq { background: #fff; }
.faq-list { max-width: 700px; margin-inline: auto; display: flex; flex-direction: column; gap: .625rem; }
details { border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: border-color var(--trans-fast); }
details[open] { border-color: var(--brand-200); }
summary { padding: 1.2rem 1.5rem; font-weight: 600; font-size: .95rem; color: var(--slate-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; gap: 1rem; transition: background var(--trans-fast); }
summary::-webkit-details-marker { display: none; }
summary:hover { background: var(--brand-50); }
details[open] summary { background: var(--brand-50); color: var(--brand-700); }
.sum-ico { font-size: 1.1rem; flex-shrink: 0; transition: transform var(--trans-fast); display: inline-block; }
details[open] .sum-ico { transform: rotate(45deg); }
.faq-a { padding: 1.2rem 1.5rem 1.2rem; font-size: .875rem; color: var(--muted); line-height: 1.7; }

/* ========== CTA FINAL ========== */
.cta-final { background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%); color: #fff; padding: 6rem 0; text-align: center; }
.cta-h { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.cta-sub { font-size: 1.1rem; opacity: .85; margin-bottom: 2.5rem; max-width: 500px; margin-inline: auto; }
.cta-final .btn-primary { background: #fff; color: var(--brand-700); font-size: 1.05rem; padding: 1rem 2.75rem; max-width: calc(100vw - 2rem); }
.cta-final .btn-primary:hover { background: var(--brand-50); box-shadow: 0 8px 32px rgba(0,0,0,.25); }
.cta-micro { margin-top: .875rem; opacity: .65; font-size: .82rem; }

/* ========== FOOTER ========== */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 3rem 0 2rem; }
.foot-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.foot-inner > div { text-align: center; }
@media (min-width: 768px) { .foot-inner { grid-template-columns: 1fr auto; align-items: center; } }
.foot-logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: #fff; margin-bottom: .4rem; justify-content: center; }
.foot-tag { font-size: .82rem; color: var(--slate-500); }
.foot-made { font-size: .72rem; color: var(--slate-600); margin-top: .3rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.foot-links a { font-size: .875rem; color: var(--slate-400); transition: color var(--trans-fast); }
.foot-links a:hover { color: var(--brand-400); }
.foot-copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.07); font-size: .72rem; color: var(--slate-600); text-align: center; }

/* ========== TOAST ========== */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 2rem);
}
.toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--slate-800);
  color: #fff;
  padding: .875rem 1.25rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  border-left: 3px solid var(--brand-500);
  animation: toast-in .32s cubic-bezier(.175,.885,.32,1.275) forwards;
  pointer-events: auto;
}
.toast.toast-out {
  animation: toast-out .25s ease forwards;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0)   scale(1);   }
  to   { opacity: 0; transform: translateY(8px) scale(.96); }
}
