/* ============================================================
   AXIS — Base & page sections
   ============================================================ */

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

:root {
  --black:  #050505;
  --ink:    #0a0a0c;
  --white:  #FFFFFF;
  --lime:   #73FF5C;
  --lime-d: #3aa827;
  --violet: #7F3AEF;
  --red:    #F42167;
  --card:   #F2F3F5;
  --border: #E0E1E3;
  --text-secondary: #545454;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--black);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lime); color: var(--black); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px;
  background: rgba(5,5,5,0.6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: 800; letter-spacing: 1px; color: var(--white);
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-logo .mark {
  width: 22px; height: 22px; position: relative; flex-shrink: 0;
}
.mark {
  width: 22px; height: 22px; position: relative; flex-shrink: 0; display: inline-block;
}
.mark::before,
.mark::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid var(--lime); border-radius: 6px;
}
.mark::after {
  inset: 5px; border-color: var(--violet); border-radius: 3px;
  transform: rotate(45deg);
}
.nav-logo .mark::before,
.nav-logo .mark::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid var(--lime); border-radius: 6px;
}
.nav-logo .mark::after {
  inset: 5px; border-color: var(--violet); border-radius: 3px;
  transform: rotate(45deg);
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--lime); color: var(--black);
  font-family: 'Manrope', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 10px 20px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(115,255,92,0.3); }
@media (max-width: 760px) { .nav-links { display: none; } nav { padding: 0 16px; } }

/* ── SHARED BUTTONS ── */
.btn-primary {
  background: var(--lime); color: var(--black);
  font-family: 'Manrope', sans-serif;
  font-size: 15px; font-weight: 700;
  padding: 16px 32px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(115,255,92,0.35); }

/* ── STATS TICKER ── */
.stats-ticker {
  background: var(--lime);
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(5,5,5,0.12);
  border-bottom: 1px solid rgba(5,5,5,0.12);
  padding: 0;
}
.ticker-track {
  display: inline-flex; align-items: center;
  padding: 16px 0;
  animation: tickerScroll 26s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 0 30px;
  font-weight: 800; color: var(--black);
}
.ticker-item .tnum { font-size: 22px; letter-spacing: -0.5px; }
.ticker-item .tlabel {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(5,5,5,0.6);
}
.ticker-sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--black); margin: 0 4px; align-self: center;
}

/* ── SECTIONS BASE ── */
section { padding: 110px 24px; }
.container { max-width: 1080px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--violet);
  margin-bottom: 18px;
}
.section-tag::before {
  content: ''; width: 18px; height: 1px; background: currentColor;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px; font-weight: 300; color: var(--text-secondary);
  max-width: 520px; line-height: 1.6;
}

/* ── FEATURES ── */
.features { background: var(--white); }
.features-header { text-align: center; margin-bottom: 60px; }
.features-header .section-tag { justify-content: center; }
.features-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.feature-card {
  background: var(--card); border-radius: 24px;
  padding: 38px 34px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(5,5,5,0.08); }
.feature-card.accent {
  background: var(--black); color: var(--white);
  border-color: rgba(255,255,255,0.08);
}
.feature-card.accent::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(115,255,92,0.18), transparent 70%);
  pointer-events: none;
}
.feature-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 24px;
}
.feature-icon.lime   { background: rgba(115,255,92,0.15); color: var(--lime-d); }
.feature-icon.violet { background: rgba(127,58,239,0.12); color: var(--violet); }
.feature-icon.dark   { background: rgba(115,255,92,0.12); color: var(--lime); }
.feature-icon ion-icon { font-size: 26px; }
.feature-icon .agente-ico { width: 30px; height: 30px; object-fit: contain; display: block; }
.feature-card h3 {
  font-size: 21px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.4px;
  position: relative; z-index: 1;
}
.feature-card.accent h3 { color: var(--white); }
.feature-card p {
  font-size: 15px; font-weight: 300; line-height: 1.65;
  color: var(--text-secondary); position: relative; z-index: 1;
}
.feature-card.accent p { color: rgba(255,255,255,0.6); }
.feature-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
  position: relative; z-index: 1;
}
.feature-tag.lime   { background: var(--lime);   color: var(--black); }
.feature-tag.white  { background: rgba(255,255,255,0.1);  color: var(--white); }
.feature-tag.violet { background: var(--violet); color: var(--white); }

/* ── HISTORIAL ── */
/* maintenance timeline card */
.maint-card {
  width: min(380px, 100%);
  background: var(--black);
  border-radius: 28px; padding: 28px 26px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 36px 80px rgba(5,5,5,0.22);
  position: relative; overflow: hidden;
}
.maint-card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,58,239,0.22), transparent 70%);
  pointer-events: none;
}
.maint-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1;
}
.maint-bike { display: flex; align-items: center; gap: 11px; }
.maint-bike-ico {
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(115,255,92,0.14); color: var(--lime);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.maint-bike-name { font-size: 15px; font-weight: 700; color: var(--white); line-height: 1.15; }
.maint-bike-km { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.45); }
.maint-streak {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--lime); background: rgba(115,255,92,0.12);
  padding: 6px 11px; border-radius: 100px;
}
.timeline { position: relative; z-index: 1; padding: 22px 0 4px; }
.tl-item { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot {
  width: 13px; height: 13px; border-radius: 50%; margin-top: 3px;
  border: 2.5px solid var(--lime); background: var(--black); flex-shrink: 0;
}
.tl-dot.violet { border-color: var(--violet); }
.tl-line { width: 2px; flex: 1; background: rgba(255,255,255,0.1); margin: 4px 0; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { padding-bottom: 2px; }
.tl-date { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; margin-bottom: 4px; }
.tl-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.tl-meta { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.5); }
.tl-meta b { color: var(--lime); font-weight: 700; }

.historial-section { background: var(--white); padding: 110px 20px; }
.historial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.historial-visual { display: flex; justify-content: center; }
.historial-content .section-tag { color: var(--lime-d); }
.historial-content .section-title { text-align: left; max-width: 480px; color: var(--black); }
.historial-content .section-title em { font-style: normal; color: var(--violet); }
.historial-desc {
  font-size: 16px; font-weight: 300; color: var(--text-secondary);
  line-height: 1.7; margin: 20px 0 36px;
}
.historial-benefits { display: flex; flex-direction: column; gap: 22px; }
.historial-benefit { display: flex; align-items: flex-start; gap: 16px; }
.hb-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 12px;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px; color: var(--black);
}
.hb-text { display: flex; flex-direction: column; gap: 4px; }
.hb-title { font-size: 15px; font-weight: 700; color: var(--black); }
.hb-sub { font-size: 13px; font-weight: 300; color: var(--text-secondary); line-height: 1.5; }

@media (max-width: 760px) {
  .historial-inner { grid-template-columns: 1fr; gap: 48px; }
  .historial-visual { order: -1; }
  .historial-content .section-title { text-align: center; }
  .historial-desc { text-align: center; }
  .historial-content .section-tag { justify-content: center; }
}

/* ── HOW IT WORKS ── */
.how { background: var(--black); position: relative; overflow: hidden; }
.how::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  pointer-events: none;
}
.how .container { position: relative; z-index: 1; }
.how .section-tag { color: var(--lime); }
.how .section-title { color: var(--white); }
.how .section-sub { color: rgba(255,255,255,0.5); }
.how-header { margin-bottom: 56px; }

.steps {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: step;
}
.step {
  padding: 36px 30px 34px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.step:hover { border-color: rgba(115,255,92,0.4); background: rgba(255,255,255,0.05); }
.step-bignum {
  font-family: var(--mono);
  position: absolute; top: 14px; right: 18px;
  font-size: 56px; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,0.06);
}
.step-num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--lime); margin-bottom: 18px;
  display: inline-block;
}
.step h3 {
  font-size: 20px; font-weight: 700; color: var(--white);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.step p {
  font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.5); line-height: 1.65;
}

/* ── PLANS ── */
.plans { background: var(--card); }
.plans-header { text-align: center; margin-bottom: 52px; }
.plans-header .section-tag { justify-content: center; }
.plans-header .section-sub { margin: 0 auto; }

.plans-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 760px; margin: 0 auto;
}
.plan-card {
  background: var(--white); border-radius: 24px;
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  position: relative;
}
.plan-card.pro {
  background: var(--black); border-color: transparent;
  box-shadow: 0 24px 60px rgba(5,5,5,0.25);
}
.plan-card.pro::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px;
  background: linear-gradient(135deg, var(--lime), var(--violet));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan-badge {
  display: inline-block; font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; margin-bottom: 20px;
}
.plan-badge.free { background: var(--card); color: var(--text-secondary); }
.plan-badge.pro-b { background: var(--lime); color: var(--black); }

.plan-price {
  font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 4px;
}
.plan-card.pro .plan-price { color: var(--white); }
.plan-period {
  font-size: 13px; font-weight: 400; color: var(--text-secondary); margin-bottom: 28px;
}
.plan-card.pro .plan-period { color: rgba(255,255,255,0.4); }
.plan-pricing-row {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.plan-price-anual { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.5); }
.plan-discount {
  display: inline-block; background: var(--lime); color: var(--black);
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 7px; border-radius: 100px;
}
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 400; color: var(--text-secondary); line-height: 1.4;
}
.plan-features li span:last-child:not(.plan-check) { margin-left: auto; flex-shrink: 0; }
.plan-card.pro .plan-features li { color: rgba(255,255,255,0.65); }
.plan-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.plan-check.yes { background: rgba(115,255,92,0.15); color: var(--lime-d); }
.plan-check.yes::before { content: '✓'; font-weight: 800; }
.plan-check.no { background: rgba(5,5,5,0.06); color: #bbb; }
.plan-check.no::before { content: '–'; }
.plan-card.pro .plan-check.yes { background: rgba(115,255,92,0.18); color: var(--lime); }
.plan-tag-ilimitado {
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  background: var(--lime); color: var(--black);
  padding: 2px 8px; border-radius: 100px;
}
.plan-tag-limit { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.plan-cta {
  width: 100%; padding: 14px 24px; border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px; font-weight: 700;
  text-decoration: none; display: block; text-align: center;
  border: none; cursor: pointer; transition: transform 0.2s, opacity 0.2s;
}
.plan-cta:hover { transform: translateY(-1px); opacity: 0.9; }
.plan-cta.free-cta { background: var(--card); color: var(--black); }
.plan-cta.pro-cta { background: var(--lime); color: var(--black); }

/* ── FINAL CTA ── */
.final-cta {
  background: var(--black); text-align: center; padding: 130px 24px;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute;
  bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(127,58,239,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800;
  color: var(--white); letter-spacing: -1.5px;
  max-width: 600px; margin: 0 auto 16px; line-height: 1.08; position: relative;
}
.final-cta h2 em { font-style: normal; color: var(--lime); }
.final-cta p {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.5); margin-bottom: 40px; position: relative;
}

/* ── FOOTER ── */
footer {
  background: var(--black); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 44px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.footer-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 800; letter-spacing: 1px; color: var(--white);
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); text-align: center; }

@media (max-width: 640px) {
  section { padding: 72px 20px; }
  .features-grid, .steps, .plans-grid { grid-template-columns: 1fr; }
}

/* ── SCROLL REVEAL ── */
/* Visible by default; only hidden-until-in when JS is present and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}
