/* Iterflow — design system 2026 */

:root {
  --bg-deep: #04050b;
  --bg: #06080f;
  --bg-elevated: #0a0d18;
  --bg-card: rgba(13, 19, 33, 0.6);
  --bg-card-strong: rgba(13, 19, 33, 0.85);
  --border: rgba(96, 165, 250, 0.16);
  --border-strong: rgba(96, 165, 250, 0.32);
  --text: #eef2f8;
  --text-muted: #93a1b8;
  --text-soft: #b8c2d4;
  --accent: #60a5fa;
  --accent-strong: #3b82f6;
  --accent-deep: #1e5fd9;
  --gradient: linear-gradient(135deg, #1e5fd9 0%, #3b82f6 45%, #60a5fa 100%);
  --gradient-soft: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0));
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(59, 130, 246, 0.12), transparent 60%),
    radial-gradient(700px 500px at 5% 20%, rgba(30, 95, 217, 0.08), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(96, 165, 250, 0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

@media (max-width: 768px) {
  .noise { display: none; }
}

.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  z-index: -1;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  width: min(780px, 92vw);
}

/* ---------- HEADER ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 5, 11, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(4, 5, 11, 0.88);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__logo {
  border-radius: 10px;
  display: block;
}

.brand__text {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

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

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text) !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nav__cta:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: var(--border-strong);
}

.nav__cta svg {
  transition: transform 0.2s ease;
}

.nav__cta:hover svg {
  transform: translateX(2px);
}

.nav-toggle {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- HERO ---------- */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  position: relative;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.eyebrow--center {
  display: block;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1.35rem;
  text-wrap: balance;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 2rem;
  color: var(--text-soft);
  font-size: 1.075rem;
  max-width: 38rem;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

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

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: rgba(59, 130, 246, 0.08);
}

.btn--lg {
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
}

.hero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero__bullets svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero painel (estático, sem métricas fictícias) */

.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero__panel {
  width: 100%;
  max-width: 420px;
  padding: 1.35rem 1.45rem;
  border-radius: var(--radius);
  background: var(--bg-card-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero__panel-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.hero__pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__pipeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.hero__pipeline li:first-child {
  border-top: none;
  padding-top: 0.35rem;
}

.hero__pipeline-step {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-top: 0.12rem;
}

.hero__pipeline-body {
  min-width: 0;
}

/* Stats band */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13, 19, 33, 0.6), rgba(13, 19, 33, 0.3));
  backdrop-filter: blur(8px);
}

.stats__item {
  padding: 0.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid var(--border);
}

.stats__item:first-child {
  border-left: none;
}

.stats__item strong {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stats__item span {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ---------- SECTIONS ---------- */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.section--alt {
  background: linear-gradient(180deg, rgba(10, 13, 24, 0.5) 0%, rgba(4, 5, 11, 0) 100%);
  border-block: 1px solid var(--border);
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 56rem;
}

.section__title {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.section__intro {
  margin: 0;
  color: var(--text-muted);
  max-width: 52rem;
  font-size: 1.05rem;
  text-wrap: pretty;
}

.section__intro--narrow {
  max-width: 40rem;
}

/* Cards */

.cards {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  position: relative;
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 19, 33, 0.7), rgba(10, 13, 24, 0.5));
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
  overflow: hidden;
  contain: layout paint style;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(96, 165, 250, 0.06);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.05));
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 1rem;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Use cases */

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

.usecase {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(13, 19, 33, 0.45);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
  contain: layout paint style;
}

.usecase:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.usecase__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid var(--border);
  height: max-content;
  letter-spacing: 0.05em;
}

.usecase__title {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.usecase__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Timeline */

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

.timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 1.75rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13, 19, 33, 0.6), rgba(10, 13, 24, 0.4));
  transition: border-color 0.3s ease;
}

.timeline__item:hover {
  border-color: var(--border-strong);
}

.timeline__step {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gradient);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline__title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.timeline__body p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline__list li {
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

/* Split section (diferenciais + stack) */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.features {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
}

.features__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.features li strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.features li p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.stack {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 58, 138, 0.18), rgba(13, 19, 33, 0.4));
  position: relative;
  overflow: hidden;
}

.stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.18), transparent 60%);
  pointer-events: none;
}

.stack > * {
  position: relative;
}

.stack__head {
  margin-bottom: 1.5rem;
}

.stack__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.stack__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.stack__list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(4, 5, 11, 0.4);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.stack__list li span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .stack__list li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .stack__list li span {
    white-space: normal;
  }
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.faq__item {
  border-radius: var(--radius);
  background: rgba(13, 19, 33, 0.5);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
  contain: layout paint style;
}

.faq__item[open] {
  border-color: var(--border-strong);
  background: rgba(13, 19, 33, 0.7);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  letter-spacing: -0.01em;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid var(--border);
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg);
  background: rgba(96, 165, 250, 0.2);
}

.faq__item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* CTA */

.section--cta {
  padding-bottom: clamp(4rem, 10vw, 6.5rem);
}

.cta {
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse at top, rgba(59, 130, 246, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(15, 58, 138, 0.25), rgba(13, 19, 33, 0.6));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cta__text {
  margin: 0 auto 2rem;
  max-width: 38rem;
  color: var(--text-soft);
  font-size: 1.025rem;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cta__hint {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0 2rem;
  margin-top: 1rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  border-radius: 8px;
  opacity: 0.95;
}

.footer__brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.footer__brand p {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

/* ---------- REVEAL ON SCROLL ---------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .usecases {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__item {
    border-left: none;
    padding: 0.85rem 1rem;
  }
  .stats__item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .stats__item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
}

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

  .hero__visual {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
    justify-content: center;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__copy {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .cards--3 {
    grid-template-columns: 1fr;
  }
  .usecases {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .stats__item {
    border: none !important;
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--border) !important;
  }
  .stats__item:last-child {
    border-bottom: none !important;
  }
  .timeline__item {
    padding: 1.35rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(4, 5, 11, 0.92);
  }

  .hero__panel,
  .stats {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header__inner {
    flex-wrap: wrap;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(4, 5, 11, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: none;
    order: 3;
    flex-basis: 100%;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav__cta {
    margin-top: 0.25rem;
    text-align: center;
    justify-content: center;
  }

  body.nav-open .nav-toggle__bar:first-of-type {
    transform: translateY(4px) rotate(45deg);
  }

  body.nav-open .nav-toggle__bar:last-of-type {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero__bullets {
    flex-direction: column;
    gap: 0.65rem;
  }
}
