/* ============================================================
   RideXplorer — Main Stylesheet
   WordPress Plugin version 1.0.0
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
#ridexplorer-app *,
#ridexplorer-app *::before,
#ridexplorer-app *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --rx-ice:       #b8dff0;
  --rx-ice-mid:   #7fc4e8;
  --rx-ice-deep:  #3a9fd4;
  --rx-sky:       #daeef8;
  --rx-sky-pale:  #eef7fc;
  --rx-snow:      #f4f9fd;
  --rx-mountain:  #5ba8cc;
  --rx-accent:    #2e8bbf;
  --rx-accent2:   #1a6fa3;
  --rx-dark:      #0d2233;
  --rx-dark2:     #143248;
  --rx-muted:     rgba(13,34,51,0.52);
  --rx-border:    rgba(58,159,212,0.18);
  --rx-glass:     rgba(255,255,255,0.58);
  --rx-font-display: 'Bebas Neue', sans-serif;
  --rx-font-head:    'Syne', sans-serif;
  --rx-font-body:    'DM Sans', sans-serif;
  --rx-ease-out:   cubic-bezier(0.16,1,0.3,1);
  --rx-ease-apple: cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── WRAPPER ──────────────────────────────────────────────── */
#ridexplorer-app {
  background: linear-gradient(160deg,#daeef8 0%,#eef7fc 40%,#c8e8f5 100%);
  color: var(--rx-dark);
  font-family: var(--rx-font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* When used as full-page template, also style body */
body.ridexplorer-fullpage {
  background: linear-gradient(160deg,#daeef8 0%,#eef7fc 40%,#c8e8f5 100%);
  margin: 0;
  padding: 0;
}

#ridexplorer-app ::-webkit-scrollbar { width: 5px; }
#ridexplorer-app ::-webkit-scrollbar-thumb { background: var(--rx-ice-mid); border-radius: 3px; }

/* ── UTILITIES ────────────────────────────────────────────── */
#ridexplorer-app .rx-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

#ridexplorer-app .rx-gradient-text {
  background: linear-gradient(135deg, var(--rx-accent2), var(--rx-ice-deep), var(--rx-mountain));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#ridexplorer-app .rx-glass {
  background: var(--rx-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--rx-border);
  border-radius: 20px;
}

#ridexplorer-app .rx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rx-accent2), var(--rx-accent));
  color: #fff;
  font-family: var(--rx-font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(26,111,163,0.28);
  transition: transform .4s var(--rx-ease-out), box-shadow .4s var(--rx-ease-out);
}
#ridexplorer-app .rx-btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(26,111,163,0.38);
}
#ridexplorer-app .rx-btn-primary:active { transform: scale(.98); }

#ridexplorer-app .rx-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 980px;
  cursor: pointer;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(58,159,212,0.3);
  color: var(--rx-accent2);
  font-family: var(--rx-font-head);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all .4s var(--rx-ease-out);
}
#ridexplorer-app .rx-btn-ghost:hover {
  background: rgba(255,255,255,0.85);
  border-color: var(--rx-accent);
  transform: scale(1.03);
}

/* ── PAGE SYSTEM ──────────────────────────────────────────── */
#ridexplorer-app .rx-page { display: none; }
#ridexplorer-app .rx-page.active { display: block; }
#ridexplorer-app .rx-page-enter { animation: rxPageIn .6s var(--rx-ease-out) forwards; }
@keyframes rxPageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SNOW BACKGROUND ──────────────────────────────────────── */
#rx-snow-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.rx-flake {
  position: absolute;
  top: -10px;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  animation: rxFall linear infinite;
}
@keyframes rxFall {
  to { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ── LANGUAGE SWITCHER ────────────────────────────────────── */
#ridexplorer-app .rx-lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
#ridexplorer-app .rx-lang-btn {
  padding: 4px 9px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: var(--rx-font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--rx-muted);
  cursor: pointer;
  transition: all .25s;
}
#ridexplorer-app .rx-lang-btn:hover {
  color: var(--rx-accent2);
  background: rgba(58,159,212,.08);
}
#ridexplorer-app .rx-lang-btn.active {
  color: var(--rx-accent2);
  background: rgba(58,159,212,.12);
  border-color: rgba(58,159,212,.28);
}

/* ── NAV ──────────────────────────────────────────────────── */
#rx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(238,247,252,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(58,159,212,0.12);
  transition: background .4s, box-shadow .4s;
}
#rx-nav.rx-scrolled {
  background: rgba(238,247,252,0.95);
  box-shadow: 0 1px 0 rgba(58,159,212,0.1), 0 4px 24px rgba(13,34,51,0.04);
}
#ridexplorer-app .rx-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#ridexplorer-app .rx-nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .3s;
  background: none;
  border: none;
}
#ridexplorer-app .rx-nav-logo:hover { opacity: .75; }
#ridexplorer-app .rx-nav-logo img {
  width: 32px; height: 32px;
  border-radius: 9px;
  object-fit: cover;
}
#ridexplorer-app .rx-nav-logo span {
  font-family: var(--rx-font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--rx-dark);
  letter-spacing: -.025em;
}
#ridexplorer-app .rx-nav-logo span b { color: var(--rx-accent2); }
#ridexplorer-app .rx-nav-links { display: flex; gap: 0; }
#ridexplorer-app .rx-nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: var(--rx-font-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--rx-muted);
  cursor: pointer;
  transition: color .25s, background .25s;
  letter-spacing: -.01em;
}
#ridexplorer-app .rx-nav-link:hover { color: var(--rx-dark); }
#ridexplorer-app .rx-nav-link.active { color: var(--rx-dark); font-weight: 600; }
#ridexplorer-app .rx-nav-right { display: flex; align-items: center; gap: 8px; }
#ridexplorer-app .rx-nav-cta {
  padding: 7px 18px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  background: var(--rx-dark);
  color: #fff;
  font-family: var(--rx-font-body);
  font-weight: 600;
  font-size: .8rem;
  transition: background .3s, transform .3s var(--rx-ease-out);
}
#ridexplorer-app .rx-nav-cta:hover { background: var(--rx-accent2); transform: scale(1.03); }
#ridexplorer-app .rx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#ridexplorer-app .rx-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--rx-dark);
  border-radius: 2px;
  transition: .3s;
}
#ridexplorer-app .rx-mobile-menu {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0;
  z-index: 199;
  background: rgba(238,247,252,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rx-border);
  padding: 12px 28px 20px;
  flex-direction: column;
  gap: 2px;
}
#ridexplorer-app .rx-mobile-menu.open {
  display: flex;
  animation: rxSlideDown .3s var(--rx-ease-out);
}
@keyframes rxSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#ridexplorer-app .rx-mobile-link {
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: var(--rx-font-body);
  font-size: .95rem;
  font-weight: 500;
  color: var(--rx-dark);
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
#ridexplorer-app .rx-mobile-link:hover,
#ridexplorer-app .rx-mobile-link.active {
  background: rgba(58,159,212,.08);
  color: var(--rx-accent2);
}
#ridexplorer-app .rx-mobile-lang {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  margin-top: 4px;
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
#ridexplorer-app [data-rx-anim] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--rx-ease-out), transform .9s var(--rx-ease-out);
  will-change: transform, opacity;
}
#ridexplorer-app [data-rx-anim="fade-left"]  { transform: translateX(-40px); }
#ridexplorer-app [data-rx-anim="fade-right"] { transform: translateX(40px); }
#ridexplorer-app [data-rx-anim="fade-scale"] { transform: scale(.94) translateY(20px); }
#ridexplorer-app [data-rx-anim="fade-up-slow"] { transform: translateY(50px); transition-duration: 1.3s; }
#ridexplorer-app [data-rx-anim].in { opacity: 1; transform: none; }
#ridexplorer-app [data-rx-delay="1"] { transition-delay: .1s; }
#ridexplorer-app [data-rx-delay="2"] { transition-delay: .2s; }
#ridexplorer-app [data-rx-delay="3"] { transition-delay: .3s; }
#ridexplorer-app [data-rx-delay="4"] { transition-delay: .4s; }
#ridexplorer-app [data-rx-delay="5"] { transition-delay: .5s; }
#ridexplorer-app [data-rx-delay="6"] { transition-delay: .6s; }

/* ── DIVIDER ──────────────────────────────────────────────── */
#ridexplorer-app .rx-divider {
  height: 1px;
  margin: 0 auto;
  max-width: 800px;
  background: linear-gradient(90deg, transparent, var(--rx-ice-mid), transparent);
  opacity: .6;
}

/* ── PAGE HERO ────────────────────────────────────────────── */
#ridexplorer-app .rx-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
#ridexplorer-app .rx-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .14;
  transform: scale(1.06);
  animation: rxHeroZoom 12s var(--rx-ease-apple) forwards;
}
@keyframes rxHeroZoom { to { transform: scale(1.0); } }
#ridexplorer-app .rx-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(218,238,248,.75), rgba(184,223,240,.55));
}
#ridexplorer-app .rx-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}
#ridexplorer-app .rx-page-hero-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 980px;
  margin-bottom: 20px;
  background: rgba(58,159,212,0.12);
  border: 1px solid rgba(58,159,212,0.28);
  font-family: var(--rx-font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rx-accent2);
  animation: rxBadgePop .6s var(--rx-ease-out) .1s both;
}
@keyframes rxBadgePop {
  from { opacity: 0; transform: scale(.8) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
#ridexplorer-app .rx-page-hero h1 {
  font-family: var(--rx-font-display);
  font-size: clamp(3rem,8vw,6rem);
  line-height: .93;
  letter-spacing: .025em;
  color: var(--rx-dark);
  margin-bottom: 20px;
  animation: rxHeroTitle .9s var(--rx-ease-out) .2s both;
}
@keyframes rxHeroTitle {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
#ridexplorer-app .rx-page-hero h1 span { color: var(--rx-accent2); }
#ridexplorer-app .rx-page-hero p {
  font-size: 1.05rem;
  color: var(--rx-muted);
  line-height: 1.72;
  max-width: 540px;
  margin: 0 auto;
  animation: rxHeroSub 1s var(--rx-ease-out) .4s both;
}
@keyframes rxHeroSub {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── SECTIONS ─────────────────────────────────────────────── */
#ridexplorer-app .rx-section { padding: 100px 0; }
#ridexplorer-app .rx-section-eyebrow {
  font-family: var(--rx-font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rx-accent);
  display: block;
  margin-bottom: 14px;
}
#ridexplorer-app .rx-section-title {
  font-family: var(--rx-font-head);
  font-weight: 800;
  font-size: clamp(2.2rem,4vw,3.2rem);
  color: var(--rx-dark);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
#ridexplorer-app .rx-section-sub {
  font-size: 1rem;
  color: var(--rx-muted);
  line-height: 1.78;
  max-width: 520px;
}

/* ── HERO (HOME) ──────────────────────────────────────────── */
#ridexplorer-app .rx-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg,#bde0f2 0%,#daeef8 50%,#b0d6ed 100%);
}
#ridexplorer-app .rx-hero .rx-container {
  display: grid;
  grid-template-columns: 1fr min(44vw,460px);
  gap: 40px;
  align-items: center;
  width: 100%;
}
#ridexplorer-app .rx-hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?w=1920&q=70') center/cover;
  opacity: .09;
  transform: scale(1.1);
  animation: rxHeroBgZoom 16s var(--rx-ease-apple) forwards;
}
@keyframes rxHeroBgZoom { to { transform: scale(1.02); } }
#ridexplorer-app .rx-hero-circle {
  position: absolute;
  right: -10vw; top: 50%;
  transform: translateY(-50%);
  width: min(70vw,760px); height: min(70vw,760px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,196,232,.18) 0%, rgba(184,223,240,.06) 60%, transparent 80%);
  animation: rxCirclePulse 6s ease-in-out infinite;
}
@keyframes rxCirclePulse {
  0%,100% { transform: translateY(-50%) scale(1); }
  50%     { transform: translateY(-50%) scale(1.03); }
}
#ridexplorer-app .rx-hero-content { position: relative; z-index: 2; max-width: 480px; }
#ridexplorer-app .rx-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 980px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(58,159,212,0.22);
  font-size: .75rem;
  font-weight: 600;
  color: var(--rx-accent2);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: rxFadeUp .7s var(--rx-ease-out) .3s forwards;
}
#ridexplorer-app .rx-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rx-accent);
  animation: rxBlink 2s infinite;
}
@keyframes rxBlink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46,139,191,0.4); }
  50%     { opacity: .4; box-shadow: 0 0 0 6px rgba(46,139,191,0); }
}
#ridexplorer-app .rx-hero h1 {
  font-family: var(--rx-font-display);
  font-size: clamp(4rem,9vw,8rem);
  line-height: .9;
  letter-spacing: .03em;
  color: var(--rx-dark);
  margin-bottom: 28px;
}
#ridexplorer-app .rx-hero h1 .rx-line { display: block; overflow: hidden; }
#ridexplorer-app .rx-hero h1 .rx-line .rx-t {
  display: block;
  transform: translateY(105%);
  animation: rxLineReveal .9s var(--rx-ease-out) forwards;
}
#ridexplorer-app .rx-hero h1 .rx-line:nth-child(1) .rx-t { animation-delay: .45s; }
#ridexplorer-app .rx-hero h1 .rx-line:nth-child(2) .rx-t { animation-delay: .6s; }
#ridexplorer-app .rx-hero h1 .rx-line:nth-child(3) .rx-t { animation-delay: .75s; color: var(--rx-accent2); }
@keyframes rxLineReveal { to { transform: translateY(0); } }
#ridexplorer-app .rx-hero-sub {
  font-size: 1.12rem;
  color: var(--rx-muted);
  line-height: 1.75;
  max-width: 100%;
  margin-bottom: 38px;
  opacity: 0;
  animation: rxFadeUp .8s var(--rx-ease-out) 1s forwards;
}
#ridexplorer-app .rx-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rxFadeUp .8s var(--rx-ease-out) 1.15s forwards;
}
@keyframes rxFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── HERO CARD ────────────────────────────────────────────── */
#ridexplorer-app .rx-hero-card-wrap {
  position: relative;
  width: 100%;
  z-index: 2;
  opacity: 0;
  animation: rxCardReveal 1.1s var(--rx-ease-out) .8s forwards;
}
@keyframes rxCardReveal {
  from { opacity: 0; transform: translateY(20px) scale(.92); }
  to   { opacity: 1; transform: none; }
}
#ridexplorer-app .rx-hero-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(13,34,51,0.18), 0 8px 24px rgba(13,34,51,0.08);
}
#ridexplorer-app .rx-hero-card img {
  width: 100%; height: 500px;
  object-fit: cover;
  display: block;
}
#ridexplorer-app .rx-hero-card-foot {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(13,34,51,.7) 0%, transparent 100%);
}
#ridexplorer-app .rx-hero-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 980px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
#ridexplorer-app .rx-hero-card-title { color: #fff; font-family: var(--rx-font-head); font-weight: 700; font-size: 1.1rem; }

/* ── FLOAT STATS ──────────────────────────────────────────── */
#ridexplorer-app .rx-float-stat {
  position: absolute;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 24px rgba(13,34,51,0.1);
}
#ridexplorer-app .rx-float-stat .rx-n { font-family: var(--rx-font-display); font-size: 1.7rem; color: var(--rx-accent2); line-height: 1; }
#ridexplorer-app .rx-float-stat .rx-l { font-size: .7rem; color: var(--rx-muted); margin-top: 1px; }
#ridexplorer-app .rx-fs1 { top: 14%; right: 5%; animation: rxFloatA 5s ease-in-out infinite .5s; }
#ridexplorer-app .rx-fs2 { bottom: 20%; right: 5%; animation: rxFloatA 5s ease-in-out infinite 1.5s; }
@keyframes rxFloatA {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ── SCROLL HINT ──────────────────────────────────────────── */
#ridexplorer-app .rx-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: rxFadeIn .8s var(--rx-ease-out) 1.8s forwards;
  cursor: pointer;
}
#ridexplorer-app .rx-scroll-hint span { font-size: .72rem; color: var(--rx-muted); letter-spacing: .08em; text-transform: uppercase; }
#ridexplorer-app .rx-scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(13,34,51,.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
#ridexplorer-app .rx-scroll-mouse::after {
  content: '';
  width: 3px; height: 8px;
  background: var(--rx-accent2);
  border-radius: 2px;
  animation: rxScrollDot 1.8s ease-in-out infinite;
}
@keyframes rxScrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes rxFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── PRESENTATION GRID ────────────────────────────────────── */
#ridexplorer-app .rx-pres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
#ridexplorer-app .rx-pres-img-wrap { position: relative; }
#ridexplorer-app .rx-pres-img {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 32px 80px rgba(13,34,51,0.14);
  transform: scale(.98);
  transition: transform 1.2s var(--rx-ease-out), box-shadow 1.2s var(--rx-ease-out);
}
#ridexplorer-app .rx-pres-img-wrap.in .rx-pres-img {
  transform: scale(1);
  box-shadow: 0 40px 100px rgba(13,34,51,0.16);
}
#ridexplorer-app .rx-pres-inset {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 130px; height: 130px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 16px 40px rgba(13,34,51,.14);
  transition: transform .6s var(--rx-ease-out);
}
#ridexplorer-app .rx-pres-inset img { width: 100%; height: 100%; object-fit: cover; }
#ridexplorer-app .rx-pres-img-wrap:hover .rx-pres-inset { transform: translate(4px,-4px) scale(1.05); }

/* ── PILLS ────────────────────────────────────────────────── */
#ridexplorer-app .rx-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
#ridexplorer-app .rx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 980px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(58,159,212,0.2);
  font-size: .8rem;
  font-weight: 600;
  color: var(--rx-accent2);
  transition: transform .3s var(--rx-ease-out), background .3s;
  cursor: default;
}
#ridexplorer-app .rx-pill:hover { transform: scale(1.06); background: rgba(255,255,255,.9); }

/* ── BENTO GRID ───────────────────────────────────────────── */
#ridexplorer-app .rx-bento { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto auto; gap: 16px; }
#ridexplorer-app .rx-bento-card {
  padding: 36px 32px;
  border-radius: 24px;
  background: var(--rx-glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.7);
  overflow: hidden;
  position: relative;
  transition: transform .6s var(--rx-ease-out), box-shadow .6s var(--rx-ease-out), background .4s;
  cursor: default;
}
#ridexplorer-app .rx-bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
}
#ridexplorer-app .rx-bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 64px rgba(13,34,51,0.12);
  background: rgba(255,255,255,0.75);
}
#ridexplorer-app .rx-bento-card:hover::after { opacity: 1; }
#ridexplorer-app .rx-bento-wide { grid-column: span 2; }
#ridexplorer-app .rx-bento-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,159,212,.12);
  border-radius: 14px;
  color: var(--rx-accent2);
}
#ridexplorer-app .rx-bento-icon svg { width: 24px; height: 24px; stroke: var(--rx-accent2); }
#ridexplorer-app .rx-bento-card h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.15rem; color: var(--rx-dark); margin-bottom: 10px; }
#ridexplorer-app .rx-bento-card p  { font-size: .875rem; color: var(--rx-muted); line-height: 1.7; }
#ridexplorer-app .rx-bento-num { position: absolute; bottom: 20px; right: 24px; font-family: var(--rx-font-display); font-size: 4rem; line-height: 1; color: rgba(58,159,212,0.1); }

/* ── DETAIL GRID ──────────────────────────────────────────── */
#ridexplorer-app .rx-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
#ridexplorer-app .rx-detail-img-sticky { position: sticky; top: 90px; }
#ridexplorer-app .rx-detail-img-inner {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(13,34,51,0.14); position: relative;
}
#ridexplorer-app .rx-detail-img-inner img {
  width: 100%; height: 480px; object-fit: cover; display: block;
  transition: transform 8s var(--rx-ease-apple);
}
#ridexplorer-app .rx-detail-img-inner:hover img { transform: scale(1.04); }
#ridexplorer-app .rx-detail-glow { position: absolute; inset: -30px; z-index: -1; background: radial-gradient(ellipse, rgba(58,159,212,.15) 0%, transparent 70%); }
#ridexplorer-app .rx-detail-items { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
#ridexplorer-app .rx-d-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px;
  border-radius: 18px; background: rgba(255,255,255,0.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--rx-ease-out), background .4s, box-shadow .5s var(--rx-ease-out);
}
#ridexplorer-app .rx-d-item:hover { transform: translateX(8px); background: rgba(255,255,255,.8); box-shadow: 0 12px 32px rgba(13,34,51,0.08); }
#ridexplorer-app .rx-d-icon {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(58,159,212,.15), rgba(26,111,163,.1));
  display: flex; align-items: center; justify-content: center; color: var(--rx-accent2);
}
#ridexplorer-app .rx-d-icon svg { width: 20px; height: 20px; stroke: var(--rx-accent2); }
#ridexplorer-app .rx-d-item h4 { font-family: var(--rx-font-head); font-weight: 700; font-size: .95rem; color: var(--rx-dark); margin-bottom: 4px; }
#ridexplorer-app .rx-d-item p  { font-size: .84rem; color: var(--rx-muted); line-height: 1.65; }

/* ── FEATURE BLOCKS ───────────────────────────────────────── */
#ridexplorer-app .rx-feat-block { padding: 80px 0; position: relative; }
#ridexplorer-app .rx-feat-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
#ridexplorer-app .rx-feat-num { font-family: var(--rx-font-display); font-size: 5.5rem; line-height: 1; color: rgba(58,159,212,.15); display: block; margin-bottom: 4px; }
#ridexplorer-app .rx-feat-block h2 { font-family: var(--rx-font-head); font-weight: 800; font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 10px; color: var(--rx-dark); letter-spacing: -.02em; }
#ridexplorer-app .rx-feat-block-sub { font-size: 1rem; color: var(--rx-muted); margin-bottom: 28px; line-height: 1.7; }
#ridexplorer-app .rx-feat-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#ridexplorer-app .rx-f-chip {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  border-radius: 14px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  transition: all .4s var(--rx-ease-out); cursor: default;
}
#ridexplorer-app .rx-f-chip:hover { background: rgba(255,255,255,.85); transform: scale(1.03); box-shadow: 0 8px 24px rgba(13,34,51,.07); }
#ridexplorer-app .rx-f-chip-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(58,159,212,.12); display: flex; align-items: center; justify-content: center; font-size: .95rem; color: var(--rx-accent2);
}
#ridexplorer-app .rx-f-chip-icon svg { width: 16px; height: 16px; stroke: var(--rx-accent2); }
#ridexplorer-app .rx-f-chip span { font-size: .83rem; font-weight: 600; color: var(--rx-dark); }
#ridexplorer-app .rx-feat-img-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(13,34,51,.14);
  transition: transform .8s var(--rx-ease-out), box-shadow .8s var(--rx-ease-out);
}
#ridexplorer-app .rx-feat-img-wrap:hover { transform: scale(1.02); box-shadow: 0 44px 100px rgba(13,34,51,.18); }
#ridexplorer-app .rx-feat-img-wrap img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform 8s var(--rx-ease-apple); }
#ridexplorer-app .rx-feat-img-wrap:hover img { transform: scale(1.05); }
#ridexplorer-app .rx-feat-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,34,51,.25) 0%, transparent 55%); }
#ridexplorer-app .rx-feat-glow { position: absolute; inset: -30px; z-index: -1; background: radial-gradient(ellipse, rgba(58,159,212,.1) 0%, transparent 70%); }

/* ── STATS ROW ────────────────────────────────────────────── */
#ridexplorer-app .rx-stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 56px 0; }
#ridexplorer-app .rx-stat-card {
  text-align: center; padding: 32px 16px; border-radius: 20px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--rx-ease-out), box-shadow .5s var(--rx-ease-out);
}
#ridexplorer-app .rx-stat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(13,34,51,.1); }
#ridexplorer-app .rx-stat-val { font-family: var(--rx-font-display); font-size: 2.8rem; line-height: 1; color: var(--rx-accent2); margin-bottom: 6px; }
#ridexplorer-app .rx-stat-lab { font-size: .82rem; color: var(--rx-muted); }

/* ── VALUES GRID ──────────────────────────────────────────── */
#ridexplorer-app .rx-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
#ridexplorer-app .rx-val-card {
  padding: 32px; border-radius: 22px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--rx-ease-out), box-shadow .5s var(--rx-ease-out), background .4s;
}
#ridexplorer-app .rx-val-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(13,34,51,.1); background: rgba(255,255,255,.78); }
#ridexplorer-app .rx-val-icon { width: 44px; height: 44px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: rgba(58,159,212,.1); border-radius: 12px; color: var(--rx-accent2); }
#ridexplorer-app .rx-val-icon svg { width: 22px; height: 22px; stroke: var(--rx-accent2); }
#ridexplorer-app .rx-val-card h3 { font-family: var(--rx-font-head); font-weight: 700; font-size: 1rem; margin-bottom: 10px; color: var(--rx-dark); }
#ridexplorer-app .rx-val-card p  { font-size: .875rem; color: var(--rx-muted); line-height: 1.7; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#ridexplorer-app .rx-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
#ridexplorer-app .rx-testi-card {
  padding: 28px; border-radius: 20px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--rx-ease-out), box-shadow .5s var(--rx-ease-out);
}
#ridexplorer-app .rx-testi-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(13,34,51,.1); }
#ridexplorer-app .rx-stars { color: var(--rx-accent); font-size: .9rem; letter-spacing: 2px; margin-bottom: 14px; }
#ridexplorer-app .rx-testi-text { font-size: .875rem; color: var(--rx-muted); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
#ridexplorer-app .rx-testi-author { display: flex; align-items: center; gap: 12px; }
#ridexplorer-app .rx-testi-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--rx-accent2), var(--rx-accent)); display: flex; align-items: center; justify-content: center; font-family: var(--rx-font-head); font-weight: 700; color: #fff; font-size: .9rem; flex-shrink: 0; }
#ridexplorer-app .rx-testi-name { font-family: var(--rx-font-head); font-weight: 700; font-size: .875rem; color: var(--rx-dark); }
#ridexplorer-app .rx-testi-loc { font-size: .73rem; color: var(--rx-muted); }

/* ── MISSION CARDS ────────────────────────────────────────── */
#ridexplorer-app .rx-mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
#ridexplorer-app .rx-mission-card {
  padding: 36px 28px; border-radius: 22px; text-align: center;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--rx-ease-out), box-shadow .5s var(--rx-ease-out), background .4s;
}
#ridexplorer-app .rx-mission-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 56px rgba(13,34,51,.12); background: rgba(255,255,255,.78); }
#ridexplorer-app .rx-m-icon { width: 52px; height: 52px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: rgba(58,159,212,.1); border-radius: 16px; color: var(--rx-accent2); }
#ridexplorer-app .rx-m-icon svg { width: 26px; height: 26px; stroke: var(--rx-accent2); }
#ridexplorer-app .rx-mission-card h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; color: var(--rx-dark); }
#ridexplorer-app .rx-mission-card p  { font-size: .875rem; color: var(--rx-muted); line-height: 1.7; }

/* ── TEAM GRID ────────────────────────────────────────────── */
#ridexplorer-app .rx-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 700px; margin: 0 auto; }
#ridexplorer-app .rx-team-card {
  border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .6s var(--rx-ease-out), box-shadow .6s var(--rx-ease-out);
}
#ridexplorer-app .rx-team-card:hover { transform: translateY(-8px); box-shadow: 0 28px 64px rgba(13,34,51,.14); }
#ridexplorer-app .rx-team-img { position: relative; height: 280px; overflow: hidden; }
#ridexplorer-app .rx-team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rx-ease-out); }
#ridexplorer-app .rx-team-card:hover .rx-team-img img { transform: scale(1.06); }
#ridexplorer-app .rx-team-img-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,34,51,.45) 0%, transparent 55%); }
#ridexplorer-app .rx-team-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #0d2233; }
#ridexplorer-app .rx-team-avatar svg { width: 160px; height: 160px; }
#ridexplorer-app .rx-team-body { padding: 22px; }
#ridexplorer-app .rx-team-role { display: inline-block; padding: 4px 12px; border-radius: 980px; background: linear-gradient(135deg, var(--rx-accent2), var(--rx-accent)); color: #fff; font-size: .72rem; font-weight: 700; margin-bottom: 10px; }
#ridexplorer-app .rx-team-body h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.35rem; color: var(--rx-dark); margin-bottom: 8px; }
#ridexplorer-app .rx-team-body p  { font-size: .85rem; color: var(--rx-muted); line-height: 1.7; }

/* ── STORY ────────────────────────────────────────────────── */
#ridexplorer-app .rx-story-wrap { max-width: 680px; margin: 0 auto; text-align: center; padding: 80px 0; }
#ridexplorer-app .rx-story-wrap h2 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.9rem; margin-bottom: 28px; color: var(--rx-dark); letter-spacing: -.02em; }
#ridexplorer-app .rx-story-wrap p  { font-size: 1rem; color: var(--rx-muted); line-height: 1.82; margin-bottom: 18px; }

/* ── CONTACT ──────────────────────────────────────────────── */
#ridexplorer-app .rx-contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; padding: 72px 0; }
#ridexplorer-app .rx-contact-info h3 { font-family: var(--rx-font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; color: var(--rx-dark); }
#ridexplorer-app .rx-contact-info p  { font-size: .875rem; color: var(--rx-muted); line-height: 1.75; margin-bottom: 24px; }
#ridexplorer-app .rx-email-card {
  padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.6); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  transition: transform .4s var(--rx-ease-out), box-shadow .4s var(--rx-ease-out);
}
#ridexplorer-app .rx-email-card:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(13,34,51,.08); }
#ridexplorer-app .rx-email-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(58,159,212,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--rx-accent2); }
#ridexplorer-app .rx-email-icon svg { width: 22px; height: 22px; stroke: var(--rx-accent2); }
#ridexplorer-app .rx-email-lbl  { font-size: .75rem; color: var(--rx-muted); margin-bottom: 3px; }
#ridexplorer-app .rx-email-addr a { font-size: .875rem; font-weight: 600; color: var(--rx-accent2); text-decoration: none; transition: color .2s; }
#ridexplorer-app .rx-email-addr a:hover { color: var(--rx-dark); }
#ridexplorer-app .rx-contact-photo { width: 100%; height: 190px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 32px rgba(13,34,51,.1); transition: transform .6s var(--rx-ease-out); }
#ridexplorer-app .rx-contact-photo:hover { transform: scale(1.02); }

/* ── FORM ─────────────────────────────────────────────────── */
#ridexplorer-app .rx-form-card { padding: 36px; border-radius: 22px; background: rgba(255,255,255,.6); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.75); }
#ridexplorer-app .rx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#ridexplorer-app .rx-f-group { margin-bottom: 18px; }
#ridexplorer-app .rx-f-group label { display: block; font-size: .78rem; color: var(--rx-muted); margin-bottom: 7px; font-weight: 500; letter-spacing: .02em; }
#ridexplorer-app .rx-f-group input,
#ridexplorer-app .rx-f-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid rgba(58,159,212,.18);
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
  font-family: var(--rx-font-body); font-size: .875rem; color: var(--rx-dark);
  outline: none; transition: border-color .3s, box-shadow .3s, background .3s;
}
#ridexplorer-app .rx-f-group input:focus,
#ridexplorer-app .rx-f-group textarea:focus {
  border-color: var(--rx-accent);
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 3px rgba(46,139,191,.12);
}
#ridexplorer-app .rx-f-group textarea { min-height: 130px; resize: vertical; }
#ridexplorer-app .rx-form-btn {
  width: 100%; padding: 15px; border-radius: 980px; border: none; cursor: pointer;
  background: var(--rx-dark); color: #fff;
  font-family: var(--rx-font-head); font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .4s, transform .4s var(--rx-ease-out), box-shadow .4s var(--rx-ease-out);
}
#ridexplorer-app .rx-form-btn:hover { background: var(--rx-accent2); transform: scale(1.02); box-shadow: 0 10px 32px rgba(26,111,163,.25); }
#ridexplorer-app .rx-form-btn:active { transform: scale(.99); }
#ridexplorer-app .rx-form-success { text-align: center; padding: 44px 20px; }
#ridexplorer-app .rx-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(34,197,94,.1); border: 2px solid rgba(34,197,94,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; animation: rxSuccessPop .6s var(--rx-ease-out); color: rgba(34,197,94,.9);
}
#ridexplorer-app .rx-success-icon svg { width: 32px; height: 32px; stroke: rgba(34,197,94,.9); }
@keyframes rxSuccessPop { from { transform: scale(0); } to { transform: scale(1); } }
#ridexplorer-app .rx-form-success h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.45rem; margin-bottom: 10px; color: var(--rx-dark); }
#ridexplorer-app .rx-form-success p { color: var(--rx-muted); font-size: .9rem; }

/* ── TIMELINE ─────────────────────────────────────────────── */
#ridexplorer-app .rx-timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 72px 0; }
#ridexplorer-app .rx-tl-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, rgba(34,197,94,.5), var(--rx-accent) 45%, rgba(184,223,240,.3));
  transform: translateX(-50%);
}
#ridexplorer-app .rx-milestone { display: flex; align-items: flex-start; margin-bottom: 48px; position: relative; }
#ridexplorer-app .rx-milestone:nth-child(even) { flex-direction: row-reverse; }
#ridexplorer-app .rx-ms-body {
  width: calc(50% - 44px); padding: 24px; border-radius: 20px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .5s var(--rx-ease-out), box-shadow .5s var(--rx-ease-out), background .4s;
}
#ridexplorer-app .rx-ms-body:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(13,34,51,.1); background: rgba(255,255,255,.78); }
#ridexplorer-app .rx-milestone.rx-current .rx-ms-body { border-color: rgba(58,159,212,.35); box-shadow: 0 8px 28px rgba(58,159,212,.1); }
#ridexplorer-app .rx-ms-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 980px; font-size: .72rem; font-weight: 700; margin-bottom: 10px; }
#ridexplorer-app .rx-ms-badge.rx-done     { background: rgba(34,197,94,.1); color: #16a34a; border: 1px solid rgba(34,197,94,.25); }
#ridexplorer-app .rx-ms-badge.rx-current  { background: rgba(58,159,212,.12); color: var(--rx-accent2); border: 1px solid rgba(58,159,212,.3); }
#ridexplorer-app .rx-ms-badge.rx-upcoming { background: rgba(13,34,51,.05); color: var(--rx-muted); border: 1px solid var(--rx-border); }
#ridexplorer-app .rx-ms-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#ridexplorer-app .rx-ms-date { font-size: .75rem; color: var(--rx-muted); }
#ridexplorer-app .rx-ms-body h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.05rem; color: var(--rx-dark); margin-bottom: 7px; }
#ridexplorer-app .rx-ms-body p  { font-size: .84rem; color: var(--rx-muted); line-height: 1.65; }
#ridexplorer-app .rx-ms-dot {
  position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
#ridexplorer-app .rx-ms-dot svg { width: 20px; height: 20px; }
#ridexplorer-app .rx-ms-dot.rx-done     { background: rgba(34,197,94,.15); border: 2px solid rgba(34,197,94,.4); color: rgba(34,197,94,.9); }
#ridexplorer-app .rx-ms-dot.rx-done svg { stroke: rgba(34,197,94,.9); }
#ridexplorer-app .rx-ms-dot.rx-current      { background: rgba(58,159,212,.15); border: 2px solid rgba(58,159,212,.5); color: var(--rx-accent); }
#ridexplorer-app .rx-ms-dot.rx-current svg  { stroke: var(--rx-accent); }
#ridexplorer-app .rx-ms-dot.rx-upcoming     { background: rgba(184,223,240,.3); border: 2px solid rgba(184,223,240,.5); color: var(--rx-muted); }
#ridexplorer-app .rx-ms-dot.rx-upcoming svg { stroke: var(--rx-muted); }
#ridexplorer-app .rx-ms-spacer { width: calc(50% - 44px); }

/* ── LEGAL ────────────────────────────────────────────────── */
#ridexplorer-app .rx-legal-wrap { max-width: 820px; margin: 0 auto; padding: 72px 28px 100px; }
#ridexplorer-app .rx-legal-toc {
  margin-bottom: 56px; padding: 28px 32px; border-radius: 20px;
  background: rgba(255,255,255,.6); backdrop-filter: blur(16px); border: 1px solid rgba(58,159,212,.18);
}
#ridexplorer-app .rx-legal-toc h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: .9rem; color: var(--rx-accent2); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
#ridexplorer-app .rx-legal-toc ol { list-style: none; counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
#ridexplorer-app .rx-legal-toc ol li { counter-increment: toc; display: flex; align-items: center; gap: 8px; }
#ridexplorer-app .rx-legal-toc ol li::before { content: counter(toc,decimal-leading-zero); font-family: var(--rx-font-display); font-size: 1rem; color: rgba(58,159,212,.4); flex-shrink: 0; }
#ridexplorer-app .rx-legal-toc ol li a { font-size: .82rem; color: var(--rx-muted); text-decoration: none; transition: color .2s; line-height: 1.4; }
#ridexplorer-app .rx-legal-toc ol li a:hover { color: var(--rx-accent2); }
#ridexplorer-app .rx-legal-section { margin-bottom: 52px; scroll-margin-top: 80px; }
#ridexplorer-app .rx-legal-section-num { font-family: var(--rx-font-display); font-size: 4rem; line-height: 1; color: rgba(58,159,212,.1); display: block; margin-bottom: -8px; }
#ridexplorer-app .rx-legal-section h2 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.35rem; color: var(--rx-dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid rgba(58,159,212,.12); letter-spacing: -.01em; }
#ridexplorer-app .rx-legal-section p  { font-size: .92rem; color: var(--rx-muted); line-height: 1.84; margin-bottom: 14px; }
#ridexplorer-app .rx-legal-section p:last-child { margin-bottom: 0; }
#ridexplorer-app .rx-legal-section strong { color: var(--rx-dark); font-weight: 600; }
#ridexplorer-app .rx-legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .85rem; }
#ridexplorer-app .rx-legal-table th { background: rgba(58,159,212,.08); font-family: var(--rx-font-head); font-weight: 700; font-size: .78rem; color: var(--rx-accent2); letter-spacing: .05em; text-transform: uppercase; padding: 12px 16px; text-align: left; border-bottom: 2px solid rgba(58,159,212,.15); }
#ridexplorer-app .rx-legal-table td { padding: 11px 16px; border-bottom: 1px solid rgba(58,159,212,.08); color: var(--rx-muted); line-height: 1.6; vertical-align: top; }
#ridexplorer-app .rx-legal-table tr:last-child td { border-bottom: none; }
#ridexplorer-app .rx-legal-table tr:hover td { background: rgba(255,255,255,.5); }
#ridexplorer-app .rx-legal-list { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
#ridexplorer-app .rx-legal-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--rx-muted); line-height: 1.7; }
#ridexplorer-app .rx-legal-list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--rx-accent2); margin-top: 8px; opacity: .6; }
#ridexplorer-app .rx-legal-alert { padding: 16px 20px; border-radius: 14px; margin: 18px 0; background: rgba(58,159,212,.06); border-left: 3px solid var(--rx-accent2); font-size: .88rem; color: var(--rx-muted); line-height: 1.7; }
#ridexplorer-app .rx-legal-alert strong { color: var(--rx-accent2); }
#ridexplorer-app .rx-legal-rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
#ridexplorer-app .rx-legal-right-card {
  padding: 18px 20px; border-radius: 14px;
  background: rgba(255,255,255,.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.7);
  transition: transform .3s var(--rx-ease-out), background .3s;
}
#ridexplorer-app .rx-legal-right-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.8); }
#ridexplorer-app .rx-legal-right-title { font-family: var(--rx-font-head); font-weight: 700; font-size: .85rem; color: var(--rx-dark); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
#ridexplorer-app .rx-legal-right-title svg { width: 14px; height: 14px; stroke: var(--rx-accent2); flex-shrink: 0; }
#ridexplorer-app .rx-legal-right-card p { font-size: .8rem; color: var(--rx-muted); line-height: 1.6; }
#ridexplorer-app .rx-legal-contact-box { padding: 28px 32px; border-radius: 18px; margin-top: 32px; text-align: center; background: linear-gradient(135deg, rgba(58,159,212,.08), rgba(26,111,163,.05)); border: 1px solid rgba(58,159,212,.2); }
#ridexplorer-app .rx-legal-contact-box h3 { font-family: var(--rx-font-head); font-weight: 800; font-size: 1.1rem; color: var(--rx-dark); margin-bottom: 8px; }
#ridexplorer-app .rx-legal-contact-box p  { font-size: .875rem; color: var(--rx-muted); line-height: 1.7; margin-bottom: 16px; }
#ridexplorer-app .rx-legal-contact-box a  { color: var(--rx-accent2); font-weight: 600; text-decoration: none; transition: color .2s; }
#ridexplorer-app .rx-legal-contact-box a:hover { color: var(--rx-dark); }
#ridexplorer-app .rx-legal-version {
  margin-bottom: 40px; padding: 14px 20px; border-radius: 12px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(58,159,212,.15);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
#ridexplorer-app .rx-legal-version span  { font-size: .8rem; color: var(--rx-muted); }
#ridexplorer-app .rx-legal-version strong { color: var(--rx-dark); font-weight: 600; }

/* ── FOOTER ───────────────────────────────────────────────── */
#ridexplorer-app .rx-footer {
  background: linear-gradient(135deg, var(--rx-dark2), var(--rx-dark));
  padding: 56px 0 28px;
  margin-top: 40px;
}
#ridexplorer-app .rx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
#ridexplorer-app .rx-f-brand img { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 14px; }
#ridexplorer-app .rx-f-brand h3 { font-family: var(--rx-font-head); font-weight: 800; color: #fff; margin-bottom: 8px; }
#ridexplorer-app .rx-f-brand p  { font-size: .84rem; color: rgba(255,255,255,.42); line-height: 1.7; }
#ridexplorer-app .rx-f-col h4   { font-family: var(--rx-font-head); font-weight: 700; color: #fff; font-size: .85rem; margin-bottom: 14px; letter-spacing: .02em; }
#ridexplorer-app .rx-f-col ul   { list-style: none; }
#ridexplorer-app .rx-f-col ul li { margin-bottom: 8px; }
#ridexplorer-app .rx-f-col ul li a,
#ridexplorer-app .rx-f-col ul li button {
  font-size: .84rem; color: rgba(255,255,255,.42);
  text-decoration: none; background: none; border: none; cursor: pointer;
  font-family: var(--rx-font-body); padding: 0; transition: color .25s;
}
#ridexplorer-app .rx-f-col ul li a:hover,
#ridexplorer-app .rx-f-col ul li button:hover { color: var(--rx-ice-mid); }
#ridexplorer-app .rx-footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; }
#ridexplorer-app .rx-footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.28); }
#ridexplorer-app .rx-footer-tagline { font-size: .75rem; color: rgba(255,255,255,.28); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media(max-width:1060px) {
  #ridexplorer-app .rx-hero .rx-container { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-hero-card-wrap { display: none; }
  #ridexplorer-app .rx-pres-grid,
  #ridexplorer-app .rx-detail-grid,
  #ridexplorer-app .rx-feat-block-grid,
  #ridexplorer-app .rx-contact-grid { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-bento { grid-template-columns: 1fr 1fr; }
  #ridexplorer-app .rx-bento-wide { grid-column: span 1; }
  #ridexplorer-app .rx-stats-row { grid-template-columns: repeat(2,1fr); }
  #ridexplorer-app .rx-footer-grid { grid-template-columns: 1fr 1fr; }
  #ridexplorer-app .rx-pres-inset { display: none; }
  #ridexplorer-app .rx-detail-img-sticky { position: relative; top: 0; }
  #ridexplorer-app .rx-legal-toc ol { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-legal-rights-grid { grid-template-columns: 1fr; }
}

@media(max-width:720px) {
  #ridexplorer-app .rx-nav-links,
  #ridexplorer-app .rx-nav-cta { display: none; }
  #ridexplorer-app .rx-hamburger { display: flex; }
  #ridexplorer-app .rx-hero .rx-container { grid-template-columns: 1fr; padding: 0 20px; }
  #ridexplorer-app .rx-hero-card-wrap { display: none; }
  #ridexplorer-app .rx-hero h1 { font-size: clamp(3rem,14vw,5rem); }
  #ridexplorer-app .rx-hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  #ridexplorer-app .rx-hero-actions .rx-btn-primary,
  #ridexplorer-app .rx-hero-actions .rx-btn-ghost { width: 100%; justify-content: center; }
  #ridexplorer-app .rx-hero-sub { font-size: 1rem; }
  #ridexplorer-app .rx-hero-content { max-width: 100%; }
  #ridexplorer-app .rx-section { padding: 60px 0; }
  #ridexplorer-app .rx-bento,
  #ridexplorer-app .rx-mission-grid,
  #ridexplorer-app .rx-values-grid,
  #ridexplorer-app .rx-testi-grid,
  #ridexplorer-app .rx-team-grid { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-bento-wide { grid-column: span 1; }
  #ridexplorer-app .rx-feat-chips,
  #ridexplorer-app .rx-form-row { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-pills { gap: 7px; }
  #ridexplorer-app .rx-pill { font-size: .75rem; padding: 6px 12px; }
  #ridexplorer-app .rx-page-hero { min-height: 38vh; padding: 90px 0 48px; }
  #ridexplorer-app .rx-page-hero h1 { font-size: clamp(2.4rem,10vw,4rem); }
  #ridexplorer-app .rx-page-hero p  { font-size: .92rem; }
  #ridexplorer-app .rx-tl-line { left: 20px; }
  #ridexplorer-app .rx-milestone,
  #ridexplorer-app .rx-milestone:nth-child(even) { flex-direction: column; margin-left: 56px; }
  #ridexplorer-app .rx-ms-body,
  #ridexplorer-app .rx-ms-spacer { width: 100%; }
  #ridexplorer-app .rx-ms-dot { left: -56px; top: 14px; transform: none; }
  #ridexplorer-app .rx-footer-grid { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  #ridexplorer-app .rx-legal-wrap { padding: 40px 0 60px; }
  #ridexplorer-app .rx-legal-toc ol { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-legal-rights-grid { grid-template-columns: 1fr; }
  #ridexplorer-app .rx-legal-version { flex-direction: column; gap: 4px; }
  #ridexplorer-app .rx-legal-table { font-size: .78rem; }
  #ridexplorer-app .rx-legal-table th,
  #ridexplorer-app .rx-legal-table td { padding: 8px 10px; }
  #ridexplorer-app .rx-legal-section-num { font-size: 2.8rem; }
  #ridexplorer-app .rx-legal-section h2 { font-size: 1.15rem; }
  #ridexplorer-app .rx-contact-grid { padding: 40px 0; }
  #ridexplorer-app .rx-stats-row { grid-template-columns: 1fr 1fr; }
  #ridexplorer-app .rx-container { padding: 0 18px; }
  #ridexplorer-app .rx-form-card { padding: 22px 18px; }
  #ridexplorer-app .rx-lang-switcher { gap: 2px; }
  #ridexplorer-app .rx-lang-btn { padding: 3px 7px; font-size: .68rem; }
}
