/* ============================================================
   Nextosis Technologies — corporate site stylesheet
   ------------------------------------------------------------
   1. Design tokens        8. About
   2. Base & accessibility 9. Services, industries, why us
   3. Layout & headings   10. Process
   4. Buttons             11. Projects
   5. Navbar              12. Technologies & contact
   6. Hero                13. Footer
   7. Cards               14. Interior pages (careers, legal, 404)
                          15. Responsive
   ============================================================ */

/* ---------- 1. Design tokens ---------- */

:root {
  /* Surfaces */
  --bg: #060a16;
  --bg-soft: #0a0f20;
  --surface: #0e1526;
  --surface-2: #121b32;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);

  /* Text */
  --text: #eef2f8;
  --text-muted: #9aa7bd;
  --text-faint: #66748c;

  /* Brand */
  --blue: #3b7dfb;
  --blue-light: #8ab4ff;
  --blue-dim: rgba(59, 125, 251, 0.14);
  --orange: #f4711c;
  --orange-light: #ff9a52;
  --orange-dim: rgba(244, 113, 28, 0.14);
  --green: #34d399;
  --green-light: #6ee7b7;

  /* Type scale */
  --fs-display: clamp(32px, 4vw, 52px);
  --fs-h1: clamp(30px, 4vw, 44px);
  --fs-h2: clamp(28px, 3.4vw, 40px);
  --fs-h3: 18px;
  --fs-lead: 17px;
  --fs-body: 15px;
  --fs-small: 13.5px;

  /* Spacing */
  --section-y: 104px;
  --heading-gap: 56px;
  --grid-gap: 24px;
  --gutter: 24px;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);

  --container: 1240px;
  --nav-height: 72px;
}

/* ---------- 2. Base & accessibility ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 3. Layout & headings ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--heading-gap);
}

.section-heading h2 {
  font-size: var(--fs-h2);
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.7;
}

/* ---------- 4. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(244, 113, 28, 0.2);
}

.btn-primary:hover {
  background: #ff7f26;
  box-shadow: 0 8px 20px rgba(244, 113, 28, 0.26);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- 5. Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px var(--gutter);
  background: rgba(6, 10, 22, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar.is-scrolled {
  background: rgba(6, 10, 22, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-tagline {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links .contact-btn {
  margin-left: 8px;
  padding: 10px 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.nav-links .contact-btn:hover,
.nav-links .contact-btn.is-active {
  background: #4f8bff;
  color: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.icon-close {
  display: none;
}

/* ---------- 6. Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 132px var(--gutter) 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(59, 125, 251, 0.2), transparent 50%),
    radial-gradient(ellipse at 8% 85%, rgba(244, 113, 28, 0.1), transparent 45%),
    linear-gradient(180deg, #060a16 0%, #070c1c 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--blue-light);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.hero-content h1 {
  margin-bottom: 24px;
  font-size: var(--fs-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue-light) 0%, #b7cdff 45%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  max-width: 560px;
  margin-bottom: 36px;
  color: var(--text-muted);
  font-size: 17.5px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* Product preview */

.hero-visual {
  position: relative;
  padding: 28px 0;
}

.mock-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 27, 50, 0.95), rgba(12, 18, 34, 0.95));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 125, 251, 0.08), 0 0 80px rgba(59, 125, 251, 0.12);
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.mock-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.28);
}

.mock-url {
  margin-left: 12px;
  padding: 4px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-faint);
  font-size: 11.5px;
}

.mock-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 340px;
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 10px;
  border-right: 1px solid var(--border);
}

.mock-side-item {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--text-faint);
  font-size: 12px;
}

.mock-side-item.active {
  background: var(--blue-dim);
  color: var(--blue-light);
  font-weight: 600;
}

.mock-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-kpi,
.mock-panel {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.mock-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-kpi-label {
  color: var(--text-faint);
  font-size: 10.5px;
}

.mock-kpi-value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock-kpi-value small {
  margin-left: 3px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 500;
}

.mock-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 11.5px;
}

.mock-pill {
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--green-light);
  font-size: 10px;
  font-weight: 600;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 76px;
}

.mock-chart span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(59, 125, 251, 0.35) 100%);
}

.mock-chart span:nth-child(6) {
  background: linear-gradient(180deg, var(--orange) 0%, rgba(244, 113, 28, 0.35) 100%);
}

.mock-queue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-token {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(59, 125, 251, 0.18);
  border-radius: 8px;
  background: rgba(59, 125, 251, 0.08);
}

.mock-token b {
  color: var(--blue-light);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.mock-token span {
  color: var(--text-faint);
  font-size: 10.5px;
}

.mock-token.mock-alert {
  border-color: rgba(244, 113, 28, 0.24);
  background: rgba(244, 113, 28, 0.08);
}

.mock-token.mock-alert b {
  color: var(--orange-light);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(14, 21, 38, 0.92);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.float-card b {
  display: block;
  font-size: 13px;
}

.float-card small {
  display: block;
  color: var(--text-faint);
  font-size: 11.5px;
}

.float-card-top {
  top: 0;
  right: -18px;
}

.float-card-bottom {
  bottom: 4px;
  left: -28px;
  animation-delay: -3s;
}

.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--green-light);
}

.float-icon-orange {
  background: rgba(244, 113, 28, 0.16);
  color: var(--orange-light);
}

.float-icon svg {
  width: 18px;
  height: 18px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-products {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  width: 100%;
  max-width: calc(var(--container) - 2 * var(--gutter));
  margin: 72px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-products-label {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-products ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.hero-products li {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- 7. Cards ---------- */

.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--blue-dim);
  color: var(--blue-light);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.card p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

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

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

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

.tags li {
  padding: 5px 12px;
  border-radius: 50px;
  background: var(--blue-dim);
  color: var(--blue-light);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---------- 8. About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.about-copy p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-copy > p:first-child {
  color: var(--text);
  font-size: var(--fs-lead);
}

.about-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.about-checks b {
  color: var(--text);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(244, 113, 28, 0.16);
  color: var(--orange-light);
}

.check-icon svg {
  width: 13px;
  height: 13px;
}

.stack-diagram {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 125, 251, 0.14), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}

.stack-layer {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.stack-title {
  display: block;
  margin-bottom: 10px;
  color: var(--text-faint);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-chips span {
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.stack-layer:first-child .stack-chips span {
  border-color: rgba(59, 125, 251, 0.28);
  background: var(--blue-dim);
  color: var(--blue-light);
}

.stack-deploy {
  border-color: rgba(244, 113, 28, 0.3);
  background: rgba(244, 113, 28, 0.06);
}

.stack-deploy-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stack-deploy-options div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 9px;
  background: rgba(244, 113, 28, 0.1);
  color: var(--orange-light);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.stack-deploy-options svg {
  width: 18px;
  height: 18px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

.stat {
  padding: 32px 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--border);
}

.stat-num {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, var(--orange-light) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.vm-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.vm-item .card-icon {
  margin-bottom: 0;
}

.vm-item h3 {
  margin-bottom: 6px;
  font-size: var(--fs-h3);
}

.vm-item p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.7;
}

/* ---------- 9. Services, industries, why us ---------- */

.service-card {
  position: relative;
  overflow: hidden;
}

.service-num {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(148, 163, 184, 0.08);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.industry-card,
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.industry-card:hover,
.why-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.industry-card .card-icon,
.why-item .card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  border-radius: 10px;
}

.industry-card .card-icon svg,
.why-item .card-icon svg {
  width: 21px;
  height: 21px;
}

.why-item .card-icon {
  background: var(--orange-dim);
  color: var(--orange-light);
}

.industry-card h3,
.why-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.industry-card p,
.why-item p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.industry-card p {
  margin-bottom: 12px;
}

.industry-products {
  display: inline-block;
  color: var(--blue-light);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- 10. Process ---------- */

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

.process-step {
  padding: 32px 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--blue-dim);
  color: var(--blue-light);
  font-size: 15px;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: var(--fs-h3);
}

.process-step p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- 11. Projects ---------- */

.project-featured {
  margin-bottom: var(--grid-gap);
  border-color: var(--border-strong);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

.project-featured-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.project-featured-head .card-icon {
  margin-bottom: 0;
}

.project-featured-head h3 {
  margin: 0;
  font-size: 24px;
}

.project-featured > p {
  max-width: 860px;
}

.project-label {
  display: block;
  color: var(--orange-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deploy-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.deploy-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.deploy-option .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  background: var(--orange-dim);
  color: var(--orange-light);
}

.deploy-option .card-icon svg {
  width: 20px;
  height: 20px;
}

.deploy-option h4 {
  margin-bottom: 4px;
  font-size: 16px;
}

.deploy-option p {
  font-size: 14px;
  line-height: 1.65;
}

.product-card {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* ---------- 12. Technologies & contact ---------- */

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-strip span {
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.contact-banner {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 0%, rgba(59, 125, 251, 0.1), transparent 55%),
    linear-gradient(180deg, #070c1c, #060a16);
}

.contact-banner .section-heading {
  margin-bottom: 36px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-note {
  margin-top: 24px;
  color: var(--text-faint);
  font-size: 14.5px;
}

.contact-note a {
  color: var(--blue-light);
  text-decoration: none;
}

.contact-note a:hover {
  text-decoration: underline;
}

/* ---------- 13. Footer ---------- */

.footer {
  padding-top: 64px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 340px;
  color: var(--text-faint);
  font-size: 14.5px;
  line-height: 1.8;
}

.footer-col h4 {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 14.5px;
}

.footer-col li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-col a,
.footer-legal-links a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-legal-links a:hover {
  color: var(--orange-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: var(--fs-small);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* ---------- 14. Interior pages (careers, legal, 404) ---------- */

.page-hero {
  padding: 150px 0 64px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 82% 0%, rgba(59, 125, 251, 0.08), transparent 45%),
    linear-gradient(180deg, #060a16 0%, #070c1c 100%);
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: var(--fs-h1);
}

.page-hero p {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.page-hero .eyebrow {
  margin-bottom: 10px;
}

.page-hero + .section {
  padding-top: 64px;
  border-top: none;
}

.legal-content {
  max-width: 760px;
}

.legal-content .updated {
  margin-bottom: 40px;
  color: var(--text-faint);
  font-size: var(--fs-small);
}

.legal-content h2 {
  margin: 40px 0 14px;
  font-size: 21px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  margin: 0 0 16px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.apply-card {
  max-width: 760px;
  margin-top: 56px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.apply-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.apply-card p {
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
}

.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.notfound .container {
  width: 100%;
}

.notfound-code {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--blue-light), var(--orange-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 15. Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .mock-window {
    transform: none;
  }

  .float-card-top {
    right: 0;
  }

  .float-card-bottom {
    left: 0;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: 0;
    padding: 16px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(6, 10, 22, 0.98);
    border-bottom: 1px solid var(--border);
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    max-height: 440px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 16px;
  }

  .nav-links .contact-btn {
    margin-left: 0;
    text-align: center;
  }

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

  .nav-toggle[aria-expanded="true"] .icon-menu {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }
}

@media (max-width: 760px) {
  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    border-left: none;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .grid-2,
  .deploy-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --section-y: 72px;
    --heading-gap: 40px;
    --gutter: 16px;
  }

  .grid-3,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 40px;
  }

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

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-side {
    display: none;
  }

  .float-card {
    padding: 10px 12px;
  }

  .float-card-top {
    right: -4px;
  }

  .float-card-bottom {
    left: -4px;
  }

  .hero-products {
    margin-top: 48px;
  }

  .hero-products ul {
    gap: 8px 18px;
  }

  .hero-products li {
    font-size: 14px;
  }

  .card,
  .stack-diagram {
    padding: 22px;
  }

  .industry-card,
  .why-item,
  .vm-item {
    padding: 22px;
  }

  .page-hero {
    padding: 120px 0 48px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 16. Contact form & WhatsApp ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-methods a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-methods a:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.contact-methods b {
  display: block;
  font-size: 15.5px;
}

.contact-methods small {
  display: block;
  color: var(--text-faint);
  font-size: 13px;
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-dim);
  color: var(--blue-light);
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: #4ade80;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 22px;
}

.form-intro {
  margin: 4px 0 24px;
  color: var(--text-faint);
  font-size: var(--fs-small);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa7bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 125, 251, 0.25);
}

.form-honey {
  position: absolute;
  left: -9999px;
}

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

.form-submit:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: var(--green-light);
}

.form-status.is-error {
  color: #fca5a5;
}

.form-status a,
.form-privacy a {
  color: var(--blue-light);
}

.form-privacy {
  margin-top: 14px;
  color: var(--text-faint);
  font-size: 12.5px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .contact-form {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

.notfound-code.thanks-title {
  font-size: clamp(44px, 6vw, 72px);
  margin-bottom: 16px;
}

.heading-action {
  margin-top: 22px;
}

.contact-method-brochure {
  background: var(--orange-dim);
  color: var(--orange-light);
}

/* ---------- Alignment refinements (v15) ---------- */

.hero-content h1,
.section-heading h2,
.page-hero h1,
.contact-form h3 {
  text-wrap: balance;
}

.section-heading p,
.page-hero p,
.hero-content p,
.card p,
.about-copy p {
  text-wrap: pretty;
}

.about-grid {
  align-items: start;
}

.hero-products {
  gap: 12px 28px;
}

.hero-products ul {
  gap: 8px 24px;
}

@media (min-width: 961px) and (max-width: 1100px) {
  .hero-inner {
    gap: 40px;
  }

  .hero .btn {
    padding: 13px 20px;
  }
}

/* ---------- Featured capabilities (v17) ---------- */

.spotlight-card {
  display: flex;
  flex-direction: column;
  border-color: var(--border-strong);
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
}

.spotlight-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.spotlight-head .card-icon {
  margin-bottom: 0;
}

.spotlight-head h3 {
  margin: 0;
  font-size: 22px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12 10 16 18 8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.feature-list b {
  color: var(--text);
}

.spotlight-card .tags {
  margin-top: auto;
  padding-top: 20px;
}

/* ============================================================
   17. Enterprise presentation (v18)
   Dark hero, security band, contact and footer; light content
   sections in between.
   ============================================================ */

:root {
  --section-y: 112px;
}

/* ---------- Calmer visuals ---------- */

.float-card {
  animation: none;
}

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

.industry-card:hover,
.why-item:hover {
  transform: none;
}

.hero {
  background:
    radial-gradient(ellipse at 80% 15%, rgba(59, 125, 251, 0.16), transparent 50%),
    linear-gradient(180deg, #060a16 0%, #070c1c 100%);
}

.hero-grid-bg {
  opacity: 0.6;
}

/* ---------- Light content sections ---------- */

.section-light {
  --bg-soft: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --border: #e3e8f0;
  --border-strong: #d3dbe7;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #64748b;
  --blue-light: #2563eb;
  --blue-dim: #eaf1ff;
  --orange-light: #d9620f;
  --orange-dim: #fff1e6;
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 44px rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: var(--text);
  border-top-color: var(--border);
}

.section-light.section-alt {
  background: #f5f7fb;
}

.section-light.section-alt .card,
.section-light.section-alt .industry-card,
.section-light.section-alt .why-item,
.section-light.section-alt .process-step,
.section-light.section-alt .vm-item {
  background: #ffffff;
}

.section-light .card,
.section-light .industry-card,
.section-light .why-item,
.section-light .process-step,
.section-light .vm-item,
.section-light .stack-diagram {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.section-light .btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border-strong);
}

.section-light .btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.section-light .service-num {
  color: rgba(15, 23, 42, 0.07);
}

.section-light .stat-num {
  background: none;
  color: var(--text);
  -webkit-text-fill-color: currentColor;
}

.section-light .stats-band {
  background: #ffffff;
}

.section-light .stack-diagram {
  background: #ffffff;
}

.section-light .stack-layer {
  background: #f8fafd;
}

.section-light .stack-chips span {
  background: #ffffff;
}

.section-light .stack-deploy {
  background: var(--orange-dim);
  border-color: #ffd7ba;
}

.section-light .stack-deploy-options div {
  background: #ffffff;
  border: 1px solid #ffd7ba;
}

.section-light .project-featured,
.section-light .spotlight-card {
  background: linear-gradient(135deg, #ffffff, #f6f9ff);
}

.section-light .deploy-option {
  background: #f8fafd;
}

.section-light .feature-list li::before {
  background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12 10 16 18 8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.section-light .check-icon {
  background: var(--orange-dim);
}

.section-light .tech-strip span {
  background: #ffffff;
  color: var(--text-muted);
}

.section-light .legal-content strong {
  color: var(--text);
}

/* ---------- Architecture diagram ---------- */

.arch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.arch-title {
  display: block;
  margin-bottom: 12px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.arch-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.arch-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--blue-light);
}

.arch-item b,
.arch-core-head b,
.arch-deploy-grid b {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.arch-item small,
.arch-core-head small,
.arch-deploy-grid small {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.arch-col:first-child::after,
.arch-col:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  border-top: 2px dashed var(--border-strong);
}

.arch-col:first-child::after {
  right: -28px;
}

.arch-col:last-child::before {
  left: -28px;
}

.arch-core {
  padding: 24px;
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f3f7ff, #ffffff);
  box-shadow: var(--shadow-lg);
}

.arch-core-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.arch-core-head img {
  width: 40px;
  height: auto;
}

.arch-core-head b {
  font-size: 18px;
}

.arch-layer + .arch-layer {
  margin-top: 14px;
}

.arch-layer > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.arch-chips i {
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--blue-dim);
  color: var(--blue-light);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
}

.arch-layer + .arch-layer .arch-chips i {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
}

.arch-deploy {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid #ffd7ba;
  border-radius: var(--radius-md);
  background: var(--orange-dim);
}

.arch-deploy .arch-title {
  color: var(--orange-light);
}

.arch-deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.arch-deploy-grid > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.arch-deploy-grid svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--orange-light);
}

/* ---------- Security band (dark) ---------- */

.security-band {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(59, 125, 251, 0.14), transparent 55%),
    linear-gradient(180deg, #070c1c, #060a16);
}

.sec-item {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.sec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--green-light);
}

.sec-icon svg {
  width: 21px;
  height: 21px;
}

.sec-item h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.sec-item p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-links a {
    padding: 10px 12px;
  }
}

@media (max-width: 960px) {
  .arch {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .arch-col:first-child::after,
  .arch-col:last-child::before {
    display: none;
  }

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

  .arch-col .arch-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  .arch-col,
  .arch-deploy-grid {
    grid-template-columns: 1fr;
  }

  .arch-core {
    padding: 18px;
  }

  .sec-item {
    padding: 22px;
  }
}

/* ---------- Dark presentation restored (v19) ---------- */

.arch-core {
  border-color: rgba(138, 180, 255, 0.55);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.arch-layer + .arch-layer .arch-chips i {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.arch-deploy {
  border-color: rgba(244, 113, 28, 0.3);
  background: rgba(244, 113, 28, 0.06);
}

.arch-deploy-grid > div {
  background: var(--surface);
  border: 1px solid var(--border);
}

.security-band {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(52, 211, 153, 0.07), transparent 55%),
    var(--bg-soft);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange);
}

.form-consent a {
  color: var(--blue-light);
}
