:root {
  --blue-deep: #0b1f4b;
  --blue-electric: #3b82f6;
  --purple: #8b5cf6;
  --coral: #ff6b3d;
  --action-gradient: linear-gradient(90deg, var(--blue-electric) 0%, var(--purple) 52%, var(--coral) 100%);
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-alt: #e9edf5;
  --text: #0b1f4b;
  --muted: #6b7280;
  --hero-text: #ffffff;
  --border: rgba(11, 31, 75, 0.08);
  --shadow: rgba(11, 31, 75, 0.08);
}

body.dark-mode {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-alt: #141e33;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #334155;
  --shadow: rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.nav-shell {
  min-height: 76px;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  box-shadow: 0 4px 20px var(--shadow);
}

.brand-card {
  min-width: 140px;
  min-height: 52px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11,31,75,.06);
  box-shadow: 0 8px 22px rgba(11,31,75,.08);
}

.nav-logo { height: 38px; width: auto; object-fit: contain; }
.brand-fallback, .hero-wordmark, .footer-brand { font-weight: 800; letter-spacing: -1.5px; }
.brand-fallback { font-size: 28px; color: #0b1f4b; }
.brand-fallback span, .hero-wordmark span, .footer-brand span, .gradient-text {
  background: var(--action-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-right, .nav-links { display: flex; align-items: center; }
.nav-right { gap: 18px; }
.nav-links { gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--blue-electric); }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  background: transparent;
  color: #581c87;
  cursor: pointer;
}
body.dark-mode .theme-toggle { color: #fef08a; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 0;
  background: var(--action-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 10px 20px rgba(255,107,61,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(255,107,61,.33); }
.btn-small { padding: 10px 20px; font-size: 13px; }
.btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,.28); box-shadow: none; }

.hero {
  min-height: 740px;
  padding: 72px 5% 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.16), transparent 28%),
    radial-gradient(circle at 85% 22%, rgba(139,92,246,.16), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255,107,61,.10), transparent 34%),
    linear-gradient(90deg, #05163c 0%, #0a1c4b 58%, #111b57 100%);
  overflow: hidden;
}

.hero-content { width: 100%; max-width: 1180px; text-align: center; }
.hero-logo-panel {
  width: min(520px, 86vw);
  min-height: 180px;
  margin: 0 auto 30px;
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 24px 55px rgba(0,0,0,.22);
}

.hero-logo { width: auto; max-width: min(420px, 72vw); max-height: 145px; object-fit: contain; }
.hero-logo-tagline {
  color: #486684;
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: .42em;
  text-indent: .42em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-logo-fallback { color: #0b1f4b; }
.hero-wordmark { font-size: clamp(52px, 8vw, 76px); line-height: 1; }
.hero-logo-fallback small { display: block; margin-top: 10px; color: #6b7280; font-size: 12px; font-weight: 750; letter-spacing: 5px; text-transform: uppercase; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero h1 { max-width: 900px; margin: 28px auto 16px; color: var(--hero-text); font-size: clamp(40px, 5.4vw, 68px); line-height: 1.03; letter-spacing: -2.5px; }
.hero-description { max-width: 760px; margin: 0 auto 28px; color: rgba(255,255,255,.78); font-size: 17px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.system-strip { margin: 50px auto 0; display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; max-width: 1100px; }
.system-pill { min-height: 66px; padding: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 16px; color: #fff; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.system-pill i { color: var(--blue-electric); font-size: 18px; }
.system-pill span { font-size: 11px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }

.section { padding: 84px 5%; text-align: center; }
.section-alt { background: var(--surface-alt); }
.container { max-width: 1180px; margin: 0 auto; }
.section h2 { margin: 0 0 14px; font-size: clamp(30px,4vw,44px); line-height: 1.12; letter-spacing: -1.2px; }
.section-subtitle { max-width: 720px; margin: 0 auto 46px; color: var(--muted); }

.benefits-grid, .solutions-grid, .features-grid, .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.info-card, .solution-card {
  padding: 32px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 30px var(--shadow);
}
.solution-card { padding: 38px 30px; transition: transform .2s ease, border-color .2s ease; }
.solution-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,.55); }
.solution-card.featured { border-color: rgba(59,130,246,.38); box-shadow: 0 16px 34px rgba(59,130,246,.10); }
.info-card h3, .solution-card h3 { margin: 15px 0 8px; font-size: 22px; }
.info-card p, .solution-card p, .features-grid p, .steps-grid p { margin: 0; color: var(--muted); }

.card-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 22px; }
.card-icon.blue { color: var(--blue-electric); background: rgba(59,130,246,.10); }
.card-icon.purple { color: var(--purple); background: rgba(139,92,246,.10); }
.card-icon.coral { color: var(--coral); background: rgba(255,107,61,.10); }
.card-kicker { display: inline-block; margin-bottom: 14px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--purple); font-weight: 750; }
.status-pill { display: inline-flex; margin-top: 22px; padding: 7px 11px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); font-size: 12px; font-weight: 700; }

.steps-grid { position: relative; }
.steps-grid article { padding: 10px 20px; }
.steps-grid article > span { width: 68px; height: 68px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--action-gradient); color: #fff; font-size: 24px; font-weight: 800; box-shadow: 0 7px 18px rgba(139,92,246,.28); }
.steps-grid h3 { margin: 0 0 8px; }

.features-grid { margin-top: 44px; }
.features-grid article { padding: 20px; }
.features-grid i { color: var(--blue-electric); font-size: 24px; }
.features-grid h3 { margin: 12px 0 8px; }

.cta-section { padding: 88px 5%; text-align: center; background: var(--blue-deep); color: #fff; }
.cta-content { max-width: 820px; margin: 0 auto; }
.cta-content h2 { margin: 22px auto 14px; font-size: clamp(34px,5vw,54px); line-height: 1.08; letter-spacing: -1.5px; }
.cta-content p { margin: 0 0 24px; color: rgba(255,255,255,.74); }

.faq { max-width: 850px; }
.faq details { margin-bottom: 14px; text-align: left; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.faq summary { padding: 19px 20px; font-weight: 750; cursor: pointer; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

footer { padding: 48px 5%; background: #071734; color: #fff; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.footer-brand { font-size: 24px; }
footer p { margin: 3px 0; opacity: .72; font-size: 13px; letter-spacing: 1px; }
footer small { opacity: .56; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 650; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .benefits-grid, .solutions-grid, .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .system-strip { grid-template-columns: repeat(2,1fr); }
  .hero { min-height: auto; padding-top: 60px; }
  .hero h1 { letter-spacing: -1.5px; }
}

@media (max-width: 620px) {
  .nav-shell { padding-inline: 4%; }
  .brand-card { min-width: 112px; min-height: 46px; padding: 6px 8px; }
  .nav-logo { height: 31px; }
  .brand-fallback { font-size: 23px; }
  .btn-small { padding: 9px 13px; font-size: 11px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero { padding: 50px 5% 48px; }
  .hero-logo-panel { min-height: 145px; padding: 18px; border-radius: 20px; }
  .hero-logo { max-width: 78vw; max-height: 116px; }
  .hero-logo-tagline { font-size: 9px; letter-spacing: .28em; text-indent: .28em; }
  .hero h1 { font-size: 39px; }
  .hero-description { font-size: 15px; }
  .system-strip { grid-template-columns: 1fr; margin-top: 38px; }
  .section { padding: 64px 5%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
