:root {
  --bg: #f4faff;
  --bg-alt: #eef9f1;
  --card: #ffffff;
  --border: #dbe9f5;
  --blue: #3b82f6;
  --blue-light: #dbeeff;
  --yellow: #f5b400;
  --yellow-light: #fff6dc;
  --green: #22b573;
  --green-light: #e2f8ec;
  --bad: #e0533d;
  --text: #1c2a3a;
  --subtext: #5b6b7c;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 250, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 16px; color: var(--text); }
.brand-sub { font-size: 11px; color: var(--subtext); letter-spacing: 0.5px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--text); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav a.active { color: var(--blue); font-weight: 700; }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff !important;
  padding: 9px 18px; border-radius: 8px; font-weight: 700 !important;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: none; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; box-shadow: 0 4px 14px rgba(59,130,246,0.25); }
.btn-secondary { background: var(--yellow-light); color: #8a6400; border: 1px solid #f0dca0; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-block { width: 100%; text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-inner { max-width: 560px; }
.hero-illustration img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 12px 40px rgba(28,42,58,0.10); }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; font-weight: 800; color: var(--text); }
.hero-sub { color: var(--subtext); font-size: 17px; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-glow {
  position: absolute; top: -120px; right: -150px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  filter: blur(10px); pointer-events: none;
}

/* ---------- trust bar ---------- */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--subtext); }
.trust-item .icon { font-size: 20px; }
.trust-item strong { color: var(--text); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-title { font-size: 30px; font-weight: 800; margin: 0 0 10px; color: var(--text); }
.section-sub { color: var(--subtext); font-size: 16px; }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 10px rgba(28,42,58,0.04); }
.feature-item .icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: var(--blue-light); margin-bottom: 16px;
}
.feature-item:nth-child(3n+2) .icon { background: var(--yellow-light); }
.feature-item:nth-child(3n+3) .icon { background: var(--green-light); }
.feature-item h3 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.feature-item p { color: var(--subtext); font-size: 14px; margin: 0; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; position: relative;
  box-shadow: 0 2px 12px rgba(28,42,58,0.05);
}
.product-card.ai { border: 2px solid var(--blue); }
.product-ribbon {
  position: absolute; top: -12px; right: 24px; background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.product-badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; text-transform: uppercase;
}
.product-badge.simple { background: var(--green-light); color: #17805a; }
.product-badge.ai { background: var(--blue-light); color: #1d5fd1; }
.product-card h3 { font-size: 21px; margin: 0 0 6px; color: var(--text); }
.product-tagline { color: var(--subtext); font-size: 14px; margin-bottom: 18px; }
.product-price { font-size: 34px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.product-price small { font-size: 14px; font-weight: 500; color: var(--subtext); }
.product-validity { font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 10px; }
.product-features { list-style: none; padding: 0; margin: 18px 0 24px; flex-grow: 1; }
.product-features li { padding: 6px 0; font-size: 14px; color: var(--text); display: flex; gap: 8px; }
.product-features li::before { content: "✓"; color: var(--green); font-weight: 700; }
.loading-placeholder, .empty-placeholder { color: var(--subtext); padding: 40px 0; text-align: center; }

/* ---------- comparison table ---------- */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.compare-table thead th { background: var(--blue-light); font-size: 13px; color: #1d5fd1; text-transform: uppercase; letter-spacing: 0.4px; }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: var(--subtext); }
.compare-table .feature-name { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--blue); font-size: 20px; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--subtext); margin: 12px 0 0; font-size: 14px; }

/* ---------- contact / policy page ---------- */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; max-width: 560px; margin: 0 auto; box-shadow: 0 2px 12px rgba(28,42,58,0.05); }
.contact-card h2 { margin-top: 0; color: var(--text); }
.contact-row { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.contact-row:first-of-type { border-top: none; }
.contact-row .label { color: var(--subtext); font-size: 13px; min-width: 120px; }
.contact-row .value { font-size: 15px; font-weight: 500; color: var(--text); }

.policy-block { max-width: 760px; margin: 0 auto; }
.policy-block h2 { color: var(--text); margin-top: 40px; font-size: 20px; }
.policy-block h2:first-child { margin-top: 0; }
.policy-block p, .policy-block li { color: var(--subtext); font-size: 15px; }

/* ---------- activate / support card ---------- */
.activate-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { padding: 6px 0; font-size: 15px; color: var(--text); }
.check-list li::before { content: "→ "; color: var(--blue); }
.activate-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 12px rgba(28,42,58,0.05); }
.activate-card-title { font-weight: 700; margin: 0 0 14px; color: var(--text); }

/* ---------- forms ---------- */
form { display: flex; flex-direction: column; gap: 12px; }
label { font-size: 13px; color: var(--subtext); margin-bottom: -6px; }
input[type="text"], input[type="email"] {
  background: #fff; border: 1px solid var(--border); color: var(--text);
  padding: 12px 14px; border-radius: 8px; font-size: 14px; outline: none;
}
input:focus { border-color: var(--blue); }
.form-status { font-size: 13px; margin-top: 10px; min-height: 18px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--bad); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 64px 0;
}
.cta-band h2 { font-size: 28px; margin: 0 0 12px; color: var(--text); }
.cta-band p { color: var(--subtext); margin: 0 0 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--card); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { margin-bottom: 6px; }
.footer-tagline { color: var(--subtext); font-size: 13px; margin: 0; }
.footer-copy { color: var(--subtext); font-size: 13px; margin: 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--subtext); font-size: 13px; }
.footer-links a:hover { color: var(--blue); }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(28, 42, 58, 0.45); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 100;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; width: 90%; max-width: 420px; position: relative;
  box-shadow: 0 10px 40px rgba(28,42,58,0.15);
}
.modal-close {
  position: absolute; top: 14px; right: 18px; background: none; border: none;
  color: var(--subtext); font-size: 22px; cursor: pointer;
}
.modal h3 { margin: 0 0 4px; font-size: 20px; color: var(--text); }
.modal-price { color: var(--blue); font-weight: 700; margin-bottom: 20px; }

/* ---------- download progress ---------- */
.download-spinner {
  width: 18px; height: 18px; border: 2px solid rgba(59,130,246,0.2); border-top-color: var(--blue);
  border-radius: 50%; display: inline-block; animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .hero h1 { font-size: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; }
  .activate-inner { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { display: none; }
}
