/* ===== Reachnex — palette: ink aubergine + coral + cream ===== */
:root {
  --ink: #130b2a;          /* deep indigo ink */
  --ink-2: #1c1240;        /* raised surface */
  --ink-3: #271a54;        /* borders / alt bg */
  --coral: #8b5cf6;        /* primary accent (brand violet) */
  --coral-soft: #a78bfa;
  --gold: #c4b5fd;         /* secondary accent (lavender) */
  --cream: #f4f1fb;        /* light bg */
  --cream-2: #ffffff;
  --text: #f1ecfb;         /* light text on ink */
  --text-dim: #afa2d0;     /* muted on ink */
  --text-dark: #1e1440;    /* dark text on cream */
  --text-dark-dim: #64598a;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --shadow: 0 24px 60px -24px rgba(10, 4, 24, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--ink);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, .brand__name { font-family: "Sora", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary { background: var(--coral); color: #ffffff; }
.btn--primary:hover { background: var(--coral-soft); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(139,92,246,.6); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.22); }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral-soft); transform: translateY(-2px); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px;
  font-weight: 600; color: var(--coral); margin: 0 0 14px;
}
.eyebrow--light { color: var(--gold); }

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23,16,43,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark {
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  box-shadow: 0 0 18px rgba(139,92,246,.5);
}
.brand__logo { height: 28px; width: auto; display: block; }
.brand__name { font-size: 19px; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { font-size: 15px; color: var(--text-dim); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__lang { font-size: 13px; color: var(--text-dim); letter-spacing: .06em; }
.nav__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero__glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139,92,246,.32), transparent 70%);
  filter: blur(20px);
}
.hero__inner { position: relative; text-align: center; }
.hero__title { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 22px; font-weight: 800; }
.hero__sub { max-width: 660px; margin: 0 auto 34px; font-size: 18px; color: var(--text-dim); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08);
}
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.stat__num { font-family: "Sora"; font-size: 26px; font-weight: 700; color: var(--text); }
.stat__label { font-size: 13.5px; color: var(--text-dim); }

/* ===== sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--ink-2); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.section__lede { font-size: 17.5px; color: var(--text-dim); margin: 0; }

/* ===== cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px 28px; transition: transform .2s ease, border-color .2s ease;
}
.section--alt .card { background: var(--ink-3); }
.card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.45); }
.card__icon {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 22px;
  border-radius: 12px; margin-bottom: 18px; color: var(--coral);
  background: rgba(139,92,246,.12);
}
.card h3 { font-size: 20px; margin: 0 0 10px; }
.card p { color: var(--text-dim); margin: 0; font-size: 15.5px; }

/* ===== faq ===== */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--ink-3); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: 4px 22px; transition: border-color .2s;
}
.faq__item[open] { border-color: rgba(139,92,246,.4); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--coral); font-size: 22px; font-weight: 400; transition: transform .2s;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 18px; color: var(--text-dim); font-size: 15.5px; }

/* ===== portfolio logos ===== */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-tile {
  position: relative; height: 110px; border-radius: var(--radius-sm);
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center; font-family: "Sora"; font-weight: 700;
  font-size: 21px; letter-spacing: -.01em; color: var(--text);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.logo-tile:hover { transform: translateY(-4px); color: var(--coral-soft); border-color: rgba(139,92,246,.45); }
.logo-tile em {
  position: absolute; top: 10px; right: 12px; font-style: normal; font-family: "Inter";
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  color: var(--gold); background: rgba(196,181,253,.12); padding: 3px 8px; border-radius: 999px;
}

/* ===== metrics ===== */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-bottom: 64px; text-align: center;
}
.metric { padding: 26px 12px; background: var(--ink-3); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.07); }
.metric__num { display: block; font-family: "Sora"; font-size: 34px; font-weight: 800; color: var(--coral); line-height: 1; margin-bottom: 8px; }
.metric__label { font-size: 13px; color: var(--text-dim); }

/* ===== people ===== */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.person__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-3), var(--coral) 320%);
  margin-bottom: 16px; border: 1px solid rgba(255,255,255,.08);
}
.person h3 { margin: 0 0 4px; font-size: 18px; }
.person p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* ===== partners ===== */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner {
  height: 90px; display: grid; place-items: center; border-radius: var(--radius-sm);
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  font-family: "Sora"; font-weight: 700; font-size: 20px; color: var(--text-dim);
  transition: color .2s, border-color .2s;
}
.partner:hover { color: var(--text); border-color: rgba(139,92,246,.4); }

/* ===== cta ===== */
.cta { position: relative; overflow: hidden; padding: 110px 0; text-align: center; background: var(--ink-2); }
.cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 0%, rgba(139,92,246,.26), transparent 70%);
}
.cta__inner { position: relative; }
.cta__title { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.02em; margin: 0 0 14px; }
.cta__sub { color: var(--text-dim); font-size: 18px; margin: 0 0 30px; }

/* ===== apply form ===== */
.apply-form {
  max-width: 460px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 16px;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.field input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 15.5px;
  font-family: "Inter", sans-serif; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: var(--text-dim); opacity: .7; }
.field input:focus {
  outline: none; border-color: var(--coral); background: rgba(255,255,255,.06);
}
.apply-form__submit { margin-top: 6px; width: 100%; }

.apply-success {
  max-width: 460px; margin: 8px auto 0; padding: 34px 28px; text-align: center;
  background: var(--ink-3); border: 1px solid rgba(139,92,246,.4); border-radius: var(--radius);
}
.apply-success__icon {
  width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center;
  border-radius: 50%; font-size: 24px; font-weight: 700; color: #ffffff;
  background: var(--coral);
}
.apply-success h3 { margin: 0 0 8px; font-size: 21px; }
.apply-success p { margin: 0; color: var(--text-dim); font-size: 15.5px; }

/* ===== footer ===== */
.footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); padding: 64px 0 34px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__logo { height: 84px; width: auto; display: block; }
.footer__tag { color: var(--text-dim); margin: 16px 0 0; font-size: 15px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); font-weight: 600; }
.footer__col a { color: var(--text); font-size: 15px; transition: color .2s; }
.footer__col a:hover { color: var(--coral-soft); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13.5px; color: var(--text-dim);
}

/* ===== responsive ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--ink-2); padding: 18px 24px; gap: 16px; margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .cards, .logos, .partners, .people { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .cards, .people { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; }
  .footer__cols { gap: 36px; }
}
