:root {
  --navy: #0b1f3f;
  --navy-2: #102c58;
  --blue: #1a3c6e;
  --blue-2: #2d5ba0;
  --blue-3: #4b7fc4;
  --accent: #38bdf8;
  --accent-2: #22d3a6;
  --ink: #101828;
  --body: #475467;
  --muted: #8a93a3;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
  --shadow: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 63, .16);
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-2);
  background: rgba(45, 91, 160, .09);
  border: 1px solid rgba(45, 91, 160, .16);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.06rem; margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-3));
  color: #fff;
  box-shadow: 0 8px 22px rgba(45, 91, 160, .32);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(45, 91, 160, .42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-3); color: var(--blue); background: #fff; }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { color: var(--blue); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 24, 40, .05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-3));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em;
  box-shadow: 0 6px 16px rgba(26, 60, 110, .3);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 800; font-size: 1.08rem; color: var(--ink); letter-spacing: .04em; }
.logo__tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--body);
  font-size: .92rem;
  font-weight: 500;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 600; color: var(--ink); font-size: .92rem; }
.header__phone:hover { color: var(--blue-2); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 0 22px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 600px at 78% -8%, #1e4b8c 0%, transparent 60%),
              radial-gradient(900px 520px at 8% 108%, #123566 0%, transparent 58%),
              linear-gradient(160deg, #0b1f3f 0%, #102c58 55%, #0b1f3f 100%);
  color: #dbe6f5;
  padding: 104px 0 92px;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: 1.12rem; color: #b9cbe4; max-width: 560px; margin-bottom: 30px; }
.hero .eyebrow { color: var(--accent); background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .28); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #9db4d4; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { flex: none; color: var(--accent-2); }

.hero-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.hero-card__sub { font-size: .85rem; color: #93aacb; margin-bottom: 20px; }
.hero-card__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .92rem;
}
.hero-card__row span:first-child { color: #b9cbe4; }
.hero-card__row b { color: #fff; font-weight: 600; }
.hero-card .btn { margin-top: 20px; }
.hero-card__note { font-size: .76rem; color: #7f97b8; margin: 12px 0 0; text-align: center; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 68px; position: relative; z-index: 2; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font-size: 1.85rem; color: #fff; font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: .84rem; color: #93aacb; }

/* ---------- Tech band ---------- */
.techband { padding: 26px 0; border-bottom: 1px solid var(--line); background: #fff; }
.techband__label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 16px; }
.techband__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.techband__list li {
  font-size: .84rem; font-weight: 600; color: #5a6b85;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 15px; background: var(--bg-soft);
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcee; }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(45, 91, 160, .12), rgba(75, 127, 196, .18));
  color: var(--blue-2);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; margin-bottom: 14px; }
.card__list li { font-size: .86rem; color: var(--muted); padding: 4px 0 4px 18px; position: relative; }
.card__list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-3); }
.card__price { font-size: .84rem; font-weight: 700; color: var(--blue); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ---------- Pricing ---------- */
.toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 44px; }
.toggle-wrap span { font-size: .92rem; font-weight: 600; color: var(--muted); }
.toggle-wrap span.is-active { color: var(--ink); }
.switch { position: relative; width: 56px; height: 30px; border-radius: 999px; background: var(--blue-2); border: none; cursor: pointer; padding: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .24s ease; }
.switch.is-year::after { transform: translateX(26px); }
.badge-save { font-size: .72rem; font-weight: 700; color: #0e7a5f; background: rgba(34, 211, 166, .16); border-radius: 999px; padding: 4px 10px; }

.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--blue-2); box-shadow: 0 18px 46px rgba(26, 60, 110, .14); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.22rem; margin-bottom: 4px; }
.plan__desc { font-size: .88rem; color: var(--muted); min-height: 42px; margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price b { font-size: 2.2rem; color: var(--ink); font-weight: 800; letter-spacing: -.03em; }
.plan__price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.plan__from { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.plan__meta { font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.plan__features { margin-bottom: 26px; flex: 1; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .89rem; padding: 6px 0; }
.plan__features svg { flex: none; margin-top: 4px; color: var(--accent-2); }
.plan__features li.muted { color: var(--muted); }
.plan__features li.muted svg { color: var(--line); }

/* ---------- Price table ---------- */
.pricetable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricetable thead th {
  background: var(--blue); color: #fff; text-align: left; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 14px 20px; font-weight: 600;
}
.pricetable thead th:last-child, .pricetable td:last-child { text-align: right; }
.pricetable td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.pricetable tbody tr:last-child td { border-bottom: none; }
.pricetable tbody tr:nth-child(even) { background: #fafcfe; }
.pricetable td b { color: var(--ink); display: block; }
.pricetable td .sub { font-size: .82rem; color: var(--muted); }
.pricetable td.amount { white-space: nowrap; font-weight: 700; color: var(--blue); }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: .82rem; font-weight: 800; color: var(--blue-2);
  background: rgba(45, 91, 160, .1); border-radius: 8px; padding: 5px 11px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; margin: 0; }

/* ---------- Sectors ---------- */
.sector {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.sector svg { flex: none; color: var(--blue-3); margin-top: 2px; }
.sector h3 { font-size: .98rem; margin-bottom: 4px; }
.sector p { font-size: .86rem; margin: 0; }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.why li:last-child { border-bottom: none; }
.why svg { flex: none; color: var(--blue-2); margin-top: 3px; }
.why b { display: block; color: var(--ink); margin-bottom: 2px; }
.why span { font-size: .9rem; }

.quote {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #cfdcee; border-radius: 20px; padding: 38px 34px;
}
.quote p { font-size: 1.05rem; color: #e5eefb; }
.quote footer { font-size: .86rem; color: #93aacb; margin-top: 18px; }
.quote footer b { color: #fff; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq details[open] { border-color: #cfdcee; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--ink);
  list-style: none; position: relative; font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--blue-2); line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq .faq__body { padding: 0 22px 20px; font-size: .93rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: radial-gradient(800px 400px at 85% 0%, #1e4b8c 0%, transparent 62%),
              linear-gradient(150deg, var(--navy), var(--navy-2));
  color: #cfdcee; border-radius: 22px; padding: 56px 48px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { margin-bottom: 0; color: #b9cbe4; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info li:last-child { border-bottom: none; }
.contact-info svg { flex: none; color: var(--blue-2); margin-top: 3px; }
.contact-info .k { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; }
.contact-info .v { color: var(--ink); font-weight: 600; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .94rem; color: var(--ink); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-3); box-shadow: 0 0 0 3px rgba(75, 127, 196, .16);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form__status { font-size: .88rem; margin: 14px 0 0; color: #0e7a5f; display: none; }
.form__status.is-visible { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9db4d4; padding: 64px 0 28px; font-size: .9rem; }
.footer a { color: #b9cbe4; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: #7f97b8; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { padding: 5px 0; }
.footer__about { max-width: 320px; margin: 18px 0 0; font-size: .88rem; }
.footer__legal { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; color: #7f97b8; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.legal .updated { font-size: .85rem; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; margin-top: 38px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1rem; }
.legal li { padding: 3px 0; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0 0 1rem; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .cta { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: 72px 0 64px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 38px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 10px; }
  .pricetable thead { display: none; }
  .pricetable, .pricetable tbody, .pricetable tr, .pricetable td { display: block; width: 100%; }
  .pricetable tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .pricetable td { border: none; padding: 6px 18px; }
  .pricetable td.amount { text-align: left; padding-bottom: 16px; }
  .header__cta .btn { display: none; }
}
