@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --bg:       #060d1a;
  --bg-2:     #0a1425;
  --card:     #0d1830;
  --card-2:   #0b1526;
  --text:     #eaf0ff;
  --muted:    #7e92b8;
  --brand:    #10d4a8;
  --brand-2:  #0891b2;
  --accent:   #f59e0b;
  --accent-2: #ec4899;
  --line:     rgba(255,255,255,.07);
  --header-h: 72px;
  --radius:   16px;
  --shadow:   0 4px 24px rgba(0,0,0,.4);
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }
@media (pointer: coarse), (max-width: 900px) { html { scrollbar-gutter: auto; } }
body { overflow-x: hidden; }

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .5em;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
img { max-width: 100%; height: auto; display: block; }

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

/* ───── HEADER ───── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  height: var(--header-h);
  background: rgba(6,13,26,.88);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.brand img { height: 36px; }

.nav-desktop, .nav { display: flex; align-items: center; gap: 16px; }
.nav-desktop a, .nav a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  font-weight: 500; transition: color .2s;
}
.nav-desktop a:hover, .nav a:hover { color: var(--text); }

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; font-family: 'Sora', sans-serif;
  font-size: 15px; font-weight: 600; border: 1px solid var(--line);
  color: var(--text); text-decoration: none; cursor: pointer;
  transition: all .2s ease; background: rgba(255,255,255,.05);
  white-space: nowrap;
}
.btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #060d1a; font-weight: 700;
  box-shadow: 0 0 0 0 rgba(16,212,168,.4);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(16,212,168,.35);
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn.outline:hover { border-color: rgba(255,255,255,.2); }

/* ───── LAYOUT ───── */
main { padding-top: var(--header-h); min-height: calc(100vh - var(--header-h) - 64px); }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }

.section { padding: 80px 0; }
.section > .container > *:first-child { margin-top: 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.bg-base { background: var(--bg); }
.section.bg-tint { background: linear-gradient(180deg, rgba(255,255,255,.025) 0%, transparent 100%); }
.section.bg-card { background: var(--card-2); }
.section.bg-card-soft { background: var(--card); }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* Section header pattern */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-family: 'Sora', sans-serif; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
  background: rgba(16,212,168,.08); border: 1px solid rgba(16,212,168,.2);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  margin: 0 0 12px;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 auto 32px;
}

/* ───── GRIDS ───── */
.grid { display: grid; gap: 16px; }
.grid.two   { grid-template-columns: repeat(2,1fr); }
.grid.three { grid-template-columns: repeat(3,1fr); }
.grid.four  { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid.four { grid-template-columns: repeat(2,1fr) !important; } }

/* ───── CARDS ───── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px; border-radius: var(--radius);
}

/* ───── SHARED COMPONENTS ───── */
.lead { font-size: 18px; color: var(--muted); line-height: 1.7; }
.tiny { font-size: 12px; color: var(--muted); }
.fine-note { color: var(--muted); font-size: 13px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

.badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; font-family: 'Sora', sans-serif;
  letter-spacing: .04em; background: rgba(16,212,168,.12);
  border: 1px solid rgba(16,212,168,.25); color: var(--brand);
}

/* Infocards */
.infocards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 980px) { .infocards { grid-template-columns: 1fr; } }

.infocard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  transition: border-color .2s, transform .2s;
}
.infocard:hover {
  border-color: rgba(16,212,168,.25);
  transform: translateY(-2px);
}
.infocard h3 { font-size: 17px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.infocard .ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; background: rgba(255,255,255,.06); flex-shrink: 0;
}
.infocard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.infocard .mini {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted);
}

/* How rail */
.how-rail {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.how-rail li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: flex-start; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.02); font-size: 14px; color: var(--muted);
}
.how-rail .num {
  width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #060d1a; font-weight: 800; font-size: 13px;
  flex-shrink: 0; margin-top: 1px;
}

/* Steps flow */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
@media (max-width: 900px) { .steps-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps-flow { grid-template-columns: 1fr; } }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.step:hover { border-color: rgba(16,212,168,.22); transform: translateY(-2px); }
.step .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 12px;
  background: linear-gradient(145deg, rgba(16,212,168,.15), rgba(8,145,178,.1));
  border: 1px solid rgba(16,212,168,.2);
}
.step h4 { font-size: 16px; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* ───── NOTICE / CALLOUT ───── */
.notice {
  border-radius: 12px; border: 1px solid rgba(16,212,168,.18);
  padding: 14px 16px; background: rgba(16,212,168,.05);
  font-size: 14px; color: var(--muted);
}
.callout {
  margin-top: 12px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.callout a { color: var(--brand); text-decoration: none; }

/* ───── FAQs ───── */
.faq-controls {
  display: flex; gap: 12px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; margin: 0 0 16px;
}
.faq-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
  font-weight: 500; cursor: pointer;
  background: rgba(255,255,255,.04); color: var(--muted);
  border: 1px solid var(--line); transition: all .2s ease;
}
.chip:hover { background: rgba(255,255,255,.08); }
.chip.is-active {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #060d1a; border-color: transparent; font-weight: 700;
}
.faq-search {
  flex: 1 1 260px; max-width: 340px; padding: 10px 14px;
  border-radius: 10px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--text); font-size: 14px;
}
.faq-search::placeholder { color: var(--muted); }
.faq-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 10px; margin-top: 10px;
}
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; transition: all .2s;
}
.faq-item[open] { border-color: rgba(16,212,168,.2); background: rgba(16,212,168,.03); }
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 600;
  color: var(--text); position: relative; padding-right: 28px;
  font-family: 'Sora', sans-serif; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 0;
  line-height: 1.5; color: var(--muted); font-weight: 400; transition: .2s;
}
.faq-item[open] summary::after { content: "x"; color: var(--brand); }
.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.faq-item a { color: var(--brand); text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }
.faq-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.faq-note { color: var(--muted); font-size: 14px; }
.faq-note a { color: var(--brand); text-decoration: none; }

/* ───── PILLS / PLAN ───── */
.pill {
  font-size: 12px; color: var(--muted); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.04);
}
.pill.success {
  color: #060d1a;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent; font-weight: 700;
}
.price {
  margin: 6px 0 2px; font-size: 30px; font-weight: 800;
  display: flex; align-items: baseline; gap: 6px;
}
.price .period { font-size: 14px; color: var(--muted); font-weight: 400; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.features li { display: flex; gap: 8px; }
.features li::before { content: ""; color: var(--brand); font-weight: 800; }

/* ───── INSIGHTS ───── */
.insights-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s;
}
.insights-card:hover { border-color: rgba(16,212,168,.22); transform: translateY(-2px); }
.insights-card-img {
  width: 100%; height: 160px; border-radius: 10px; overflow: hidden;
  margin-bottom: 14px; background: rgba(255,255,255,.04);
}
.insights-card-img img { width: 100%; height: 100%!important; object-fit: cover; display: block; max-width: none!important; }
.insights-card-title { font-size: 17px; margin: 0 0 8px; font-family: 'Sora', sans-serif; }
.insights-card-excerpt { font-size: 14px; color: var(--muted); margin: 0 0 12px; line-height: 1.55; }
.insights-card-date { font-size: 12px; color: var(--muted); margin-top: auto; }
.insights-footer { text-align: center; margin-top: 32px; }

.insights-track {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4,1fr);
}
@media (max-width: 1200px) { .insights-track { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 900px)  { .insights-track { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  {
  .insights-track {
    display: flex; overflow-x: auto; gap: 16px;
    scroll-snap-type: x mandatory; padding-bottom: 12px;
  }
  .insights-card { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ───── WHO CTA ───── */
.who-cta {
  margin-top: 28px; display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
}
@media (max-width: 640px) {
  .who-cta { gap: 10px; }
  .who-cta .btn { width: 100%; max-width: 420px; text-align: center; }
}

/* ───── CONTACT ───── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(220px,1fr);
  gap: 32px; align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ───── SEGMENTED ───── */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button, .seg .segbtn {
  appearance: none; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: var(--text);
  border-radius: 10px; padding: 10px 14px; font-size: 14px;
  cursor: pointer; transition: all .2s; font-family: 'DM Sans', sans-serif;
}
.seg button[aria-pressed="true"], .seg .segbtn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #060d1a; border-color: transparent; font-weight: 700;
}

/* ───── COMPARE ───── */
.compare {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px;
}
@media (max-width: 960px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; color: var(--text);
}
.compare .col h3 { margin: 0 0 16px; font-size: 18px; }

/* Bullet rows */
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bullet { display: flex; align-items: flex-start; gap: 10px; }
.ico-chip {
  width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; flex: 0 0 32px; background: rgba(16,212,168,.1);
  border: 1px solid rgba(16,212,168,.15);
}

/* ───── MOBILE NAV ───── */
@media (max-width: 900px) { :root { --header-h: 64px; } }
@supports not (scrollbar-gutter: stable) { :root { --header-pe: 16px; } }
@media (pointer: coarse), (max-width: 900px) { :root { --header-pe: 0; } }

/* ───── PLAN COMPARE ───── */
.plan-compare { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.compare-item {
  display: flex; gap: 6px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 13px; background: rgba(255,255,255,.02);
}
.fineprint { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }

/* ───── ANIMATIONS ───── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }

/* ───── GLOW ACCENT ───── */
.glow {
  position: relative;
}
.glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16,212,168,.3), rgba(8,145,178,.15));
  z-index: -1;
  filter: blur(20px);
  opacity: .4;
  pointer-events: none;
}

/* ───── INLINE LINKS ───── */
a.linklike { color: var(--brand); text-decoration: none; font-weight: 500; }
a.linklike:hover { text-decoration: underline; }

/* ───── COST ESTIMATOR ───── */
.cost_estimator-section { padding: 60px 0; }
.cost_estimator-container { max-width: 900px; margin: 0 auto; text-align: center; }
.cost_estimator-title {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; font-family: 'Sora', sans-serif;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.cost_estimator-subtitle { font-size: 16px; color: var(--muted); max-width: 600px; margin: 0 auto 24px; line-height: 1.6; }
.cost_estimator-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px; margin-bottom: 18px; text-align: left;
}
.cost_estimator-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cost_estimator-choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cost_estimator-choice {
  flex: 1; min-width: 140px; padding: 11px 14px;
  border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid var(--line); color: var(--text); cursor: pointer;
  font-size: 15px; transition: all .2s;
}
.cost_estimator-choice:hover { background: rgba(255,255,255,.09); }
.cost_estimator-choice.active {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent; color: #060d1a; font-weight: 700;
}
.cost_estimator-input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); border-radius: 12px;
  font-size: 15px; color: var(--text); margin-bottom: 14px;
  transition: border-color .2s;
}
.cost_estimator-input:focus { outline: none; border-color: var(--brand); }
.cost_estimator-run-btn {
  width: 100%; padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border: none; font-size: 16px; color: #060d1a; font-weight: 700;
  cursor: pointer; margin-top: 6px; transition: opacity .2s, transform .2s;
  font-family: 'Sora', sans-serif;
}
.cost_estimator-run-btn:hover { opacity: .9; transform: translateY(-1px); }
.cost_estimator-primary-cta {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #060d1a; padding: 14px 24px; border-radius: 14px;
  font-size: 17px; font-weight: 700; cursor: pointer; border: none;
  transition: all .2s; font-family: 'Sora', sans-serif;
}
.cost_estimator-primary-cta:hover { opacity: .92; transform: translateY(-1px); }
.cost_estimator-disclaimer { font-size: 12px; text-align: center; color: var(--muted); margin-top: 6px; opacity: .7; }
.cost_estimator-cta { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cost_estimator-output-card { animation: fadeIn .4s ease; }
.cost_estimator-output-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cost_estimator-output-card p { font-size: 15px; margin: 6px 0; color: var(--muted); }
.cost_estimator-output-card strong { color: var(--text); }
.cost_estimator-output-card hr { margin: 16px 0; border: none; border-top: 1px solid var(--line); }

/* ───── MOBILE RESPONSIVE ───── */
@media (max-width: 720px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .container { padding-left: 16px; padding-right: 16px; }
  #plans { overflow-x: hidden; }
  #plans, #plans * { box-sizing: border-box; }
  #plans .grid, #plans [class*="grid"] { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; }
  #plans .card, #plans [class*="card"] { min-width: 0; overflow: hidden; }
  .cta-row { gap: 8px; }
}
