/* ─── Fonts ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --navy:       #0C1B38;
  --navy-mid:   #132347;
  --navy-light: #1a2f5e;
  --blue:       #2F6BFF;
  --blue-light: #5a8fff;
  --gold:       #C9A84C;
  --gold-light: #e4c870;
  --white:      #FFFFFF;
  --gray-50:    #F7F9FC;
  --gray-100:   #EEF2F8;
  --gray-200:   #D8E2F0;
  --gray-400:   #8FA3C0;
  --text:       #16233B;
  --text-muted: #4A5E7A;
  --text-inv:   #EAF1FB;

  --font-head:  'Bricolage Grotesque', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 16px rgba(12,27,56,.08);
  --shadow-lg:  0 8px 40px rgba(12,27,56,.14);

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.wrap--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(12,27,56,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -.02em;
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-inv);
  opacity: .75;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__lang {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--gold) !important;
  opacity: 1 !important;
  border: 1px solid rgba(201,168,76,.4);
  padding: .2rem .55rem;
  border-radius: 4px;
  transition: border-color .2s, background .2s !important;
}
.nav__lang:hover { border-color: var(--gold); background: rgba(201,168,76,.1); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
}
.hero__bg-shape--1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; right: -100px;
}
.hero__bg-shape--2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -100px; left: -50px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow { color: var(--gold); margin-bottom: 1.2rem; }
.hero__headline {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__sub {
  color: var(--text-inv);
  font-size: 1.1rem;
  line-height: 1.65;
  opacity: .85;
  margin-bottom: 2.4rem;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(47,107,255,.35);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(47,107,255,.45); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 4px 20px rgba(201,168,76,.4); }

/* ─── Hero Visual ────────────────────────────────────────────────────── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pipeline-preview {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(8px);
}
.pipeline-preview__title {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.pipeline-mini {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pipeline-mini__step {
  display: flex;
  align-items: center;
  gap: .85rem;
  opacity: 0;
  transform: translateX(-8px);
  animation: fadeSlideIn .4s var(--ease-out) forwards;
}
.pipeline-mini__step:nth-child(1) { animation-delay: .1s; }
.pipeline-mini__step:nth-child(2) { animation-delay: .25s; }
.pipeline-mini__step:nth-child(3) { animation-delay: .4s; }
.pipeline-mini__step:nth-child(4) { animation-delay: .55s; }
.pipeline-mini__step:nth-child(5) { animation-delay: .7s; }
.pipeline-mini__step:nth-child(6) { animation-delay: .85s; }
.pipeline-mini__step:nth-child(7) { animation-delay: 1.0s; }

.pipeline-mini__no {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--gold);
  width: 24px;
  flex-shrink: 0;
}
.pipeline-mini__bar {
  flex: 1;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-inv);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  gap: .5rem;
}
.pipeline-mini__bar svg { flex-shrink: 0; opacity: .7; }
.pipeline-mini__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.pipeline-mini__dot--gold { background: var(--gold); }
.pipeline-mini__dot--green { background: #4ade80; }

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ─── Pain Section ───────────────────────────────────────────────────── */
.pain {
  padding: 100px 0;
  background: var(--white);
}
.pain__header { margin-bottom: 4rem; }
.pain__headline { color: var(--text); }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pain-card {
  padding: 2rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--gray-50);
}
.pain-card__icon {
  width: 44px; height: 44px;
  background: rgba(12,27,56,.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--navy);
}
.pain-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.pain-card__text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Process Section ────────────────────────────────────────────────── */
.process {
  padding: 100px 0;
  background: var(--gray-50);
}
.process__header {
  text-align: center;
  margin-bottom: 5rem;
}
.process__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 1.2rem auto 0;
  line-height: 1.65;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--gold));
  opacity: .25;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.step.visible { opacity: 1; transform: translateY(0); }

.step__num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding-top: .15rem;
}
.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(201,168,76,.3);
}
.step__icon-box {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.step__body {
  padding-bottom: .5rem;
}
.step__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .6rem;
}
.step__text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 600px;
}
.step__io {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.badge {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .04em;
  padding: .22rem .65rem;
  border-radius: 4px;
  font-weight: 400;
  white-space: nowrap;
}
.badge--in {
  background: rgba(12,27,56,.07);
  color: var(--text-muted);
  border: 1px solid var(--gray-200);
}
.badge--out {
  background: rgba(47,107,255,.08);
  color: var(--blue);
  border: 1px solid rgba(47,107,255,.2);
}
.step__arrow {
  color: var(--gray-400);
  font-size: .75rem;
}

/* ─── Features ───────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--white);
}
.features__header { margin-bottom: 4rem; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feat-card {
  padding: 2rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), border-color .2s, box-shadow .2s;
}
.feat-card.visible { opacity: 1; transform: translateY(0); }
.feat-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(47,107,255,.1);
}
.feat-card__icon {
  width: 44px; height: 44px;
  background: rgba(47,107,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--blue);
}
.feat-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}
.feat-card__text {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Suppliers ──────────────────────────────────────────────────────── */
.suppliers {
  padding: 90px 0;
  background: var(--navy);
}
.suppliers__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.suppliers__headline {
  color: var(--white);
  margin-bottom: 1.2rem;
}
.suppliers__sub {
  color: var(--text-inv);
  opacity: .72;
  font-size: .97rem;
  line-height: 1.7;
}
.suppliers__formats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.suppliers__formats-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
}
.suppliers__icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.fmt-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.2rem .5rem;
  transition: background .2s, border-color .2s;
}
.fmt-icon:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}
.fmt-icon svg { color: var(--text-inv); opacity: .75; }
.fmt-icon span {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--text-inv);
  opacity: .5;
  text-transform: uppercase;
}

/* ─── Stats ──────────────────────────────────────────────────────────── */
.stats {
  padding: 80px 0;
  background: var(--gray-50);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat__num span { color: var(--blue); }
.stat__label {
  font-size: .875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Contact ────────────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(120px);
  opacity: .12;
  top: -150px; right: -100px;
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact__eyebrow { color: var(--gold); }
.contact__headline { color: var(--white); margin-bottom: 1rem; }
.contact__sub {
  color: var(--text-inv);
  opacity: .75;
  font-size: 1rem;
  line-height: 1.65;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.form__label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(234,241,251,.6);
  letter-spacing: .02em;
}
.form__input,
.form__textarea {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color .2s, background .2s;
  outline: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(234,241,251,.3); }
.form__input:focus,
.form__textarea:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,.08);
}
.form__textarea { resize: vertical; min-height: 130px; }
.form__honey { display: none !important; }
.form__msg {
  padding: .85rem 1rem;
  border-radius: 8px;
  font-size: .875rem;
  display: none;
}
.form__msg--success {
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.3);
  color: #4ade80;
}
.form__msg--error {
  background: rgba(248,113,113,.12);
  border: 1px solid rgba(248,113,113,.3);
  color: #f87171;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: .8rem;
  color: rgba(234,241,251,.4);
}
.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  font-size: .8rem;
  color: rgba(234,241,251,.4);
  transition: color .2s;
}
.footer__links a:hover { color: var(--text-inv); }

/* ─── Tooltips ───────────────────────────────────────────────────────── */
.tip {
  position: relative;
  display: inline;
  border-bottom: 1px dashed var(--gray-400);
  cursor: help;
  white-space: nowrap;
}
.tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--text-inv);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  width: max-content;
  max-width: 240px;
  padding: .5rem .75rem;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 200;
}
.tip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--navy);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 200;
}
.tip:hover::after,
.tip:hover::before { opacity: 1; }

/* Tip on dark background (contact/suppliers section) */
.tip--inv {
  border-bottom-color: rgba(234,241,251,.4);
}
.tip--inv::after {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.tip--inv::before { border-top-color: var(--white); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { display: none; }
  .pain__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps::before { display: none; }
  .suppliers__body { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .nav__links { gap: 1.2rem; }
  .nav__links a:not(.nav__lang):not(:last-child) { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .step { grid-template-columns: 56px 1fr; gap: 1rem; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
}
