:root {
  --navy: #1e3f74;
  --navy-dark: #122446;
  --navy-deeper: #0b1829;
  --navy-light: #e8edf7;
  --navy-mid: #bcc9e4;
  --orange: #f5a020;
  --orange-hover: #dc8c12;
  --orange-dark: #b36c08;
  --orange-light: #fff4e0;
  --orange-mid: #fcd9a0;
  --bg: #edf0f6;
  --surface: #ffffff;
  --border: #cdd5e3;
  --border-d: #a4b3cb;
  --text-1: #111d2e;
  --text-2: #3d5470;
  --text-3: #637d97;
  --green: #1a8f4d;
  --green-light: #e4f7ed;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --shadow: 0 2px 8px rgba(18,36,70,.09), 0 6px 20px rgba(18,36,70,.06);
  --shadow-lg: 0 4px 16px rgba(18,36,70,.12), 0 12px 40px rgba(18,36,70,.08);
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-1);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 56px, 1140px);
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.nav {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: 102px;
  background: var(--navy-deeper);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: var(--orange);
}

.nav-inner {
  display: flex;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 288px;
  height: 88px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  animation: logoEntrance .8s cubic-bezier(.2,.8,.2,1) both;
  transition: box-shadow .25s ease, transform .25s ease;
}

.nav-logo::before {
  position: absolute;
  z-index: 1;
  top: -45%;
  bottom: -45%;
  left: -42%;
  width: 38%;
  content: "";
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.0) 24%, rgba(255,255,255,.78) 50%, rgba(245,160,32,.22) 62%, transparent 100%);
  filter: blur(.2px);
  transform: translateX(-140%) skewX(-18deg);
  animation: logoShine 5.5s ease-in-out 1.1s infinite;
  pointer-events: none;
}

.nav-logo::after {
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(245,160,32,.9), transparent);
  opacity: .75;
  transform: scaleX(.18);
  transform-origin: center;
  animation: logoSignal 3.2s ease-in-out infinite;
  pointer-events: none;
}

.nav-logo:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 0 0 1px rgba(245,160,32,.22);
  transform: translateY(-1px);
}

.nav-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.nav-links,
.nav-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.nav-links button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.55);
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  transition: background .18s, color .18s;
}

.nav-links a:hover,
.nav-links button:hover {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
}

.nav-login {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
}

.nav-login:hover {
  color: rgba(255,255,255,.92);
}

.nav-login:focus-visible,
.login-close:focus-visible,
.login-modal-backdrop:focus-visible {
  outline: 3px solid rgba(245,160,32,.55);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--r-md);
  font-family: "Inter", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s, background .18s, border-color .18s, box-shadow .18s, color .18s;
}

.btn-lg {
  min-height: 48px;
  padding: 14px 30px;
  border-radius: var(--r-lg);
  font-size: .95rem;
}

.btn-orange {
  background: var(--orange);
  color: var(--surface);
  box-shadow: 0 2px 6px rgba(245,160,32,.35), 0 6px 18px rgba(245,160,32,.2);
}

.btn-orange:hover {
  transform: translateY(-2px);
  background: var(--orange-hover);
  box-shadow: 0 4px 10px rgba(245,160,32,.45), 0 10px 28px rgba(245,160,32,.25);
}

.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}

.btn-ghost-white:hover {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
}

.btn-ghost {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy-light);
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 80px;
  background: var(--navy-deeper);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(30,63,116,.5) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tag-white {
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-title {
  margin: 22px 0 0;
  color: var(--surface);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.accent {
  color: var(--orange);
}

.hero-sub {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-stat-val {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.6rem;
  font-weight: 700;
}

.hero-stat-val span {
  margin-left: 3px;
  font-size: 1rem;
}

.hero-stat-label {
  margin-top: 6px;
  color: rgba(255,255,255,.52);
  font-size: .75rem;
  line-height: 1.45;
}

.diagram-wrap {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.diagram-head,
.diagram-foot,
.d-node,
.d-link {
  display: flex;
  align-items: center;
}

.diagram-head,
.diagram-foot {
  justify-content: space-between;
  color: rgba(255,255,255,.52);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diagram-head i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

.diagram-head code,
.diagram-foot code {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
}

.d-node {
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.05);
}

.d-node.accent {
  border-color: rgba(245,160,32,.25);
  background: rgba(245,160,32,.1);
}

.d-node.cloud {
  border-color: rgba(188,201,228,.22);
  background: rgba(30,63,116,.28);
}

.d-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  color: var(--orange);
}

.d-node strong {
  display: block;
  color: var(--surface);
  font-size: .9rem;
}

.d-node small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.52);
  font-size: .75rem;
}

.d-badge {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.68);
  font-family: "JetBrains Mono", monospace;
  font-size: .65rem;
  font-weight: 700;
}

.d-badge.online {
  background: rgba(26,143,77,.18);
  color: var(--green-light);
}

.d-badge.muted {
  color: rgba(255,255,255,.48);
}

.d-link {
  justify-content: center;
  gap: 10px;
  padding: 14px 0 0;
  color: rgba(255,255,255,.48);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
}

.diagram-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

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

.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-band-inner div {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}

.stats-band-inner div:last-child {
  border-right: 0;
}

.stats-band strong {
  color: var(--navy);
  font-family: "JetBrains Mono", monospace;
  font-size: 2.2rem;
  font-weight: 700;
}

.stats-band strong span {
  margin-left: 4px;
  color: var(--orange);
  font-size: 1.1rem;
}

.stats-band p {
  margin: 8px 0 0;
  color: var(--text-3);
  font-size: .8rem;
  line-height: 1.5;
}

.section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.section-head p,
.security-lead {
  margin: 0;
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
}

.steps-grid,
.features-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.steps-grid {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid::before {
  position: absolute;
  top: 34px;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: var(--border-d);
}

.step-card,
.feature-card,
.price-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step-card {
  padding-top: 62px;
}

.step-num,
.feature-card span,
.price-label {
  color: var(--orange-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.step-num {
  position: absolute;
  top: 20px;
  left: 24px;
}

.step-card h3,
.feature-card h3,
.price-card h3 {
  margin: 8px 0 10px;
  color: var(--text-1);
  font-size: 1.06rem;
  line-height: 1.35;
}

.step-card p,
.feature-card p,
.price-card p {
  margin: 0;
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.65;
}

.features-section {
  background: var(--surface);
}

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

.feature-card {
  background: var(--bg);
}

.gateways-section {
  background: var(--surface);
}

.gateways-inner {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: center;
}

.gateway-product-copy p {
  margin: 14px 0 0;
  color: var(--text-2);
  line-height: 1.7;
}

.gateway-product-card {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(260px, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #f7f9fd 0%, #fff 100%);
  box-shadow: var(--shadow);
}

.gateway-product-image {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 24px 18px;
  background:
    radial-gradient(circle at 50% 46%, rgba(245,160,32,.13), transparent 42%),
    linear-gradient(145deg, #eef3fb 0%, #f8fbff 100%);
}

.gateway-product-image img {
  display: block;
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 20px 24px rgba(18,36,70,.2));
}

.gateway-product-info {
  padding: 28px 30px;
}

.gateway-product-info > span {
  display: block;
  color: var(--teal);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gateway-product-info h3 {
  margin: 10px 0 12px;
  color: var(--text-1);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.gateway-product-info p {
  max-width: 390px;
  margin: 0;
  color: var(--text-2);
  line-height: 1.65;
}

.gateway-product-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.gateway-product-info b {
  padding: 8px 10px;
  border: 1px solid rgba(30,63,116,.14);
  border-radius: 999px;
  background: #eef3fb;
  color: var(--navy);
  font-size: .75rem;
}

.compat-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.compat-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(420px, 1.35fr);
  align-items: center;
  gap: 28px 38px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 82% 0%, rgba(245,160,32,.18), transparent 34%),
    linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy-dark) 54%, var(--navy) 100%);
  box-shadow: var(--shadow-lg);
}

.compat-inner::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.compat-copy,
.vendor-wall,
.equipment-grid,
.protocol-panel {
  position: relative;
  z-index: 1;
}

.compat-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compat-copy h2 {
  margin: 0;
  color: var(--surface);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}

.compat-copy p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  line-height: 1.65;
}

.vendor-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.vendor-logo {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 24px rgba(0,0,0,.12);
  color: var(--navy-dark);
  font-size: .86rem;
  font-weight: 800;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.vendor-logo:hover {
  border-color: var(--orange-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.vendor-siemens {
  color: #009999;
  letter-spacing: .02em;
}

.vendor-owen {
  color: #1e3f74;
}

.vendor-schneider {
  color: #218d3d;
  font-size: .76rem;
}

.vendor-delta {
  color: #1d4f9a;
}

.vendor-mitsubishi {
  color: #d21f2b;
  font-size: .74rem;
}

.vendor-wago {
  color: #111d2e;
}

.vendor-omron {
  color: #00468b;
}

.vendor-weintek {
  color: #f5a020;
}

.equipment-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.equipment-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  background: rgba(232,237,247,.94);
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}

.equipment-card span {
  display: inline-flex;
  min-width: 38px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--surface);
  color: var(--navy-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

.equipment-card strong {
  display: block;
  color: var(--text-1);
  font-size: .9rem;
  line-height: 1.2;
}

.equipment-card p {
  margin: 7px 0 0;
  color: var(--text-2);
  font-size: .74rem;
  line-height: 1.45;
}

.protocol-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, .86fr) minmax(420px, 1.4fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.protocol-copy span {
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.protocol-copy h3 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.22;
}

.protocol-copy p {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.62;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.protocol-logo {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--navy-light);
  color: var(--navy-dark);
  font-size: .84rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.protocol-logo:hover {
  border-color: var(--orange-mid);
  background: var(--surface);
  transform: translateY(-2px);
}

.protocol-opc {
  color: #1e3f74;
}

.protocol-modbus {
  color: #b36c08;
}

.protocol-s7,
.protocol-profinet {
  color: #008c8c;
}

.protocol-ethernetip {
  color: #1a8f4d;
}

.protocol-codesys {
  color: #b13a2b;
}

.protocol-bacnet {
  color: #6750a4;
}

.protocol-scada {
  color: var(--orange-dark);
}

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

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

@media (max-width: 1100px) {
  .pricing-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-calculator {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

.price-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
}

.price-card.featured {
  border-color: var(--orange-mid);
  box-shadow: var(--shadow-lg);
}

.price-card strong {
  margin-top: auto;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.28rem;
}

.price-list {
  display: grid;
  gap: 8px;
  min-height: 88px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-2);
  font-size: .82rem;
  line-height: 1.45;
}

.price-list li::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.security-section,
.footer {
  background: var(--navy-deeper);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.section-title-light {
  color: var(--surface);
}

.security-lead {
  margin-top: 18px;
  color: rgba(255,255,255,.65);
}

.sec-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.sec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sec-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(245,160,32,.2);
  border-radius: 9px;
  background: rgba(245,160,32,.12);
  color: var(--orange);
  font-weight: 800;
}

.sec-item strong {
  color: var(--surface);
  font-size: .9rem;
}

.sec-item p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.58);
  font-size: .82rem;
  line-height: 1.65;
}

.sec-visual {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.04);
}

.sec-visual-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sec-visual-head b {
  color: var(--green-light);
}

.sec-visual-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

.sec-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.2fr) 70px;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
}

.sec-row strong {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
}

.sec-row span {
  color: rgba(255,255,255,.42);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
}

.sec-row em {
  color: var(--green-light);
  font-size: .75rem;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.sec-row.dim {
  opacity: .58;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 50%, rgba(30,63,116,.7) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  max-width: 670px;
  margin: 0;
  color: var(--surface);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.cta-inner p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.65;
}

.footer {
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(130px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 40px;
}

.footer-brand {
  color: var(--surface);
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-brand span {
  color: var(--orange);
}

.footer h3 {
  margin: 0 0 12px;
  color: rgba(255,255,255,.3);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer a,
.footer-login,
.footer-link-button,
.footer p {
  display: block;
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.58);
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  line-height: 1.55;
  text-align: left;
}

.footer a:hover,
.footer-login:hover,
.footer-link-button:hover {
  color: rgba(255,255,255,.88);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.38);
  font-size: .78rem;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
}

.footer-bottom a {
  margin: 0;
  color: rgba(255,255,255,.48);
}

.footer-panel {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 4%, rgba(244, 162, 28, .14), transparent 30%),
    linear-gradient(135deg, #07111f, #0d1b2e 58%, #111827);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .16);
}

.footer-panel .footer-top {
  margin-bottom: 0;
  padding: 36px;
}

.footer-about {
  display: flex;
  align-items: flex-start;
}

.footer-brand-logo {
  display: block;
  width: min(240px, 100%);
  margin: 0;
}

.footer-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .22));
}

.footer-contact {
  border-left: 1px solid rgba(255, 255, 255, .08);
  padding-left: 28px;
}

.footer-panel .footer-bottom {
  margin: 0 36px;
  padding: 20px 0 24px;
}

.footer-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-legal-actions button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .5);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
}

.footer-legal-actions button:hover,
.footer-legal-actions button:focus-visible {
  color: rgba(255, 255, 255, .9);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 28px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 7, 18, .62);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.legal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(82vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 7, 18, .32);
}

.legal-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
}

.legal-dialog-head h2 {
  margin: 8px 0 0;
  color: var(--text-1);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.legal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text-1);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.legal-close:hover {
  border-color: rgba(245, 158, 11, .45);
  background: #fff7ed;
}

.legal-dialog-body {
  overflow: auto;
  padding: 24px 32px 32px;
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
}

.legal-dialog-body h3 {
  margin: 22px 0 8px;
  color: var(--text-1);
  font-size: 1rem;
}

.legal-dialog-body p {
  margin: 0 0 12px;
}

.legal-dialog-body a {
  color: var(--orange-dark);
  font-weight: 700;
}

.legal-policy-text {
  white-space: pre-wrap;
  color: var(--text-2);
  font-size: .94rem;
  line-height: 1.72;
}

.legal-document .legal-policy-text {
  margin-top: 18px;
}

body.legal-modal-open {
  overflow: hidden;
}

.product-page {
  background: var(--surface);
}

.product-hero {
  min-height: 680px;
  padding: 134px 0 64px;
  background:
    radial-gradient(circle at 78% 28%, rgba(245,160,32,.22), transparent 28%),
    linear-gradient(145deg, var(--navy-deeper) 0%, var(--navy-dark) 54%, var(--navy) 100%);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 48px;
}

.product-copy h1 {
  margin: 10px 0 12px;
  color: var(--surface);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .92;
}

.product-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  font-weight: 800;
}

.product-back-link:hover {
  color: var(--surface);
}

.product-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.product-badges span {
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 800;
}

.product-visual {
  display: grid;
  min-height: 440px;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.18), transparent 42%),
    rgba(255,255,255,.05);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.product-visual img {
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 30px 36px rgba(0,0,0,.32));
}

.product-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.product-section-head {
  max-width: 790px;
  margin-bottom: 28px;
}

.product-section h2,
.product-cta h2 {
  margin: 8px 0 12px;
  color: var(--text-1);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.product-section-head p,
.product-section p {
  color: var(--text-2);
  line-height: 1.7;
}

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

.product-feature-grid article,
.activation-card,
.product-use li {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
}

.product-feature-grid article {
  padding: 22px;
}

.product-feature-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-1);
}

.product-dark {
  border-bottom: 0;
  background:
    radial-gradient(circle at 84% 0%, rgba(245,160,32,.18), transparent 34%),
    linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy-dark) 100%);
}

.product-dark h2,
.product-dark strong {
  color: var(--surface);
}

.product-dark p,
.product-dark li p {
  color: rgba(255,255,255,.68);
}

.product-steps,
.product-split,
.product-use,
.product-cta-inner {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.product-steps ol,
.product-use ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
}

.product-steps li span {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.product-steps li p {
  grid-column: 2;
  margin: -5px 0 0;
}

.activation-card {
  display: grid;
  gap: 8px;
  padding: 28px;
}

.activation-card span {
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.activation-card code {
  display: block;
  margin-bottom: 8px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--navy-light);
  color: var(--navy);
}

.product-use li {
  padding: 18px 20px;
  color: var(--text-1);
  font-weight: 700;
}

.spec-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table strong {
  color: var(--text-1);
}

.spec-table span {
  color: var(--text-2);
}

.product-cta {
  padding: 72px 0;
  background: var(--bg);
}

.product-cta-inner {
  align-items: center;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.product-cta p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.65;
}

.product-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow: auto;
  padding: 54px 20px;
}

.product-inquiry-modal.is-hidden {
  display: none;
}

.product-inquiry-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,160,32,.18), transparent 34%),
    rgba(7,17,31,.66);
  backdrop-filter: blur(7px);
}

.product-inquiry-dialog {
  position: relative;
  width: min(100%, 620px);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  box-shadow: 0 28px 90px rgba(7,17,31,.38);
}

.product-inquiry-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: var(--shadow);
}

.product-inquiry-dialog h2 {
  margin: 8px 0 10px;
  color: var(--text-1);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.product-inquiry-dialog p {
  margin: 0 0 20px;
  color: var(--text-2);
  line-height: 1.6;
}

.product-inquiry-form p {
  margin: 0 0 15px;
}

.product-inquiry-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-1);
  font-size: .82rem;
  font-weight: 800;
}

.product-inquiry-form input,
.product-inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text-1);
  font: inherit;
  outline: none;
}

.product-inquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.product-inquiry-form input:focus,
.product-inquiry-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(245,160,32,.14);
}

.product-inquiry-form input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  accent-color: var(--orange);
}

.product-inquiry-form .errorlist {
  margin: 7px 0 0;
  padding: 0;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  list-style: none;
}

.product-inquiry-form .btn {
  width: 100%;
}

.product-inquiry-success {
  padding: 24px 0 4px;
}

.product-inquiry-success > span {
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.product-modal-open {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 112px 20px 36px;
}

.login-modal[hidden] {
  display: none;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(245,160,32,.18), transparent 34%),
    rgba(6, 18, 32, .72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.login-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 26px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 28px 80px rgba(6, 18, 32, .35);
  animation: loginDialogIn .22s ease-out;
}

@keyframes loginDialogIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 35, 56, .12);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 35, 56, .08);
}

.login-dialog-logo {
  width: 214px;
  height: 66px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 35, 56, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 35, 56, .08);
}

.login-dialog-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-dialog h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.08;
}

.login-dialog p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

.login-provider-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 16px;
}

.login-provider-actions .btn {
  justify-content: center;
  min-height: 44px;
  padding-inline: 12px;
}

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

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 35, 56, .18);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.login-form input:focus {
  border-color: rgba(15, 129, 117, .62);
  box-shadow: 0 0 0 4px rgba(15, 129, 117, .12);
}

.login-form .btn {
  width: 100%;
  margin-top: 4px;
}

.login-dialog-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 35, 56, .1);
}

.login-dialog-foot a {
  color: var(--teal);
  font-size: .88rem;
  font-weight: 800;
}

body.login-modal-open {
  overflow: hidden;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoShine {
  0%,
  52% {
    transform: translateX(-150%) skewX(-18deg);
  }

  68%,
  100% {
    transform: translateX(420%) skewX(-18deg);
  }
}

@keyframes logoSignal {
  0%,
  100% {
    opacity: .28;
    transform: scaleX(.16);
  }

  45% {
    opacity: .88;
    transform: scaleX(1);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
}

/* ============================================
   New landing components (v2): nav-toggle, problem, gateway-grid, faq
   ============================================ */

/* Hamburger button — скрыт на десктопе, виден на mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  cursor: pointer;
  background: rgba(2, 6, 23, .82);
  backdrop-filter: blur(8px);
}

.nav-mobile-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(82vw, 360px);
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  padding: 86px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.nav-mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-mobile-link:hover {
  color: #f97316;
}

.nav-mobile-cta {
  margin-top: 12px;
  width: 100%;
}

body.nav-mobile-open {
  overflow: hidden;
}

/* Problem → Solution section */
.problem-section .section-head {
  text-align: center;
  margin-bottom: 32px;
}

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

.problem-card {
  padding: 28px 24px;
  border: 1.5px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-card strong {
  font-size: 1.1rem;
  color: #ea580c;
}

.problem-card p {
  color: #475569;
  font-size: .95rem;
  line-height: 1.55;
  margin: 0;
}

.problem-solution {
  margin-top: 36px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(249, 115, 22, .08), rgba(234, 88, 12, .04));
  border-left: 3px solid #f97316;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
}

.problem-solution strong {
  color: #ea580c;
}

/* Features 4-column variant */
.features-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .features-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Gateway grid (G2 + G4 side by side) */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.gateway-card {
  background: #fff;
  border: 1.5px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}

.gateway-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(15, 23, 42, .08);
}

.gateway-card-image {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
}

.gateway-card-image img {
  max-width: 80%;
  max-height: 200px;
  object-fit: contain;
}

.gateway-card-image-soon {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.gateway-card-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(249, 115, 22, .15);
  border: 2px dashed rgba(249, 115, 22, .55);
  border-radius: 14px;
}

.gateway-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.gateway-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gateway-card-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.gateway-card-status {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-available {
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
}

.status-preorder {
  background: rgba(249, 115, 22, .12);
  color: #ea580c;
}

.gateway-card h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #0f172a;
}

.gateway-card-lead {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: #475569;
}

.gateway-card-specs {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed rgba(15, 23, 42, .12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .9rem;
}

.gateway-card-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #475569;
}

.gateway-card-specs li strong {
  color: #0f172a;
  font-weight: 600;
  flex-shrink: 0;
}

.gateway-card-specs li span {
  text-align: right;
}

.gateway-card-foot {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  flex-wrap: wrap;
}

.gateway-card-foot .btn {
  flex: 1;
  min-width: 140px;
}

/* FAQ accordion */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro .section-title {
  margin-top: 14px;
  max-width: 420px;
}

.faq-intro p {
  margin: 18px 0 0;
  max-width: 390px;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  max-width: none;
  margin-inline: 0;
}

.faq-item {
  border: 1.5px solid rgba(15, 23, 42, .1);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.faq-item[open] {
  border-color: rgba(249, 115, 22, .4);
}

.faq-item summary {
  min-height: 74px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.35;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #94a3b8;
  font-weight: 400;
  transition: transform .2s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: #ea580c;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: .92rem;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, 1140px);
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .problem-grid,
  .gateway-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner,
  .security-inner,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro .section-title,
  .faq-intro p {
    max-width: 680px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-diagram {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .stats-band-inner,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    max-width: 430px;
    margin-inline: auto;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .compat-inner {
    grid-template-columns: 1fr;
  }

  .gateways-inner,
  .gateway-product-card,
  .product-hero-inner,
  .product-split,
  .product-steps,
  .product-cta-inner {
    grid-template-columns: 1fr;
  }

  .vendor-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

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

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

  .protocol-panel {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav {
    min-height: 82px;
  }

  .nav-inner {
    min-height: 82px;
  }

  .nav-logo {
    width: 150px;
    height: 46px;
    padding: 6px 10px;
  }

  .hero {
    padding-top: 108px;
  }

  .nav-register {
    display: none;
  }

  .nav-login {
    font-size: .9rem;
  }

  .problem-section .section-head {
    text-align: left;
  }

  .gateway-card-image {
    min-height: 180px;
  }

  .gateway-card-body {
    padding: 22px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-stats,
  .features-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .stats-band-inner {
    grid-template-columns: 1fr 1fr;
  }

  .vendor-wall {
    grid-template-columns: 1fr;
  }

  .vendor-logo {
    min-height: 50px;
  }

  .equipment-grid,
  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-grid,
  .spec-table div {
    grid-template-columns: 1fr;
  }

  .gateway-product-image,
  .product-visual {
    min-height: 260px;
  }

  .equipment-card {
    min-height: auto;
  }

  .protocol-panel {
    padding: 18px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-login {
    padding-inline: 6px;
  }

  .nav-register {
    min-height: 34px;
    padding: 10px 14px;
  }

  .login-modal {
    padding-top: 94px;
  }

  .login-dialog {
    padding: 22px;
  }

  .login-dialog-logo {
    width: 190px;
    height: 58px;
  }

  .stats-band-inner div {
    padding: 22px 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .sec-row,
  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-bottom div {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo,
  .nav-logo::before,
  .nav-logo::after,
  .fade-up {
    animation: none;
  }

  .nav-logo {
    transition: none;
  }
}

/* Production landing layer: restrained industrial SaaS polish. */
:root {
  --navy: #16345f;
  --navy-dark: #10233f;
  --navy-deeper: #07111f;
  --navy-light: #eef3f8;
  --navy-mid: #c9d5e3;
  --orange: #f4a21c;
  --orange-hover: #dd8f12;
  --orange-dark: #9d640d;
  --orange-light: #fff6e7;
  --orange-mid: #f6d28d;
  --bg: #f3f6fa;
  --surface: #ffffff;
  --border: #d9e1eb;
  --border-d: #b9c6d6;
  --text-1: #101927;
  --text-2: #45566a;
  --text-3: #708197;
  --green: #11936b;
  --green-light: #e6f7f0;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 14px;
  --shadow: 0 1px 2px rgba(16, 25, 39, .04), 0 10px 28px rgba(16, 25, 39, .07);
  --shadow-lg: 0 18px 60px rgba(7, 17, 31, .16);
}

html {
  scroll-padding-top: 82px;
}

body {
  background: #f7f9fc;
}

.container {
  width: min(100% - 64px, 1240px);
}

.section {
  padding: 88px 0;
}

.nav {
  min-height: 76px;
  z-index: 1200;
  background: rgba(7, 17, 31, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}

.nav::before,
.nav-logo::before,
.nav-logo::after {
  display: none;
}

.nav-inner {
  min-height: 76px;
  gap: 22px;
}

.nav-logo {
  width: 192px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.nav-logo:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.nav-logo img {
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .16));
}

.nav-links {
  gap: 2px;
  margin-left: auto;
}

.nav-links a,
.nav-links button {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .68);
  font-size: .86rem;
  font-weight: 650;
}

.nav-actions {
  gap: 10px;
}

.nav-login {
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .9);
  font-size: .86rem;
}

.nav-register {
  min-height: 40px;
  padding-inline: 20px;
}

.btn {
  border-radius: var(--r-md);
  font-weight: 750;
  letter-spacing: 0;
}

.btn-orange {
  color: #111827;
  box-shadow: 0 10px 24px rgba(244, 162, 28, .22);
}

.btn-orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(244, 162, 28, .28);
}

.btn-ghost,
.btn-ghost-white {
  box-shadow: none;
}

.hero {
  padding: 104px 0 54px;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, .1), rgba(7, 17, 31, 0) 32%),
    radial-gradient(circle at 78% 22%, rgba(244, 162, 28, .15), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0b1628 54%, #0f233d 100%);
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.hero::after {
  background: linear-gradient(90deg, rgba(7, 17, 31, .94), rgba(7, 17, 31, .18) 62%, rgba(7, 17, 31, .7));
}

.hero-inner {
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: 56px;
}

.tag {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: .68rem;
  letter-spacing: .12em;
}

.tag-white {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.hero-title {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(2.35rem, 3.75vw, 3.45rem);
  line-height: 1.13;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 660px;
  color: rgba(232, 238, 247, .82);
  font-size: 1rem;
  line-height: 1.66;
}

.hero-actions {
  margin-top: 26px;
  gap: 12px;
}

.hero-stats {
  gap: 12px;
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.hero-stat {
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .045);
}

.hero-stat-val {
  line-height: 1;
  font-size: 1.42rem;
}

.hero-stat-label {
  color: rgba(232, 238, 247, .62);
  line-height: 1.35;
}

.product-mockup {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(12, 22, 38, .88);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .32);
}

.product-mockup::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 8%, rgba(244, 162, 28, .13), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
  pointer-events: none;
}

.mockup-topbar,
.mockup-grid {
  position: relative;
  z-index: 1;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .045);
}

.mockup-brand {
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8be6c3;
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mockup-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20d493;
  box-shadow: 0 0 0 5px rgba(32, 212, 147, .12);
}

.mockup-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 10px;
}

.mockup-panel {
  min-height: 126px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .055);
}

.mockup-session,
.mockup-log {
  min-height: 112px;
}

.mockup-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(232, 238, 247, .56);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mockup-panel-head b {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  letter-spacing: 0;
}

.gateway-mini {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.gateway-mini img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .26));
}

.gateway-mini strong,
.device-row strong,
.log-row strong {
  display: block;
  color: #fff;
  font-size: .92rem;
}

.gateway-mini span,
.device-row span {
  display: block;
  margin-top: 4px;
  color: rgba(232, 238, 247, .6);
  font-size: .78rem;
}

.device-row,
.log-row {
  display: grid;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .045);
}

.device-row.active {
  border-color: rgba(244, 162, 28, .38);
  background: rgba(244, 162, 28, .11);
}

.session-route {
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr;
  align-items: center;
  gap: 7px;
}

.session-route span,
.session-actions span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
}

.session-route i {
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 162, 28, .1), rgba(244, 162, 28, .9));
}

.session-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.log-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.log-row span,
.log-row em {
  color: rgba(232, 238, 247, .56);
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-style: normal;
}

.log-row em {
  color: #8be6c3;
}

.stats-band {
  border-color: var(--border);
  background: #fff;
}

.stats-band-inner div {
  padding: 30px 34px;
}

.section-label {
  margin-bottom: 14px;
  color: var(--orange-dark);
  letter-spacing: .16em;
}

.section-head {
  display: block;
  max-width: 820px;
  align-items: end;
  margin-bottom: 36px;
}

.section-title {
  color: var(--text-1);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.security-lead {
  max-width: 680px;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
}

.problem-section,
.features-section,
.pricing-section,
.faq-section {
  background: #fff;
}

.problem-section {
  padding: 72px 0 76px;
}

.problem-section .section-label,
.problem-section .section-head {
  max-width: 760px;
}

.problem-section .section-head {
  display: block;
  margin-bottom: 30px;
  text-align: left;
}

.problem-section .section-title {
  max-width: 760px;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.08;
}

.how-section,
.gateways-section,
.security-section {
  background: var(--bg);
}

.problem-grid,
.steps-grid,
.features-grid,
.pricing-grid,
.gateway-grid {
  gap: 18px;
}

.problem-card,
.step-card,
.feature-card,
.price-card,
.gateway-card,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 25, 39, .04), 0 16px 34px rgba(16, 25, 39, .06);
}

.problem-card,
.step-card,
.feature-card,
.price-card {
  padding: 26px;
}

.problem-card strong,
.step-card h3,
.feature-card h3,
.price-card h3 {
  color: var(--text-1);
  letter-spacing: 0;
}

.problem-card p,
.step-card p,
.feature-card p,
.price-card p,
.price-list li {
  color: var(--text-2);
  line-height: 1.65;
}

.problem-solution {
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  padding: 26px 30px;
  border: 1px solid rgba(244, 162, 28, .2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(90deg, rgba(244, 162, 28, .08), transparent 36%),
    #fff;
  box-shadow: 0 12px 28px rgba(16, 25, 39, .06);
  color: var(--text-1);
}

.problem-solution::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--orange), rgba(244, 162, 28, .35));
}

.solution-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solution-copy {
  display: grid;
  gap: 8px;
}

.solution-copy p {
  max-width: 1060px;
  margin: 0;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.62;
}

.solution-copy strong {
  color: var(--text-1);
  font-size: 1.06rem;
}

.steps-grid::before {
  display: none;
}

.step-card {
  min-height: 230px;
  padding-top: 58px;
}

.step-num,
.feature-card span,
.price-label {
  border-radius: 999px;
  color: var(--orange-dark);
  letter-spacing: .08em;
}

.feature-card {
  min-height: 260px;
  background: #fff;
}

.gateway-card {
  overflow: hidden;
  border-radius: var(--r-xl);
}

.gateway-card:hover {
  transform: translateY(-2px);
}

.gateway-card-image {
  min-height: 260px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #eef3f8, #dfe7f1);
}

.gateway-card-image img {
  max-height: 210px;
}

.gateway-card-g2 .gateway-card-image,
.gateway-card-g4 .gateway-card-image {
  height: 320px;
  min-height: 0;
  padding: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, #f7fafc 0%, #e7eef7 100%);
}

.gateway-card-g2 .gateway-card-image::after,
.gateway-card-g4 .gateway-card-image::after {
  position: absolute;
  right: 17%;
  bottom: 34px;
  left: 17%;
  height: 18px;
  content: "";
  border-radius: 50%;
  background: rgba(15, 23, 42, .16);
  filter: blur(14px);
}

.gateway-card-g2 .gateway-card-image img,
.gateway-card-g4 .gateway-card-image img {
  position: relative;
  z-index: 1;
  max-width: 92%;
  max-height: 292px;
  filter: drop-shadow(0 22px 26px rgba(15, 23, 42, .22));
}

.gateway-card-g4 .gateway-card-image img {
  max-width: 78%;
  max-height: 264px;
  transform: translateY(14px);
}

.gateway-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.gateway-card-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--r-sm);
  background: #f6f8fb;
  color: var(--text-1);
  font-size: .78rem;
  font-weight: 750;
}

.gateway-card-image-soon {
  background:
    radial-gradient(circle at 50% 35%, rgba(244, 162, 28, .16), transparent 26%),
    linear-gradient(135deg, #0a1424, #101d31);
}

.gateway-card-soon-badge {
  border-color: rgba(244, 162, 28, .45);
  background: rgba(244, 162, 28, .11);
  color: #ffd891;
}

.gateway-card-body {
  padding: 30px;
}

.status-preorder {
  background: #fff2d5;
  color: #8a5a0a;
}

.gateway-card-specs li {
  gap: 18px;
}

.compat-section {
  padding: 86px 0;
  border: 0;
  background:
    linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.compat-inner {
  display: grid;
  grid-template-columns: minmax(300px, .58fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: start;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.compat-inner::before,
.equipment-grid {
  display: none;
}

.compat-copy h2 {
  color: var(--text-1);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.compat-copy p {
  max-width: 520px;
  color: var(--text-2);
}

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

.vendor-logo {
  display: flex;
  min-height: 122px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  margin: 0;
  padding: 18px 20px 16px;
  border-color: var(--border);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  text-align: left;
}

.vendor-logo-img img {
  display: block;
  width: 100%;
  max-width: 176px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.vendor-schneider img,
.vendor-mitsubishi img {
  max-width: 188px;
}

.vendor-delta img,
.vendor-omron img {
  max-width: 148px;
}

.vendor-owen img,
.vendor-wago img {
  max-width: 128px;
}

.vendor-logo b {
  display: block;
  color: var(--text-1);
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.1;
}

.vendor-logo span {
  display: block;
  margin-top: 14px;
  color: var(--text-3);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.3;
}

.vendor-weintek b {
  color: var(--text-1);
  font-size: 1.34rem;
  letter-spacing: 0;
}

.protocol-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, .46fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 8px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 162, 28, .12), transparent 30%),
    linear-gradient(135deg, #07111f, #101d31);
  box-shadow: 0 20px 56px rgba(7, 17, 31, .14);
}

.protocol-copy h3,
.protocol-logo strong {
  color: #fff;
}

.protocol-copy p {
  color: rgba(232, 238, 247, .72);
}

.protocol-rules {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.protocol-rules li {
  position: relative;
  padding-left: 18px;
  color: rgba(232, 238, 247, .68);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
}

.protocol-rules li::before {
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 162, 28, .12);
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.protocol-logo {
  display: flex;
  min-height: 126px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  padding: 16px 18px 14px;
  border-color: rgba(15, 23, 42, .08);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 247, 251, .98));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  text-align: left;
}

.protocol-mark {
  display: flex !important;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 10px !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.protocol-logo-img img {
  display: block;
  width: 100%;
  max-width: 142px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.protocol-opc img {
  max-width: 128px;
  height: 34px;
}

.protocol-modbus img,
.protocol-ethernet img {
  max-width: 166px;
}

.protocol-s7 img {
  max-width: 158px;
  height: 28px;
}

.protocol-web img {
  max-width: 118px;
  height: 42px;
}

.protocol-scada img {
  max-width: 100px;
  height: 34px;
}

.protocol-profinet img {
  max-width: 150px;
}

.protocol-codesys img {
  max-width: 118px;
}

.protocol-logo strong {
  display: block;
  color: var(--text-1);
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.15;
}

.protocol-logo-img strong {
  margin-top: auto;
  color: var(--text-1);
  font-size: .82rem;
  letter-spacing: .02em;
}

.protocol-logo span {
  display: block;
  margin-top: 10px;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.35;
}

.protocol-wordmark strong {
  letter-spacing: .01em;
}

.protocol-opc strong {
  color: #63d2ff;
}

.protocol-modbus strong {
  color: #f2c56b;
}

.protocol-s7 strong {
  color: #21c8bf;
}

.protocol-ethernet strong {
  color: #95d4ff;
}

.protocol-web strong {
  color: #f6b44b;
}

.protocol-scada strong {
  color: var(--text-1);
  letter-spacing: .08em;
}

.protocol-logo-img strong {
  color: var(--text-1);
}

.price-card {
  overflow: hidden;
  min-height: 460px;
  padding: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
  box-shadow: 0 1px 2px rgba(16, 25, 39, .04), 0 18px 42px rgba(16, 25, 39, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.price-card.featured {
  border-color: rgba(244, 162, 28, .55);
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 162, 28, .16), transparent 34%),
    linear-gradient(180deg, #fffdf8, #fff);
  box-shadow: 0 1px 2px rgba(16, 25, 39, .04), 0 22px 54px rgba(244, 162, 28, .18);
}

.price-card:hover {
  border-color: rgba(30, 63, 116, .2);
  box-shadow: 0 2px 4px rgba(16, 25, 39, .05), 0 24px 60px rgba(16, 25, 39, .1);
  transform: translateY(-3px);
}

.price-card.featured:hover {
  border-color: rgba(244, 162, 28, .68);
  box-shadow: 0 2px 4px rgba(16, 25, 39, .05), 0 26px 68px rgba(244, 162, 28, .2);
}

.price-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(30, 63, 116, .35), rgba(30, 63, 116, .08));
  content: "";
}

.price-pro::before {
  background: linear-gradient(90deg, var(--orange), rgba(244, 162, 28, .18));
}

.price-card > * {
  margin-right: 28px;
  margin-left: 28px;
}

.price-card .btn {
  margin-top: auto;
  margin-bottom: 28px;
}

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.price-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(30, 63, 116, .12);
  border-radius: 999px;
  background: #f6f8fb;
  color: var(--text-3);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1;
}

.price-badge-hot {
  border-color: rgba(244, 162, 28, .32);
  background: #fff3d4;
  color: #8a5a0a;
}

.price-card h3 {
  margin: 18px 28px 10px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.price-card p {
  min-height: 72px;
  margin: 0 28px;
  color: var(--text-2);
}

.price-meter {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid rgba(30, 63, 116, .1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(246, 248, 251, .9));
}

.price-meter span {
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.price-meter strong {
  margin: 0;
  color: var(--text-1);
  font-size: 1.14rem;
  line-height: 1.15;
}

.price-pro .price-meter {
  border-color: rgba(244, 162, 28, .28);
  background: #fff8e8;
}

.price-value {
  display: block;
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--text-1);
  font-size: 1.34rem;
  line-height: 1.15;
}

.price-list {
  min-height: 106px;
  margin-right: 28px;
  margin-bottom: 22px;
  margin-left: 28px;
}

.price-list li {
  padding-left: 22px;
}

.price-list li::before {
  top: .5em;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255, 255, 255, .75);
  box-shadow: 0 0 0 1px rgba(32, 166, 120, .18);
}

.pricing-note {
  max-width: 920px;
  margin: 18px 0 0;
  color: var(--text-3);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.55;
}

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

.pricing-calculator {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(300px, .9fr) minmax(260px, .72fr);
  gap: 24px;
  align-items: end;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 162, 28, .1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
  box-shadow: 0 1px 2px rgba(16, 25, 39, .04), 0 18px 42px rgba(16, 25, 39, .08);
}

.pricing-calculator-copy h3 {
  margin: 8px 0 10px;
  color: var(--text-1);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.16;
}

.pricing-calculator-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--text-2);
}

.pricing-calculator-controls {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  gap: 12px;
  align-items: end;
}

.pricing-calculator-controls label {
  display: grid;
  gap: 8px;
}

.pricing-calculator-controls .btn {
  min-height: 48px;
  margin: 0;
  white-space: nowrap;
}

.pricing-calculator-controls label > span {
  color: var(--text-3);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing-calculator-controls select,
.pricing-calculator-controls input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: #fff;
  color: var(--text-1);
  font: inherit;
  font-weight: 750;
  outline: none;
}

.pricing-calculator-controls select:focus,
.pricing-calculator-controls input:focus {
  border-color: rgba(244, 162, 28, .8);
  box-shadow: 0 0 0 4px rgba(244, 162, 28, .14);
}

.pricing-calculator-result {
  padding: 18px;
  border: 1px solid rgba(244, 162, 28, .24);
  border-radius: 14px;
  background: #fff8e8;
}

.pricing-calculator-result span,
.pricing-calculator-result p {
  display: block;
  margin: 0;
  color: var(--text-2);
  font-size: .86rem;
  line-height: 1.45;
}

.pricing-calculator-result strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--text-1);
  font-size: 1.55rem;
  line-height: 1.1;
}

.pricing-calculator-alt {
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 162, 28, .22);
}

.security-section {
  color: var(--text-1);
}

.security-inner {
  gap: 40px;
}

.section-title-light {
  color: var(--text-1);
}

.sec-item strong {
  color: var(--text-1);
}

.sec-item p {
  color: var(--text-2);
}

.sec-visual {
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.sec-visual-head,
.sec-row strong {
  color: var(--text-1);
}

.sec-row {
  border: 1px solid var(--border);
  background: #f8fafc;
}

.sec-row span {
  color: var(--text-2);
}

.cta-band {
  padding: 80px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 162, 28, .16), transparent 32%),
    linear-gradient(135deg, #07111f, #0d1c31 62%, #112a4a);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer {
  background: #f8fafc;
  color: rgba(255, 255, 255, .68);
  padding-top: 70px;
}

.footer-brand,
.footer h3 {
  color: #fff;
}

.footer a,
.footer-login,
.footer-link-button,
.footer p {
  color: rgba(255, 255, 255, .68);
}

.footer-bottom {
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .44);
}

.login-modal {
  z-index: 1300;
  padding-top: 104px;
}

.product-inquiry-modal {
  z-index: 1300;
}

.login-modal-backdrop {
  background: rgba(7, 17, 31, .72);
  backdrop-filter: blur(10px);
}

.login-dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 17, 31, .28);
}

.login-close {
  border-radius: var(--r-md);
  color: var(--text-1);
}

.login-kicker,
.login-dialog-foot a {
  color: var(--orange-dark);
}

.login-dialog h2,
.login-form label {
  color: var(--text-1);
}

.login-dialog p {
  color: var(--text-2);
}

.login-form input {
  border-color: var(--border);
  border-radius: var(--r-md);
  color: var(--text-1);
}

.login-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 162, 28, .16);
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-diagram {
    display: block;
    max-width: 760px;
  }

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

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, 1240px);
  }

  .section,
  .cta-band {
    padding: 68px 0;
  }

  .section-head,
  .security-inner,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .gateway-grid,
  .problem-grid,
  .steps-grid,
  .features-grid,
  .pricing-grid,
  .compat-inner {
    grid-template-columns: 1fr;
  }

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

  .mockup-grid {
    grid-template-columns: .82fr 1.18fr;
  }

  .mockup-devices,
  .mockup-log {
    display: none;
  }

  .mockup-panel {
    min-height: auto;
  }

  .hero-inner {
    gap: 34px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav,
  .nav-inner {
    min-height: 70px;
  }

  .nav-logo {
    width: 158px;
    height: 38px;
  }

  .nav-login {
    min-height: 36px;
    padding-inline: 12px;
  }

  .hero {
    padding: 86px 0 34px;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.15;
  }

  .hero-sub {
    font-size: .9rem;
    line-height: 1.5;
    margin-top: 16px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 18px;
    gap: 8px;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 0;
    min-height: 44px;
    padding: 11px 8px;
    font-size: .78rem;
    white-space: normal;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 16px;
  }

  .hero-stat {
    min-height: auto;
    padding: 10px 8px;
  }

  .hero-stat-val {
    font-size: 1.16rem;
  }

  .hero-stat-val span {
    display: block;
    margin: 3px 0 0;
    font-size: .7rem;
  }

  .hero-stat-label {
    font-size: .66rem;
  }

  .product-mockup {
    margin-top: 18px;
    padding: 12px;
    border-radius: 14px;
  }

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

  .mockup-devices,
  .mockup-session,
  .mockup-log {
    display: none;
  }

  .mockup-topbar,
  .mockup-panel {
    padding: 12px;
  }

  .gateway-mini {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .session-route,
  .session-actions,
  .log-row {
    grid-template-columns: 1fr;
  }

  .session-route i {
    height: 14px;
    width: 1px;
    margin-inline: auto;
    background: linear-gradient(180deg, rgba(244, 162, 28, .1), rgba(244, 162, 28, .9));
  }

  .features-grid-4,
  .pricing-grid-3,
  .pricing-grid-4,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .pricing-calculator {
    padding: 18px;
  }

  .pricing-calculator-controls {
    grid-template-columns: 1fr;
  }

  .vendor-wall,
  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .vendor-logo {
    min-height: 106px;
  }

  .vendor-logo-img img {
    height: 44px;
    max-width: 170px;
  }

  .cta-inner {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-inner {
    min-width: 0;
  }

  .nav-logo {
    flex: 0 1 132px;
    min-width: 112px;
  }

  .nav-actions {
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
  }

  .nav-register {
    display: none;
  }

  .nav-login {
    min-height: 36px;
    padding: 9px 12px;
    font-size: .78rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-copy,
  .hero-diagram,
  .product-mockup,
  .mockup-grid,
  .mockup-panel,
  .section-head,
  .section-title,
  .problem-card,
  .step-card,
  .feature-card,
  .gateway-card,
  .vendor-logo,
  .protocol-panel,
  .price-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .hero-title,
  .section-title,
  .problem-section .section-title,
  .compat-copy h2 {
    overflow-wrap: break-word;
    word-break: normal;
  }
}

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

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.16;
  }

  .section-title,
  .problem-section .section-title,
  .compat-copy h2 {
    font-size: 1.45rem;
    line-height: 1.16;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat-val span {
    display: inline;
    margin-left: 4px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .nav-logo {
    flex-basis: 112px;
  }

}

/* Hero product mockup: clear connection story */
.mockup-flow,
.mockup-workspace {
  position: relative;
  z-index: 1;
}

.mockup-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}

.mockup-node,
.mockup-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.mockup-node {
  min-height: 176px;
  padding: 16px;
}

.mockup-node-label,
.mockup-card-head span {
  display: block;
  color: rgba(232, 238, 247, .56);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.mockup-object-main {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.mockup-object-main img {
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .28));
}

.mockup-node h3,
.mockup-object-main h3 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.18;
}

.mockup-node p,
.mockup-object-main p {
  margin: 7px 0 0;
  color: rgba(232, 238, 247, .64);
  font-size: .78rem;
  line-height: 1.45;
}

.mockup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.mockup-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(232, 238, 247, .78);
  font-size: .68rem;
  font-weight: 750;
  line-height: 1;
}

.mockup-engineer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mockup-engineer .mockup-node-label {
  margin-bottom: 18px;
}

.mockup-engineer .mockup-tags {
  margin-top: auto;
}

.mockup-bridge {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 176px;
  padding: 12px 8px;
  border: 1px solid rgba(244, 162, 28, .2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 162, 28, .16), transparent 58%),
    rgba(244, 162, 28, .055);
  text-align: center;
}

.mockup-bridge i {
  display: block;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(244, 162, 28, .15), rgba(244, 162, 28, .9));
}

.mockup-bridge span {
  color: rgba(232, 238, 247, .58);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mockup-bridge strong {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(7, 17, 31, .72);
  color: #fff;
  font-size: .78rem;
  line-height: 1.15;
}

.mockup-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 12px;
  margin-top: 12px;
}

.mockup-card {
  padding: 14px 16px;
}

.mockup-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mockup-card-head b {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  letter-spacing: 0;
}

.mockup-device-active,
.mockup-journal-row {
  border: 1px solid rgba(244, 162, 28, .22);
  border-radius: 12px;
  background: rgba(244, 162, 28, .09);
}

.mockup-device-active {
  padding: 13px 14px;
}

.mockup-device-active strong,
.mockup-journal-row strong {
  display: block;
  color: #fff;
  font-size: .92rem;
  line-height: 1.2;
}

.mockup-device-active span {
  display: block;
  margin-top: 6px;
  color: rgba(232, 238, 247, .62);
  font-size: .76rem;
}

.mockup-journal-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.mockup-journal-row span,
.mockup-journal-row em {
  color: rgba(232, 238, 247, .58);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-style: normal;
}

.mockup-journal-row em {
  color: #8be6c3;
}

@media (max-width: 900px) {
  .mockup-flow {
    grid-template-columns: 1fr;
  }

  .mockup-bridge {
    min-height: auto;
  }

  .mockup-bridge i {
    height: 18px;
  }

  .mockup-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .mockup-object-main {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mockup-node {
    min-height: auto;
  }

  .mockup-workspace {
    display: none;
  }

  .mockup-journal-row {
    grid-template-columns: 1fr;
  }
}

/* Hero remote access illustration */
.hero-scheme {
  position: relative;
  width: min(100%, 640px);
  margin: 0;
  isolation: isolate;
  transform: none;
}

.hero-scheme::before {
  position: absolute;
  inset: 8% 7% 6%;
  z-index: -1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 45% 48%, rgba(245, 160, 32, .14), transparent 32%),
    radial-gradient(circle at 74% 48%, rgba(32, 212, 147, .1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  filter: blur(.2px);
  content: "";
}

.hero-scheme img,
.hero-scheme-media {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, .3));
}

.hero-scheme-media {
  border-radius: 24px;
  background: transparent;
  object-fit: contain;
}

.scheme-cloud,
.scheme-app,
.scheme-tools {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, .9);
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(7, 17, 31, .55);
}

.scheme-cloud,
.scheme-app,
.scheme-tools,
.scheme-label {
  display: none;
}

.scheme-gateway,
.scheme-line,
.scheme-ports {
  display: none;
}

.scheme-object {
  top: 4%;
  left: 18%;
}

.scheme-engineer {
  top: 4%;
  right: 10%;
}

.scheme-gateway {
  top: 30%;
  left: 35%;
  font-size: clamp(.72rem, 1.25vw, .92rem);
  font-weight: 800;
}

.scheme-line {
  color: rgba(232, 238, 247, .84);
  font-size: clamp(.66rem, 1.1vw, .82rem);
  font-weight: 750;
  text-align: center;
}

.scheme-outbound {
  top: 36%;
  left: 46%;
}

.scheme-secure {
  top: 39%;
  right: 21%;
}

.scheme-ports {
  top: 54%;
  left: 45%;
  color: rgba(232, 238, 247, .84);
  font-size: clamp(.62rem, 1vw, .76rem);
  font-weight: 750;
}

.scheme-cloud {
  top: 41%;
  left: 57.4%;
  color: var(--navy);
  font-size: clamp(.78rem, 1.45vw, 1.1rem);
  font-weight: 850;
  text-align: center;
  text-shadow: none;
}

.scheme-app {
  display: flex;
  width: 10.2%;
  min-height: 8.7%;
  align-items: center;
  justify-content: center;
  color: var(--navy-deeper);
  font-size: clamp(.66rem, 1.08vw, .86rem);
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  text-shadow: none;
}

.scheme-manager {
  top: 13.4%;
  right: 8.15%;
}

.scheme-m2web {
  top: 27%;
  right: 8.15%;
}

.scheme-tools {
  right: 2.4%;
  bottom: 8%;
  display: flex;
  gap: 6px;
}

.scheme-tools span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(232, 238, 247, .9);
  color: var(--navy);
  font-size: clamp(.58rem, .9vw, .72rem);
  font-weight: 750;
  line-height: 1;
  text-shadow: none;
}

@media (max-width: 1100px) {
  .hero-scheme {
    width: min(100%, 620px);
    transform: none;
  }
}

@media (max-width: 760px) {
  .hero-scheme {
    width: 100%;
  }

  .scheme-label,
  .scheme-gateway,
  .scheme-line,
  .scheme-ports,
  .scheme-cloud,
  .scheme-app,
  .scheme-tools {
    display: none;
  }
}

@media (max-width: 1100px) {
  .footer-panel .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-brand-logo {
    width: 230px;
  }

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .footer {
    padding-top: 46px;
  }

  .footer-panel {
    border-radius: 18px;
  }

  .footer-panel .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 22px;
  }

  .footer-brand-logo {
    width: 210px;
  }

  .footer-panel .footer-bottom {
    margin: 0 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal-actions {
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-modal {
    padding: 12px;
  }

  .legal-dialog {
    max-height: 88vh;
    border-radius: 16px;
  }

  .legal-dialog-head {
    padding: 22px 20px 16px;
  }

  .legal-dialog-body {
    padding: 20px;
  }
}

/* Public performance and mobile hardening */
.hero-scheme-picture {
  display: block;
}

.hero-scheme-picture,
.hero-scheme-picture img {
  width: 100%;
  height: auto;
}

.hero-scheme-media {
  display: none;
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero-scheme-picture {
    display: none;
  }

  .hero-scheme-media {
    display: block;
  }
}

.gateway-card-image picture {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.gateway-card-image picture img {
  width: auto;
  height: auto;
}

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-scheme {
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .hero-diagram {
    width: 100%;
    min-width: 0;
  }

  .hero-scheme {
    max-width: min(100%, 420px);
  }

  .gateway-card-image {
    min-height: 220px;
  }

  .gateway-card-g2 .gateway-card-image img,
  .gateway-card-g4 .gateway-card-image img {
    max-width: 82%;
    max-height: 230px;
  }
}
