/* =========================================================
   Traffic Bridge · Landing
   ========================================================= */
:root {
  --ink: #0B1220;
  --ink-2: #111A2E;
  --ink-3: #1A2540;
  --paper: #F6F5F1;
  --white: #FFFFFF;
  --text: #1B2233;
  --muted: #5B6478;
  --muted-light: #9AA4BA;
  --line: #E3E1DA;
  --line-dark: rgba(255,255,255,.1);
  --accent: #D7FF3A;
  --accent-ink: #0B1220;
  --signal: #4C7DFF;

  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-2px); background: #E4FF6E; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { border-color: var(--white); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  margin-bottom: 1.2rem;
}
.eyebrow--light, .hero .eyebrow { color: var(--muted-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(215,255,58,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(215,255,58,0); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11,18,32,.82); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); font-family: var(--font-head); font-size: 1.15rem; font-weight: 400; }
.logo strong { font-weight: 700; }
.logo__mark { width: 34px; height: 34px; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: rgba(255,255,255,.75); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); transition: transform .3s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(76,125,255,.25), transparent 60%), var(--ink);
  color: var(--white);
  padding: 170px 0 90px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__inner { position: relative; z-index: 1; }
.hero__title { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 600; letter-spacing: -0.035em; max-width: 14ch; }
.accent { color: var(--accent); }
.hero__lead { margin-top: 1.6rem; max-width: 56ch; font-size: 1.15rem; color: #C3CADA; }
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.stats {
  margin: 5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.stat { padding: 1.6rem 1.4rem 0 0; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line-dark); }
.stat dt { font-size: .85rem; color: var(--muted-light); order: 2; }
.stat dd { margin: 0 0 .3rem; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; }
.stat { display: flex; flex-direction: column-reverse; }

/* ---------- Platforms ---------- */
.platforms { background: var(--ink-2); color: var(--muted-light); border-top: 1px solid var(--line-dark); padding: 28px 0; }
.platforms .container { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.platforms__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.platforms__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; }
.platforms__list li { font-family: var(--font-head); font-weight: 600; color: #DDE2EE; font-size: 1rem; opacity: .75; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 4rem; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead { margin-top: 1.2rem; color: var(--muted); font-size: 1.1rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.4rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(11,18,32,.25); border-color: #CFCBBF; }
.service__num { position: absolute; top: 2.2rem; right: 2.4rem; font-family: var(--font-head); font-size: .85rem; color: var(--muted-light); }
.service__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.6rem; }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: .8rem; font-size: 1.5rem; }
.service p { color: var(--muted); }
.service__list { list-style: none; margin: 1.6rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.service__list li { position: relative; padding-left: 1.5rem; font-size: .95rem; font-weight: 500; }
.service__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--signal); }

/* ---------- Band ---------- */
.band { background: var(--accent); padding: 80px 0; }
.band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.band h2 { color: var(--ink); font-size: clamp(2rem, 4.2vw, 3.2rem); }
.band p { color: #26301A; font-size: 1.15rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 2rem 0 0; border-top: 2px solid var(--ink); counter-increment: step; }
.step::before { content: "0" counter(step); position: absolute; top: -1px; left: 0; transform: translateY(-50%); background: var(--paper); padding-right: .8rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.step__week { display: inline-block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--signal); margin-bottom: .7rem; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why__text h2 { margin-bottom: 1.4rem; }
.why__text p { color: var(--muted); font-size: 1.1rem; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why__list li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.why__list li:first-child { border-top: 1px solid var(--line); }
.why__list strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: .2rem; }

/* ---------- FAQ ---------- */
.faq { 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: 1.5rem;
  background: none; border: 0; padding: 1.6rem 0; text-align: left; cursor: pointer;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--text);
}
.faq__icon { position: relative; flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: currentColor; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__a > p { overflow: hidden; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > p { padding-bottom: 1.6rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--white); padding: 120px 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.contact__text h2 { margin-bottom: 1.2rem; }
.contact__text > p { color: #C3CADA; font-size: 1.1rem; }
.contact__info { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact__info li { display: grid; grid-template-columns: 110px 1fr; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); }
.contact__info span { color: var(--muted-light); font-size: .9rem; }
.contact__info a:hover { color: var(--accent); }

.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 2.4rem; display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 500; color: #C3CADA; padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--white);
  background: var(--ink-3); border: 1px solid transparent; border-radius: 10px; padding: .85rem 1rem;
  transition: border-color .2s, background .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9AA4BA 50%), linear-gradient(135deg, #9AA4BA 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #1E2A48; }
.field.has-error input, .field.has-error select { border-color: #FF6B6B; }
.field__error { color: #FF8A8A; font-size: .8rem; min-height: 0; }
.field--chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.field--chips legend { width: 100%; margin-bottom: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .9rem; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: #C3CADA; cursor: pointer; }
.check input { margin-top: .25rem; accent-color: var(--accent); }
.check a { text-decoration: underline; }
.form__status { font-size: .95rem; text-align: center; min-height: 1.4em; }
.form__status.is-ok { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #070C17; color: var(--muted-light); padding: 80px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 4rem; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer__brand p { margin-top: 1rem; max-width: 34ch; font-size: .95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h4 { color: var(--white); font-size: .9rem; margin-bottom: 1rem; }
.footer__cols a { display: block; font-size: .93rem; padding: .3rem 0; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 28px; font-size: .82rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .why, .contact__inner, .band__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 1rem 24px 1.6rem;
    transform: translateY(-120%); transition: transform .4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 1.2rem; }
  .header.menu-open { background: var(--ink); }
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { padding-top: 1.6rem; }
  .section, .contact { padding: 90px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 130px 0 70px; }
  .steps, .form__row, .footer__cols { grid-template-columns: 1fr; }
  .service, .form { padding: 1.6rem; }
  .service__num { top: 1.6rem; right: 1.6rem; }
  .contact__info li { grid-template-columns: 90px 1fr; }
}
