@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #eaf1f8;
  --text: #0f1728;
  --text-muted: #52607a;
  --brand: #0f6fbf;
  --brand-strong: #0b4f8b;
  --accent: #f97316;
  --line: #d3deea;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(7, 20, 43, 0.08);
  --shadow-soft: 0 8px 26px rgba(9, 28, 55, 0.08);
  --section-space: clamp(1.8rem, 3.2vw, 2.8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #d6ecff 0%, var(--bg) 40%), var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 44, 89, 0.08);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-stack {
  display: grid;
  gap: 0.18rem;
  line-height: 1;
}

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0f1728;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #1f5f84;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.menu-link {
  font-size: 0.9rem;
  line-height: 1;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.nav-group {
  position: relative;
}

.nav-group::after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 12px;
}

.menu-trigger {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.menu-trigger i {
  font-size: 0.72rem;
  opacity: 0.75;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 18px 40px rgba(8, 28, 58, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown,
.nav-group.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  border-radius: 10px;
  padding: 0.52rem 0.64rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.dropdown a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.dropdown a.active {
  background: #eaf4ff;
  color: var(--brand-strong);
  font-weight: 600;
}

.menu-link:hover,
.menu-link.active,
.menu-trigger.active {
  color: var(--text);
}

.menu-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  font-size: 0.93rem;
  font-weight: 600;
  transition: 0.24s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 10px 25px rgba(14, 90, 158, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 90, 158, 0.35);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.mobile-panel {
  display: none;
  padding: 1rem 0 1.2rem;
}

.mobile-panel a {
  display: block;
  padding: 0.55rem 0;
  color: var(--text-muted);
}

.mobile-group {
  border-top: 1px solid var(--line);
  padding: 0.45rem 0;
}

.mobile-group summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  padding: 0.2rem 0;
}

.mobile-group summary::-webkit-details-marker {
  display: none;
}

.mobile-group summary::after {
  content: '+';
  float: right;
  color: var(--text-muted);
}

.mobile-group[open] summary::after {
  content: '-';
}

.mobile-sub {
  margin-top: 0.25rem;
}

.mobile-sub a {
  padding: 0.42rem 0 0.42rem 0.95rem;
  font-size: 0.92rem;
}

.hero {
  padding: clamp(1.5rem, 2.8vw, 2.3rem) 0 clamp(1.2rem, 2.2vw, 1.8rem);
}

.hero-shell {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(126deg, #0f2f56 0%, #133b7b 45%, #106f96 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: center;
  box-shadow: var(--shadow);
}

.hero-shell::before,
.hero-shell::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero-shell::before {
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  top: -220px;
  right: -160px;
}

.hero-shell::after {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  bottom: -210px;
  left: -110px;
}

.hero h1,
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.04;
  margin: 0;
}

.hero p {
  max-width: 52ch;
  color: rgba(231, 240, 250, 0.95);
  margin: 1.2rem 0 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-card {
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.23);
}

.hero-card b {
  display: block;
  font-size: 1.65rem;
  font-family: 'Space Grotesk', sans-serif;
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding: clamp(0.8rem, 1.4vw, 1.2rem) 0;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  margin: 0;
}

.section-sub {
  color: var(--text-muted);
  margin-top: 0.8rem;
  max-width: 65ch;
}

.section-head {
  margin-bottom: 1.1rem;
}

.grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0.4rem 0 0.45rem;
  font-size: 1.22rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  color: var(--brand);
  font-size: 1.1rem;
}

.band {
  background: linear-gradient(95deg, #0f4f8c, #0e7fb3);
  color: white;
  border-radius: 22px;
  padding: clamp(1rem, 1.7vw, 1.4rem);
  display: grid;
  grid-template-columns: 1.1fr auto;
  align-items: center;
  gap: 1rem;
}

.band p {
  color: rgba(232, 242, 255, 0.95);
  margin: 0.5rem 0 0;
}

.page-hero {
  padding: 2.7rem 0 2.2rem;
}

.page-hero-inner {
  border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: linear-gradient(130deg, #1c3656, #0f6387);
  color: white;
  box-shadow: var(--shadow-soft);
}

.page-hero p {
  margin: 0.8rem 0 0;
  color: rgba(226, 236, 250, 0.92);
  max-width: 56ch;
}

.kicker {
  display: inline-block;
  border-radius: 999px;
  padding: 0.27rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 0.8rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.feature-list li {
  padding-left: 1.45rem;
  position: relative;
  margin: 0.55rem 0;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.53rem;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.3rem;
}

.input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.82rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 111, 191, 0.16);
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

.footer {
  margin-top: clamp(1.4rem, 2.2vw, 2rem);
  background: #0f1728;
  color: #d9e2f0;
}

.footer-main {
  padding: 3rem 0 1.8rem;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
}

.footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  margin: 0 0 0.6rem;
}

.footer p,
.footer li,
.footer a {
  color: #c9d5e8;
  font-size: 0.92rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(205, 223, 248, 0.16);
  text-align: center;
  padding: 0.95rem 0 1.15rem;
  font-size: 0.86rem;
  color: #a9bad3;
}

.mt-0 { margin-top: 0; }

@media (max-width: 980px) {
  .hero-shell,
  .two-col,
  .footer-main,
  .form-wrap,
  .band {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu {
    display: none;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel.is-open {
    display: block;
  }
}

@media (max-width: 680px) {
  .grid-3,
  .grid-2,
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .header-inner {
    height: 72px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-tagline {
    display: none;
  }

  .brand-title {
    font-size: 0.84rem;
  }

  .footer-main {
    padding-top: 2.2rem;
  }
}
