:root {
  --bg: #030712;
  --bg-elevated: #0b1220;
  --bg-card: rgba(15, 23, 42, 0.72);
  --border: rgba(56, 189, 248, 0.18);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #0ea5e9;
  --accent-bright: #38bdf8;
  --accent-glow: rgba(14, 165, 233, 0.35);
  --danger: #f87171;
  --warning: #fb923c;
  --success: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.text-accent {
  color: var(--accent-bright);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 40%),
    linear-gradient(180deg, #050a14 0%, #030712 100%);
}

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

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.subsection-title {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: white;
  box-shadow: 0 10px 30px var(--accent-glow);
}

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

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(3, 7, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: white;
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(14, 165, 233, 0.22), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(2, 132, 199, 0.12), transparent 30%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%231e293b' stroke-width='0.6'%3E%3Cpath d='M0 60h120M60 0v120M0 0l120 120M120 0L0 120'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.35;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1.5rem;
}

.hero-quote {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal;
  color: #cbd5e1;
}

.hero-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--accent-bright);
  font-style: normal;
}

.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.orbit-card {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.orbit-ring {
  position: absolute;
  inset: 1.5rem;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  border-radius: 50%;
}

.orbit-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.orbit-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-icon {
  color: var(--accent-bright);
  font-size: 1.1rem;
}

.orbit-steps strong {
  display: block;
}

.orbit-steps small {
  color: var(--text-muted);
}

.hero-pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.pillar-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.pillar-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--accent-bright);
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Grids */
.grid-2,
.grid-3 {
  display: grid;
  gap: 2rem;
}

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

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

.era-timeline,
.gen-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.era-card,
.gen-timeline article {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.era-card-active,
.gen-timeline .active {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.15);
}

.era-label,
.gen-timeline span {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.alert-banner {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
  margin-bottom: 1.5rem;
}

.challenge-cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.info-card h4 {
  margin: 0 0 0.35rem;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.info-card-danger {
  border-color: rgba(248, 113, 113, 0.35);
}

.insight-quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid var(--border);
  font-size: 1.05rem;
}

.reactive-box {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1.5rem;
}

.transform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.transform-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
}

.transform-list span {
  color: var(--text-muted);
}

.platform-intro {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.03));
}

.platform-intro h3 {
  margin: 0 0 0.5rem;
}

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mini-flow span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

/* Methodology */
.methodology-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.methodology-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.step-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.methodology-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.methodology-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.stack-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.stack-subtitle {
  color: var(--text-muted);
  margin-top: -0.25rem;
}

.stack-layers {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.stack-layer {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.2);
  text-align: center;
  font-weight: 600;
}

.stack-layer-base {
  background: rgba(14, 165, 233, 0.22);
}

.component-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.component-list li + li {
  margin-top: 0.65rem;
}

.essence-bar {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Reliability Graph */
.pyramid {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pyramid-tier {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.9rem;
}

.tier-top {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.tier-mid {
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.tier-base {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid var(--border);
}

.comparison-panel {
  display: grid;
  gap: 0.75rem;
}

.compare-col {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.compare-col-highlight {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
}

.capability-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.capability-list li + li {
  margin-top: 0.5rem;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.process-row article {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.process-row span {
  color: var(--accent-bright);
  font-weight: 800;
}

.process-row h4 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.95rem;
}

.process-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Guardian */
.vs-panel {
  display: grid;
  gap: 1rem;
}

.vs-block {
  padding: 1.25rem;
  border-radius: var(--radius);
}

.vs-old {
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.06);
}

.vs-new {
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.06);
}

.vs-divider {
  text-align: center;
  font-weight: 800;
  color: var(--accent-bright);
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent-bright);
}

.stat span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.guardian-flow,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.guardian-flow article,
.value-card {
  position: relative;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.guardian-flow h4,
.value-card h4 {
  margin: 0 0 0.35rem;
  color: var(--accent-bright);
}

.guardian-flow p,
.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.value-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Infrastructure */
.transition-line {
  text-align: center;
  color: var(--accent-bright);
  font-weight: 600;
  margin: 1.5rem 0 2rem;
}

.architecture-stack {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.arch-layer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.arch-layer-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid var(--border);
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.arch-layer-icon-core {
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: white;
  box-shadow: 0 0 20px var(--accent-glow);
}

.arch-layer span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.arch-layer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.arch-layer-core {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.12);
}

.future-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.future-step {
  position: relative;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.future-step-core {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.12);
  font-weight: 600;
}

.future-arrow {
  color: var(--accent-bright);
  font-weight: 700;
}

/* Platform */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.product-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}

.product-num {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-bright);
  font-weight: 800;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.flywheel-panel,
.defense-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.flywheel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  font-weight: 600;
}

.flywheel span:nth-child(even) {
  color: var(--accent-bright);
}

.defense-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.slogan-trio {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.slogan-trio p {
  margin: 0.35rem 0 0;
  color: var(--accent-bright);
  font-weight: 600;
}

.platform-details {
  margin-top: 2rem;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 320px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.95));
}

.project-overlay h3 {
  margin: 0 0 0.35rem;
}

.project-overlay p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, #030712, #071018);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-points {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 7, 18, 0.8);
  color: white;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(14, 165, 233, 0.45);
  border-color: var(--accent);
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.contact-email {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
}

.contact-email a {
  color: var(--accent-bright);
  font-weight: 600;
}

.form-status {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.form-status strong {
  display: block;
  margin-bottom: 0.35rem;
}

.form-status p {
  margin: 0;
  font-size: 0.92rem;
}

.form-status-success {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
}

.form-status-error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
}

.form-status-error a {
  color: #fecaca;
  text-decoration: underline;
}

.form-fields {
  display: grid;
  gap: 1rem;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

.footer-tagline {
  margin: 0;
  color: var(--accent-bright);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible {
  animation: fadeSlideUp 0.65s ease forwards;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Visual backgrounds */
.section-visual {
  overflow: hidden;
}

.section-visual > .container {
  position: relative;
  z-index: 1;
}

.visual-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.visual-bg-mesh {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
}

.visual-bg-signals {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
}

.mock-dashboard {
  width: min(340px, 42vw);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulseDot 2s ease infinite;
}

.mock-dot-warn {
  background: var(--warning);
  box-shadow: 0 0 8px var(--warning);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 0.75rem;
}

.mock-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-bright), rgba(14, 165, 233, 0.2));
  animation: barPulse 2.4s ease-in-out infinite;
}

.mock-chart span:nth-child(1) { height: 45%; animation-delay: 0s; }
.mock-chart span:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.mock-chart span:nth-child(3) { height: 55%; animation-delay: 0.4s; }
.mock-chart span:nth-child(4) { height: 85%; animation-delay: 0.1s; }
.mock-chart span:nth-child(5) { height: 60%; animation-delay: 0.3s; }
.mock-chart span:nth-child(6) { height: 75%; animation-delay: 0.5s; }
.mock-chart span:nth-child(7) { height: 50%; animation-delay: 0.15s; }
.mock-chart span:nth-child(8) { height: 90%; animation-delay: 0.35s; }

@keyframes barPulse {
  0%, 100% { opacity: 0.65; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.08); }
}

.mock-line {
  height: 2px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-stats em {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  color: white;
  font-weight: 700;
}

.visual-bg-graph {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.35;
}

.graph-animation {
  width: min(500px, 80vw);
  height: auto;
}

.graph-node {
  fill: var(--accent-bright);
  animation: nodePulse 2.5s ease infinite;
}

.graph-node:nth-child(1) { animation-delay: 0s; }
.graph-node:nth-child(2) { animation-delay: 0.4s; }
.graph-node:nth-child(3) { animation-delay: 0.8s; }
.graph-node:nth-child(4) { animation-delay: 1.2s; }
.graph-node:nth-child(5) { animation-delay: 1.6s; }

.graph-edge {
  stroke: rgba(56, 189, 248, 0.25);
  stroke-width: 1;
  animation: edgeGlow 3s ease infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.5; r: 4; }
  50% { opacity: 1; }
}

@keyframes edgeGlow {
  0%, 100% { stroke-opacity: 0.2; }
  50% { stroke-opacity: 0.6; }
}

.visual-bg-radar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 50%;
}

.radar-ring-1 { width: 200px; height: 200px; }
.radar-ring-2 { width: 360px; height: 360px; }
.radar-ring-3 { width: 520px; height: 520px; }

.radar-sweep {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(14, 165, 233, 0.18) 60deg, transparent 60deg);
  animation: radarSpin 4s linear infinite;
}

@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

.visual-bg-infra {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 3rem 2rem;
  opacity: 0.2;
  max-width: 380px;
  margin-left: auto;
}

.mock-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mock-gauge {
  text-align: center;
}

.mock-gauge span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.35rem;
  position: relative;
  overflow: hidden;
}

.mock-gauge span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--val) * 1%);
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: inherit;
  animation: gaugeFill 2s ease infinite alternate;
}

.mock-gauge small {
  font-size: 0.62rem;
  color: var(--text-muted);
}

@keyframes gaugeFill {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.mock-sparkline {
  height: 40px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.08), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpolyline fill='none' stroke='%2338bdf8' stroke-width='2' points='0,30 25,22 50,28 75,12 100,18 125,8 150,15 175,5 200,10'/%3E%3C/svg%3E") center / cover no-repeat;
  animation: sparkShift 4s ease-in-out infinite alternate;
}

@keyframes sparkShift {
  from { filter: brightness(0.85); }
  to { filter: brightness(1.15); }
}

/* Interactive cards */
.interactive-card {
  cursor: pointer;
  outline: none;
}

.interactive-card:hover,
.interactive-card:focus-visible,
.interactive-card.is-active {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2), 0 12px 40px rgba(14, 165, 233, 0.12);
  transform: translateY(-2px);
}

.interactive-card.is-active.arch-layer-core,
.interactive-card.is-active.future-step-core {
  background: rgba(14, 165, 233, 0.16);
}

.cap-popover {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.cap-popover ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cap-popover li + li {
  margin-top: 0.35rem;
}

.interactive-card:hover .cap-popover,
.interactive-card:focus-visible .cap-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Infrastructure: use right panel only, no inline popovers */
#infrastructure .cap-popover {
  display: none !important;
}

#infrastructure .architecture-stack {
  gap: 1rem;
  margin-bottom: 2.5rem;
}

#infrastructure .arch-layer {
  overflow: hidden;
  z-index: 1;
}

#infrastructure .arch-layer:hover,
#infrastructure .arch-layer.is-active {
  z-index: 2;
}

#infrastructure .arch-layer > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

#infrastructure .future-flow {
  margin-bottom: 2.5rem;
}

#infrastructure .future-step {
  max-width: 100%;
  line-height: 1.4;
}

#infrastructure .interactive-card:hover,
#infrastructure .interactive-card.is-active {
  transform: none;
}

.infra-main {
  min-width: 0;
}

.orbit-steps li.interactive-card {
  position: relative;
}

.orbit-steps li.interactive-card .cap-popover {
  left: auto;
  right: 0;
  min-width: 220px;
}

/* Infrastructure layout */
.infra-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.capability-showcase {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s ease;
}

.capability-showcase.showcase-updated {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 20px 60px rgba(14, 165, 233, 0.15);
}

.showcase-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.capability-showcase h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.capability-showcase > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.capability-showcase ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.capability-showcase li + li {
  margin-top: 0.4rem;
}

.showcase-visual {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.showcase-bar span {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.showcase-bar span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: inherit;
  animation: barGrow 1.2s ease forwards;
}

.showcase-bar label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes barGrow {
  from { width: 0; }
  to { width: var(--w, 50%); }
}

.value-icon {
  font-size: 1.2rem;
  color: var(--accent-bright);
  margin-bottom: 0.35rem;
}

.flow-arrow-anim {
  animation: arrowPulse 1.5s ease infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(3px); }
}

.visual-bg-platform {
  justify-content: flex-start;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0.35;
}

.section-infra .value-grid {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .contact-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .hero-pillars,
  .era-timeline,
  .gen-timeline,
  .process-row,
  .guardian-flow,
  .value-grid,
  .value-grid-5,
  .product-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .infra-layout {
    grid-template-columns: 1fr;
  }

  .capability-showcase {
    position: static;
  }

  .visual-bg-signals,
  .visual-bg-infra {
    opacity: 0.25;
  }

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

@media (max-width: 768px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(3, 7, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.nav-open .header-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--header-h) + 280px);
    left: 1.5rem;
    right: 1.5rem;
    justify-content: center;
  }

  .hero-pillars,
  .era-timeline,
  .gen-timeline,
  .process-row,
  .guardian-flow,
  .value-grid,
  .value-grid-5,
  .project-grid,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .mock-dashboard,
  .visual-bg-graph,
  .visual-bg-radar {
    display: none;
  }

  .cap-popover {
    position: absolute;
    left: auto;
    right: 0;
    min-width: 220px;
    max-width: 280px;
  }

  .orbit-steps li.interactive-card .cap-popover {
    display: none;
  }

  .orbit-steps li.interactive-card.is-active .cap-popover,
  .orbit-steps li.interactive-card:focus-within .cap-popover {
    display: block;
  }
}
