.page-home { background-color: var(--void); }

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: #01040a;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.boot-screen.is-hidden { opacity: 0; visibility: hidden; }
.boot-core { width: min(430px, calc(100% - 46px)); text-align: center; }
.boot-mark { width: 118px; height: 118px; border-radius: 28px; object-fit: cover; margin: 0 auto 24px; animation: boot-mark 2s ease-in-out infinite; }
.boot-line { height: 1px; background: rgba(110, 201, 255, .12); overflow: hidden; }
.boot-line::after { content: ""; display: block; width: 38%; height: 100%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: boot-scan 1.1s linear infinite; }
.boot-status { margin-top: 16px; color: #6e8098; font: 500 .68rem/1.8 JetBrains Mono, monospace; letter-spacing: .08em; text-transform: uppercase; }
@keyframes boot-scan { from { transform: translateX(-110%); } to { transform: translateX(370%); } }
@keyframes boot-mark { 50% { filter: drop-shadow(0 0 30px rgba(86,199,255,.65)); transform: scale(1.025); } }

.hero-home {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 70px;
}
.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--void));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: 52px;
  align-items: center;
}
.hero-copy { padding-top: 18px; }
.hero-home .display { font-size: clamp(3.8rem, 7.8vw, 7.3rem); }
.hero-home .lead { max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 34px;
  margin-top: 54px;
}
.hero-proof-value { font: 600 1.35rem/1 "Space Grotesk", sans-serif; color: var(--white); }
.hero-proof-label { margin-top: 7px; color: var(--muted-2); font-size: .72rem; }

.hero-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 11% 2%;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 133, 255, .22), rgba(27, 71, 165, .08) 38%, transparent 68%);
  filter: blur(24px);
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 10%;
  height: 12%;
  z-index: -2;
  background: radial-gradient(ellipse, rgba(48, 151, 255, .31), transparent 70%);
  filter: blur(18px);
}
.hero-emblem-wrap {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.hero-emblem-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(1.15) contrast(1.08) brightness(.88) drop-shadow(0 20px 70px rgba(0, 104, 255, .32));
  mask-image: radial-gradient(circle, #000 54%, rgba(0,0,0,.88) 65%, transparent 74%);
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform .25s ease-out;
}
.hero-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(93, 190, 255, .16);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(8deg);
  animation: orbit-rotate 15s linear infinite;
}
.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--blue-2);
}
.hero-orbit::before { left: 10%; top: 22%; }
.hero-orbit::after { right: 7%; bottom: 20%; }
.hero-orbit.orbit-2 { inset: 23%; transform: rotateX(72deg) rotateZ(-42deg); animation-direction: reverse; animation-duration: 11s; }
@keyframes orbit-rotate { to { transform: rotateX(66deg) rotateZ(368deg); } }

.hero-module {
  position: absolute;
  width: 166px;
  padding: 13px 14px;
  border: 1px solid rgba(114, 200, 255, .22);
  border-radius: 14px;
  background: rgba(5, 13, 27, .72);
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
  backdrop-filter: blur(16px);
  animation: module-float 5s ease-in-out infinite;
}
.hero-module strong { display: block; color: #e9f6ff; font-size: .74rem; }
.hero-module span { display: block; margin-top: 4px; color: var(--muted); font: 500 .6rem/1.4 JetBrains Mono, monospace; }
.hero-module .mini-line { height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.hero-module .mini-line::after { content: ""; display: block; width: var(--load, 62%); height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 10px var(--blue-2); }
.hero-module.module-a { left: -1%; top: 17%; --load: 78%; animation-delay: -.7s; }
.hero-module.module-b { right: -2%; top: 27%; --load: 54%; animation-delay: -2.4s; }
.hero-module.module-c { right: 8%; bottom: 15%; --load: 89%; animation-delay: -1.6s; }
@keyframes module-float { 50% { transform: translateY(-10px); } }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted-2);
  font: 500 .58rem/1 JetBrains Mono, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-line { width: 1px; height: 44px; overflow: hidden; background: rgba(255,255,255,.08); }
.scroll-line::after { content: ""; display: block; width: 100%; height: 46%; background: linear-gradient(to bottom, transparent, var(--blue-2)); animation: scroll-line 1.8s ease-in-out infinite; }
@keyframes scroll-line { from { transform: translateY(-110%); } to { transform: translateY(240%); } }

.manifesto-strip { position: relative; border-block: 1px solid var(--line); background: rgba(5, 12, 24, .52); overflow: hidden; }
.manifesto-track { display: flex; width: max-content; gap: 42px; padding: 22px 0; animation: ticker 30s linear infinite; }
.manifesto-item { display: flex; align-items: center; gap: 42px; color: #99abc2; font: 500 .74rem/1 JetBrains Mono, monospace; letter-spacing: .12em; text-transform: uppercase; }
.manifesto-item::after { content: "◆"; color: var(--blue-2); filter: drop-shadow(0 0 8px var(--blue-2)); }
@keyframes ticker { to { transform: translateX(-50%); } }

.swarm-story { position: relative; height: 440vh; background: linear-gradient(180deg, var(--void), #030916 40%, var(--void)); }
.swarm-story-sticky { position: sticky; top: 0; min-height: 100svh; overflow: hidden; display: grid; align-items: center; }
.swarm-story-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.story-copy { position: relative; min-height: 420px; }
.story-step { position: absolute; inset: 0; display: grid; align-content: center; opacity: 0; transform: translateY(28px); transition: opacity .42s ease, transform .65s var(--ease); pointer-events: none; }
.story-step.active { opacity: 1; transform: none; pointer-events: auto; }
.story-index { color: var(--blue-2); font: 600 .7rem/1 JetBrains Mono, monospace; letter-spacing: .14em; }
.story-step h2 { margin: 18px 0 0; max-width: 570px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.4rem, 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.05em; color: var(--white); }
.story-step p { max-width: 520px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.story-progress { position: absolute; left: 0; bottom: 14px; width: min(320px, 100%); height: 2px; background: rgba(255,255,255,.06); }
.story-progress span { display: block; width: var(--story-progress, 0%); height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 14px var(--blue-2); }

.story-visual { position: relative; min-height: 670px; display: grid; place-items: center; }
.story-glow { position: absolute; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 129, 255, .20), transparent 68%); filter: blur(20px); }
.layered-emblem { position: relative; width: min(620px, 100%); aspect-ratio: 1; perspective: 1300px; }
.emblem-layer { position: absolute; inset: 0; background: url('../img/aeron-inteligencia.webp') center/cover no-repeat; filter: saturate(1.2) contrast(1.05); will-change: transform, opacity; transition: filter .2s ease; }
.emblem-layer.layer-1 { clip-path: polygon(0 0, 48% 0, 36% 100%, 0 100%); transform: translate3d(calc(var(--open,0) * -115px), calc(var(--open,0) * 24px), calc(var(--open,0) * 70px)) rotateY(calc(var(--open,0) * -20deg)) rotateZ(calc(var(--open,0) * -4deg)); }
.emblem-layer.layer-2 { clip-path: polygon(34% 0, 70% 0, 72% 100%, 26% 100%); transform: translate3d(0, calc(var(--open,0) * -72px), calc(var(--open,0) * 125px)) scale(calc(1 - var(--open,0) * .08)); }
.emblem-layer.layer-3 { clip-path: polygon(64% 0, 100% 0, 100% 100%, 66% 100%); transform: translate3d(calc(var(--open,0) * 120px), calc(var(--open,0) * 30px), calc(var(--open,0) * 70px)) rotateY(calc(var(--open,0) * 22deg)) rotateZ(calc(var(--open,0) * 4deg)); }
.emblem-layer.layer-4 { clip-path: circle(28% at 50% 52%); transform: translate3d(0, 0, calc(var(--open,0) * 170px)) rotateZ(calc(var(--open,0) * 18deg)) scale(calc(1 + var(--open,0) * .18)); mix-blend-mode: screen; opacity: calc(.45 + var(--open,0) * .45); }
.emblem-shade { position: absolute; inset: 0; background: radial-gradient(circle, transparent 32%, rgba(2,4,10,.23) 65%, rgba(2,4,10,.92) 82%); pointer-events: none; }

.swarm-node {
  --x: 50%; --y: 50%; --dx: 0px; --dy: 0px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 150px;
  min-height: 82px;
  padding: 13px;
  opacity: calc(var(--open, 0) * 1);
  transform: translate(calc(-50% + var(--dx) * var(--open,0)), calc(-50% + var(--dy) * var(--open,0))) scale(calc(.72 + var(--open,0) * .28));
  border: 1px solid rgba(98, 199, 255, .24);
  border-radius: 15px;
  background: rgba(5, 14, 29, .82);
  box-shadow: 0 16px 45px rgba(0,0,0,.42), 0 0 30px rgba(45,125,255,.08);
  backdrop-filter: blur(12px);
}
.swarm-node strong { color: #ecf8ff; font-size: .72rem; }
.swarm-node small { display: block; margin-top: 5px; color: var(--muted); font: .58rem/1.45 JetBrains Mono, monospace; }
.swarm-node.node-1 { --x: 22%; --y: 25%; --dx: -92px; --dy: -70px; }
.swarm-node.node-2 { --x: 78%; --y: 22%; --dx: 92px; --dy: -64px; }
.swarm-node.node-3 { --x: 17%; --y: 70%; --dx: -110px; --dy: 58px; }
.swarm-node.node-4 { --x: 82%; --y: 69%; --dx: 112px; --dy: 62px; }
.swarm-node.node-5 { --x: 50%; --y: 84%; --dx: 0px; --dy: 105px; }

.architecture-section { overflow: hidden; }
.architecture-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.architecture-map { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.architecture-map::before { content: ""; position: absolute; left: 16%; right: 16%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(86,199,255,.30), transparent); box-shadow: 0 0 22px rgba(86,199,255,.24); }
.arch-card { position: relative; min-height: 360px; padding: 28px; overflow: hidden; transition: transform .35s var(--ease), border-color .35s ease; }
.arch-card:hover { transform: translateY(-7px); border-color: rgba(96, 205, 255, .32); }
.arch-card-index { color: var(--blue-2); font: 600 .68rem/1 JetBrains Mono, monospace; letter-spacing: .13em; }
.arch-icon { width: 58px; height: 58px; margin: 50px 0 28px; display: grid; place-items: center; border: 1px solid rgba(96,205,255,.22); border-radius: 18px; background: linear-gradient(145deg, rgba(45,125,255,.18), rgba(86,199,255,.05)); color: var(--cyan); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 0 28px rgba(45,125,255,.12); }
.arch-card p { color: var(--muted); line-height: 1.7; font-size: .88rem; }
.arch-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.arch-watermark { position: absolute; right: -30px; bottom: -45px; font: 700 9rem/1 "Space Grotesk", sans-serif; color: rgba(90, 170, 255, .025); }

.ecosystems-section { padding-top: 45px; }
.ecosystems-head { text-align: center; max-width: 830px; margin: 0 auto 64px; }
.ecosystems-head .lead { margin-inline: auto; }
.ecosystem-stack { display: grid; gap: 26px; }
.ecosystem-card {
  --accent: var(--blue-2);
  position: relative;
  min-height: 590px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(8, 17, 32, .96), rgba(3, 8, 17, .89));
  box-shadow: 0 35px 95px rgba(0,0,0,.42);
}
.ecosystem-card.falcon { --accent: #ffad55; }
.ecosystem-card.khameleon { --accent: #42e2b7; }
.ecosystem-media { position: relative; min-height: 100%; overflow: hidden; }
.ecosystem-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.08) brightness(.58); transition: transform 1s var(--ease), filter .6s ease; }
.ecosystem-card:hover .ecosystem-media img { transform: scale(1.035); filter: saturate(1) contrast(1.08) brightness(.7); }
.ecosystem-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 36%, #07101d 98%), linear-gradient(180deg, rgba(0,0,0,.1), rgba(3,8,17,.52)); }
.ecosystem-card:nth-child(even) .ecosystem-media { order: 2; }
.ecosystem-card:nth-child(even) .ecosystem-media::after { background: linear-gradient(-90deg, transparent 36%, #07101d 98%), linear-gradient(180deg, rgba(0,0,0,.1), rgba(3,8,17,.52)); }
.ecosystem-copy { position: relative; z-index: 2; padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.ecosystem-copy::before { content: ""; position: absolute; width: 320px; height: 320px; right: -130px; top: 15%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent), transparent 68%); filter: blur(14px); }
.ecosystem-number { color: var(--accent); font: 600 .68rem/1 JetBrains Mono, monospace; letter-spacing: .15em; }
.ecosystem-copy h3 { margin-top: 20px; font-size: clamp(2.5rem, 5vw, 5rem); }
.ecosystem-copy > p { max-width: 510px; color: var(--muted); line-height: 1.75; }
.engine-list { display: grid; gap: 9px; margin-top: 28px; }
.engine-item { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.engine-index { color: var(--accent); font: 600 .65rem/1 JetBrains Mono, monospace; }
.engine-name { color: #dce8f6; font-size: .84rem; font-weight: 600; }
.engine-status { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.ecosystem-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.ecosystem-card .btn-primary { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 75%, #0d5dff), color-mix(in srgb, var(--accent) 85%, #fff 5%)); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 12px 36px color-mix(in srgb, var(--accent) 22%, transparent); }

.proof-section { overflow: hidden; }
.proof-panel { padding: 70px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proof-kpi { min-height: 142px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(4, 11, 23, .58); }
.proof-kpi strong { font: 600 2.3rem/1 "Space Grotesk", sans-serif; color: var(--white); }
.proof-kpi span { margin-top: 9px; color: var(--muted); font-size: .75rem; }

.pricing-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.pricing-head .lead { margin-inline: auto; }
.pricing-controls { display: flex; justify-content: center; margin-bottom: 42px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; min-height: 610px; padding: 30px; display: flex; flex-direction: column; transition: transform .38s var(--ease), border-color .3s ease; }
.price-card:hover { transform: translateY(-8px); border-color: rgba(94, 203, 255, .32); }
.price-card.featured { border-color: rgba(93, 184, 255, .38); background: linear-gradient(145deg, rgba(13, 31, 57, .92), rgba(6, 15, 29, .78)); box-shadow: 0 24px 80px rgba(20, 102, 255, .15); }
.price-card.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(130deg, rgba(86,199,255,.7), transparent 34%, rgba(123,130,255,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-top { min-height: 120px; }
.price-name { margin-top: 16px; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--white); }
.price-desc { margin-top: 8px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.price-row { display: flex; align-items: baseline; gap: 5px; margin-top: 28px; }
.price-currency { color: var(--muted); font-size: .9rem; }
.price-value { font: 600 3.5rem/1 "Space Grotesk", sans-serif; color: var(--white); letter-spacing: -.05em; }
.price-period { color: var(--muted); font-size: .8rem; }
.price-billing { min-height: 42px; margin-top: 8px; color: var(--muted-2); font-size: .72rem; line-height: 1.5; }
.price-features { display: grid; gap: 13px; margin: 26px 0 32px; padding: 25px 0 0; border-top: 1px solid var(--line); }
.price-feature { display: flex; gap: 10px; color: #aebed1; font-size: .8rem; line-height: 1.5; }
.price-feature::before { content: "✓"; color: var(--mint); font-weight: 800; }
.price-card .btn { margin-top: auto; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(6, 14, 27, .58); overflow: hidden; }
.faq-question { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border: 0; background: transparent; text-align: left; color: #dce8f6; font-weight: 600; cursor: pointer; }
.faq-question span:last-child { color: var(--blue-2); transition: transform .3s var(--ease); }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 20px 22px; color: var(--muted); line-height: 1.7; font-size: .84rem; }

.final-cta { padding-bottom: 128px; }
.cta-panel { position: relative; min-height: 520px; overflow: hidden; padding: 72px; display: grid; place-items: center; text-align: center; }
.cta-panel::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 50% 55%, rgba(45,125,255,.26), transparent 38%), radial-gradient(circle at 65% 35%, rgba(86,199,255,.13), transparent 26%); }
.cta-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(91, 177, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 177, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle, #000 15%, transparent 68%); }
.cta-content { position: relative; z-index: 2; max-width: 820px; }
.cta-content p { max-width: 630px; margin: 22px auto 0; color: var(--muted); line-height: 1.75; }
.cta-actions { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1400;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101, 203, 255, .45);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(26, 109, 255, .96), rgba(66, 194, 255, .92));
  box-shadow: 0 14px 40px rgba(35, 130, 255, .38);
  cursor: pointer;
}
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 1400;
  width: min(380px, calc(100% - 30px));
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(.98);
  transition: .35s var(--ease);
}
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.chat-agent { display: flex; align-items: center; gap: 11px; }
.chat-agent img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.chat-agent strong { display: block; font-size: .82rem; color: var(--white); }
.chat-agent small { color: var(--mint); font: .58rem/1.3 JetBrains Mono, monospace; }
.chat-messages { height: 260px; overflow: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.chat-bubble { max-width: 86%; padding: 11px 13px; border-radius: 14px; background: rgba(13, 28, 50, .8); color: #b7c7da; font-size: .78rem; line-height: 1.55; }
.chat-bubble.user { margin-left: auto; background: rgba(45,125,255,.22); color: #eaf7ff; }
.chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input .input { min-height: 42px; }
.chat-input .btn { min-height: 42px; padding-inline: 15px; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-stage { min-height: 530px; }
  .hero-emblem-wrap { max-width: 520px; }
  .swarm-story-grid { grid-template-columns: 1fr; gap: 20px; }
  .story-copy { min-height: 300px; }
  .story-visual { min-height: 520px; }
  .architecture-map { grid-template-columns: 1fr; }
  .architecture-map::before { display: none; }
  .arch-card { min-height: 280px; }
  .arch-icon { margin-top: 32px; }
  .ecosystem-card { grid-template-columns: 1fr; }
  .ecosystem-media, .ecosystem-card:nth-child(even) .ecosystem-media { order: 0; min-height: 420px; }
  .ecosystem-media::after, .ecosystem-card:nth-child(even) .ecosystem-media::after { background: linear-gradient(180deg, transparent 38%, #07101d 98%); }
  .proof-panel { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
}

@media (max-width: 820px) {
  .hero-home { padding-top: 110px; }
  .hero-home .display { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .hero-stage { min-height: 450px; margin-inline: -20px; }
  .hero-module { width: 142px; padding: 10px; }
  .hero-module.module-a { left: 2%; }
  .hero-module.module-b { right: 2%; }
  .hero-module.module-c { right: 7%; }
  .hero-proof { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-proof > :last-child { grid-column: 1 / -1; }
  .scroll-indicator { display: none; }
  .swarm-story { height: 380vh; }
  .story-copy { min-height: 280px; }
  .story-visual { min-height: 470px; margin-inline: -16px; }
  .swarm-node { width: 128px; }
  .architecture-head { grid-template-columns: 1fr; gap: 24px; }
  .ecosystem-card { min-height: 0; }
  .ecosystem-media { min-height: 330px; }
  .ecosystem-copy { padding: 34px 24px 40px; }
  .proof-panel { padding: 36px 22px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .cta-panel { min-height: 470px; padding: 48px 22px; }
}

@media (max-width: 560px) {
  .hero-stage { min-height: 390px; }
  .hero-module { display: none; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > :last-child { grid-column: auto; }
  .story-copy { min-height: 320px; }
  .story-step h2 { font-size: 2.55rem; }
  .story-visual { min-height: 390px; }
  .swarm-node { width: 108px; padding: 10px; }
  .swarm-node strong { font-size: .62rem; }
  .swarm-node small { font-size: .51rem; }
  .ecosystem-media { min-height: 280px; }
  .proof-grid { grid-template-columns: 1fr; }
  .segmented { width: 100%; }
  .segmented button { padding-inline: 8px; }
  .chat-launcher { right: 15px; bottom: 15px; }
  .chat-panel { right: 15px; bottom: 80px; }
}
