:root {
  --blue: #2457c5;
  --blue-deep: #1c3f9e;
  --blue-bright: #3a7bfd;
  --amber: #fbbf24;
  --ink: #0f1b3d;
  --text: #34405a;
  --muted: #66728a;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --green: #16a34a;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(15, 27, 61, 0.12);
  --nav-h: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
/* While JavaScript applies a saved/other language, keep the page hidden (max 1.5 s, see <head>). */
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h1 .accent { color: var(--blue); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.eyebrow { color: var(--blue); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
.eyebrow.pill { display: inline-flex; gap: 0.45rem; align-items: center; background: #e8efff; padding: 0.4rem 0.85rem; border-radius: 999px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sub { color: var(--muted); font-size: 1.05rem; }
.sub.left { text-align: left; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem; border-radius: 12px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  font-size: 0.98rem; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 0.9rem 1.45rem; font-size: 1.03rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(36, 87, 197, 0.3); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: var(--wa); color: #06361a; }
.btn-wa:hover { background: #1fbe5b; }
.btn-amber { background: var(--amber); color: #3b2a00; }
.btn-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn:focus-visible, .tab:focus-visible, .billing button:focus-visible, .lang-toggle button:focus-visible, .nav-toggle:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}

/* ----------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.15rem; font-weight: 800; }
.brand-text em { font-style: normal; color: var(--blue); }
.brand-text small { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.brand.small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.nav-links { display: flex; gap: 1.3rem; margin-left: 0.5rem; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.lang-toggle { display: flex; gap: 2px; background: #edf1f8; border-radius: 999px; padding: 3px; }
.lang-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--muted); padding: 0.35rem 0.7rem; border-radius: 999px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle button.active { background: var(--blue); color: #fff; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 42px; height: 42px; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* ---------------------------------------------------------------- hero */
.hero { background: radial-gradient(1100px 560px at 88% -10%, #dfe9ff 0, transparent 60%), linear-gradient(#fff, var(--bg-soft)); padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.lead { font-size: 1.18rem; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1rem; }
.hero-note { color: var(--muted); font-size: 0.92rem; }
.hero-note i { color: var(--green); }
.hero-visual { position: relative; padding-bottom: 56px; }
.tv { border-radius: 14px; background: #0b1017; padding: 10px; box-shadow: var(--shadow); border: 1px solid #1f2a38; }
.tv img { border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.tablet { position: absolute; width: 38%; left: -5%; bottom: 0; border-radius: 18px; background: #111; padding: 8px; box-shadow: var(--shadow); }
.tablet img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-badge {
  position: absolute; right: 4%; bottom: 6px; display: flex; gap: 0.7rem; align-items: center; background: #fff;
  border-radius: 14px; padding: 0.7rem 1rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-badge i { color: #3b2a00; background: var(--amber); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.hero-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.hero-badge b { color: var(--ink); font-size: 0.92rem; }
.hero-badge small { color: var(--muted); font-size: 0.8rem; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.ts-item { display: flex; gap: 0.8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1rem; }
.ts-item i { font-size: 1.35rem; color: var(--blue); }
.ts-item span { display: flex; flex-direction: column; line-height: 1.3; }
.ts-item b { color: var(--ink); font-size: 0.95rem; }
.ts-item small { color: var(--muted); font-size: 0.82rem; }

/* ------------------------------------------------------------ sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e8efff; color: var(--blue); font-size: 1.4rem; margin-bottom: 14px; }

/* comparison table */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 0.95rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: #fafbfe; }
.cmp tbody th { color: var(--ink); font-weight: 700; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td { color: var(--muted); }
.cmp td .bi-x-circle { color: #dc2626; }
.cmp td .bi-dash-circle { color: #d97706; }
.cmp .col-qp { background: #eef4ff; color: var(--ink); font-weight: 600; }
.cmp thead .col-qp { color: var(--blue); }
.cmp td.col-qp .bi { color: var(--green); }

/* showcase */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0.5rem 1.1rem; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.shot-frame { margin: 0 auto; max-width: 1060px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.who-card i { font-size: 1.6rem; color: var(--blue); display: block; margin-bottom: 10px; }
.who-card h3 { font-size: 1rem; margin-bottom: 0.3em; }
.who-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ------------------------------------------------------------- pricing */
.billing { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0 auto 34px; padding: 4px; border-radius: 18px; background: #e3e9f5; width: max-content; max-width: 100%; }
.billing button { border: 0; background: transparent; padding: 0.55rem 1.1rem; border-radius: 14px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.billing button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 27, 61, 0.1); }
.billing .save { font-style: normal; font-size: 0.72rem; font-weight: 800; background: #dcfce7; color: #166534; padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #fff; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #3b2a00; font-weight: 800; font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan-for { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; margin: 0.4rem 0 1.2rem; }
.amount { font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; white-space: nowrap; }
.per { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.plan li { padding: 6px 0; display: flex; gap: 8px; }
.plan li i { color: var(--blue); }
.plan .btn { width: 100%; }
.buy-link { display: flex; justify-content: center; gap: 6px; margin-top: 12px; font-weight: 700; text-decoration: none; font-size: 0.95rem; color: #128c4a; }
.note { color: var(--muted); font-size: 0.9rem; max-width: 780px; margin: 26px auto 0; text-align: center; }
.services-title { margin-top: 56px; text-align: center; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.service { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px dashed #c9d3e6; background: #fff; }
.service i { font-size: 1.5rem; color: var(--blue); }
.service p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.service strong { color: var(--ink); }

/* ------------------------------------------------------------ download */
.download-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.download-card, .req-card { border-radius: 20px; padding: 34px; }
.download-card { background: linear-gradient(135deg, #eef4ff, #fff); border: 1px solid #d6e2fb; }
.req-card { border: 1px solid var(--line); }
.req-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.req-card li { display: flex; gap: 8px; padding: 5px 0; font-size: 0.95rem; }
.req-card li i { color: var(--green); }
.small-note { color: var(--muted); font-size: 0.88rem; margin: 0; }
.license-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
.license-links a { font-weight: 600; text-decoration: none; }

/* --------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--ink); }
.about-points i { color: var(--green); }
.also-card {
  display: block; text-decoration: none; color: inherit; border-radius: 20px; padding: 30px;
  background: linear-gradient(140deg, #0b3a47, #0f766e); color: #d7f5ef; box-shadow: var(--shadow); transition: transform 0.2s ease;
}
.also-card:hover { transform: translateY(-3px); }
.also-card h3 { color: #fff; }
.also-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, 0.15); font-size: 1.4rem; color: #fff; margin-bottom: 14px; }
.also-cta { font-weight: 800; color: #fff; display: inline-flex; gap: 6px; align-items: center; }

/* ----------------------------------------------------------------- faq */
.faq { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); flex: none; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); }

/* --------------------------------------------------------------- final */
.final { background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright)); color: #e7eeff; padding: 80px 0; }
.final h2 { color: #fff; }
.final-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact-card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 20px; padding: 28px; }
.contact-card h3 { color: #fff; }
.contact-card a, .contact-row { display: flex; gap: 14px; align-items: center; color: #fff; text-decoration: none; padding: 11px 0; font-weight: 700; word-break: break-word; }
.contact-card i { font-size: 1.45rem; color: var(--amber); flex: none; }
.contact-card small { display: block; font-weight: 500; color: #c7d6ff; }

.footer { padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer a { color: var(--muted); }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); z-index: 30; text-decoration: none; }

/* -------------------------------------------------------------- reveal */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s ease var(--d, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Grid children may shrink below their content width (no horizontal scroll on phones). */
.hero-grid > *, .final-grid > *, .features > *, .plans > *, .steps > *, .services > *, .who > *, .download-grid > *, .about-grid > *, .trust-strip > * { min-width: 0; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero-grid, .final-grid, .download-grid, .about-grid { grid-template-columns: 1fr; }
  .features, .plans, .steps, .services { grid-template-columns: 1fr 1fr; }
  .who, .trust-strip { grid-template-columns: 1fr 1fr; }
  .tablet { left: 0; }
}
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .features, .plans, .steps, .services { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 28px; }
  .cta-row .btn { width: 100%; }
  .nav-cta, .brand-text small { display: none; }
  .plan-for { min-height: 0; }
  .hero-badge { display: none; }
  .download-card, .req-card { padding: 24px; }
  .billing { width: 100%; }
  .billing button { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .who, .trust-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature, .also-card { transition: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
