:root {
  /* Brand colors: navy #013369, red #d50a0a, white */
  --navy: #013369;         /* primary brand navy */
  --red: #d50a0a;          /* brand red: accents, icons, large numbers */
  --red-btn: #d50a0a;      /* button red, 5.4:1 contrast with white text */
  --red-btn-hover: #b30808;
  --red-light: #ff5a5a;    /* red for small text on navy */
  --red-soft: rgba(213, 10, 10, 0.16);
  --red-glow: rgba(213, 10, 10, 0.45);
  --silver: #dfe6ee;
  --white: #ffffff;
  --bg: #001a3a;           /* page background (deep navy) */
  --bg-deep: #00122a;      /* footer */
  --surface: #01234b;      /* alternate sections */
  --surface-2: #012b5b;    /* cards */
  --surface-3: #013369;
  --border: #1d4677;
  --border-hover: #3a6aa3;
  --text: #ffffff;
  --text-soft: #e2e9f2;
  --text-body: #d3ddea;
  --muted: #b4c3d6;
  --wa: #25d366;
  --wa-hover: #1eb956;
  --overlay: 0, 18, 42;    /* rgb for hero gradient */
  --focus: #ffd23f;

  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
p { margin: 0 0 16px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: var(--bg); font-weight: 700;
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow > p, .container.narrow > .faq-list { max-width: 880px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { flex: none; }
.btn-primary { background: var(--red-btn); color: var(--white); box-shadow: 0 8px 24px -10px var(--red-glow); }
.btn-primary:hover { background: var(--red-btn-hover); transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1, 51, 105, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.site-header .brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav-actions { display: flex; gap: 10px; flex: none; }

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--border); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger-lines, .burger-lines::before, .burger-lines::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s, background-color .2s; position: relative;
}
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179.98px) {
  .burger { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 24px; background: var(--navy);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 24px 40px -20px rgba(0, 10, 25, 0.8);
  }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
  .nav-links a { padding: 12px 10px; font-size: 16px; }
  .nav-actions { flex-direction: column; gap: 10px; }
  .nav-actions .btn { width: 100%; min-height: 48px; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--overlay), 0) 55%, rgba(var(--overlay), 0.75) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(var(--overlay), 0.97) 0%, rgba(var(--overlay), 0.96) 56%, rgba(var(--overlay), 0.9) 63%, rgba(var(--overlay), 0.6) 80%, rgba(var(--overlay), 0.45) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--red-soft); border: 1px solid rgba(213, 10, 10, 0.45);
  color: #ffd6d6; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.hero-intro { font-size: 18px; color: var(--text-soft); max-width: 620px; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 22px 0 28px; max-width: 600px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.hero-points svg { color: var(--red); flex: none; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-links { margin: 16px 0 0; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; }
.hero-links a { color: var(--silver); text-underline-offset: 3px; }
.hero-links a:hover { color: var(--white); }

/* ---------- pricing card ---------- */
.pricing-card {
  position: relative; background: rgba(1, 35, 75, 0.97);
  border: 1px solid var(--border); border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(213, 10, 10, 0.12);
  overflow: hidden;
}
.pricing-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), #ff5a5a, var(--red));
}
.pricing-card:focus { outline: none; }
.pricing-title { font-size: 22px; text-align: center; margin-bottom: 16px; }
.device-select {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 16px;
}
.device-btn {
  font: inherit; font-size: 14px; font-weight: 700; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; padding: 9px 6px; cursor: pointer; white-space: nowrap;
}
.device-btn:hover { color: var(--white); }
.device-btn[aria-pressed="true"] { background: var(--red-btn); color: var(--white); }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
  background: var(--surface-2); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 16px 14px 14px; transition: border-color .2s, background-color .2s;
}
.plan:hover { border-color: var(--border-hover); }
.plan[aria-pressed="true"] { border-color: var(--red); background: linear-gradient(180deg, rgba(213, 10, 10, 0.16), rgba(213, 10, 10, 0.04)); }
.plan-ico { color: var(--red); }
.plan-name { font-size: 15px; font-weight: 700; color: var(--silver); }
.plan-price { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--white); }
.badge {
  position: absolute; top: -1px; right: -1px; padding: 3px 9px; border-radius: 0 12px 0 10px;
  background: var(--red-btn); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .05em;
}
.checkout {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 12px 12px 12px 16px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.checkout-info { display: flex; flex-direction: column; min-width: 0; }
.checkout-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.checkout-summary { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.35; }
.checkout-summary .nowrap { display: inline-block; }
.btn-checkout { flex: none; padding: 0 18px; }
.trial-link {
  display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600;
  color: var(--silver); text-underline-offset: 3px;
}
.trial-link:hover { color: var(--white); }
.pricing-note { margin: 12px 4px 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }

/* ---------- stats ---------- */
.stats { background: var(--navy); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; color: var(--white); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section h2 { position: relative; padding-bottom: 14px; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--red); }
.lead { font-size: 18px; color: var(--text-soft); max-width: 820px; }
.note {
  margin: 20px 0 0; padding: 12px 16px; border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.03); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--muted);
}
.section p:not(.note):not(.lead) { color: var(--text-body); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 8px; counter-reset: none; }
.steps li {
  display: flex; flex-direction: column; gap: 12px; padding: 18px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.section-alt .steps li { background: var(--bg); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--red-btn); color: var(--white); font-weight: 800;
}
.step-text { font-weight: 600; line-height: 1.45; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chips li {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; font-weight: 600;
}
.chips svg { color: var(--red); flex: none; }

.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check-grid li {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600;
}
.check-grid svg { color: var(--red); flex: none; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.features li { padding: 22px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); border-top: 3px solid var(--red); }
.features h3 { font-size: 19px; margin-bottom: 8px; }
.features p { margin: 0; color: var(--muted) !important; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-list details[open] { border-color: rgba(213, 10, 10, 0.5); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 17px; border-radius: var(--radius);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red-light); font-size: 20px; font-weight: 700; line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 4px; }
.faq-a p { color: var(--muted) !important; }

/* ---------- CTA ---------- */
.section-cta { padding-top: 0; }
.cta-box {
  text-align: center; padding: 44px 28px; border-radius: 22px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(213, 10, 10, 0.28), rgba(213, 10, 10, 0) 60%), var(--surface);
  border: 1px solid rgba(213, 10, 10, 0.35);
}
.cta-box h2 { padding-bottom: 0; }
.cta-box h2::after { display: none; }
.cta-box p { max-width: 680px; margin: 0 auto 24px; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 32px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; }
.contact-list svg { color: var(--red); flex: none; }
.contact-list li:first-child svg { color: var(--wa); }
.disclaimer {
  margin-top: 36px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 14px; color: var(--muted);
}
.disclaimer p { margin: 0; }
.copyright { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- floating WhatsApp + mobile CTA ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: var(--white);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.7);
  transition: transform .2s, bottom .25s, background-color .2s;
}
.wa-float:hover { background: var(--wa-hover); transform: scale(1.06); }
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(1, 35, 75, 0.97); border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .25s;
}

/* ---------- scroll reveal (below the fold only) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pricing-wrap { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-bg { object-position: 100% center; filter: blur(4px) saturate(0.7); transform: scale(1.04); }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(var(--overlay), 0.93) 0%, rgba(var(--overlay), 0.95) 45%, rgba(var(--overlay), 0.97) 80%, var(--bg) 100%);
  }
  .check-grid, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .site-header .brand img { height: 32px; }
  .hero { padding: 40px 0 44px; }
  .eyebrow { font-size: 11px; letter-spacing: .03em; padding: 5px 12px; }
  .hero-intro, .lead { font-size: 17px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .section { padding: 44px 0; }
  .section-cta { padding-top: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .steps, .check-grid, .features { grid-template-columns: minmax(0, 1fr); }
  .chips li { width: 100%; border-radius: var(--radius-sm); }
  .pricing-card { padding: 20px 16px; }
  .plan-price { font-size: 24px; }
  .checkout { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-checkout { width: 100%; }
  .cta-box { padding: 36px 20px; }
  .cta-buttons .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mobile-cta { display: block; }
  .mobile-cta.is-visible { transform: none; }
  body.has-mobile-cta .wa-float { bottom: 84px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
