:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --text: #121621;
  --muted: #5b6475;
  --border: #e3e7f0;
  --accent: #3b6ef5;
  --accent-hover: #2f5bea;
  --accent-soft: #eaf0ff;
  --ok: #15803d;
  --orange: #f97316;
  --radius: 16px;
  --shadow-lg: 0 30px 80px -20px rgba(20, 40, 100, 0.28), 0 10px 30px -10px rgba(20, 40, 100, 0.18);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1118;
    --bg-soft: #151a24;
    --text: #eef1f7;
    --muted: #9aa3b5;
    --border: #262d3b;
    --accent-soft: #1b2546;
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.logo b { color: var(--accent); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15.5px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.lang { font-size: 14px; color: var(--muted); border: 1px solid var(--border); padding: 4px 10px; border-radius: 8px; }
.lang:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 16.5px;
  border: 1px solid transparent; transition: 0.15s; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(59, 110, 245, 0.7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--bg); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn svg { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; background: radial-gradient(1200px 500px at 50% -10%, var(--accent-soft), transparent 70%); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  background: var(--bg); border: 1px solid var(--border); font-size: 14px; color: var(--muted);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 70px); line-height: 1.04; letter-spacing: -0.035em;
  margin: 22px auto 18px; max-width: 900px; font-weight: 800;
}
.hero h1 span { background: linear-gradient(120deg, #3b6ef5, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.window {
  margin: 56px auto 0; max-width: 1080px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #fff;
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #eef1f7; border-bottom: 1px solid #e0e5ef; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3d9e6; }
.window-bar span { margin-left: 8px; font-size: 13px; color: #6b7487; }

/* ---------- trust bar ---------- */
.trust { padding: 36px 0; border-bottom: 1px solid var(--border); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; justify-content: center; font-weight: 600; font-size: 16px; }
.trust svg { width: 26px; height: 26px; color: var(--accent); flex: none; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -0.025em; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 18.5px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.pro-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 6px;
  color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316);
}

.showcase { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.flip { grid-template-columns: 1.35fr 1fr; }
.showcase.flip .text { order: 2; }
.showcase h3 { font-size: 30px; letter-spacing: -0.02em; margin: 8px 0 12px; line-height: 1.2; }
.showcase p { color: var(--muted); margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }

.alt { background: var(--bg-soft); }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 15px; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.compare thead th.us { color: var(--accent); background: var(--accent-soft); font-size: 17px; }
.compare td.us { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); font-weight: 600; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #dc2626; font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
.plan {
  position: relative; padding: 34px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg);
  display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 99px; white-space: nowrap;
}
.plan h3 { margin: 0; font-size: 22px; }
.price { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 0; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 15px; margin: 8px 0 22px; min-height: 48px; }
.price-note b { color: var(--orange); }
.plan .checks { margin-bottom: 28px; flex: 1; }
.plan .btn { width: 100%; }
.pricing-foot { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--accent); transition: 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.final {
  text-align: center; padding: 72px 24px; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, #3b6ef5, #6a4cf0);
}
.final h2 { color: #fff; margin-top: 0; }
.final p { opacity: 0.9; margin: 0 auto 28px; max-width: 560px; }
.final .btn-primary { background: #fff; color: #2f5bea; box-shadow: none; }
.final .btn-primary:hover { background: #eef2ff; }
.final img { width: 64px; height: 64px; margin: 0 auto 18px; }

/* footer */
footer { padding: 48px 0 40px; border-top: 1px solid var(--border); margin-top: 96px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--muted); }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 0 0; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 28px; }
  .showcase.flip .text { order: 0; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { justify-content: flex-start; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header .btn { display: none; }
  .features { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .cta .btn { width: 100%; }
  .window { margin-top: 36px; }
  .window-bar { display: none; }
}
