/* ═══════════════════════════════════════════════════════════
   AVTICA — website prototype
   Design system from "Avtica — Investor Pitch v4.4 (executive)"
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #030506;
  --surface: #0A1114;
  --surface-2: #07161A;
  --border: #223036;
  --text: #F2F5F5;
  --muted: #9AA9AE;
  --dim: #5C6B70;
  --cyan: #8FD6EA;
  --teal: #158197;
  --green: #619668;
  --green-light: #8FBF96;
  --gold: #D9C27A;
  --grad-brand: linear-gradient(90deg, #158197 0%, #619668 100%);
  --grad-card: linear-gradient(160deg, rgba(21, 129, 151, 0.22) 0%, rgba(3, 5, 6, 0) 70%);
  --radius: 20px;
  --font: 'Outfit', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(143, 214, 234, 0.25); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── Typography ─────────────────────────────────────────── */

.kicker {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
}

.section-lede {
  font-size: clamp(19px, 1.9vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin: 56px 0 32px;
}

.footnote {
  font-size: 13px;
  color: var(--dim);
  margin-top: 40px;
}

/* ── Layout ─────────────────────────────────────────────── */

.section { padding: 128px 0; position: relative; }

.section-alt {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(21, 129, 151, 0.10), transparent 60%),
    var(--bg);
  border-top: 1px solid rgba(34, 48, 54, 0.6);
  border-bottom: 1px solid rgba(34, 48, 54, 0.6);
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(143, 214, 234, 0.25), 0 8px 32px rgba(21, 129, 151, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(143, 214, 234, 0.45), 0 12px 44px rgba(21, 129, 151, 0.55);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(10, 17, 20, 0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ── Nav ────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(3, 5, 6, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(34, 48, 54, 0.7);
}

.nav-inner {
  width: min(1280px, 100% - 96px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo img { height: 30px; width: auto; }

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 100px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.nav-links .nav-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(143, 214, 234, 0.06);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 100px;
}

.hero-bg { position: absolute; inset: 0; }

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.06);
  animation: heroDrift 24s var(--ease) forwards;
}

@keyframes heroDrift { to { transform: scale(1); } }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 18% 32%, rgba(21, 129, 151, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(3, 5, 6, 0.62) 0%, rgba(3, 5, 6, 0.28) 45%, var(--bg) 96%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 214, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 214, 234, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero-content { position: relative; z-index: 2; max-width: 880px; }

.hero-rule {
  width: 160px;
  height: 4px;
  background: var(--grad-brand);
  border-radius: 2px;
  margin-bottom: 36px;
}

.hero-title {
  font-size: clamp(48px, 7.2vw, 96px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 10px 0 28px;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.45;
  max-width: 640px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 72px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(34, 48, 54, 0.8);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 48px 0 0;
  margin-right: 48px;
  border-right: 1px solid rgba(34, 48, 54, 0.6);
}

.hero-stat:last-child { border-right: 0; margin-right: 0; }

.hero-stat-num {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 300;
  color: var(--cyan);
  line-height: 1.1;
}

.hero-stat-label { font-size: 14px; color: var(--muted); }

.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

/* ── Platform links (overview) ──────────────────────────── */

.platform-links { display: flex; flex-direction: column; gap: 20px; }

.platform-link {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.platform-link:hover {
  transform: translateX(6px);
  border-color: rgba(143, 214, 234, 0.45);
}

.platform-link-num {
  font-size: 34px;
  font-weight: 300;
  color: var(--cyan);
  line-height: 1.1;
  min-width: 34px;
}

.platform-link h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; line-height: 1.25; }
.platform-link p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

.platform-link > div { flex: 1; }

.platform-link-arrow {
  align-self: center;
  color: var(--cyan);
  font-size: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.platform-link:hover .platform-link-arrow { opacity: 1; transform: none; }

/* ── Core: capability grid ──────────────────────────────── */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 214, 234, 0.4);
}

.cap-icon {
  width: 36px;
  height: 36px;
  color: var(--cyan);
}

.cap-icon svg { width: 100%; height: 100%; }

.cap-card h3 { font-size: 17.5px; font-weight: 500; line-height: 1.25; }
.cap-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Core: three modes ──────────────────────────────────── */

.modes { margin-top: 56px; }

.modes-title {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 28px;
}

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

.mode {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode .cap-icon { margin-bottom: 8px; }
.mode h3 { font-size: 21px; font-weight: 500; }
.mode-for { font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.mode p:last-child { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ── Prism ──────────────────────────────────────────────── */

.pillar-num {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 4px;
}

.infra { margin-top: 56px; }

.infra-title {
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 860px;
  margin-bottom: 32px;
  color: var(--text);
}

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

.infra-item {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.infra-item h4 { font-size: 17px; font-weight: 500; color: var(--cyan); margin-bottom: 8px; }
.infra-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Forge ──────────────────────────────────────────────── */

.forge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.forge-grid .card h3 { font-size: 19px; }

.card-dark {
  background: var(--grad-card), var(--surface);
  border-color: rgba(143, 214, 234, 0.45);
}

.timeline {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
}

.timeline-title {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  margin-bottom: 32px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 8px;
}

.timeline-step { display: flex; flex-direction: column; gap: 8px; }

.timeline-num {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--cyan);
}

.timeline-step h3 { font-size: 20px; font-weight: 500; }
.timeline-step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.timeline-connector {
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  margin-top: 10px;
  position: relative;
}

.timeline-connector::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3.5px;
  border-left: 8px solid var(--cyan);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ── Cards ──────────────────────────────────────────────── */

.card-grid { display: grid; gap: 28px; margin-top: 44px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 214, 234, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(21, 129, 151, 0.12);
}

.card-top-cyan { border-top: 3px solid var(--cyan); }
.card-top-green { border-top: 3px solid var(--green-light); }
.card-top-gold { border-top: 3px solid var(--gold); }

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--cyan);
  margin-bottom: 6px;
}

.card-icon.icon-green { color: var(--green-light); }
.card-icon.icon-gold { color: var(--gold); }
.card-icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 24px; font-weight: 500; line-height: 1.2; }
.card p { font-size: 16px; color: var(--muted); line-height: 1.55; }

/* ── Transformation (before → after) ────────────────────── */

.transform {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
}

.transform-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  height: 100%;
}

.transform-after {
  background: var(--grad-card), var(--surface);
  border-color: rgba(143, 214, 234, 0.55);
  box-shadow: 0 0 60px rgba(21, 129, 151, 0.15);
}

.transform-tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.transform-tag.tag-cyan { color: var(--cyan); }

.transform-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }

.transform-list li { font-size: 15.5px; line-height: 1.45; padding-left: 26px; position: relative; }

.list-before li { color: var(--muted); }
.list-before li::before { content: "×"; position: absolute; left: 4px; color: var(--dim); font-weight: 400; }

.list-after li { font-weight: 400; }
.list-after li::before { content: "✓"; position: absolute; left: 0; color: var(--green-light); font-weight: 500; }

.transform-arrow { color: var(--cyan); display: flex; justify-content: center; }
.transform-arrow svg { width: 64px; height: 32px; filter: drop-shadow(0 0 12px rgba(143, 214, 234, 0.5)); }

/* ── Platform ───────────────────────────────────────────── */

.platform-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 56px;
}

.orbit-wrap { position: relative; width: 100%; aspect-ratio: 860 / 560; }
.orbit-svg { width: 100%; height: 100%; }

.orbit-core {
  position: absolute;
  left: 50%; top: 48.2%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 22px;
  font-weight: 500;
}

.orbit-core-icon { width: 26px; height: 32px; opacity: 0.9; }

.orbit-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.orbit-forge { left: 0; top: 60%; }
.orbit-prism { right: 0; top: 10%; text-align: right; }

.orbit-node-name { font-size: 21px; font-weight: 500; }
.orbit-node-sub { font-size: 14px; color: var(--muted); }

.platform-facts { margin-top: 28px; }

.platform-fact {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.fact-num {
  min-width: 118px;
  font-size: 28px;
  font-weight: 300;
  color: var(--cyan);
}

.fact-label { font-size: 15px; color: var(--muted); line-height: 1.45; }

/* ── Learning loop ──────────────────────────────────────── */

.loop-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 48px;
}

.loop-visual { position: relative; width: 100%; aspect-ratio: 760 / 448; }
.loop-svg { width: 100%; height: 100%; }

.loop-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.loop-step { position: absolute; font-size: 14.5px; color: var(--text); line-height: 1.4; }
.loop-step span { color: var(--cyan); font-weight: 500; margin-right: 4px; }
.loop-step-1 { top: 3%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.loop-step-2 { right: 0; top: 42%; width: 30%; }
.loop-step-3 { bottom: 2%; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.loop-step-4 { left: 0; top: 42%; width: 30%; text-align: right; }

.loop-points { display: flex; flex-direction: column; gap: 32px; }

.loop-point {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.loop-point h3 { font-size: 23px; font-weight: 500; margin-bottom: 8px; }
.loop-point p { font-size: 16.5px; color: var(--muted); line-height: 1.55; }

/* ── Case cards (in practice) ───────────────────────────── */

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 214, 234, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.case-img { aspect-ratio: 533 / 280; overflow: hidden; }

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.case-card:hover .case-img img { transform: scale(1.05); }

.case-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 8px; }

.case-tag {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
}

.case-body h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.case-body p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* ── Customers ──────────────────────────────────────────── */

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
}

.proof-feature {
  background: var(--grad-card), var(--surface);
  border: 1px solid rgba(143, 214, 234, 0.55);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 0 80px rgba(21, 129, 151, 0.12);
}

.proof-tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
}

.proof-tag .live { color: var(--green-light); }
.proof-tag .pending { color: var(--gold); }

.proof-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.proof-head h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.2; }

.proof-logo { height: 36px; width: auto; object-fit: contain; }
.proof-logo-wide { height: 30px; }
.proof-logo-sq { height: 40px; width: 40px; object-fit: contain; }

.proof-quote {
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.45;
}

.proof-list { display: flex; flex-direction: column; gap: 10px; }

.proof-list li {
  font-size: 15.5px;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.proof-list li::before { content: "—"; position: absolute; left: 0; color: var(--cyan); }

.proof-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.proof-card {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proof-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }

.proof-name { display: flex; align-items: center; gap: 14px; }
.proof-name h4, .proof-text-name { font-size: 21px; font-weight: 500; }

/* ── Compare table ──────────────────────────────────────── */

.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.compare-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  align-items: center;
}

.compare-row.compare-head { border-top: 0; padding-top: 0; }

.compare-key {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
}

.compare-others { font-size: 17.5px; color: var(--muted); }
.compare-avtica { font-size: 17.5px; font-weight: 500; color: var(--text); }

.compare-head .compare-others,
.compare-head .compare-avtica {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.compare-head .compare-avtica { color: var(--cyan); }
.compare-head .compare-others { color: var(--muted); }

/* ── Engineers ──────────────────────────────────────────── */

.engineers-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.engineers-intro .section-sub { margin-bottom: 36px; }

.engineer-list { display: flex; flex-direction: column; }

.engineer-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.engineer-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(143, 214, 234, 0.6);
}

.engineer-list li:last-child { border-bottom: 1px solid var(--border); }

/* ── Team ───────────────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.team-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--cyan);
}

.team-card-lead { border-top-color: var(--cyan); }

.team-card h3 { font-size: 21px; font-weight: 500; }
.team-role { font-size: 15px; font-weight: 400; color: var(--cyan); }
.team-bio { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ── CTA ────────────────────────────────────────────────── */

.cta-section { padding-bottom: 140px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  background: var(--grad-card), var(--surface);
  border: 1px solid rgba(143, 214, 234, 0.4);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 88px);
  text-align: center;
}

.cta-glow {
  position: absolute;
  left: 50%; top: -40%;
  width: 720px; height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(21, 129, 151, 0.35), transparent);
  pointer-events: none;
}

.cta-panel h2 {
  position: relative;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 20px;
}

.cta-panel > p {
  position: relative;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.cta-panel .kicker { margin-bottom: 18px; }

.cta-actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
  background: linear-gradient(180deg, var(--bg), #010203);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo { height: 28px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; color: var(--muted); max-width: 280px; line-height: 1.55; }

.footer-head {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; color: var(--muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--cyan); }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--dim);
}

/* ── Reveal animation ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1080px) {
  .platform-grid, .loop-grid, .engineers-grid { grid-template-columns: 1fr; gap: 48px; }
  .loop-visual { max-width: 640px; margin-inline: auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .cap-grid, .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .forge-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .container { width: calc(100% - 48px); }
  .section { padding: 88px 0; }

  .nav-inner { width: calc(100% - 48px); }

  .nav-toggle { display: flex; z-index: 110; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(3, 5, 6, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }

  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 22px; }
  .nav-links .nav-cta { font-size: 18px; margin-top: 12px; }

  .card-grid.three, .proof-cards, .modes-grid { grid-template-columns: 1fr; }

  .timeline { padding: 32px 28px; }
  .timeline-grid { grid-template-columns: 1fr; gap: 24px; }
  .timeline-connector {
    width: 1px;
    height: 28px;
    margin: 0 0 0 7px;
    background: linear-gradient(180deg, var(--teal), var(--cyan));
  }
  .timeline-connector::after {
    right: -3.5px;
    top: auto;
    bottom: -1px;
    border-top: 8px solid var(--cyan);
    border-bottom: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
  }

  .transform { grid-template-columns: 1fr; }
  .transform-arrow { transform: rotate(90deg); }

  .compare { padding: 28px 24px; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .compare-head { display: none; }
  .compare-others::before {
    content: "Others — ";
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dim);
  }
  .compare-avtica::before {
    content: "Avtica — ";
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
  }

  .hero-stat { padding-right: 24px; margin-right: 24px; }
  .hero-stat:nth-child(3) { border-right: 0; }
}

@media (max-width: 560px) {
  .team-grid, .cap-grid, .infra-grid, .forge-grid { grid-template-columns: 1fr; }
  .transform-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .hero-stat { border-right: 0; margin-right: 0; padding-right: 0; min-width: 45%; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 17px; }
}

/* ── Reduced motion ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
