/* =========================================================
   Equitiny — AI Powerhouse
   Design system + premium dark theme
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #06080f;
  --bg-2: #090c16;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eaedf6;
  --text-muted: #9aa4be;
  --text-dim: #6b7488;

  /* Brand */
  --blue: #4f7cff;
  --violet: #9b5cff;
  --teal: #19e3b1;
  --grad: linear-gradient(120deg, #4f7cff 0%, #9b5cff 52%, #19e3b1 100%);
  --grad-soft: linear-gradient(120deg, rgba(79, 124, 255, 0.18), rgba(155, 92, 255, 0.16) 52%, rgba(25, 227, 177, 0.16));

  /* Radii */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 20px 60px rgba(79, 124, 255, 0.25);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 450;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

::selection { background: rgba(155, 92, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.014) 12%, rgba(255, 255, 255, 0.014) 88%, transparent); }

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

/* ---------- Animated background (scroll-driven: Neural → Grid → Ondas) ---------- */
#bgfx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}
.bgfx-layer { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.bgfx-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.bgfx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 5%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 5%, transparent 75%);
}
.bgfx-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.bgfx-orb.o1 {
  width: 620px; height: 620px; top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.5), transparent 65%);
  animation: bgfloat1 22s var(--ease) infinite alternate;
}
.bgfx-orb.o2 {
  width: 560px; height: 560px; top: 20%; right: -200px;
  background: radial-gradient(circle, rgba(155, 92, 255, 0.42), transparent 65%);
  animation: bgfloat2 26s var(--ease) infinite alternate;
}
@keyframes bgfloat1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes bgfloat2 { to { transform: translate(-100px, 120px) scale(1.1); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn--sm { padding: 9px 18px; font-size: 0.875rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #08101e;
  box-shadow: 0 10px 30px rgba(79, 124, 255, 0.3);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  filter: blur(16px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::before { opacity: 0.7; }

.btn--ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 92, 255, 0.6);
  background: var(--surface-3);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 8, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  filter: drop-shadow(0 4px 16px rgba(123, 97, 255, 0.5));
  transition: transform 0.4s var(--ease);
}
.bolt3d { display: block; overflow: visible; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; gap: 4px; }
.brand__name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.22rem; letter-spacing: -0.3px; }
.brand__tag { font-size: 0.6rem; letter-spacing: 3px; color: var(--text-dim); font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); }
.nav > a:not(.btn) {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.3s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--text); }
.nav > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(130px, 20vh, 200px);
  padding-bottom: clamp(70px, 10vw, 120px);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 920px; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 227, 177, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(25, 227, 177, 0.18); } 50% { box-shadow: 0 0 0 7px rgba(25, 227, 177, 0.05); } }

.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-top: 26px;
}
.hero__title .grad-text { background-size: 200% auto; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 26px auto 0;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(56px, 8vw, 90px);
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stat-label { font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.2px; }

/* ---------- Marquee ---------- */
.marquee-section { padding-block: clamp(40px, 6vw, 64px); text-align: center; }
.marquee-label {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0.55;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
  cursor: default;
}
.marquee__track span:hover { color: var(--text); opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section__head { max-width: 720px; margin: 0 auto clamp(48px, 7vw, 76px); text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.section__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.section__lead {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

/* ---------- Cards (solutions) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
/* cursor spotlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(155, 92, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
/* gradient top hairline on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: #fff;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }

.card__product {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}
.card__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.card__text { color: var(--text-muted); font-size: 0.96rem; line-height: 1.62; }

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}
.card__tags li {
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.card__link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.card__link:hover { gap: 10px; color: var(--violet); }

/* ---------- Engineering & Product ---------- */
.dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dev {
  position: relative;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.dev::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 124, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.dev::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.dev:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.dev:hover::before { opacity: 1; }
.dev:hover::after { transform: scaleX(1); }

.dev__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: #fff;
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.dev__icon svg { width: 28px; height: 28px; }
.dev:hover .dev__icon { transform: scale(1.08) rotate(-4deg); }

.dev__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.dev__text { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-bottom: 24px; }

.dev__list { display: grid; gap: 13px; margin-bottom: 26px; }
.dev__list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
}
.dev__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
}
.dev__list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 5px; height: 9px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Platform ---------- */
.platform { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.platform__intro .btn { margin-top: 28px; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step__title { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.12rem; margin: 10px 0 8px; }
.step__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- Ecosystem ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.eco {
  padding: 22px 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.eco:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.eco h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eco p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin-inline: auto; }
.chips li {
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.chips li:hover {
  transform: translateY(-3px);
  color: var(--text);
  border-color: rgba(155, 92, 255, 0.5);
  background: var(--surface-2);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(79, 124, 255, 0.1), rgba(155, 92, 255, 0.06));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  width: 600px; height: 600px;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(155, 92, 255, 0.4), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.cta__title {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.6px;
  line-height: 1.12;
}
.cta__text { position: relative; max-width: 560px; margin: 18px auto 0; color: var(--text-muted); font-size: 1.08rem; }
.cta__actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info .section__head { text-align: left; margin: 0; }
.contact__list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; flex-direction: column; font-size: 1rem; color: var(--text); }
.contact__list strong { font-size: 0.76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-bottom: 3px; }

.contact__form {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.84rem; font-weight: 500; color: var(--text-muted); }
.field input, .field textarea {
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(155, 92, 255, 0.14);
}
.form-note { font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-note.success { color: var(--teal); }
.form-note.error { color: #ff7a7a; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq__item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--violet);
  transition: transform 0.3s var(--ease);
  line-height: 1;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-top: clamp(56px, 8vw, 88px); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012)); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 32px; }
.footer__brand { max-width: 320px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__blurb { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.footer__social a:hover { transform: translateY(-3px); color: #fff; border-color: var(--border-strong); background: var(--surface-3); }

.footer__col h4 { font-family: "Space Grotesk", sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer__col a:hover { color: var(--text); padding-left: 5px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.86rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .platform, .contact { grid-template-columns: 1fr; }
  .contact__info .section__head { text-align: center; margin-inline: auto; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px clamp(20px, 5vw, 48px) 28px;
    background: rgba(8, 11, 20, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 12px; }
  .nav-toggle { display: flex; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .dev-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .hero__actions, .cta__actions { flex-direction: column; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}

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