:root {
  --navy: #0b1f3a;
  --navy-2: #0f2a4a;
  --ink: #101826;
  --accent: #17a673;
  --accent-2: #22c58f;
  --bg: #f6f8fb;
  --card: #ffffff;
  --line: #e6eaf0;
  --muted: #5b6675;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 74, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; }
p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #06251a; box-shadow: 0 10px 24px rgba(23, 166, 115, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(23, 166, 115, 0.42); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: white; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { color: var(--navy); background: rgba(15, 42, 74, 0.06); }
.btn-ghost:hover { background: rgba(15, 42, 74, 0.12); }

/* ---------- Nav ---------- */
.nav-toggle-checkbox { display: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  color: white;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: white; font-weight: 700; font-size: 1.05rem; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #06251a; font-weight: 800; font-size: 0.85rem;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a:not(.btn) { text-decoration: none; color: rgba(255,255,255,0.85); font-size: 0.94rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: white; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.4rem; }
.nav-burger span { width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 15% -10%, #123a63 0%, var(--navy-2) 45%, var(--navy) 100%);
  color: white;
  padding: 5.5rem 1.5rem 6.5rem;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(600px 300px at 80% 0%, rgba(34, 197, 143, 0.25), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 auto 1.25rem; padding: 0.4rem 0.9rem;
  border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9); letter-spacing: 0.01em;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin: 0 0 1.1rem; font-weight: 800; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.trust-badges {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 0.9rem;
  padding: 0; margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.75);
}
.trust-badges li { padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); }

/* ---------- Section heads ---------- */
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: 0.7rem; }
.section-head.light h2 { color: white; }
.section-head.light p { color: rgba(255,255,255,0.72); }

/* ---------- Features ---------- */
.features { max-width: 1180px; margin: 0 auto; padding: 6rem 1.5rem 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(23,166,115,0.14), rgba(15,42,74,0.08));
  color: var(--accent);
}
.icon-badge svg { width: 24px; height: 24px; }
.feature-card h3 { margin: 0 0 0.55rem; color: var(--navy); font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Portals ---------- */
.portals { max-width: 1180px; margin: 0 auto; padding: 6rem 1.5rem; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.portal-card {
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow);
}
.portal-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: rgba(23,166,115,0.1); padding: 0.3rem 0.65rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.portal-card h3 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.05rem; }
.portal-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Security ---------- */
.security { background: var(--navy); padding: 6rem 1.5rem; }
.security-inner { max-width: 1080px; margin: 0 auto; }
.security-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.security-item { border-left: 2px solid rgba(34, 197, 143, 0.5); padding-left: 1.1rem; }
.security-item h4 { color: white; margin: 0 0 0.4rem; font-size: 1.02rem; }
.security-item p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta { padding: 6rem 1.5rem; }
.cta-inner {
  max-width: 780px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, #ffffff, #f0f6f3);
  border: 1px solid var(--line); border-radius: 24px; padding: 3.2rem 2rem;
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: var(--navy); margin: 0 0 0.8rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-inner p { max-width: 520px; margin: 0 auto 2rem; }
.cta .hero-actions { margin-bottom: 0; }
.cta .btn-outline { border-color: rgba(15,42,74,0.25); color: var(--navy); }
.cta .btn-outline:hover { background: rgba(15,42,74,0.06); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); padding: 2.5rem 1.5rem 3rem; }
.footer-inner { max-width: 780px; margin: 0 auto; text-align: center; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.6rem; color: white; font-weight: 700; margin-bottom: 1rem; }
.footer-inner a { text-decoration: none; color: rgba(255,255,255,0.85); }
.footer-inner a:hover { color: white; }
.footer-inner p { color: rgba(255,255,255,0.65); margin: 0.3rem 0; }
.footer-fine { margin-top: 1rem !important; font-size: 0.8rem; color: rgba(255,255,255,0.45) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-2); border-top: 1px solid rgba(255,255,255,0.08);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links a { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a.btn { margin: 1rem 1.5rem; text-align: center; justify-content: center; }
  .nav-toggle-checkbox:checked ~ .site-header .nav-links,
  #nav-toggle:checked ~ .site-header .nav-links { max-height: 480px; }
}
@media (max-width: 480px) {
  .hero { padding: 4rem 1.25rem 5rem; }
  .features, .portals, .security, .cta { padding-left: 1.25rem; padding-right: 1.25rem; }
}
