/* ═══════════════════════════════════════════════════
   RYDION — style.css
   Bebas Neue headline · DM Sans body · #FF6B00 accent
   Masking: mix-blend-mode:multiply (video inside same
   stacking context as the black overlay — bulletproof)
═══════════════════════════════════════════════════ */

:root {
  --orange: #FF6B00;
  --black: #000000;
  --glass-bg: rgba(8, 8, 8, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --muted: rgba(255, 255, 255, 0.5);
  --f-display: 'Bebas Neue', sans-serif;
  --f-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: white;
  font-family: var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── z-0: Full-screen background (video + img fallback) ─ */
/* Always behind everything. Phase 3 hero uses this as bg.  */
.bg-full {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-full__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* img is the fallback behind the video */
.bg-full__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -1;
}

/* ─── Phase 1+2: Portal ──────────────────────────────── */
.portal {
  position: relative;
  height: 125vh;
}

/*
  The black overlay with mix-blend-mode: multiply.
  This fixed overlay multiplies directly against the .bg-full video behind it.
  
  Math:
    black (0,0,0)   × video pixel → 0     → opaque black  ✓
    white (255,255) × video pixel → video → shows through  ✓

  GSAP fades this element's opacity to 0 at end of zoom.
*/
.portal__overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--black);
  mix-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* GSAP scales this — transform-origin set to centre of 'I' by JS */
.portal__text-wrap {
  display: inline-block;
  will-change: transform;
}

/* Plain white — multiply makes this transparent against the video */
.portal__headline {
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 24vw);
  line-height: 0.9;
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
  color: white;
}

/* Span exists solely so JS can measure the I's bounding box */
#zoomI {
  display: inline;
}

/* ─── Phase 3: Landing ───────────────────────────────── */
.landing {
  position: relative;
  z-index: 20;
  background: transparent;
  /* Fixed bg-full video shows through */
  margin-top: -100vh;
  /* Pull landing up so it surfaces the instant the portal overlay clears */
}

/* ─── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  opacity: 0;
  transform: translateY(-100%);
}

.nav__logo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

.nav__link:hover {
  color: white;
}

.nav__link--cta {
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.4rem 1.1rem;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.nav__link--cta:hover {
  background: var(--orange);
  color: var(--black);
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8vw;
}

.hero__card {
  max-width: 560px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 3.5rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(40px);
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero__headline {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero__btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--orange);
  border-radius: 2px;
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ─── Features ───────────────────────────────────────── */
.features {
  padding: 14vh 8vw 10vh;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.88) 30%,
      var(--black) 60%);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
}

.feature-card {
  background: var(--black);
  padding: 3rem 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card__icon {
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.feature-card__body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__brand {
  font-family: var(--f-display);
  letter-spacing: 0.12em;
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ─── Interface ──────────────────────────────────────── */
.interface {
  padding: 14vh 8vw;
  background: transparent;
}

.interface__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.interface__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 3.5rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(40px);
}

.interface__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.interface__headline {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.interface__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

.interface__visual {
  opacity: 0;
  transform: translateY(40px);
}

.interface__wireframe {
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
}

.interface__wire-header {
  height: 20px;
  width: 40%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.interface__wire-slider {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
}

.interface__wire-slider::after {
  content: '';
  position: absolute;
  left: 70%;
  top: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
}

.interface__wire-map {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}

/* ─── Infrastructure ───────────────────────────────────── */
.infrastructure {
  padding: 10vh 8vw;
  display: flex;
  justify-content: center;
}

.infrastructure__panel {
  width: 100%;
  max-width: 900px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 4rem 5rem;
  text-align: center;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(20px);
}

.infrastructure__headline {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.infrastructure__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  margin: 0 auto;
  max-width: 700px;
}

/* ─── Membership ─────────────────────────────────────── */
.membership {
  padding: 10vh 8vw 15vh;
}

.membership__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.membership__card {
  position: relative;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 4rem 3rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
}

.membership__card--annual {
  border-color: var(--orange);
  box-shadow: 0 0 80px rgba(255, 107, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.membership__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--black);
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3rem 1rem;
  border-radius: 12px;
  text-transform: uppercase;
}

.membership__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.membership__headline {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: white;
}

.membership__headline span {
  font-size: 1rem;
  font-family: var(--f-body);
  color: var(--muted);
  letter-spacing: normal;
}

.membership__subtext {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.membership__btn {
  display: block;
  width: 100%;
  padding: 1rem 2.4rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--orange);
  border-radius: 2px;
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.membership__btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ─── Community ──────────────────────────────────────── */
.community {
  padding: 10vh 8vw 10vh;
  text-align: center;
  background: linear-gradient(to top, var(--black), transparent);
}

.community__content {
  opacity: 0;
  transform: translateY(20px);
}

.community__headline {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.community__body {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.community__btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  border: 1px solid var(--orange);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.community__btn:hover {
  background: var(--orange);
  color: var(--black);
}

/* ─── Footer Extra ─────────────────────────────────────── */
.site-footer__links {
  display: flex;
  gap: 2rem;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.25s;
}

.site-footer__links a:hover {
  color: white;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .portal__headline {
    font-size: clamp(4rem, 26vw, 6rem);
  }

  .hero {
    padding: 4rem 6vw;
  }

  .hero__card {
    padding: 2.5rem 2rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .interface__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .membership__card {
    padding: 3rem 1.5rem;
  }

  .membership__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .infrastructure__panel {
    padding: 3rem 2rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════
   FEATURES PAGE (features.html)
═══════════════════════════════════════════════════ */

/* ─── Features CTA (index.html teaser) ───────────────── */
.features__cta {
  text-align: center;
  padding-top: 4rem;
}

/* ─── Nav: logo as link on sub-pages ─────────────────── */
a.nav__logo {
  color: white;
  text-decoration: none;
}

/* ─── Nav: active link state ─────────────────────────── */
.nav__link--active {
  color: white;
}

/* ─── Nav: static modifier (no GSAP portal on sub-pages) */
.nav--static {
  opacity: 1;
  transform: none;
}

/* ─── Language Switcher ───────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 1.5rem;
  border-left: 1px solid var(--glass-border);
  padding-left: 1.5rem;
}

.lang-switcher__link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher__link:hover {
  color: white;
}

.lang-switcher__link--active {
  color: var(--orange);
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--glass-border);
    padding-top: 0.75rem;
  }
}

/* ─── Sub-page body (features, pricing, hq) ─────────── */
/* Clean dark base — decorative patterns live in page-specific classes */
.subpage {
  background-color: #08080a;
}

/* ─── Page Hero ───────────────────────────────────────── */
.page-hero {
  padding: 14vh 8vw 8vh;
}

.page-hero__content {
  max-width: 780px;
  border-left: 3px solid var(--orange);
  padding-left: 2.5rem;
  opacity: 0;
  transform: translateY(25px);
}

.page-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.page-hero__headline {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.page-hero__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
}

/* ─── Tech Features (zig-zag section) ────────────────── */
.tech-features {
  padding: 2vh 8vw 14vh;
}

.tech-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 6rem 0;
  border-top: 1px solid var(--glass-border);
}

.tech-row--reversed .tech-row__text {
  order: 2;
}

.tech-row--reversed .tech-row__visual {
  order: 1;
}

.tech-row__text,
.tech-row__visual {
  opacity: 0;
  transform: translateY(30px);
}

.tech-row__index {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.tech-row__headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
}

.tech-row__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}

/* ─── Tech Wireframe (shared base) ───────────────────── */
.tech-wireframe {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 260px;
}

.tech-wireframe__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* Wireframe 1 — Twistiness Slider */
.tech-wireframe__slider-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  position: relative;
}

.tech-wireframe__slider-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 82%;
  background: var(--orange);
  border-radius: 4px;
  opacity: 0.65;
}

.tech-wireframe__slider-thumb {
  position: absolute;
  left: calc(82% - 10px);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 3px var(--orange), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.tech-wireframe__scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  margin-top: -0.5rem;
}

.tech-wireframe__readout {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--orange);
  margin-top: auto;
}

/* Wireframe 2 — Elevation */
.tech-wireframe__elevation {
  width: 100%;
  height: auto;
  display: block;
  flex-grow: 1;
}

.tech-wireframe__stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

.tech-wireframe__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-wireframe__stat span {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: white;
}

.tech-wireframe__stat small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* Wireframe 3 — Profile badges */
.tech-wireframe__badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-wireframe__badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.35);
}

.tech-wireframe__badge--on {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
}

.tech-wireframe__skill-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
}

.tech-wireframe__skill-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.tech-wireframe__pips {
  display: flex;
  gap: 0.5rem;
}

.tech-wireframe__pip {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.tech-wireframe__pip--on {
  background: var(--orange);
}

/* Wireframe 4 — Road SVG */
.tech-wireframe__road {
  width: 100%;
  height: auto;
  display: block;
  flex-grow: 1;
}

/* ─── Footer: brand as link on sub-pages ─────────────── */
a.site-footer__brand {
  color: white;
  text-decoration: none;
}

/* ─── Responsive: features page ──────────────────────── */
@media (max-width: 768px) {
  .page-hero {
    padding: 10vh 6vw 6vh;
  }

  .page-hero__content {
    padding-left: 1.5rem;
  }

  .tech-features {
    padding: 0 6vw 10vh;
  }

  .tech-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
  }

  .tech-row--reversed .tech-row__text,
  .tech-row--reversed .tech-row__visual {
    order: unset;
  }

  .tech-wireframe {
    padding: 2rem;
    min-height: unset;
  }

  .tech-wireframe__readout {
    font-size: 3rem;
  }
}

/* ═══════════════════════════════════════════════════
   FEATURES PAGE — ABSTRACT MAP BACKGROUND
   Layer order (top → bottom):
   1. Radial vignette     — darkens edges, preserves centre
   2. Linear gradient     — kills top/bottom for nav/footer contrast
   3. SVG road network    — the backroads watermark
═══════════════════════════════════════════════════ */

.page-features {
  background-color: #08080a;
  background-image:
    repeating-radial-gradient(circle at 22% 32%,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.025) 29px,
      transparent 30px),
    repeating-radial-gradient(circle at 72% 68%,
      transparent 0,
      transparent 44px,
      rgba(255, 255, 255, 0.018) 45px,
      transparent 46px),
    repeating-radial-gradient(circle at 45% 85%,
      transparent 0,
      transparent 36px,
      rgba(255, 255, 255, 0.02) 37px,
      transparent 38px),
    radial-gradient(ellipse 140% 120% at 50% 50%,
      transparent 40%,
      rgba(8, 8, 10, 0.95) 90%),
    linear-gradient(180deg,
      rgba(8, 8, 10, 0.9) 0%,
      transparent 14%,
      transparent 86%,
      rgba(8, 8, 10, 0.9) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900'%3E%3Cg fill='none' stroke='%23FF5722' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-20,280 C150,260 240,120 420,180 S680,350 860,290 1100,140 1460,200' stroke-width='2' stroke-opacity='0.13'/%3E%3Cpath d='M-20,600 C120,575 200,680 380,640 S620,510 800,560 1050,640 1460,600' stroke-width='1.5' stroke-opacity='0.09'/%3E%3Cpath d='M220,-20 C240,120 160,240 210,380 S300,520 250,650 190,790 240,920' stroke-width='1.5' stroke-opacity='0.11'/%3E%3Cpath d='M1180,-20 C1160,100 1230,220 1190,360 S1110,480 1160,610 1200,740 1165,920' stroke-width='1.5' stroke-opacity='0.09'/%3E%3Cpath d='M580,380 C640,340 720,260 800,310 S840,430 790,470 700,500 740,580' stroke-width='1.5' stroke-opacity='0.12'/%3E%3Cpath d='M900,920 C930,800 870,700 920,580 S1020,460 990,340 940,220 990,100' stroke-width='1.5' stroke-opacity='0.08'/%3E%3Cpath d='M-20,120 C100,110 180,60 320,90 S500,160 640,130 820,80 1000,110 1200,150 1460,120' stroke-width='1' stroke-opacity='0.07'/%3E%3Cpath d='M-20,760 C160,748 260,810 420,782 S600,720 760,745 940,780 1120,760 1300,745 1460,758' stroke-width='1' stroke-opacity='0.06'/%3E%3Cpath d='M-20,450 C80,440 140,500 260,470 S380,410 480,440 560,480 640,455' stroke-width='1' stroke-opacity='0.08'/%3E%3Cpath d='M1100,350 C1080,420 1130,490 1105,560 S1060,620 1095,685' stroke-width='1' stroke-opacity='0.07'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, auto, auto, auto, cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* ─── Row separators: orange tint on map bg ───────────── */
.page-features .tech-row {
  border-top-color: rgba(255, 87, 34, 0.15);
}

/* ─── Text column: glass panel to sit above the map ─────
   Matches wireframe depth so both sides of a row feel
   like two panels floating over the road network.       */
.page-features .tech-row__text {
  padding: 2.5rem;
  background: rgba(8, 8, 10, 0.62);
  border: 1px solid rgba(255, 87, 34, 0.14);
  border-radius: 4px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ─── Wireframe column: heavier glass, orange border ─── */
.page-features .tech-wireframe {
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 87, 34, 0.2);
  box-shadow: 0 0 48px rgba(255, 87, 34, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

/* ─── Responsive: drop fixed attachment on mobile ───────
   background-attachment:fixed + cover has poor perf on
   iOS Safari; scroll is safe everywhere.                */
@media (max-width: 768px) {
  .page-features {
    background-attachment: scroll;
  }

  .page-features .tech-row__text {
    padding: 1.5rem;
  }
}

/* ─── UI Mockup (screenshot container) ─────────────── */
.ui-mockup {
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 0, 0.3);
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.1);
  overflow: hidden;
}

.ui-mockup img {
  width: 100%;
  display: block;
}

.ui-mockup--svg {
  background: #1c1c1e;
  padding: 2rem;
}

/* ─── Roadmap Section ───────────────────────────────── */
.roadmap {
  padding: 10vh 8vw;
  background: #08080a;
  border-top: 1px solid var(--glass-border);
}

.roadmap__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.roadmap__header {
  max-width: 780px;
  border-top: 3px solid var(--orange);
  padding-top: 2.5rem;
  margin-bottom: 4rem;
  text-align: left;
}

.roadmap__eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}

.roadmap__headline {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 2rem;
}

.roadmap__intro {
  font-family: var(--f-body);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

.roadmap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.roadmap__card {
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  text-align: left;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.roadmap__card:hover {
  border-color: rgba(255, 87, 34, 0.5);
  box-shadow: 0 0 28px rgba(255, 87, 34, 0.12);
}

.roadmap__card-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.roadmap__card-body {
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.roadmap__footer {
  color: var(--muted);
  font-family: var(--f-body);
  font-size: 0.95rem;
}

.roadmap__discord-link {
  color: var(--orange);
  text-decoration: none;
}

.roadmap__discord-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .roadmap__grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   PRICING PAGE
═══════════════════════════════════════════════════ */

/* ─── Pricing Hero ──────────────────────────────── */
.pricing-hero {
  padding: 14vh 8vw 6vh;
  text-align: center;
}

.pricing-hero__content {
  max-width: 680px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(25px);
}

.pricing-hero__eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.pricing-hero__headline {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  color: #fff;
  margin-bottom: 1.5rem;
}

.pricing-hero__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Comparison Table ──────────────────────────── */
.pricing-table-section {
  padding: 4vh 8vw 6vh;
}

.pricing-table {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(25px);
}

.pricing-table__grid {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 48px rgba(255, 87, 34, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pricing-table__head-row {
  border-bottom: 1px solid var(--glass-border);
}

.pricing-table__th {
  padding: 1.1rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.pricing-table__th--feature {
  text-align: left;
  width: 55%;
}

.pricing-table__th--premium {
  color: var(--orange);
  background: rgba(255, 107, 0, 0.05);
}

.pricing-table__row {
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.2s;
}

.pricing-table__row:last-child {
  border-bottom: none;
}

.pricing-table__row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table__td {
  padding: 1rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.pricing-table__td--label {
  text-align: left;
}

.pricing-table__td--check {
  text-align: center;
}

.pricing-table__icon {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-table__icon--yes {
  color: var(--orange);
}

.pricing-table__icon--yes-free {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-table__icon--no {
  color: rgba(255, 255, 255, 0.18);
}

/* Highlight premium column across all rows */
.pricing-table__td:last-child,
.pricing-table__th--premium {
  background: rgba(255, 107, 0, 0.04);
}

/* Group header rows */
.pricing-table__group-row {
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table__group-label {
  padding: 0.65rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-align: left;
}

.pricing-table__group-tag {
  margin-left: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  vertical-align: middle;
}

/* Value text (e.g. "1 Route" / "3 Routes") */
.pricing-table__val {
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.pricing-table__val--premium {
  color: var(--orange);
  font-weight: 500;
}

/* Coming Soon label */
.pricing-table__coming-soon,
.status--coming-soon {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ─── Pricing Cards ─────────────────────────────── */
.pricing-cards {
  padding: 6vh 8vw 8vh;
}

.pricing-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 4px;
  padding: 2.5rem;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 0 48px rgba(255, 87, 34, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(30px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.pricing-card--featured {
  border-color: rgba(255, 87, 34, 0.5);
  background: rgba(255, 87, 34, 0.06);
  box-shadow: 0 0 60px rgba(255, 87, 34, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pricing-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 60px rgba(255, 87, 34, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  right: 1.75rem;
  background: var(--orange);
  color: #000;
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 3px 3px;
}

.pricing-card__header {
  margin-bottom: 2rem;
}

.pricing-card__plan {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.4rem;
}

.pricing-card__currency {
  font-family: var(--f-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
  align-self: flex-start;
  margin-top: 0.6rem;
}

.pricing-card__amount {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: #fff;
}

.pricing-card__period {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.2rem;
}

.pricing-card__saving {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange);
}

.pricing-card__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-card__perks li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-card__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.pricing-card__btn {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 3px;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.pricing-card__btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card__btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #000;
  font-weight: 700;
}

.pricing-card__btn--primary:hover {
  background: #ff8533;
  border-color: #ff8533;
}

/* ─── FAQ ───────────────────────────────────────── */
.faq {
  padding: 4vh 8vw 14vh;
  max-width: 820px;
  margin: 0 auto;
}

.faq__headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  color: #fff;
  margin-bottom: 3rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(8, 8, 10, 0.72);
  box-shadow: 0 0 48px rgba(255, 87, 34, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(25px);
}

.faq__item {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.faq__answer {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ─── Responsive: pricing page ──────────────────── */
@media (max-width: 768px) {
  .pricing-hero {
    padding: 10vh 6vw 4vh;
  }

  .pricing-table-section {
    padding: 2vh 6vw 4vh;
  }

  .pricing-cards {
    padding: 4vh 6vw 6vh;
  }

  .pricing-cards__grid {
    grid-template-columns: 1fr;
  }

  .faq {
    padding: 2vh 6vw 10vh;
    max-width: unset;
  }

  .faq__item {
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   HQ PAGE
═══════════════════════════════════════════════════ */

/* ─── HQ Hero ───────────────────────────────────── */
.hq-hero {
  padding: 14vh 8vw 8vh;
}

.hq-hero__content {
  max-width: 680px;
  border-left: 3px solid var(--orange);
  padding-left: 2.5rem;
  opacity: 0;
  transform: translateY(25px);
}

.hq-hero__eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hq-hero__headline {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.92;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hq-hero__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
}

/* ─── Benefits Grid ─────────────────────────────── */
.hq-benefits {
  padding: 2vh 8vw 10vh;
}

.hq-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hq-benefits__card {
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 0 48px rgba(255, 87, 34, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(30px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.hq-benefits__card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 60px rgba(255, 87, 34, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hq-benefits__icon {
  font-size: 1.6rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.hq-benefits__title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1;
}

.hq-benefits__body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ─── Discord CTA ───────────────────────────────── */
.hq-cta {
  padding: 10vh 8vw 14vh;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%,
      rgba(88, 101, 242, 0.07) 0%,
      transparent 70%);
}

.hq-cta__content {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(25px);
}

.hq-cta__eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(88, 101, 242, 0.85);
  margin-bottom: 1rem;
}

.hq-cta__headline {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 0.9;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hq-cta__body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 3rem;
}

.hq-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.5rem;
  background: #5865F2;
  border: 1px solid #5865F2;
  border-radius: 3px;
  color: #fff;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 0 48px rgba(88, 101, 242, 0.28);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hq-cta__btn:hover {
  background: #4752c4;
  box-shadow: 0 0 72px rgba(88, 101, 242, 0.45);
  transform: translateY(-2px);
}

.hq-cta__btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* ─── Responsive: HQ page ───────────────────────── */
@media (max-width: 768px) {
  .hq-hero {
    padding: 10vh 6vw 6vh;
  }

  .hq-hero__content {
    padding-left: 1.5rem;
  }

  .hq-benefits {
    padding: 0 6vw 8vh;
  }

  .hq-benefits__grid {
    grid-template-columns: 1fr;
  }

  .hq-cta {
    padding: 8vh 6vw 10vh;
  }
}