:root {
  --navy-950: #071533;
  --navy-900: #0a214d;
  --navy-800: #0d2d68;
  --blue-700: #0f4db8;
  --blue-600: #1565d8;
  --blue-500: #1d7af0;
  --blue-400: #4b9bff;
  --cyan: #3ec8ff;
  --sky: #e8f3ff;
  --mist: #f4f8fd;
  --white: #ffffff;
  --ink: #12203a;
  --muted: #5b6b86;
  --line: #d7e4f4;
  --ok: #12a36a;
  --warn: #c98512;
  --shadow: 0 18px 50px rgba(15, 50, 120, 0.12);
  --shadow-lg: 0 30px 80px rgba(10, 40, 100, 0.18);
  --radius: 22px;
  --header: 76px;
  --font: "Be Vietnam Pro", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

button,
input,
select {
  font-family: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(29, 122, 240, 0.1);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(29, 122, 240, 0.16);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-head .lead {
  margin: 14px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3ec8ff, #1565d8 55%, #0f4db8);
  box-shadow: 0 12px 28px rgba(21, 101, 216, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(21, 101, 216, 0.42);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-outline {
  color: var(--blue-600);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--blue-400);
  color: var(--blue-700);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: 0.3s ease;
}

.header.scrolled,
.header.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(12, 40, 90, 0.08);
}

.header-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.header.scrolled .logo,
.header.solid .logo {
  color: var(--navy-900);
}

.logo img {
  width: 38px;
  height: 38px;
}

.logo span {
  letter-spacing: -0.04em;
}

.logo b {
  font-weight: 500;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
}

.header.scrolled .nav a,
.header.solid .nav a {
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: 0.25s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  position: relative;
  transition: 0.2s;
}

.header.scrolled .menu-btn,
.header.solid .menu-btn {
  background: var(--sky);
}

.header.scrolled .menu-btn span,
.header.scrolled .menu-btn span::before,
.header.scrolled .menu-btn span::after,
.header.solid .menu-btn span,
.header.solid .menu-btn span::before,
.header.solid .menu-btn span::after {
  background: var(--navy-900);
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 126px 0 80px;
  background:
    radial-gradient(circle at 12% 18%, rgba(62, 200, 255, 0.28), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(75, 155, 255, 0.22), transparent 26%),
    linear-gradient(160deg, #071533 0%, #0c2d6a 46%, #1148a8 100%);
  overflow: hidden;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.18;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: rgba(62, 200, 255, 0.18);
  top: 12%;
  left: -80px;
}

.orb-2 {
  width: 220px;
  height: 220px;
  background: rgba(29, 122, 240, 0.22);
  right: -60px;
  bottom: 8%;
  animation-delay: -3s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 16px 0 18px;
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #9fd9ff, #fff 55%, #7be7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 500;
}

.trust-item i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62, 200, 255, 0.18);
  display: grid;
  place-items: center;
  color: #9fe6ff;
}

/* Calculator */
.calc-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  animation: rise 0.9s 0.15s both;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.calc-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -50px;
  background: radial-gradient(circle, rgba(62, 200, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.calc-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.calc-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}

.field {
  margin-bottom: 18px;
}

.field-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field-val {
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500) var(--p, 50%), #dce8f8 var(--p, 50%));
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--blue-500);
  box-shadow: 0 4px 12px rgba(21, 101, 216, 0.3);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--blue-500);
  box-shadow: 0 4px 12px rgba(21, 101, 216, 0.3);
  cursor: pointer;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.chip.active,
.chip:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}

.calc-result {
  margin-top: 8px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f3f8ff, #eaf3ff);
  border: 1px solid #d6e7fb;
}

.result-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.result-main small {
  color: var(--muted);
  font-weight: 600;
}

.result-main strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.result-item {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
}

.result-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.result-item b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.legal-note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #6a7a93;
}

.schedule-wrap {
  margin-top: 14px;
}

.schedule-wrap details {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.schedule-wrap summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--blue-700);
}

.table-scroll {
  overflow-x: auto;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

th,
td {
  text-align: right;
  padding: 7px 6px;
  border-bottom: 1px solid #eef3f9;
  font-variant-numeric: tabular-nums;
}

th:first-child,
td:first-child {
  text-align: left;
}

th {
  color: var(--muted);
  font-weight: 600;
}

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.stat {
  padding: 8px 12px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-size: 26px;
  color: var(--blue-600);
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 13.5px;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(16, 48, 110, 0.06);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cfe2fb;
  box-shadow: var(--shadow);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #eaf4ff, #d6e9ff);
  color: var(--blue-600);
}

.card p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 14.5px;
}

/* Why */
.why {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.why-visual {
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 30%, rgba(62, 200, 255, 0.35), transparent 32%),
    linear-gradient(160deg, #0b2e6b, #1565d8);
  overflow: hidden;
  animation: glow 6s ease-in-out infinite;
}

.why-visual::before {
  content: "L";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 220px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: -0.08em;
}

.why-visual .floating-card {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  animation: float 6.5s ease-in-out infinite;
}

.why-visual .c1 {
  top: 42px;
  left: 28px;
}

.why-visual .c2 {
  right: 28px;
  top: 150px;
  animation-delay: -2s;
}

.why-visual .c3 {
  left: 48px;
  bottom: 48px;
  animation-delay: -4s;
}

.why-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.why-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.why-item strong {
  display: block;
  margin-bottom: 2px;
}

.why-item p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 42px;
  font-weight: 800;
  color: #eaf2ff;
  letter-spacing: -0.06em;
}

.step h3 {
  margin: 12px 0 8px;
  position: relative;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue-600);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 48, 110, 0.05);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item button span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: 0.25s;
}

.faq-item.open button span {
  transform: rotate(45deg);
  background: var(--blue-600);
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.35s ease;
}

.faq-item.open .faq-body {
  max-height: 240px;
}

.faq-body p {
  padding: 0 22px 18px;
  color: var(--muted);
}

/* CTA */
.cta {
  padding-bottom: 96px;
}

.cta-box {
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(62, 200, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #0b2e6b, #1565d8 60%, #1d7af0);
  position: relative;
  overflow: hidden;
}

.cta-box h2,
.cta-box p {
  position: relative;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  margin: 12px auto 24px;
  max-width: 560px;
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo {
  margin-bottom: 14px;
}

.footer p,
.footer li {
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.empty {
  color: rgba(255, 255, 255, 0.42);
  font-style: italic;
}

/* Inner pages */
.page-hero {
  padding: 140px 0 64px;
  background: linear-gradient(160deg, #071533, #1148a8);
  color: #fff;
}

.page-hero h1 {
  margin: 10px 0 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 640px;
}

.prose {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.prose h3 {
  margin: 22px 0 8px;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 10px;
}

.prose ul {
  padding-left: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.placeholder {
  color: #98a6bb;
  font-style: italic;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s ease both;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes glow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.15);
  }
}

@keyframes shine {
  0%,
  55% {
    left: -40%;
  }
  100% {
    left: 140%;
  }
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal.in {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 960px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header);
    right: -110%;
    width: min(320px, 86vw);
    height: calc(100vh - var(--header));
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    transition: 0.3s;
  }

  .nav.open {
    right: 0;
  }

  .nav a,
  .header.scrolled .nav a,
  .header.solid .nav a {
    color: var(--ink);
  }

  .hero-grid,
  .why-grid,
  .stats-grid,
  .grid-3,
  .steps,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 8px;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .why-visual {
    min-height: 320px;
  }

  .header .btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 24px));
  }

  .section {
    padding: 64px 0;
  }

  .calc-card,
  .prose {
    padding: 20px;
  }

  .result-main strong {
    font-size: 26px;
  }

  .cta-box {
    padding: 36px 20px;
  }
}
