/* ═══════════════════════════════════════════
   iABit Hotsite — styles.css
   Fundo escuro (dark): logo white
   Seções claras: logo colorida
═══════════════════════════════════════════ */

:root {
  --bg: #030f22;
  --bg2: #071830;
  --panel: #0b2347;
  --panel2: #0e2f5c;
  --text: #eaf3ff;
  --muted: #92b8dc;
  --brand: #0c4bb3;
  --brand2: #2f9bff;
  --accent: #53d4ff;
  --ok: #2ad395;
  --warn: #facc15;
  --danger: #f87171;
  --line: rgba(130, 180, 255, 0.2);
  --shadow: 0 28px 64px rgba(1, 10, 26, 0.65);
  --radius: 1.1rem;
  --gap: 1.5rem;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
ol { margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; }

/* ─── Layout ─── */
.container {
  width: min(1160px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: linear-gradient(170deg, rgba(11, 37, 76, 0.8) 0%, rgba(5, 18, 42, 0.5) 100%);
  border-block: 1px solid var(--line);
}

/* ─── Noise overlay ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 0;
}

/* ─── Topbar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 15, 34, 0.88);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand { width: 130px; flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover { color: #fff; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  font-family: "Sora", "Segoe UI", sans-serif;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn:hover { transform: translateY(-2px); opacity: 0.92; }

.btn-primary {
  background: linear-gradient(130deg, var(--brand) 0%, var(--brand2) 100%);
  color: #f0f8ff;
  box-shadow: 0 10px 28px rgba(22, 100, 200, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-soft {
  background: rgba(80, 165, 255, 0.14);
  border: 1px solid rgba(120, 195, 255, 0.32);
  color: #e8f5ff;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-full { width: 100%; justify-content: center; }

/* ─── Kicker ─── */
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── Section head ─── */
.section-head {
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 0.8rem;
}

.section-head p {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.05rem;
}

/* ─── HERO ─── */
.hero { padding-top: 5.5rem; padding-bottom: 5.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: 0; }

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.brand-name { color: var(--accent); }
.hl { color: #72d0ff; display: inline-block; }

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.trust-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #c0d8f5;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.trust-row span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(42, 211, 149, 0.65);
  flex-shrink: 0;
}

/* Hero card */
.hero-panel { position: relative; }

.panel-glow {
  position: absolute;
  inset: -20px;
  border-radius: 1.8rem;
  background: radial-gradient(ellipse at center, rgba(83, 212, 255, 0.3), transparent 70%);
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 48, 95, 0.97) 0%, rgba(6, 30, 62, 0.94) 100%);
  border: 1px solid rgba(120, 190, 255, 0.28);
  border-radius: 1.4rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.maturity-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  counter-reset: none;
  padding-left: 0;
}

.maturity-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.m-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.maturity-list li div { display: flex; flex-direction: column; gap: 0.2rem; }
.maturity-list li strong { font-size: 0.97rem; color: #ddeeff; }
.maturity-list li p { font-size: 0.86rem; color: var(--muted); }

.card-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #7cbbee;
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* ─── PIPELINE infográfico ─── */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(8, 28, 60, 0.7);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
}

.pipe-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.2rem 1.4rem;
  background: transparent;
  transition: background 0.25s;
}

.pipe-step:hover {
  background: rgba(30, 90, 180, 0.18);
}

.pipe-step--highlight {
  background: linear-gradient(160deg, rgba(12, 75, 179, 0.3), rgba(44, 155, 255, 0.15));
}

.pipe-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(47, 155, 255, 0.15);
  border: 1.5px solid rgba(83, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.pipe-icon svg { width: 28px; height: 28px; }

.pipe-body { display: flex; flex-direction: column; gap: 0.3rem; }
.pipe-body strong { font-size: 0.95rem; color: #ddeeff; }
.pipe-body span { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.pipe-arrow {
  display: flex;
  align-items: center;
  color: rgba(83, 212, 255, 0.5);
  padding: 0 0.2rem;
  flex-shrink: 0;
}

.pipe-arrow svg { width: 32px; height: 16px; }

/* ─── SUBPRODUTOS ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(8, 30, 64, 0.75);
  border: 1px solid var(--line);
  border-top: 3px solid var(--clr, var(--brand2));
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 12, 30, 0.5);
}

.prod-icon {
  width: 52px; height: 52px;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr, var(--brand2));
}

.prod-icon svg { width: 26px; height: 26px; }

.product h3 {
  font-size: 1.08rem;
  color: #ddeeff;
}

.product > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.product ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product li {
  font-size: 0.85rem;
  color: #b8d8f8;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.product li::before {
  content: "›";
  color: var(--clr, var(--brand2));
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  text-decoration: none;
  color: #d8edff;
  border: 1px solid rgba(145, 196, 255, 0.3);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
  align-self: flex-start;
}

.chip-link:hover {
  background: rgba(100, 185, 255, 0.18);
  border-color: rgba(145, 196, 255, 0.6);
}

/* ─── COMPARATIVO ─── */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: rgba(3, 16, 40, 0.92);
}

.compare-table th,
.compare-table td {
  padding: 1.05rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(130, 180, 255, 0.12);
  font-size: 0.9rem;
  line-height: 1.55;
}

.compare-table thead tr {
  background: rgba(12, 75, 179, 0.22);
}

.compare-table th {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  color: #c8e2ff;
  font-weight: 600;
}

.th-iabit {
  background: rgba(12, 75, 179, 0.35) !important;
  color: #ffffff !important;
}

.th-logo {
  height: 22px;
  width: auto;
  display: block;
  margin-bottom: 0.4rem;
}

.th-crit { color: var(--muted) !important; font-size: 0.8rem !important; }

.td-crit { color: var(--text); font-weight: 600; }

.td-ok  { background: rgba(42, 211, 149, 0.07); }
.td-no  { background: rgba(248, 113, 113, 0.07); }
.td-mid { background: rgba(250, 204, 21, 0.05); }

.compare-table small { color: var(--muted); font-size: 0.8rem; display: block; margin-top: 0.25rem; }

.badge-ok  { display: inline-block; background: rgba(42, 211, 149, 0.2); color: #2ad395; border-radius: 999px; padding: 0.2rem 0.55rem; font-size: 0.78rem; font-weight: 700; }
.badge-no  { display: inline-block; background: rgba(248, 113, 113, 0.2); color: #f87171; border-radius: 999px; padding: 0.2rem 0.55rem; font-size: 0.78rem; font-weight: 700; }
.badge-mid { display: inline-block; background: rgba(250, 204, 21, 0.18); color: #facc15; border-radius: 999px; padding: 0.2rem 0.55rem; font-size: 0.78rem; font-weight: 700; }

/* ─── CUSTO — Gráfico de barras HTML ─── */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cost-chart-wrap {
  background: rgba(8, 28, 60, 0.7);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem 1.4rem;
}

.chart-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bar-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  height: 200px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0;
}

.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

.bar {
  width: 100%;
  height: var(--h);
  border-radius: 0.4rem 0.4rem 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.bar-market {
  background: linear-gradient(180deg, #f87171 0%, #be3b3b 100%);
  animation: growBar 1s ease forwards;
}

@keyframes growBar {
  from { height: 0%; opacity: 0; }
  to   { height: var(--h); opacity: 1; }
}

.bar-val {
  position: absolute;
  top: -1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffdede;
  white-space: nowrap;
}

.bar-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* Linha iABit sobre o gráfico */
.iabit-line-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
}

.iabit-line {
  height: 3px;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(42, 211, 149, 0.8);
  margin-bottom: 32%;
  border-radius: 2px;
}

.iabit-line-label {
  position: absolute;
  right: 0.5rem;
  bottom: calc(32% + 8px);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ok);
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  gap: 1.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.leg-market { color: #f87171; }
.leg-iabit  { color: var(--ok); }

/* Cost cards */
.cost-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cost-card {
  background: rgba(8, 28, 60, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cost-card h4 {
  font-size: 1rem;
  color: #ddeeff;
}

.cost-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.cc-icon { font-size: 1.5rem; }

.cost-bad  { border-left: 3px solid var(--danger); }
.cost-good { border-left: 3px solid var(--ok); background: rgba(42, 211, 149, 0.07); }

/* ─── MÉTRICAS ─── */
.section-metrics {
  background: linear-gradient(170deg, rgba(6, 24, 54, 0.9) 0%, rgba(2, 12, 30, 0.7) 100%);
  border-block: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.metric {
  background: rgba(10, 36, 78, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.2s;
}

.metric:hover { transform: translateY(-3px); }

.metric-icon { font-size: 2.2rem; }

.metric-number {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 28ch;
}

/* ─── CONTATO ─── */
.section-contact {
  background: linear-gradient(170deg, rgba(10, 38, 78, 0.7), rgba(2, 12, 30, 0.95));
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy { padding-top: 0.5rem; }

.contact-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1.1rem;
}

.contact-copy > p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.contact-links-block { display: flex; flex-direction: column; gap: 0.7rem; }

.contact-links-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ecosystem-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  color: #d8edff;
  transition: background 0.2s, border-color 0.2s;
}

.ecosystem-links a:hover {
  background: rgba(80, 165, 255, 0.15);
  border-color: rgba(130, 195, 255, 0.5);
}

/* Form */
.contact-form {
  background: rgba(4, 20, 46, 0.88);
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-title {
  font-size: 1.1rem;
  color: #ddeeff;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.fg label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b8d8f8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: rgba(3, 16, 38, 0.8);
  border: 1px solid rgba(140, 190, 255, 0.28);
  border-radius: 0.75rem;
  padding: 0.75rem 0.95rem;
  color: #e8f4ff;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fg input::placeholder,
.fg textarea::placeholder { color: rgba(160, 195, 235, 0.45); }

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: none;
  border-color: rgba(84, 177, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(84, 177, 255, 0.15);
}

.fg select option { background: #071830; }

.fg textarea { resize: vertical; min-height: 110px; }

.form-feedback {
  min-height: 1.4rem;
  font-size: 0.88rem;
  color: var(--ok);
  margin-top: 0.8rem;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(1, 8, 20, 0.98);
  padding: 3.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin: 0 auto 0.8rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-inner small {
  font-size: 0.78rem;
  color: rgba(140, 180, 220, 0.55);
}

/* ─── IABIT ENGINE — seção interativa ─── */
.engine-demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  background: rgba(4, 18, 42, 0.8);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
  min-height: 420px;
}

.eng-col {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eng-col-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.eng-sources { background: rgba(6, 22, 52, 0.5); }
.eng-output  { background: rgba(4, 30, 20, 0.4); }

.eng-source-list,
.eng-output-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eng-src {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem;
}

.eng-src-icon {
  width: 40px; height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.db-icon   { background: rgba(47, 155, 255, 0.2); color: #2f9bff; }
.file-icon { background: rgba(250, 204, 21, 0.2); color: #facc15; }
.api-icon  { background: rgba(168, 85, 247, 0.2); color: #a855f7; }

.eng-src-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.eng-src-body strong { font-size: 0.88rem; color: #cce4ff; }

.eng-rows {
  font-size: 0.77rem;
  color: var(--muted);
}

.data-noise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.data-noise span {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  color: rgba(248, 113, 113, 0.7);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
  transition: opacity 0.5s;
}

.data-noise span.fading { opacity: 0; }

/* Engine center */
.eng-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 1.6rem 1rem;
  background: rgba(8, 30, 70, 0.4);
  border-inline: 1px solid var(--line);
  position: relative;
  min-width: 180px;
}

.eng-center-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-align: center;
}

.eng-engine-box {
  position: relative;
  width: 100px; height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.engine-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  animation: spin 2s linear infinite;
}

.ring1 { width: 100%; height: 100%; opacity: 0.5; }
.ring2 { width: 75%;  height: 75%;  border-top-color: var(--brand2); animation-duration: 1.3s; animation-direction: reverse; opacity: 0.7; }
.ring3 { width: 50%;  height: 50%;  border-top-color: var(--ok); animation-duration: 0.9s; opacity: 0.9; }

@keyframes spin { to { transform: rotate(360deg); } }

.engine-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
}

.engine-core span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  white-space: nowrap;
}

.engine-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.engine-sparks span {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: spark 1.8s ease-in-out infinite;
}

.engine-sparks span:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.engine-sparks span:nth-child(2) { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 0.45s; }
.engine-sparks span:nth-child(3) { left: 0; top: 50%; transform: translateY(-50%); animation-delay: 0.9s; }
.engine-sparks span:nth-child(4) { right: 0; top: 50%; transform: translateY(-50%); animation-delay: 1.35s; }

@keyframes spark {
  0%, 100% { opacity: 0; transform: scale(0.5) translateX(-50%); }
  50% { opacity: 1; transform: scale(1.4) translateX(-50%); }
}

.eng-steps-mini {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.esm {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
  transition: all 0.4s;
}

.esm.active {
  color: var(--accent);
  background: rgba(83, 212, 255, 0.1);
  border-color: rgba(83, 212, 255, 0.25);
  font-weight: 700;
}

/* Partículas de dados em movimento */
.data-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dp {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

.dp1 { animation: moveParticle1 2.4s ease-in-out 0.2s infinite; }
.dp2 { animation: moveParticle2 2.4s ease-in-out 0.7s infinite; }
.dp3 { animation: moveParticle1 2.4s ease-in-out 1.2s infinite; background: var(--brand2); }
.dp4 { animation: moveParticle2 2.4s ease-in-out 1.7s infinite; background: #facc15; }
.dp5 { animation: moveParticle1 2.4s ease-in-out 0.4s infinite; background: var(--ok); }
.dp6 { animation: moveParticle2 2.4s ease-in-out 0.9s infinite; background: #a855f7; }

@keyframes moveParticle1 {
  0%   { left: 0%; top: 40%; opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { left: 100%; top: 55%; opacity: 0; }
}

@keyframes moveParticle2 {
  0%   { left: 100%; top: 55%; opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { left: 0%; top: 40%; opacity: 0; }
}

/* Outputs */
.eng-out {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem;
  transition: all 0.5s ease;
}

.eng-out--locked {
  opacity: 0.25;
  filter: blur(2px);
}

.eng-out--unlocked {
  opacity: 1;
  filter: none;
  border-color: rgba(42, 211, 149, 0.35);
  background: rgba(42, 211, 149, 0.07);
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  0%   { transform: scale(0.94); }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.eng-out-icon { font-size: 1.4rem; flex-shrink: 0; }

.eng-out-body { display: flex; flex-direction: column; gap: 0.25rem; }
.eng-out-body strong { font-size: 0.88rem; color: #cce4ff; }
.eng-out-body p { font-size: 0.82rem; color: var(--muted); }

.ok-text { color: var(--ok); font-weight: 700; }

/* Engine pillars */
.engine-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: 2.5rem;
}

.epillar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: rgba(8, 28, 64, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}

.ep-icon { font-size: 1.8rem; }

.epillar h4 {
  font-size: 0.97rem;
  color: #ddeeff;
}

.epillar p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── FLOW DEMO — banco → iABit → BitChat ─── */
.flow-demo {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(4, 18, 42, 0.85);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
}

.flow-block {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.flow-block:last-child { border-bottom: none; }

.flow-block--ia   { background: rgba(12, 75, 179, 0.15); }
.flow-block--chat { background: rgba(4, 30, 20, 0.4); }

.flow-block-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.flow-block-icon {
  width: 44px; height: 44px;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fbi-db   { background: rgba(47, 155, 255, 0.2); color: #2f9bff; border: 1px solid rgba(47, 155, 255, 0.3); }
.fbi-ia   { background: rgba(83, 212, 255, 0.2); color: var(--accent); border: 1px solid rgba(83, 212, 255, 0.3); }
.fbi-chat { background: rgba(42, 211, 149, 0.2); color: var(--ok); border: 1px solid rgba(42, 211, 149, 0.3); }

.flow-block-title { font-weight: 700; font-size: 1rem; color: #ddeeff; }
.flow-block-sub   { font-size: 0.8rem; color: var(--muted); }

/* iABit status badge */
.ia-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  transition: all 0.4s;
}

.ia-status.active { color: var(--ok); border-color: rgba(42, 211, 149, 0.4); background: rgba(42, 211, 149, 0.1); }

.ia-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  transition: background 0.4s;
}

.ia-status.active .ia-dot {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(42, 211, 149, 0.8);
  animation: blink 1s ease infinite;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Thinking bar */
.ia-thinking { display: flex; flex-direction: column; gap: 0.5rem; }

.thinking-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.tb-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand2), var(--accent));
  border-radius: 2px;
  transition: width 0.3s linear;
}

.thinking-labels {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* DB rows */
.flow-db-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fdr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: #c8e2ff;
  transition: all 0.4s;
}

.fdr--active {
  border-color: rgba(47, 155, 255, 0.4);
  background: rgba(47, 155, 255, 0.1);
}

.fdr--highlight {
  border-color: rgba(83, 212, 255, 0.6);
  background: rgba(83, 212, 255, 0.12);
  transform: translateX(4px);
}

.fdr-tag {
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.12rem 0.4rem;
  flex-shrink: 0;
  text-transform: uppercase;
}

.tag-prod  { background: rgba(47, 155, 255, 0.25); color: #6bb8ff; }
.tag-preco { background: rgba(42, 211, 149, 0.25); color: #2ad395; }
.tag-faq   { background: rgba(250, 204, 21, 0.2);  color: #facc15; }
.tag-proc  { background: rgba(168, 85, 247, 0.2);  color: #c084fc; }

.fdr-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Arrow between blocks */
.flow-arrow-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.6rem;
  background: rgba(2, 12, 30, 0.5);
  border-bottom: 1px solid var(--line);
}

.flow-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(83, 212, 255, 0.5);
  transition: color 0.4s;
}

.flow-arrow.active { color: var(--accent); }

.fa-pulse-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(83, 212, 255, 0.4));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.fa-pulse-line::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 12px;
  background: var(--accent);
  border-radius: 2px;
  animation: pulseFlow 2s linear infinite;
  opacity: 0;
}

.flow-arrow.active .fa-pulse-line::after { opacity: 1; }

@keyframes pulseFlow {
  0%   { left: -12px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.flow-arrow-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

/* Chat window */
.chat-window {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  animation: fadeSlideUp 0.35s ease;
}

.chat-msg.hidden { display: none; }

.chat-msg.ia { flex-direction: row-reverse; }

.chat-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ca-client { background: rgba(100, 100, 120, 0.5); color: #c0d8f5; }
.ca-ia     { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-size: 0.62rem; }

.chat-bubble {
  max-width: 80%;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  background: rgba(30, 60, 100, 0.7);
  border: 1px solid rgba(100, 160, 240, 0.2);
  color: #ddeeff;
}

.ia-bubble {
  background: rgba(12, 75, 179, 0.4);
  border-color: rgba(83, 212, 255, 0.3);
  color: #eaf5ff;
}

/* Typing indicator */
.chat-typing { display: flex; align-items: flex-end; gap: 0.6rem; flex-direction: row-reverse; }

.typing-bubble {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.9rem;
  background: rgba(12, 75, 179, 0.35);
  border: 1px solid rgba(83, 212, 255, 0.2);
  border-radius: 1rem;
}

.typing-bubble span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: typingDot 1.2s ease infinite;
}

.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Reveal animations ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-up.delay-1 { transition-delay: 0.13s; }
.reveal-up.delay-2 { transition-delay: 0.26s; }
.reveal-up.delay-3 { transition-delay: 0.39s; }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pipeline {
    flex-direction: column;
    border-radius: 1rem;
  }
  .pipe-arrow { transform: rotate(90deg); align-self: center; }
  .cost-grid { grid-template-columns: 1fr; }
  .engine-demo { grid-template-columns: 1fr; }
  .engine-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 4.5rem 0; }
  .engine-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .section { padding: 3.5rem 0; }
  .product-grid,
  .metrics-grid,
  .engine-pillars { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
  h1 { font-size: 2rem; }
  .eng-center { min-width: unset; }
}
:root {
  --bg: #031126;
  --bg-soft: #071f3f;
  --panel: #0b2f5d;
  --panel-soft: #0e3e7c;
  --text: #e8f3ff;
  --muted: #afc7e8;
  --brand: #0c4bb3;
  --brand-2: #2f9bff;
  --accent: #53d4ff;
  --ok: #2ad395;
  --line: rgba(137, 188, 255, 0.25);
  --shadow: 0 24px 60px rgba(1, 13, 30, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 10%, #16498f 0%, var(--bg) 45%),
    radial-gradient(circle at 90% 85%, #0a3b75 0%, #021022 48%);
  color: var(--text);
  line-height: 1.6;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1150px, calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(9, 43, 86, 0.75) 0%, rgba(3, 17, 38, 0.38) 100%);
  border-block: 1px solid var(--line);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 16, 35, 0.85);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  width: 116px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: #ffffff;
}

.btn {
  border: none;
  border-radius: 0.85rem;
  padding: 0.82rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: "Sora", "Segoe UI", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #f3f9ff;
  box-shadow: 0 10px 26px rgba(22, 94, 193, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-soft {
  background: rgba(84, 167, 255, 0.15);
  border: 1px solid rgba(122, 198, 255, 0.35);
  color: #eaf6ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

h1 span {
  color: #6bc7ff;
}

.lead {
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.trust-row {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: #c7dcf8;
}

.trust-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.45rem;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(42, 211, 149, 0.7);
}

.hero-panel {
  position: relative;
}

.panel-glow {
  position: absolute;
  inset: -16px;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(83, 212, 255, 0.4), rgba(12, 75, 179, 0.2));
  filter: blur(16px);
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(11, 47, 93, 0.95) 0%, rgba(6, 31, 62, 0.9) 100%);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #d2e8ff;
}

.hero-card li {
  margin-bottom: 0.6rem;
}

.hero-card .small {
  color: #8fc0ef;
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.7rem;
}

.section-head p {
  color: var(--muted);
  max-width: 68ch;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step,
.product,
.metric {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(10, 44, 87, 0.55);
}

.step h3,
.product h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.step p,
.product p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  color: #cfe4ff;
}

.product li {
  margin-bottom: 0.35rem;
}

.chip-link {
  display: inline-flex;
  margin-top: 0.75rem;
  text-decoration: none;
  color: #dff0ff;
  border: 1px solid rgba(145, 196, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.chip-link:hover {
  background: rgba(104, 186, 255, 0.15);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: rgba(3, 20, 43, 0.88);
}

th,
td {
  text-align: left;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(140, 190, 255, 0.18);
  vertical-align: top;
}

th {
  background: rgba(12, 75, 179, 0.28);
  font-family: "Sora", "Segoe UI", sans-serif;
}

td {
  color: #d6e9ff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric-number {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  color: #73cdff;
}

.metric-label {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.section-contact {
  background: linear-gradient(180deg, rgba(10, 40, 80, 0.68), rgba(2, 16, 35, 0.95));
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-copy p {
  color: var(--muted);
}

.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ecosystem-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #dff0ff;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(4, 24, 50, 0.85);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin: 0.55rem 0 0.3rem;
  font-size: 0.9rem;
  color: #bee0ff;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(151, 199, 255, 0.32);
  padding: 0.72rem;
  background: rgba(3, 18, 38, 0.8);
  color: #e8f4ff;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(84, 177, 255, 0.4);
  border-color: rgba(84, 177, 255, 0.8);
}

.form-feedback {
  margin: 0.7rem 0 0;
  min-height: 1.3rem;
  color: #a4d6ff;
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(1, 10, 23, 0.95);
}

.footer-wrap {
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.7rem;
}

.footer-wrap img {
  width: 110px;
  margin: 0 auto;
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
}

.footer-wrap small {
  color: #82acd8;
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.delay-1 {
  transition-delay: 0.12s;
}

.reveal-up.delay-2 {
  transition-delay: 0.24s;
}

.reveal-up.delay-3 {
  transition-delay: 0.36s;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1150px, calc(100% - 1.4rem));
  }

  .section {
    padding: 4.2rem 0;
  }

  .steps-grid,
  .product-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }
}
