:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #edf7f6;
  --ink: #152033;
  --muted: #5d6a7e;
  --line: #dfe6ef;
  --primary: #2457d6;
  --primary-strong: #15337e;
  --accent: #008f8c;
  --warm: #f59e0b;
  --dark: #102033;
  --shadow: 0 18px 48px rgba(21, 32, 51, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 230, 239, 0.88);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 176px;
  height: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-strong);
  background: #eaf0ff;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

.lang-switcher button {
  width: 36px;
  height: 30px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lang-switcher button img {
  width: 22px;
  height: 15px;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.lang-switcher button:hover {
  opacity: 0.75;
}

.lang-switcher button.active {
  opacity: 1;
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.07);
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(36, 87, 214, 0.2);
}

.button-secondary {
  color: var(--primary-strong);
  background: #fff;
  border-color: var(--line);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: calc(100svh - 156px);
  display: flex;
  align-items: center;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(246, 248, 251, 0.96) 0%, rgba(246, 248, 251, 0.88) 48%, rgba(246, 248, 251, 0.62) 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 88px 0;
  max-width: 740px;
}

.page-hero-content {
  padding: 72px 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 68px;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 760px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.stat {
  min-height: 128px;
  padding: 24px;
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--primary-strong);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(21, 32, 51, 0.06);
}

.card {
  padding: 24px;
}

.card-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid #c9e8e6;
  display: grid;
  place-items: center;
}

.card-icon img {
  width: 38px;
  height: 38px;
}

.card p,
.surface p,
.product-copy p,
.step p,
.office p,
.footer-inner {
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--primary-strong);
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-image {
  aspect-ratio: 16 / 10;
  background: #f3f6fb;
  border-bottom: 1px solid var(--line);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.visual-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 400;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.band {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.band p {
  color: rgba(255, 255, 255, 0.76);
}

.band .button-secondary {
  color: var(--ink);
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 12px;
  color: var(--primary-strong);
  font-weight: 800;
}

.office {
  padding: 24px;
}

.office strong {
  display: block;
  color: var(--primary-strong);
  margin-bottom: 8px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

/* Reference-inspired visual system from the original Nextvia mockup. */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --ink: #111827;
  --muted: #657084;
  --line: #e5eaf2;
  --primary: #2563eb;
  --primary-strong: #1e3a8a;
  --accent: #7c3aed;
  --success: #10b981;
  --dark: #111827;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --radius: 28px;
}

.container {
  width: min(1180px, calc(100% - 40px));
}

.site-header {
  background: rgba(247, 249, 252, 0.78);
  border-bottom-color: rgba(229, 234, 242, 0.75);
}

.header-inner {
  min-height: 78px;
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
  background: transparent;
}


.nav-cta,
.button {
  min-height: auto;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.3);
}

.button-secondary {
  color: var(--primary-strong);
  background: #fff;
  border: 1px solid var(--line);
}

.button-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-strong);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: auto;
  display: block;
  padding: 92px 0 80px;
  border-bottom: 0;
}

.hero::after,
.hero-media {
  display: none;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -280px;
  background: radial-gradient(circle, rgba(124, 58, 237, .20), rgba(37, 99, 235, .10), transparent 64%);
  pointer-events: none;
}

.page-hero::after,
.page-hero-media {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

h1 {
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: 50px;
  line-height: 1.06;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 34px;
}

.hero .hero-actions {
  gap: 14px;
  margin-top: 0;
  margin-bottom: 34px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 650px;
}

.metric {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--primary-strong);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.dashboard {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(229, 234, 242, 0.9);
  box-shadow: var(--shadow);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d1d5db;
}

.traffic-lights span:nth-child(1) {
  background: #fb7185;
}

.traffic-lights span:nth-child(2) {
  background: #fbbf24;
}

.traffic-lights span:nth-child(3) {
  background: #34d399;
}

.dashboard-title {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pipeline {
  display: grid;
  gap: 14px;
}

.pipeline-card {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.pipeline-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.pipeline-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.bar {
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2ff;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.section {
  padding: 82px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.card,
.surface {
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.card {
  padding: 26px;
}

.card h3 {
  font-size: 19px;
  line-height: 1.25;
}

.card h2 {
  font-size: 32px;
  line-height: 1.12;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: #eef2ff;
  border-color: transparent;
}

.card-icon img {
  width: 34px;
  height: 34px;
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-image {
  min-height: 230px;
  aspect-ratio: auto;
  padding: 20px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

.product-copy {
  padding: 26px;
}

.visual-frame {
  border-radius: var(--radius);
}

.band {
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.band p {
  color: var(--muted);
}

.band .button-secondary {
  color: var(--primary-strong);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 154px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
  }

  .nav-cta {
    display: none;
  }

  .stats-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - 140px);
  }

  .hero-content,
  .page-hero-content {
    padding: 58px 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    padding-top: 56px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .lead {
    font-size: 17px;
  }

  .section {
    padding: 60px 0;
  }

  .stat {
    min-height: auto;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 28px;
  }
}
