/* ═══════════════════════════════════════════════
   KOLAYZ HOME
   Palette matched to the app: #2563eb accent, #f3f6fb bg, #0f172a text
   Typography: Fraunces (display) + Outfit (body)
   ═══════════════════════════════════════════════ */

:root {
  --bg: #f3f6fb;
  --bg-soft: #eef2ff;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;

  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;

  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --accent-glow: rgba(37, 99, 235, 0.08);

  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.12);
  --warning: #f59e0b;

  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);

  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999px;

  --heading: "Source Serif 4", "Georgia", serif;
  --body: "Outfit", "Segoe UI", sans-serif;

  --shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* ─── Reset ──────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Soft radial wash behind body */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: -5%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: -10%;
  right: -5%;
  width: 45%;
  height: 45%;
  background: radial-gradient(ellipse, rgba(147, 197, 253, 0.12), transparent 65%);
  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;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

h1, h2 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 em, h2 em {
  font-style: italic;
  color: var(--accent);
}

h3 { font-family: var(--body); font-weight: 600; }

h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* ─── Utility ────────────────────────────────── */

.kicker {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}

.section-sub {
  max-width: 52ch;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head .section-sub {
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.3rem;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  white-space: nowrap;
}

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

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.btn--ghost {
  color: var(--ink);
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  background: var(--bg-soft);
}

.btn--lg {
  min-height: 3.2rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
}

/* ─── Navigation ─────────────────────────────── */

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.6rem 1.5rem;
  background: rgba(243, 246, 251, 0.85);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.logo-text {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

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

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

.language-switch select {
  min-height: 2.6rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 0.88rem;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' fill='none' stroke='%23334155' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
}

.language-switch select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

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

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-top: 0.25rem;
}

.hero__sub {
  margin-top: 1.25rem;
  max-width: 48ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.hero__stats {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.stat {
  flex: 1 1 130px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat__number {
  display: block;
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ─── Terminal ───────────────────────────────── */

.hero__terminal {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-dark);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal__chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

.terminal__title {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.terminal__body {
  padding: 1.25rem;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.terminal__line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.terminal__prompt { color: var(--accent); font-weight: 700; }
.terminal__typing { color: #e2e8f0; }

.terminal__cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.terminal__response {
  display: grid;
  gap: 0.5rem;
}

.response__stage {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.response__stage.visible {
  opacity: 1;
  transform: translateX(0);
}

.response__stage[data-stage="5"].visible {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  font-weight: 700;
  font-size: 0.68rem;
}

.stage-badge--success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* ─── Personas ───────────────────────────────── */

.personas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

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

.persona-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.persona-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.persona-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.persona-card__icon svg { width: 100%; height: 100%; }

.persona-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.persona-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ─── Value Steps ────────────────────────────── */

.value-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

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

.vstep-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.vstep-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.vstep-card--highlight {
  border-color: rgba(34, 197, 94, 0.25);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.04), var(--bg-white));
}

.vstep-card--highlight:hover {
  border-color: var(--success);
}

.vstep-card__number {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}

.vstep-card--highlight .vstep-card__number {
  color: var(--success);
}

.vstep-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.vstep-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Workflow ────────────────────────────────── */

.workflow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.workflow__pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.stage {
  position: relative;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 250ms ease, transform 250ms ease;
}

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

.stage:hover .stage__bar { opacity: 1; }

.stage__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  opacity: 0;
  transition: opacity 250ms ease;
}

.stage__number {
  font-family: var(--heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stage h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.stage p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── Demos ──────────────────────────────────── */

.demos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.demo-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.demo-hero--centered {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.demo-hero__screen {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-dark);
  aspect-ratio: 16 / 9;
}

.demo-hero__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 250ms ease;
}

.demo-hero__screen:hover img { opacity: 1; }

.demo-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.3);
  transition: background 250ms ease;
}

.demo-hero__screen:hover .demo-hero__overlay {
  background: rgba(15, 23, 42, 0.15);
}

.play-btn {
  width: 4.5rem;
  height: 4.5rem;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 250ms ease, color 250ms ease;
}

.play-btn:hover {
  transform: scale(1.08);
  color: #fff;
}

.play-btn svg { width: 100%; height: 100%; }

.demo-hero__meta {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.meta-tag, .meta-duration {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

.meta-tag {
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
}

.meta-duration {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.demo-hero__info h3 {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.demo-hero__info > p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

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

.checkpoints li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}

.checkpoints li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--success);
}

/* Demo cards */

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

.demo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 250ms ease, transform 250ms ease;
}

.demo-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.demo-card__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.demo-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.placeholder-play {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 200ms ease;
}

.demo-card:hover .placeholder-play { color: rgba(255, 255, 255, 0.6); }

.demo-card__duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.6);
}

.demo-card__body {
  padding: 1.1rem;
}

.demo-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.demo-card__body h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.02rem;
  color: var(--ink);
  margin-top: 0.35rem;
}

.demo-card__body p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── Capabilities ───────────────────────────── */

.capabilities {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

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

.cap-card {
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: border-color 250ms ease, transform 250ms ease;
}

.cap-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cap-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

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

.cap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cap-card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── Data estate ────────────────────────────── */

.estate {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.estate__group-label {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.estate__group-label--llm {
  margin-top: 2.5rem;
}

.vendor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.vendor-grid:not(.vendor-grid--llm) {
  max-width: 960px;
  margin-inline: auto;
}

.vendor-grid--llm {
  max-width: 800px;
  margin-inline: auto;
}

.vendor-card {
  width: calc((100% - 5 * 0.75rem) / 6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 6.5rem;
  padding: 1rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.vendor-grid--llm .vendor-card {
  width: calc((100% - 4 * 0.75rem) / 5);
}

.vendor-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.vendor-card img {
  max-width: 96px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.vendor-card span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.vendor-card--llm {
  border-color: rgba(37, 99, 235, 0.15);
}

.vendor-card--llm:hover {
  border-color: var(--accent);
}

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

.final-cta {
  padding: 5rem 1.5rem;
}

.final-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 2rem;
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 22ch;
  margin: 0 auto;
}

.final-cta__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem 1.5rem;
  background: var(--bg-white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--ink-muted);
  max-width: 34ch;
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-links a {
  color: var(--ink-muted);
  font-size: 0.88rem;
  transition: color 150ms ease;
  white-space: nowrap;
}

.footer-links a:hover { color: var(--ink); }

/* Footer location / map */

.footer-location {
  max-width: 640px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

.footer-location__map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.footer-location__map iframe {
  display: block;
}

.footer-location__info h4 {
  margin-bottom: 0.75rem;
}

.footer-location__info address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-location__company {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.footer-location__address {
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-location__contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-location__contact a {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 150ms ease;
}

.footer-location__contact a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.footer-language {
  order: -1;
}

.footer-language select {
  font-size: 0.85rem;
}

/* ─── Scroll reveal ──────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6rem;
  }

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

  .demo-hero { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .vsteps-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; }

  .vendor-card {
    width: calc((100% - 2 * 0.75rem) / 3);
  }

  .vendor-grid--llm .vendor-card {
    width: calc((100% - 2 * 0.75rem) / 3);
  }
}

@media (max-width: 680px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: flex; }

  /* Mobile menu open state */
  .nav-bar.menu-open .nav-links,
  .nav-bar.menu-open .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(243, 246, 251, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    z-index: 99;
  }

  .nav-bar.menu-open .nav-links {
    top: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-bar.menu-open .nav-actions {
    top: calc(100% + var(--nav-links-height, 120px));
  }

  .hero { padding-top: 5rem; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }

  .workflow__pipeline, .demo-grid, .cap-grid, .persona-grid, .vsteps-grid {
    grid-template-columns: 1fr;
  }

  .personas, .value-steps, .workflow, .demos, .capabilities, .estate {
    padding: 3.5rem 1rem;
  }

  .final-cta__inner { padding: 2.5rem 1.25rem; }

  .vendor-card {
    width: calc((100% - 1 * 0.75rem) / 2);
  }

  .vendor-grid--llm .vendor-card {
    width: calc((100% - 1 * 0.75rem) / 2);
  }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
  .hero__stats { flex-direction: column; }
  .stat { flex: none; }
}

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