:root {
  color: #17212f;
  background: #f4f7f8;
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  --ink: #17212f;
  --muted: #5d6b78;
  --line: #dce4e8;
  --paper: #ffffff;
  --panel: #f8fbfb;
  --night: #111a22;
  --night-2: #1c2832;
  --teal: #0b8f7d;
  --teal-2: #13b7a1;
  --amber: #d8911d;
  --red: #c84b4b;
  --steel: #6b7f91;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--panel);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #f6fbfb;
  background: rgba(17, 26, 34, 0.91);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #06110f;
  background: linear-gradient(135deg, #39d1ba, #f2b24b);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #a9bac4;
  font-size: 0.72rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c9d5da;
  font-size: 0.95rem;
}

.top-nav a:hover,
.header-cta:hover {
  color: #ffffff;
}

.header-cta {
  display: inline-flex;
  justify-content: center;
  min-width: 104px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #e8f3f2;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #f7fbfb;
  background:
    linear-gradient(118deg, rgba(17, 26, 34, 0.94), rgba(17, 26, 34, 0.72)),
    linear-gradient(90deg, #10242a, #27313a 46%, #5d4428 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
}

.traffic-lane {
  position: absolute;
  height: 2px;
  width: 44vw;
  background: linear-gradient(90deg, transparent, rgba(57, 209, 186, 0.88), transparent);
  transform: rotate(-16deg);
}

.lane-a {
  top: 18%;
  right: 3%;
}

.lane-b {
  top: 49%;
  right: 20%;
  background: linear-gradient(90deg, transparent, rgba(242, 178, 75, 0.78), transparent);
}

.lane-c {
  bottom: 16%;
  right: -8%;
  background: linear-gradient(90deg, transparent, rgba(107, 127, 145, 0.82), transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(88vh - 72px);
  padding: clamp(52px, 8vw, 92px) clamp(18px, 5vw, 72px) clamp(38px, 7vw, 70px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(3.5rem, 8vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: #d7e3e6;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.hero-actions,
.billing-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
.toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary,
.toggle.active {
  color: #071211;
  background: #38d1ba;
  box-shadow: 0 12px 26px rgba(19, 183, 161, 0.22);
}

.button.secondary,
.toggle {
  color: #eff7f6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 630px;
  margin: 36px 0 0;
}

.hero-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: #b9c8cf;
  font-size: 0.88rem;
}

.product-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(9, 16, 21, 0.88);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.console-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #9fb1b9;
}

.console-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c84b4b;
}

.console-toolbar span:nth-child(2) {
  background: #d8911d;
}

.console-toolbar span:nth-child(3) {
  background: #13b7a1;
}

.console-toolbar strong {
  margin-left: 8px;
  font-size: 0.83rem;
}

.console-body {
  padding: 20px;
}

.routing-map {
  display: grid;
  grid-template-columns: 1fr 54px 1.3fr 54px 1.2fr;
  gap: 12px;
  align-items: center;
}

.client-node,
.gateway-node,
.provider-stack {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.client-node {
  display: grid;
  place-items: center;
  font-weight: 800;
}

.gateway-node span,
.provider-stack div,
.console-panels span,
.log-table span {
  color: #aebdc5;
  font-size: 0.82rem;
}

.gateway-node strong {
  display: block;
  margin-top: 8px;
  color: #38d1ba;
}

.route-line {
  height: 2px;
  background: #38d1ba;
}

.route-line.warn {
  background: #d8911d;
}

.provider-stack {
  display: grid;
  gap: 9px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--steel);
}

.dot.good {
  background: #13b7a1;
}

.dot.warn {
  background: #d8911d;
}

.console-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.console-panels article {
  padding: 14px;
  border-radius: 8px;
  background: #15232c;
}

.console-panels strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
}

.console-panels small {
  color: #8da0a9;
}

.log-table {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.log-table div {
  display: grid;
  grid-template-columns: 64px 1fr 68px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.log-table em {
  justify-self: end;
  color: #38d1ba;
  font-style: normal;
  font-weight: 800;
}

.log-table .amber {
  color: #d8911d;
}

.section,
.section-band {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-inner,
.section-heading,
.feature-grid,
.pricing-grid,
.security-grid,
.faq-list,
.split-section,
.calculator-section,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-band {
  padding-top: 28px;
  padding-bottom: 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.summary-grid p,
.summary-card {
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  background: #f3f7f7;
}

.summary-card strong,
.summary-card span {
  display: block;
}

.summary-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.calculator-copy p,
.contact-copy p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.price-card,
.security-grid article,
.lead-form,
.calculator-panel,
.workflow-step,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card {
  padding: 22px;
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #071211;
  background: #bdf4eb;
  font-weight: 900;
}

.feature-card h3,
.price-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.feature-card p,
.price-card p,
.security-grid p,
.workflow-step p,
.faq-list p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: start;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.workflow-step {
  padding: 20px;
}

.workflow-step span {
  color: var(--amber);
  font-weight: 900;
}

.workflow-step strong {
  display: block;
  margin: 8px 0;
  font-size: 1.1rem;
}

.pricing-section {
  color: #eef7f7;
  background: var(--night);
}

.pricing-section .section-heading p {
  color: #b7c5cb;
}

.pricing-section .billing-toggle {
  justify-content: center;
  margin-top: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  position: relative;
  padding: 24px;
  color: #17212f;
}

.price-card.featured {
  border-color: #38d1ba;
  box-shadow: 0 22px 54px rgba(19, 183, 161, 0.18);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 9px;
  border-radius: 6px;
  color: #071211;
  background: #f2b24b;
  font-size: 0.82rem;
  font-weight: 900;
}

.price {
  margin: 18px 0;
  font-size: 2.4rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card ul {
  display: grid;
  gap: 10px;
  min-height: 144px;
  margin: 0 0 22px;
  padding-left: 20px;
  color: #344454;
}

.calculator-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.calculator-panel {
  padding: 24px;
}

.calculator-panel label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  font-weight: 800;
}

.calculator-panel input[type="range"] {
  width: 100%;
  margin: 0 0 22px;
  accent-color: var(--teal);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.calc-results div {
  padding: 14px;
  border-radius: 8px;
  background: #eef5f5;
}

.calc-results span,
.calc-results strong {
  display: block;
}

.calc-results span {
  color: var(--muted);
  font-size: 0.82rem;
}

.calc-results strong {
  margin-top: 6px;
  font-size: 1.18rem;
}

.security-section {
  background: #ffffff;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.security-grid article {
  padding: 18px;
  background: #f7fafb;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.faq-section {
  background: #eef4f5;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #b9c8cf;
  background: #111a22;
}

@media (max-width: 1040px) {
  .top-nav {
    display: none;
  }

  .hero-grid,
  .summary-grid,
  .split-section,
  .calculator-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .product-console {
    max-width: 760px;
  }

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

@media (max-width: 720px) {
  .site-header {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-section {
    overflow: hidden;
  }

  .hero-metrics,
  .routing-map,
  .console-panels,
  .feature-grid,
  .pricing-grid,
  .workflow,
  .security-grid,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .routing-map {
    gap: 8px;
  }

  .route-line {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

  .log-table div {
    grid-template-columns: 54px 1fr 56px;
  }

  .section,
  .section-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}
