@charset "UTF-8";

:root {
  --blue: #2563eb;
  --indigo: #4f46e5;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e7ebf1;
  --bg: #ffffff;
  --surface: #ffffff;
  --bg-soft: #f6f8fc;
  --nav: rgba(255, 255, 255, .8);
  --radius: 20px;
  --shadow: 0 20px 60px rgba(15, 23, 42, .12);
  --grad: linear-gradient(135deg, var(--blue), var(--indigo));
  --max: 1140px;
}

[data-theme="dark"] {
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --line: #1f2a3b;
  --bg: #0b1220;
  --surface: #111a2b;
  --bg-soft: #0f1729;
  --nav: rgba(11, 18, 32, .8);
  --shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  font-weight: 600; font-size: 15px; padding: 12px 20px; transition: .15s ease;
  font-family: inherit;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(37, 99, 235, .38); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-white { background: #ffffff; color: var(--blue); }
.btn-white:hover { transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  backdrop-filter: saturate(1.4) blur(8px);
}
.nav::before {
  content: ''; position: absolute; inset: 0; background: var(--nav);
  border-bottom: 1px solid var(--line); z-index: -1;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.2px; }
.brand-logo { width: 28px; height: 28px; border-radius: 9px; background: var(--grad); flex: none; }
.brand-logo svg, .w-logo svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 8px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; flex: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-size: 17px; line-height: 1; display: grid; place-items: center; transition: .15s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 70px 24px 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.pill {
  display: inline-block; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--blue); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 52px; line-height: 1.06; letter-spacing: -1.5px; font-weight: 800; }
.lead { font-size: 19px; color: var(--muted); margin: 20px 0 28px; max-width: 520px; }
.lead b { color: var(--ink); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-trust span:first-child { color: #d97706; font-weight: 600; }

/* hero widget mock */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow { position: absolute; inset: 8% 10%; background: var(--grad); filter: blur(70px); opacity: .22; z-index: 0; border-radius: 50%; }
.widget {
  position: relative; z-index: 1; width: 360px; max-width: 100%;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.w-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.w-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); }
.w-title { font-weight: 700; font-size: 17px; }
.w-sub { font-size: 12px; color: var(--muted); }
.w-card { background: var(--bg-soft); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; }
.w-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--muted); }
.w-row + .w-row { border-top: 1px solid var(--line); }
.w-row b { color: var(--ink); }
.w-row b.blue { color: var(--blue); }
.w-verdict { display: flex; gap: 10px; background: #fee2e2; color: #b91c1c; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.w-dot { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; margin-top: 5px; flex: none; }
.w-verdict b { font-size: 14px; }
.w-vmsg { font-size: 12px; opacity: .9; margin-top: 2px; }
.w-offers-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.w-offer { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 600; }
.w-offer + .w-offer { border-top: 1px solid var(--line); }
.w-offer span:nth-child(2) { flex: 1; }
.w-idx { width: 20px; height: 20px; border-radius: 6px; background: #f1f5f9; color: var(--muted); font-size: 12px; display: grid; place-items: center; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; }
.section-alt { background: var(--bg-soft); max-width: none; }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-title { font-size: 36px; letter-spacing: -1px; text-align: center; font-weight: 800; }
.section-sub { text-align: center; color: var(--muted); font-size: 18px; margin: 12px auto 44px; max-width: 560px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

/* store chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.chips span.more { background: var(--grad); color: #fff; border: none; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan-pro { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-weight: 700; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.plan-price { font-size: 44px; font-weight: 800; margin: 8px 0 20px; letter-spacing: -1px; }
.plan-price small { font-size: 17px; color: var(--muted); font-weight: 600; }
.plan-list { list-style: none; margin-bottom: 24px; }
.plan-list li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 15px; }
.plan-list li i { color: #16a34a; font-style: normal; font-weight: 800; }
.plan-list li.muted { color: #94a3b8; }
.plan-list li.muted i { color: #cbd5e1; }
.plan-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; color: var(--blue); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* cta */
.cta { background: var(--grad); color: #fff; text-align: center; padding: 84px 24px; }
.cta h2 { font-size: 40px; letter-spacing: -1px; font-weight: 800; }
.cta p { font-size: 19px; opacity: .92; margin: 14px 0 30px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; opacity: .85; font-size: 14px; }

/* footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 56px 24px 32px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-cols h4 { font-size: 14px; margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-tag { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: 13px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 14px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s ease; z-index: 100; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { order: 2; }
  .steps, .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
  .cta h2 { font-size: 30px; }
}
