/* NexVolt marketing site */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F3A;
  --navy-2: #12305A;
  --blue: #1E90FF;          /* accent, used for non-text details */
  --blue-text: #0A57BE;     /* accent for text on light backgrounds */
  --blue-soft: #7CC0FF;     /* accent for text on navy */
  --ink: #0B1F3A;
  --muted: #475569;
  --muted-on-dark: #C3D0E4;
  --line: #D9E1EC;
  --tint: #F3F6FA;
  --white: #FFFFFF;
  --header-h: 72px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 10px 30px rgba(11,31,58,.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden;
  font-feature-settings: "calt", "kern";
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #7CC0FF; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 8px; text-decoration: none; font-weight: 500; min-height: 44px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 28px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none;
  font-size: .9375rem; font-weight: 500; color: var(--ink); border-radius: 8px;
}
.main-nav a:not(.btn):hover { color: var(--blue-text); }
.nav-cta { margin-left: 8px; }
.header-tools { display: flex; align-items: center; gap: 8px; }

.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-btn {
  min-width: 44px; min-height: 44px; border: 0; background: transparent; border-radius: 999px; cursor: pointer;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; color: var(--ink);
}
.lang-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang-btn:not([aria-pressed="true"]):hover { background: var(--tint); }

.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s; text-align: center;
}
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #E7F1FF; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); flex: none; }
.eyebrow-light { color: var(--blue-soft); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.1875rem; color: var(--muted); margin-top: 18px; }
.section-dark .lead { color: var(--muted-on-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.78) 45%, rgba(11,31,58,.35) 100%);
}
.hero-media { z-index: -2; }
.hero-inner { padding-top: 120px; padding-bottom: 112px; max-width: 1180px; }
.hero h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -.028em; line-height: 1.08; max-width: 17ch; }
.hero-lead { margin-top: 24px; font-size: 1.25rem; line-height: 1.6; color: #E4ECF8; max-width: 38rem; }
.hero .btn-row { margin-top: 36px; }
.hero-meta { margin-top: 28px; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 500; }

/* ---------- Facts ---------- */
.facts { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.fact { padding: 34px 28px 34px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.fact-title { font-size: 1.0625rem; letter-spacing: 0; margin-bottom: 8px; }
.fact p { color: var(--muted-on-dark); font-size: .9375rem; line-height: 1.55; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-reverse .split-text { order: 2; }
.split-reverse .photo { order: 1; }
.split + .cards { margin-top: 64px; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.photo-wide img { aspect-ratio: 3 / 2; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card p { color: var(--muted); }
.card h3 { margin: 18px 0 10px; }
.card-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy); color: #fff; }
.card-icon svg { width: 26px; height: 26px; }
.card-icon::after { content: none; }

/* ---------- Steps ---------- */
.steps { margin-top: 32px; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; }
.step-num {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--navy); font-weight: 600; color: var(--navy); position: relative;
}
.step-num::after { content: ""; position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.steps h3 { font-size: 1.125rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* ---------- Pricing ---------- */
.price-group { margin: 56px 0 22px; font-size: 1.375rem; display: flex; align-items: center; gap: 12px; }
.price-group::before { content: ""; width: 4px; height: 22px; background: var(--blue); border-radius: 2px; }
.section-head + .price-group { margin-top: 0; }
.price-card { display: flex; flex-direction: column; }
.tier { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--blue-text); }
.price { margin: 12px 0 14px; display: flex; align-items: baseline; gap: 6px; }
.price span { font-size: 2.75rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-feature-settings: "tnum"; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.card-desc { flex: 1; }
.bundle { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .9375rem; color: var(--muted); }
.bundle strong { color: var(--ink); font-size: 1.125rem; font-weight: 600; white-space: nowrap; }
.fineprint { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.fineprint-light { color: var(--muted-on-dark); margin-top: 32px; }
.price-lang { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.price-lang .price-group { margin: 0 0 12px; }
.price-lang p { color: var(--muted); }
.price-list { display: grid; }
.price-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list div:first-child { padding-top: 0; }
.price-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list dt { font-weight: 500; }
.price-list dd { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.payment { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px 36px; }
.payment h3 { font-size: 1.125rem; margin-bottom: 6px; }
.payment p { color: var(--muted-on-dark); font-size: 1.125rem; }
.payment .btn-primary { background: #fff; color: var(--navy); }
.payment .btn-primary:hover { background: #E7F1FF; }

/* ---------- Samples ---------- */
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sample { background: #10294B; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.stage { position: relative; padding: 36px 28px 0; background: linear-gradient(180deg, #17375F 0%, #10294B 100%); }
.browser { width: 86%; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #E8EDF4; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #B3BFCF; }
.browser-bar span { margin-left: 10px; flex: 1; min-width: 0; height: 16px; line-height: 16px; border-radius: 8px; background: #fff; color: #5B6B80; font-size: 10px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; right: 28px; bottom: 0; width: 24%; background: #060F1D; border-radius: 22px 22px 0 0; padding: 7px 7px 0; box-shadow: 0 18px 40px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); border-bottom: 0; }
.phone img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 16px 16px 0 0; }
.sample-body { padding: 28px 32px 32px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(124,192,255,.55); color: var(--blue-soft); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.sample-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.sample-body p { color: var(--muted-on-dark); }
.sample-langs { margin-top: 6px; font-size: .9375rem; flex: 1; }
.sample-body .btn { margin-top: 24px; }

/* ---------- About ---------- */
.split-text p + p { margin-top: 18px; }
.split-text .lead + p { margin-top: 18px; }
.about-meta { margin-top: 28px !important; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--blue-text); }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.collage figure { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 0; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-a { grid-row: 1 / 3; }
.collage-a img { object-position: 50% 40%; }
.collage-b img { object-position: 38% 30%; }
.collage-c img { object-position: 50% 45%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-list { margin-top: 30px; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); }
.ci-label { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.ci-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1.125rem; color: var(--blue-text); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.ci-link:hover { color: var(--navy); }
.ci-text { font-weight: 500; font-size: 1.0625rem; }
.photo-river { margin-top: 32px; }
.photo-river img { aspect-ratio: 16 / 9; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 500; }
.req { color: #B42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #8A97AA; border-radius: 10px; background: #fff; line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--navy); }
.form-note { font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding-top: 64px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { max-width: 26rem; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted-on-dark); font-size: .9375rem; }
.footer-links { display: grid; gap: 0; }
.footer-links a, .to-top { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #E4ECF8; font-size: .9375rem; }
.footer-links a:hover, .to-top:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 20px; }
.footer-base::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: rgba(255,255,255,.14); }
.footer-base p { color: var(--muted-on-dark); font-size: .875rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a:not(.btn) { padding: 0 9px; font-size: .875rem; }
  .split, .contact-grid { gap: 40px; }
}
@media (max-width: 940px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(11,31,58,.12); padding: 8px 28px 20px; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { min-height: 52px; font-size: 1.0625rem; padding: 0 4px; width: 100%; }
  .nav-cta { margin: 16px 0 0; border: 0 !important; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
  .section { padding: 80px 0; }
  .split, .contact-grid, .price-lang { grid-template-columns: minmax(0, 1fr); }
  .split-reverse .split-text, .split-reverse .photo { order: initial; }
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .samples { grid-template-columns: minmax(0, 1fr); }
  .collage { height: 440px; }
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .main-nav { padding: 8px 20px 20px; }
  .brand img { height: 22px; }
  .header-inner { gap: 8px; }
  .hero-inner { padding-top: 72px; padding-bottom: 72px; }
  .hero::after { background: linear-gradient(180deg, rgba(11,31,58,.6) 0%, rgba(11,31,58,.78) 45%, rgba(11,31,58,.93) 100%); }
  .hero-lead { font-size: 1.125rem; }
  .hero .btn-row .btn { width: 100%; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 22px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid rgba(255,255,255,.14); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .card { padding: 26px; }
  .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .price span { font-size: 2.5rem; }
  .price-group { margin-top: 44px; }
  .price-lang { padding: 26px; gap: 28px; }
  .payment { padding: 26px; }
  .payment .btn { width: 100%; }
  .stage { padding: 24px 18px 0; }
  .browser { width: 88%; }
  .phone { right: 18px; width: 26%; border-radius: 16px 16px 0 0; padding: 5px 5px 0; }
  .phone img { border-radius: 12px 12px 0 0; }
  .sample-body { padding: 24px; }
  .sample-body .btn { width: 100%; }
  .collage { height: 380px; gap: 10px; }
  .contact-list li { grid-template-columns: 96px minmax(0, 1fr); }
  .form-card { padding: 24px; }
  .footer-base { padding-bottom: 28px; }
  .footer-base::before { left: 20px; right: 20px; }
}
@media (max-width: 380px) {
  .brand img { height: 20px; }
  .lang-btn { min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
