/* RevUp marketing site — shared chrome & utilities
   Loaded by both index.html and partners.html so the nav + footer
   stay perfectly in sync. Keep this tiny. */

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg-1); overflow-x: hidden; }
body { font-family: Inter, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .container { padding: 0 22px; } }

/* ───────── NAV ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav .wm { height: 24px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: #BDBDBD;
  padding: 6px 0; transition: color .15s; position: relative;
}
.nav-links a:hover { color: #F7F7F5; }
.nav-links a.active { color: #F7F7F5; font-weight: 700; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--revup-red);
}
.nav .spacer { flex: 1; }
.nav .login { font-size: 13px; font-weight: 500; color: #BDBDBD; }
.nav .login:hover { color: #F7F7F5; }

/* ── Language switcher ── */
.lang-switch {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 3px;
}
.lang-btn {
  background: none; border: none;
  color: #9E9E9E;
  font: 600 11px/1 'Open Sans', sans-serif;
  letter-spacing: 0.06em;
  padding: 5px 9px; border-radius: 5px;
  cursor: pointer; transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-btn:hover { color: #F7F7F5; }
.lang-btn.active { background: rgba(255,255,255,0.14); color: #F7F7F5; }

/* ── Hamburger button ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 7px; border-radius: 8px; transition: background 0.15s; flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #F7F7F5; border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  position: absolute; top: 72px; left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  transition: max-height 0.32s ease, opacity 0.22s ease;
}
.mobile-menu.open { max-height: 440px; opacity: 1; pointer-events: auto; }
.mobile-menu-inner { padding: 8px 22px 28px; display: flex; flex-direction: column; gap: 0; }
.mobile-nav-links { list-style: none; padding: 0; margin: 0 0 4px; }
.mobile-nav-links li a {
  display: block; padding: 15px 0;
  font-size: 15px; font-weight: 600; color: #BDBDBD;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-nav-links li:last-child a { border-bottom: none; }
.mobile-nav-links li a:hover,
.mobile-nav-links li a.active { color: #F7F7F5; }
.mobile-lang {
  display: flex; gap: 8px;
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}
.mobile-lang .lang-btn {
  flex: 1; text-align: center;
  padding: 9px 6px; font-size: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}
.mobile-lang .lang-btn.active {
  border-color: rgba(175,12,12,0.6);
  color: #F7F7F5;
  background: rgba(175,12,12,0.14);
}

/* ── Responsive nav breakpoint ── */
@media (max-width: 768px) {
  .nav-links       { display: none; }
  .nav-inner > .lang-switch { display: none; }
  .nav-cta         { display: none; }
  .hamburger       { display: flex; }
  .nav-inner       { gap: 16px; }
}
.btn-red {
  background: var(--revup-red); color: #F7F7F5;
  border: none; padding: 10px 18px; border-radius: 10px;
  font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: background .12s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-red:hover { background: #C41616; }
.btn-red:active { background: #800505; }
.btn-ghost {
  background: transparent; color: #F7F7F5;
  border: 1px solid rgba(247,247,245,0.18);
  padding: 10px 18px; border-radius: 10px;
  font-family: "Open Sans", sans-serif; font-weight: 700; font-size: 13px;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--revup-red); }

/* ───────── shared section bits ───────── */
.sec-eyebrow {
  font-family: Inter; font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--revup-red); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.sec-eyebrow .bar { width: 24px; height: 1px; background: var(--revup-red); }
.sec-title {
  font: 900 clamp(36px, 5vw, 64px)/1.0 Inter, sans-serif;
  letter-spacing: -0.025em;
  max-width: 800px;
  margin: 0 0 22px;
  text-wrap: balance;
}
.sec-sub {
  font-size: 18px; line-height: 1.55; color: #BDBDBD;
  max-width: 580px; margin: 0;
}

/* Display-style heading with one word in Nexa red */
.h-display {
  font-family: Inter, sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
  color: #F7F7F5;
  text-wrap: balance;
}
.h-display em {
  font-style: normal;
  color: var(--revup-red);
  font-family: "Nexa", "Archivo Black", Inter, sans-serif;
  letter-spacing: -0.02em;
}

/* Eyebrow pill in heroes */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(247,247,245,0.06);
  border: 1px solid rgba(247,247,245,0.10);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #E0E0E0; font-weight: 700;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--revup-red); box-shadow: 0 0 12px var(--revup-red); }

/* ───────── form fields ───────── */
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font: 700 11px/1 Inter; letter-spacing: .1em; text-transform: uppercase;
  color: #9E9E9E;
}
.field input, .field select {
  height: 48px; border-radius: 12px; padding: 0 16px;
  background: #161616; border: 1px solid rgba(255,255,255,0.06);
  color: #F7F7F5; font: 400 15px/1 Inter;
  outline: none; transition: border-color .15s, background .15s;
  width: 100%;
}
.field input::placeholder { color: #616161; }
.field input:focus, .field select:focus {
  border-color: var(--revup-red); background: #1a1010;
}

/* ───────── FOOTER ───────── */
footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 0 30px; margin-top: 80px; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-top .brand img { height: 24px; width: auto; }
.foot-top .brand p { color: #9E9E9E; font-size: 13px; max-width: 280px; margin: 16px 0 22px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); color: #BDBDBD; transition: background .15s, color .15s;
}
.socials a:hover { background: var(--revup-red); color: #F7F7F5; }
.foot-col h5 {
  font: 700 11px/1 Inter; color: #757575; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul a { color: #BDBDBD; font-size: 14px; }
.foot-col ul a:hover { color: #F7F7F5; }
.foot-bot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 50px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: #757575;
}
.foot-bot .legal { display: flex; gap: 18px; }

/* Lucide-ish line icon */
.ic { stroke-width: 1.6; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── modal ───────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%; max-width: 480px; background: #121212;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 36px;
  box-shadow: 0 40px 100px rgba(0,0,0,.6);
}
.modal h3 {
  font: 900 28px/1 Inter; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal p { font-size: 14px; color: #BDBDBD; margin: 0 0 24px; }
.modal form { display: flex; flex-direction: column; gap: 18px; }
.modal .actions { display: flex; gap: 10px; margin-top: 8px; }
.modal .close {
  position: absolute; right: 18px; top: 18px;
  background: transparent; border: none; cursor: pointer;
  color: #9E9E9E; padding: 4px; font-size: 20px; line-height: 1;
}
.modal-wrap { position: relative; }
.modal-success {
  text-align: center; padding: 12px 0;
}
.modal-success .ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(175,12,12,0.12); color: var(--revup-red);
  display: grid; place-items: center; margin: 0 auto 20px;
  border: 1px solid rgba(175,12,12,0.3);
}
