/* ============================================================
   MOTOTAXI GO — Sistema de diseno espacial
   Paleta oficial: fondo casi negro, cian neon, magenta neon
   ============================================================ */

:root {
  --bg-void: #05070d;
  --bg-deep: #0a0e14;
  --bg-panel: rgba(13, 19, 30, 0.72);
  --bg-panel-solid: #0d131e;

  --cyan: #00c8f0;
  --cyan-soft: #6fe6ff;
  --magenta: #f050f0;
  --magenta-soft: #ff9bff;
  --violet: #7b5cff;

  --text: #e8f1fb;
  --text-dim: #9fb2c9;
  --text-faint: #64798f;

  --line: rgba(0, 200, 240, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);

  --ok: #37e39b;
  --warn: #ffc857;
  --danger: #ff6b6b;

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;

  --font-display: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --glow-cyan: 0 0 22px rgba(0, 200, 240, 0.45);
  --glow-magenta: 0 0 22px rgba(240, 80, 240, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Fondo espacial ---------- */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 12% -6%, rgba(0, 200, 240, 0.20), transparent 62%),
    radial-gradient(680px 520px at 92% 8%, rgba(240, 80, 240, 0.16), transparent 62%),
    radial-gradient(900px 680px at 50% 108%, rgba(123, 92, 255, 0.16), transparent 66%);
}

.grid-horizon {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 46vh;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 200, 240, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 240, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(64deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0%, transparent 82%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 82%);
  opacity: .55;
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.12;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--text-dim); }
a { color: var(--cyan-soft); text-decoration: none; }
a:hover { color: #fff; }

.neon-cyan { color: var(--cyan); text-shadow: var(--glow-cyan); }
.neon-magenta { color: var(--magenta); text-shadow: var(--glow-magenta); }
.gradient-text {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--cyan-soft) 35%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-dim); max-width: 62ch; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
section { padding: clamp(60px, 9vw, 110px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- Navegacion ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 7, 13, 0.78);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  width: min(var(--maxw), 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img {
  height: 26px;
  width: auto;
  max-width: 52vw;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 200, 240, .5));
}
@media (min-width: 480px) {
  .brand img { height: 30px; max-width: none; }
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--text-dim);
  font-size: .88rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cyan);
  width: 42px; height: 38px;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 4vw 18px;
    background: rgba(5, 7, 13, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 12px; border-bottom: 0; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(100deg, var(--cyan), var(--violet) 70%, var(--magenta));
  color: #03060c;
  box-shadow: 0 0 26px rgba(0, 200, 240, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 200, 240, .6); color: #03060c; }
.btn-ghost {
  background: rgba(0, 200, 240, .07);
  border-color: var(--line);
  color: var(--cyan-soft);
}
.btn-ghost:hover { background: rgba(0, 200, 240, .15); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .74rem; }
.btn.disabled { opacity: .5; pointer-events: none; }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(0, 200, 240, .5), transparent 42%, transparent 62%, rgba(240, 80, 240, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.card:hover::before { opacity: 1; }
.card h3 { color: #fff; margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.icon-orb {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(0, 200, 240, .3), rgba(240, 80, 240, .14));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 20px rgba(0, 200, 240, .18);
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 0 90px;
  position: relative;
}
.hero-logo {
  width: min(430px, 76vw);
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 45px rgba(0, 200, 240, .45));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero h1 { margin-bottom: .3em; }
.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(.7rem, 1.7vw, .92rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--magenta);
  text-shadow: var(--glow-magenta);
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 200, 240, .07);
  font-size: .78rem;
  color: var(--cyan-soft);
  font-weight: 600;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 46px;
}
.stat {
  min-width: 152px;
  padding: 16px 22px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(13, 19, 30, .6);
  backdrop-filter: blur(8px);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #fff;
}
.stat span { font-size: .74rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Pasos ---------- */
.step { position: relative; padding-left: 62px; }
.step .num {
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cyan);
  border: 1px solid var(--line);
  background: rgba(0, 200, 240, .08);
  box-shadow: inset 0 0 18px rgba(0, 200, 240, .16);
}
.step h3 { color: #fff; font-size: 1.05rem; margin-bottom: .35em; }
.step p { font-size: .94rem; margin-bottom: 0; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); }
table { width: 100%; border-collapse: collapse; min-width: 520px; background: rgba(10, 14, 20, .6); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
th {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 200, 240, .05);
}
td { color: var(--text-dim); }
td strong, td b { color: #fff; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(0, 200, 240, .04); }

/* ---------- Precios ---------- */
.price-card { text-align: center; }
.price-card .plan {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3em;
  word-break: break-word;
}
.price-card .amount small { font-size: .6em; color: var(--text-faint); font-weight: 500; white-space: nowrap; }
.price-card .meta { font-size: .85rem; color: var(--text-faint); margin-top: 10px; }
.price-card.featured { border-color: rgba(0, 200, 240, .45); box-shadow: 0 0 40px rgba(0, 200, 240, .13); }
.price-card.featured::before { opacity: 1; }

/* ---------- Listas ---------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: .95rem;
}
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.checklist.magenta li::before { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.checklist.no li::before { background: var(--danger); box-shadow: 0 0 10px var(--danger); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  margin-bottom: 12px;
  background: rgba(13, 19, 30, .55);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: '+';
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 1.4rem;
  transition: transform .25s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a div { padding: 0 20px 20px; color: var(--text-dim); font-size: .94rem; }
.faq-item.open .faq-a { max-height: 640px; }

/* ---------- Avisos ---------- */
.note {
  border-left: 3px solid var(--cyan);
  background: rgba(0, 200, 240, .06);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-size: .92rem;
  color: var(--text-dim);
}
.note.warn { border-left-color: var(--warn); background: rgba(255, 200, 87, .07); }
.note.danger { border-left-color: var(--danger); background: rgba(255, 107, 107, .07); }
.note strong { color: #fff; }

/* ---------- CTA ---------- */
.cta-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(0, 200, 240, .16), transparent 65%),
    radial-gradient(600px 300px at 90% 100%, rgba(240, 80, 240, .14), transparent 65%),
    rgba(10, 14, 20, .78);
  padding: clamp(34px, 6vw, 62px);
  text-align: center;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 58px 0 34px;
  background: rgba(3, 5, 10, .7);
}
.foot-grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer h4 {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 9px; }
footer a { color: var(--text-dim); font-size: .9rem; }
footer a:hover { color: var(--cyan-soft); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-faint);
}

/* ---------- Paginas legales ---------- */
.legal-hero { padding: 64px 0 34px; border-bottom: 1px solid var(--line-soft); }
.legal-body { padding: 48px 0 90px; }
.legal-body .wrap { max-width: 880px; }
.doc h2 {
  font-size: 1.32rem;
  color: #fff;
  margin-top: 2.2em;
  padding-bottom: .4em;
  border-bottom: 1px solid var(--line-soft);
}
.doc h3 { font-size: 1.02rem; color: var(--cyan-soft); margin-top: 1.8em; font-family: var(--font-body); font-weight: 700; }
.doc p, .doc li { color: var(--text-dim); font-size: .96rem; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: #fff; }
.toc {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  background: rgba(13, 19, 30, .6);
  margin-bottom: 40px;
}
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: .92rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.back-link:hover { color: var(--cyan); }

/* ---------- Selector de region (suscripciones dinamicas) ---------- */
.region-select-wrap {
  max-width: 480px;
  margin: 0 auto 34px;
}
.region-select-wrap label {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.region-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(13, 19, 30, .78);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.region-select:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.region-select option { background: var(--bg-panel-solid); color: var(--text); }
.fleet-heading {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 30px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fleet-heading::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }

/* ---------- Animacion de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
