/* ---------- Variables & Reset ---------- */
:root {
  --navy-950: #060b16;
  --navy-900: #0d1b2e;
  --navy-800: #17293f;
  --navy-700: #223954;
  --teal-400: #2dd4ee;
  --teal-500: #0ea5c4;
  --teal-600: #0891a8;
  --sky-500: #3b82f6;
  --bg-light: #f7f9fc;
  --color-text-solid: #33415a;
  --color-heading: #0d1b2e;
  --color-muted: #64748b;
  --color-border: #e3e8f0;
  --font-family: 'Poppins', Arial, sans-serif;
  --container-width: 1200px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text-solid);
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--navy-900);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h4, h6 {
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 20px;
}

h4 {
  font-size: 32px;
  letter-spacing: -.01em;
}

h6 {
  font-size: 19px;
  font-weight: 600;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-600);
  margin: 0 0 12px;
}

.eyebrow.centered {
  text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(13, 27, 46, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand img {
  height: 52px;
}

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

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy-900);
}

.site-nav a:hover {
  color: var(--teal-600);
}

.nav-cta {
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  background: var(--navy-900);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--teal-600);
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  transition: transform .2s ease;
}

.nav-toggle span {
  top: 11px;
}

.nav-toggle span::before {
  top: -8px;
}

.nav-toggle span::after {
  top: 8px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(45, 212, 238, .25), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(59, 130, 246, .2), transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  padding: 110px 20px 130px;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--teal-400);
  margin: 0 0 22px;
}

.hero-title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 26px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: #c4d0e0;
  margin: 0 0 36px;
}

.button-hero {
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  color: #fff;
  padding: 16px 38px;
  font-size: 14px;
}

.button-hero:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section.dark {
  background: var(--navy-950);
  color: #c4d0e0;
}

.section.dark h4,
.section.dark h6 {
  color: #fff;
}

.section.dark .eyebrow {
  color: var(--teal-400);
}

.section.dark .section-intro {
  color: #93a3ba;
}

.heading-decorated {
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 50px;
}

.heading-decorated::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--sky-500));
}

.heading-decorated.centered {
  text-align: center;
}

.heading-decorated.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 60px;
  align-items: center;
}

.media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(13, 27, 46, .3);
}

.media-wide {
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Blurbs ---------- */
.blurb-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.blurb {
  display: flex;
  gap: 18px;
}

.blurb-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 212, 238, .18), rgba(59, 130, 246, .12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.blurb-title {
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: .01em;
}

.blurb p {
  margin: 0;
  color: var(--color-muted);
}

/* ---------- Section intro ---------- */
.section-intro {
  color: var(--color-muted);
  margin-top: -30px;
  margin-bottom: 40px;
}

.section-intro.centered {
  text-align: center;
}

/* ---------- Icons (emoji-based, no external deps) ---------- */
.ic { font-style: normal; }
.ic-approach::before { content: '\1F4CB'; }
.ic-team::before { content: '\1F465'; }

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 560px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #93a3ba;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.compare-table td:first-child,
.compare-table th:first-child {
  font-weight: 600;
  color: #fff;
}

.compare-table td {
  color: #93a3ba;
}

.compare-table .is-highlight {
  background: rgba(45, 212, 238, .1);
  color: #e7f6fb;
  font-weight: 500;
}

.compare-table thead th.is-highlight {
  color: var(--teal-400);
}

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

.stat-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(13, 27, 46, .25);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 6px;
  background: linear-gradient(135deg, var(--teal-600), var(--sky-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 10px;
}

.stat-desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

/* ---------- Accordion ---------- */
.accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  border-left: 3px solid transparent;
  overflow: hidden;
  transition: border-color .2s ease;
}

.accordion-item.is-open {
  border-left-color: var(--teal-400);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.acc-caret {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal-400);
  border-bottom: 2px solid var(--teal-400);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.accordion-item.is-open .acc-caret {
  transform: rotate(-135deg);
}

.accordion-panel {
  display: none;
  padding: 0 22px 22px;
  color: #93a3ba;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

/* ---------- Chip cloud ---------- */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.chip {
  padding: 12px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  background: #fff;
  transition: all .2s ease;
}

.chip:hover {
  border-color: var(--teal-500);
  color: var(--teal-600);
}

/* ---------- Stepper ---------- */
.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  position: relative;
}

.step {
  position: relative;
  padding-top: 50px;
}

.step-index {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.step-time {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--teal-400);
  margin: 0 0 10px;
  font-weight: 700;
}

.step p:last-child {
  margin: 0;
  color: #93a3ba;
  font-size: 14px;
}

/* ---------- Pre-footer & Footer ---------- */
.pre-footer {
  background: var(--navy-900);
  color: #93a3ba;
  padding: 60px 0;
}

.pre-footer h6 {
  color: #fff;
}

.pre-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #93a3ba;
}

.footer-nav a:hover {
  color: var(--teal-400);
}

.footer-terms dt {
  font-weight: 700;
  color: #fff;
  margin-top: 14px;
}

.footer-terms dt:first-child {
  margin-top: 0;
}

.footer-terms dd {
  margin: 4px 0 0;
  color: #93a3ba;
}

.footer-terms a {
  color: #93a3ba;
}

.footer-terms a:hover {
  color: var(--teal-400);
}

.site-footer {
  background: var(--navy-950);
  padding: 22px 0;
}

.rights {
  margin: 0;
  color: #5c6b80;
  font-size: 13px;
  text-align: center;
}

/* ---------- Modal ---------- */
.modal, .modal-backdrop {
  position: fixed;
  inset: 0;
}

.modal-backdrop {
  z-index: 1000;
  display: none;
  background: rgba(6, 11, 22, .7);
}

.modal-backdrop.is-open {
  display: block;
}

.modal {
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
}

.modal-title {
  margin: 0 0 24px;
  font-size: 22px;
  text-align: center;
  color: var(--color-heading);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}

.form-wrap {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--color-muted);
  font-size: 14px;
  pointer-events: none;
  transition: all .15s ease;
  background: #fff;
  padding: 0 4px;
}

.form-input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--teal-500);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.form-wrap.is-filled .form-label,
.form-input:focus + .form-label {
  top: -8px;
  font-size: 11px;
  color: var(--teal-600);
}

.button {
  display: inline-block;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 13px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: all .2s ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--sky-500));
  border-color: transparent;
  width: 100%;
}

.button-primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

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

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

  .pre-footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 80px;
  }

  .brand img {
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(13, 27, 46, .1);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 20px;
  }

  .site-nav li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-cta {
    margin-top: 10px;
    display: inline-block;
  }

  .stat-grid,
  .stepper {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .hero-inner {
    padding: 80px 20px 90px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 16px;
  }

  h4 {
    font-size: 26px;
  }
}
