/* aidevelopement.ae — Brocode Solutions */

:root {
  --bg: #060a0b;
  --bg-2: #0a1013;
  --bg-3: #0f181c;
  --line: rgba(246, 245, 241, 0.08);
  --line-strong: rgba(246, 245, 241, 0.16);
  --fg: #f6f5f1;
  --fg-dim: rgba(246, 245, 241, 0.62);
  --fg-mute: rgba(246, 245, 241, 0.42);
  --fg-faint: rgba(246, 245, 241, 0.22);
  --accent: #38baed;
  --accent-dim: rgba(56, 186, 237, 0.62);
  --accent-faint: rgba(56, 186, 237, 0.12);
  --warn: #f0a028;
  --ok: #32c878;
  --display: 'Rajdhani', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--fg); }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bg); }

/* ============ SHARED ============ */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(56,186,237,0.18);
}

.eyebrow.plain::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.6vw, 84px); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); }

p { color: var(--fg-dim); text-wrap: pretty; }

.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-dim); line-height: 1.55; max-width: 60ch; }

/* hairline rule used to delimit sections */
.rule { height: 1px; background: var(--line); }

/* ============ NAV ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 10, 11, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #000;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.brand-mark img { width: 22px; height: 22px; object-fit: contain; }
.brand-name { line-height: 1; }
.brand-domain { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; color: var(--fg-mute); margin-top: 3px; text-transform: lowercase; }
.brand-text { display: flex; flex-direction: column; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  color: var(--fg-dim);
  transition: color 0.18s ease;
  position: relative;
}
.nav-links a:hover { color: var(--fg); }

.lang {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-mute);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.lang:hover { color: var(--fg); border-color: var(--line-strong); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 11px 18px;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--fg);
  background: rgba(246,245,241,0.04);
}
.btn-arrow { font-family: var(--mono); transition: transform 0.18s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-lg { padding: 14px 22px; font-size: 15px; }

/* mobile nav */
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
  .nav-cta-mobile { display: inline-flex; }
}
@media (min-width: 961px) {
  .nav-cta-mobile { display: none; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0 clamp(80px, 12vh, 140px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(56,186,237,0.16), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  margin-bottom: 36px;
  background: rgba(246,245,241,0.02);
}
.hero-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }

.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-dim);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: 36px;
}

.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .check {
  width: 12px; height: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

/* hero side: terminal-like spec card */
.hero-spec {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--fg-dim);
  position: relative;
  overflow: hidden;
}
.hero-spec::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}
.hero-spec-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  color: var(--fg-mute);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.hero-spec-head .dots { display: inline-flex; gap: 5px; }
.hero-spec-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.hero-spec-head .dots i:first-child { background: var(--accent); }
.hero-spec-row { display: flex; justify-content: space-between; gap: 16px; }
.hero-spec-row .k { color: var(--fg-mute); }
.hero-spec-row .v { color: var(--fg); }
.hero-spec-row .v.accent { color: var(--accent); }
.hero-spec-row .v.green { color: var(--ok); }
.hero-spec-bar {
  margin-top: 18px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.hero-spec-bar::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(to right, var(--accent), transparent);
  animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan {
  0% { transform: translateX(-50%); }
  50% { transform: translateX(180%); }
  100% { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */

.section {
  padding: clamp(80px, 11vh, 130px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-head .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-mute); display: flex; align-items: center; gap: 12px; }
.section-head .label .num { color: var(--accent); }

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 80px;
}
@media (max-width: 800px) { .problem-grid { grid-template-columns: 1fr; gap: 32px; } }
.problem-grid p { font-size: 17px; line-height: 1.65; }
.problem-grid p strong { color: var(--fg); font-weight: 500; }

.stall-list { list-style: none; padding: 0; }
.stall-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg-dim);
  align-items: flex-start;
}
.stall-list li:last-child { border-bottom: none; }
.stall-list .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: 0.1em;
  width: 28px;
}

/* What We Do — pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  position: relative;
  transition: background 0.3s ease;
}
.pillar:hover { background: var(--bg-2); }
.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.pillar h3 { font-size: 26px; }
.pillar p { font-size: 14.5px; line-height: 1.65; flex-grow: 1; }
.pillar-link {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.pillar-link:hover { color: var(--accent); }
.pillar-link .arr { transition: transform 0.18s ease; }
.pillar-link:hover .arr { transform: translateX(4px); }

.pillar-glyph {
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent);
  background: rgba(56,186,237,0.04);
}

/* Deployment */
.deploy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .deploy { grid-template-columns: 1fr; } }
.deploy-col {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.deploy-col::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 30%, var(--accent), transparent 70%);
  opacity: 0.7;
}
.deploy-col h3 { margin-bottom: 8px; font-size: 28px; }
.deploy-col .sub { font-size: 14px; color: var(--fg-mute); margin-bottom: 28px; line-height: 1.55; }
.deploy-col ul { list-style: none; }
.deploy-col li {
  font-size: 14.5px;
  color: var(--fg-dim);
  padding: 12px 0 12px 26px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.deploy-col li:last-child { border-bottom: none; }
.deploy-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--accent);
}
.deploy-col li strong { color: var(--fg); font-weight: 500; }

.deploy-tag {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--fg-mute);
  background: var(--bg);
}

/* Why brocode */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: var(--bg); padding: 32px 28px; min-height: 240px; display: flex; flex-direction: column; gap: 14px; }
.why-card .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--fg-mute); }
.why-card h3 { font-size: 20px; line-height: 1.2; }
.why-card p { font-size: 14px; line-height: 1.6; }

/* Industries */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }
.ind {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: background 0.25s ease;
  cursor: pointer;
  position: relative;
}
.ind:hover { background: var(--bg-2); }
.ind:hover .ind-arr { opacity: 1; transform: translate(2px, -2px); }
.ind-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.ind-name { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.15; }
.ind-arr { color: var(--fg-mute); opacity: 0.5; transition: all 0.2s ease; flex-shrink: 0; }
.ind p { font-size: 13.5px; line-height: 1.55; color: var(--fg-mute); }
.ind-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step .dur { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); margin-bottom: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.step p { font-size: 14px; line-height: 1.6; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: var(--bg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-n {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}
.stat-n .unit { color: var(--fg-mute); font-size: 0.5em; font-weight: 400; margin-left: 4px; }
.stat-l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-mute); text-transform: uppercase; }

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.faq-q .plus svg { transition: transform 0.3s ease; }
.faq-item.open .faq-q .plus { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.faq-item.open .faq-q .plus svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 56px 28px 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-dim);
  max-width: 80ch;
}

/* Final CTA */
.cta {
  padding: clamp(100px, 16vh, 180px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(56,186,237,0.18), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.cta h2 { font-size: clamp(36px, 5.6vw, 72px); margin: 24px 0 24px; letter-spacing: -0.025em; }
.cta p { font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-dim); margin-bottom: 36px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta .email-btn { font-family: var(--mono); font-size: 14px; }

/* WhatsApp button (inline in CTA row) */
.btn-whatsapp {
  background: #25D366;
  color: #0a1013;
  border-color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #0a1013;
}
.btn-whatsapp svg { flex-shrink: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 14px;
  background: #25D366;
  color: #0a1013;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.wa-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.5);
}
.wa-float svg { flex-shrink: 0; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 640px) {
  .wa-float { padding: 14px; bottom: 16px; right: 16px; }
  .wa-float .wa-label { display: none; }
}

/* Footer */
.footer {
  padding: 80px 0 36px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 20px; max-width: 360px; }
.footer-brand .desc { font-size: 13.5px; color: var(--fg-mute); line-height: 1.6; }
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--fg-mute); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--fg-dim); }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--fg-mute);
  letter-spacing: 0.04em;
}

/* ============ MODAL ============ */

.modal-back {
  position: fixed; inset: 0;
  background: rgba(6, 10, 11, 0.78);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-back.open { display: flex; opacity: 1; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}
.modal-back.open .modal { transform: translateY(0); }
.modal-head {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.modal-head h3 { font-size: 24px; margin-bottom: 6px; }
.modal-head p { font-size: 13.5px; color: var(--fg-mute); }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--fg-mute);
  flex-shrink: 0;
}
.modal-close:hover { color: var(--fg); border-color: var(--line-strong); }
.modal-body { padding: 24px 32px 32px; }

.steps-bar {
  display: flex; gap: 6px; margin-bottom: 28px;
}
.steps-bar .pip { flex: 1; height: 3px; background: var(--line); border-radius: 2px; transition: background 0.3s; }
.steps-bar .pip.active { background: var(--accent); }
.steps-bar .pip.done { background: var(--ok); }

.step-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.step-title { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 22px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; color: var(--fg-dim); font-weight: 500; }
.field label .req { color: var(--accent); margin-left: 3px; }
.field input, .field textarea, .field select {
  font: inherit;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--fg);
  font-size: 14.5px;
  transition: border-color 0.18s, background 0.18s;
  font-family: var(--body);
  width: 100%;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}
.field.error input, .field.error textarea, .field.error select { border-color: #ff5f57; }
.field .err-msg { font-size: 12px; color: #ff5f57; display: none; font-family: var(--mono); }
.field.error .err-msg { display: block; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.18s;
  background: var(--bg);
  text-align: left;
}
.choice:hover { border-color: var(--fg-mute); }
.choice.selected { border-color: var(--accent); background: rgba(56,186,237,0.05); }
.choice .ct { font-size: 14px; font-weight: 500; color: var(--fg); margin-bottom: 4px; }
.choice .cd { font-size: 12px; color: var(--fg-mute); line-height: 1.4; }

.modal-actions { display: flex; gap: 10px; margin-top: 28px; justify-content: space-between; align-items: center; }
.modal-actions .left { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase; }

.success-state { text-align: center; padding: 16px 0; }
.success-state .check-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(50,200,120,0.1);
  border: 1px solid var(--ok);
  display: grid; place-items: center;
  color: var(--ok);
  margin: 0 auto 24px;
}
.success-state h3 { font-family: var(--display); font-size: 28px; margin-bottom: 12px; }
.success-state p { color: var(--fg-dim); margin-bottom: 28px; max-width: 40ch; margin-left: auto; margin-right: auto; }
.success-state .sum { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px; font-family: var(--mono); font-size: 12px; text-align: left; margin-bottom: 24px; }
.success-state .sum .row { display: flex; justify-content: space-between; padding: 4px 0; }
.success-state .sum .k { color: var(--fg-mute); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 70;
  padding: 32px var(--gutter);
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}

/* observer reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* scroll indicators */
.section-num {
  position: absolute;
  top: 24px; right: var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-faint);
}
