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

:root {
  --bg:      #0d0f14;
  --bg2:     #111318;
  --bg3:     #161920;
  --bg4:     #1c2030;
  --border:  #252b3a;
  --border2: #2e3548;
  --yellow:  #f5c518;
  --yellow2: #ffd94a;
  --orange:  #e07b00;
  --red:     #e03030;
  --green:   #18c95c;
  --blue:    #1a8fff;
  --text:    #e8eaf0;
  --text2:   #9aa0b4;
  --text3:   #4e5670;
  --card:    #13161e;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  padding-top: 52px; /* reserva espacio para el .navbar fijo */
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px;
  background: rgba(13,15,20,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex; align-items: center;
  padding: 0 24px; gap: 0;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; margin-right: 28px; flex-shrink: 0;
}
.nav-logo-bolt {
  width: 28px; height: 28px;
  background: var(--yellow);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--text); letter-spacing: 1px;
}

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  cursor: pointer; border: none; background: transparent;
  text-decoration: none; transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link svg { opacity: 0.6; }

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-region {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text2); cursor: pointer;
  padding: 5px 8px; border-radius: 4px;
  transition: background 0.15s;
}
.nav-region:hover { background: rgba(255,255,255,0.05); }

.btn-login {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--border2); color: var(--text);
  background: transparent; cursor: pointer;
  transition: all 0.15s; text-decoration: none;
}
.btn-login:hover { border-color: var(--yellow); color: var(--yellow); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: row;
  overflow: hidden;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
}

/* Dark vignette left so text is readable */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,15,20,0.97) 0%,
    rgba(13,15,20,0.85) 38%,
    rgba(13,15,20,0.3) 65%,
    rgba(13,15,20,0.1) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 64px 60px 56px;
  max-width: 620px;
  display: flex; flex-direction: column; gap: 0;
  flex-shrink: 0;
}

.hero-video-wrap {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 60px 56px 0;
  min-width: 0;
}
.hero-video-frame {
  position: relative;
  width: 100%; max-width: 640px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245,197,24,0.25);
  background: #000;
  box-shadow:
    0 0 0 1px rgba(245,197,24,0.08),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(245,197,24,0.08);
}
.hero-video-frame::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 3;
  background: linear-gradient(180deg, rgba(0,0,0,0.7), transparent);
  pointer-events: none;
}
.hero-video-chrome {
  position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 4;
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  pointer-events: none;
}
.hvc-dot { width: 9px; height: 9px; border-radius: 50%; }
.hvc-r { background: #e03030; }
.hvc-y { background: #f5c518; }
.hvc-g { background: #18c95c; }
.hvc-label {
  margin-left: 10px; font-family: 'Share Tech Mono', monospace;
  font-size: 10px; color: var(--text3); letter-spacing: 1.5px;
}
.hero-video-frame iframe,
.hero-video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.hero-video-caption {
  margin-top: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; color: var(--text3); letter-spacing: 1.5px;
  text-align: center;
}
@media (max-width: 1024px) {
  .hero { flex-direction: column; }
  .hero-video-wrap { padding: 0 40px 56px; }
}

.hero-badge {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.hero-badge-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero-badge-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--text2); letter-spacing: 1px;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  text-wrap: pretty;
}

.hero-subtitle {
  font-size: 15px; font-weight: 400;
  color: var(--yellow); margin-bottom: 8px;
  font-family: 'Rajdhani', sans-serif; font-weight: 500;
  letter-spacing: 0.3px;
}
.hero-desc {
  font-size: 13px; color: var(--text3); margin-bottom: 36px;
  line-height: 1.5;
}

.hero-actions { display: flex; flex-direction: column; gap: 16px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 6px;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text); font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s; width: fit-content;
}
.btn-primary:hover {
  border-color: var(--yellow); color: var(--yellow);
  box-shadow: 0 0 20px rgba(245,197,24,0.15);
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px;
  background: var(--yellow);
  border: none;
  color: #0d0f14; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s; width: fit-content;
  font-family: 'Rajdhani', sans-serif; letter-spacing: 1px;
}
.btn-cta:hover {
  background: var(--yellow2);
  box-shadow: 0 0 30px rgba(245,197,24,0.4);
  transform: translateY(-1px);
}

.hero-contact {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px; color: var(--text3);
}
.hero-contact a { color: var(--yellow); text-decoration: none; }
.hero-contact a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   PRICING SECTION
══════════════════════════════════════ */
.section-pricing {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 60px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--text); margin-bottom: 32px;
}
.section-title span { color: var(--yellow); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1280px;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 22px 28px;
  display: flex; flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.pricing-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.pricing-card.featured {
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 0 30px rgba(245,197,24,0.06);
}
.pricing-card.featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.pricing-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 14px;
  font-family: 'Share Tech Mono', monospace;
  width: fit-content;
}
.badge-free    { background: rgba(74,81,104,0.3); color: var(--text3); border: 1px solid var(--border); }
.badge-one     { background: rgba(255,107,0,0.12); color: var(--orange); border: 1px solid rgba(255,107,0,0.35); }
.badge-pro     { background: rgba(245,197,24,0.12); color: var(--yellow); border: 1px solid rgba(245,197,24,0.3); }
.badge-inst    { background: rgba(26,143,255,0.1); color: var(--blue); border: 1px solid rgba(26,143,255,0.3); }

.pricing-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.pricing-desc {
  font-size: 12px; color: var(--text3); margin-bottom: 24px; line-height: 1.5;
}

.pricing-price {
  margin-bottom: 6px;
}
.pricing-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--text);
  line-height: 1;
}
.pricing-amount.free-amt { color: var(--green); }
.pricing-period {
  font-size: 12px; color: var(--text3); margin-bottom: 24px;
}

.pricing-popular {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 14px; border-radius: 20px;
  background: var(--yellow); color: #0d0f14;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 20px; width: fit-content;
}

.pricing-divider {
  height: 1px; background: var(--border); margin: 0 0 20px;
}

.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pf-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text2); line-height: 1.4;
}
.pf-check {
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0; margin-top: 1px;
}
.pf-check.yes  { background: rgba(24,201,92,0.15); color: var(--green); border: 1px solid rgba(24,201,92,0.3); }
.pf-check.no   { background: rgba(78,86,112,0.15); color: var(--text3); border: 1px solid var(--border); }
.pf-check.star { background: rgba(245,197,24,0.15); color: var(--yellow); border: 1px solid rgba(245,197,24,0.3); }

.pricing-btn {
  width: 100%; padding: 12px;
  border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s; border: none; text-align: center;
  text-decoration: none; display: block;
}
.pb-free  { background: var(--bg4); color: var(--text2); border: 1px solid var(--border2); }
.pb-free:hover  { border-color: var(--text3); color: var(--text); }
.pb-pro   { background: var(--yellow); color: #0d0f14; }
.pb-pro:hover   { background: var(--yellow2); box-shadow: 0 0 20px rgba(245,197,24,0.3); }
.pb-inst  { background: rgba(26,143,255,0.12); color: var(--blue); border: 1px solid rgba(26,143,255,0.3); }
.pb-inst:hover  { background: rgba(26,143,255,0.2); box-shadow: 0 0 20px rgba(26,143,255,0.15); }
.pb-one   { background: rgba(255,107,0,0.12); color: var(--orange); border: 1px solid rgba(255,107,0,0.35); }
.pb-one:hover   { background: rgba(255,107,0,0.2); box-shadow: 0 0 20px rgba(255,107,0,0.18); }

/* ══════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════ */
.section-features {
  padding: 72px 60px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.features-intro {
  max-width: 640px; margin-bottom: 56px;
}
.features-intro .tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; color: var(--yellow); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px;
}
.features-intro h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px; font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 14px; text-wrap: pretty;
}
.features-intro p { font-size: 14px; color: var(--text2); line-height: 1.7; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  padding: 28px 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.feat-card:hover {
  border-color: rgba(245,197,24,0.2);
  transform: translateY(-2px);
}
.feat-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 20px;
}
.feat-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 8px;
}
.feat-card p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ══════════════════════════════════════
   TECH SPECS
══════════════════════════════════════ */
.section-specs {
  padding: 64px 60px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.specs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 900px;
}
.spec-group h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--yellow);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Share Tech Mono', monospace;
}
.spec-item {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.spec-item:last-child { border-bottom: none; }
.spec-key { color: var(--text3); }
.spec-val { color: var(--text); font-weight: 500; }

/* ══════════════════════════════════════
   COMMUNITY SECTION
══════════════════════════════════════ */
.section-community {
  padding: 72px 60px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.community-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}
.comm-card {
  padding: 24px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
  transition: all 0.2s;
}
.comm-card:hover { border-color: rgba(245,197,24,0.25); transform: translateY(-2px); }
.comm-card .cc-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 18px;
}
.comm-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.comm-card p { font-size: 12px; color: var(--text2); line-height: 1.6; }
.comm-card .cc-link {
  margin-top: 14px; font-size: 12px; color: var(--yellow);
  display: flex; align-items: center; gap: 4px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 40px 60px 24px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.footer-brand .fb-bolt {
  width: 24px; height: 24px; background: var(--yellow); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.footer-brand .fb-name {
  font-family: 'Rajdhani', sans-serif; font-size: 16px;
  font-weight: 700; color: var(--text); letter-spacing: 1px;
}
.footer-brand p { font-size: 12px; color: var(--text3); line-height: 1.6; max-width: 260px; }

.footer-col h5 {
  font-size: 11px; font-weight: 700; color: var(--text2);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px; font-family: 'Share Tech Mono', monospace;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--text3);
  text-decoration: none; margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text2); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: 11px; color: var(--text3);
}
.footer-bottom a { color: var(--text3); text-decoration: none; }
.footer-bottom a:hover { color: var(--text2); }

/* ══════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════ */
.announcement {
  background: rgba(245,197,24,0.08);
  border-bottom: 1px solid rgba(245,197,24,0.15);
  padding: 9px 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12px; color: var(--text2);
}
.announcement strong { color: var(--yellow); }
.announcement a { color: var(--yellow); text-decoration: none; font-weight: 600; }

/* ══════════════════════════════════════
   DROPDOWN (nav)
══════════════════════════════════════ */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; min-width: 200px;
  padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  display: none; z-index: 200;
}
/* Puente invisible que cubre los 8px entre el botón y el menú.
   Sin esto el mouse pierde el :hover al cruzar la franja vacía
   y el menú se cierra antes de que llegues a las opciones. */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px; cursor: pointer;
  text-decoration: none; transition: background 0.12s;
}
.dd-item:hover { background: rgba(255,255,255,0.05); }
.dd-item-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.dd-item-text strong {
  display: block; font-size: 13px; color: var(--text); font-weight: 600;
}
.dd-item-text span { font-size: 11px; color: var(--text3); }

/* Divider in dropdown */
.dd-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  background: var(--bg3); border-bottom: 1px solid var(--border);
  padding: 20px 60px;
  display: flex; gap: 48px; align-items: center;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px; font-weight: 700; color: var(--yellow);
}
.stat-label { font-size: 11px; color: var(--text3); letter-spacing: 0.5px; }
.stats-divider { width: 1px; height: 36px; background: var(--border); }

/* ══════════════════════════════════════
   BILLING TOGGLE (Mensual / Anual)
══════════════════════════════════════ */
.billing-toggle {
  display: inline-flex; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px;
  margin-bottom: 28px; gap: 4px;
}
.bt-opt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--text2); background: transparent;
  border: none; cursor: pointer;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.bt-opt:hover { color: var(--text); }
.bt-opt.is-active { background: var(--yellow); color: #0d0f14; }
.bt-opt.is-active .bt-save {
  background: rgba(13,15,20,0.18); color: #0d0f14;
}
.bt-save {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(24,201,92,0.18); color: var(--green);
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
}

/* 3-column pricing variant */
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
@media (max-width: 1100px) {
  .pricing-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Smooth swap animation */
.pricing-amount, .pricing-period, .pricing-btn {
  transition: opacity 0.16s ease;
}
.pricing-grid.is-swapping .pricing-amount,
.pricing-grid.is-swapping .pricing-period,
.pricing-grid.is-swapping .pricing-btn { opacity: 0; }

/* ══════════════════════════════════════
   MOBILE NAV TOGGLE (hidden on desktop)
══════════════════════════════════════ */
.nav-toggle {
  display: none;
  margin-left: 8px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 6px; border: 1px solid var(--border2);
  background: transparent; cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  position: relative;
  width: 18px; height: 2px;
  background: var(--text);
  transition: background 0.18s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--text);
  transition: top 0.2s ease, transform 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ══════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════ */
@media (max-width: 960px) {
  .section-pricing,
  .section-features,
  .section-specs,
  .section-community { padding-left: 32px; padding-right: 32px; }
  .footer { padding-left: 32px; padding-right: 32px; }
  .stats-bar { padding-left: 32px; padding-right: 32px; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Announcement bar */
  .announcement {
    padding: 8px 14px; font-size: 11px;
    flex-wrap: wrap; gap: 6px; line-height: 1.4;
  }

  /* Navbar */
  .navbar { padding: 0 12px; }
  .nav-logo {
    margin-right: 0;
    min-width: 0;            /* permite que el texto se trunque si hace falta */
    overflow: hidden;
  }
  .nav-logo-text {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle { display: flex; flex-shrink: 0; }

  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(13,15,20,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 8px 12px 18px;
    gap: 0; flex: none;
    max-height: calc(100vh - 52px); overflow-y: auto;
    /* Cuando está cerrado, se va totalmente arriba del viewport
       (su propia altura). Al abrir, baja a 52px (debajo del navbar). */
    transform: translateY(-100%);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    visibility: hidden; /* refuerza que no reciba clicks cuando está cerrado */
    pointer-events: none;
  }
  body.nav-open .nav-links {
    transform: translateY(52px);
    transition: transform 0.25s ease, visibility 0s linear 0s;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-dropdown:last-child { border-bottom: none; }
  .nav-dropdown .nav-link {
    width: 100%; padding: 14px 12px;
    font-size: 14px; justify-content: space-between;
    border-radius: 0;
  }
  .nav-link svg { transition: transform 0.2s; }
  .nav-dropdown.is-open .nav-link svg { transform: rotate(180deg); }

  /* Override desktop hover behaviour on mobile */
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.is-open .dropdown-menu { display: block; }

  .dropdown-menu {
    position: static; min-width: 0;
    background: transparent; border: none;
    box-shadow: none; padding: 0 0 10px 8px;
  }
  .dropdown-menu::before { display: none; }

  .nav-right { gap: 6px; flex-shrink: 0; }
  .nav-right .nav-region { display: none; }
  .nav-right .btn-login {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;     /* "Iniciar sesión" no se parte */
    flex-shrink: 0;
  }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content {
    padding: 36px 20px 28px;
    max-width: 100% !important;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13,15,20,0.95) 0%,
      rgba(13,15,20,0.85) 45%,
      rgba(13,15,20,0.75) 100%
    );
  }
  .hero-title { font-size: 26px; line-height: 1.18; }
  .hero-subtitle { font-size: 13px; }
  .hero-desc { font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a, .hero-actions button {
    width: 100%; text-align: center; justify-content: center;
  }
  .hero-contact { font-size: 12px; }
  .hero-video-wrap { padding: 0 20px 36px; }
  .hero-video-caption { font-size: 10px; padding: 8px 12px; }

  /* Stats bar */
  .stats-bar {
    padding: 14px 20px; gap: 14px 24px;
    flex-wrap: wrap; justify-content: flex-start;
  }
  .stat-item { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 10.5px; line-height: 1.3; }
  .stats-divider { display: none; }

  /* Section titles */
  .section-title { font-size: 22px; margin-bottom: 18px; }

  /* Pricing */
  .section-pricing { padding: 44px 20px; }
  .pricing-grid,
  .pricing-grid-3 { grid-template-columns: 1fr !important; gap: 14px; }
  .pricing-card { padding: 22px 20px 26px; }
  .pricing-amount { font-size: 32px; }

  .billing-toggle {
    display: flex; width: 100%; max-width: 360px;
    margin-bottom: 22px;
  }
  .bt-opt { flex: 1; justify-content: center; padding: 10px 12px; font-size: 12px; }

  /* Features */
  .section-features { padding: 48px 20px; }
  .features-intro { margin-bottom: 28px; }
  .features-intro h2 { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-card { padding: 22px 20px; }

  /* Specs */
  .section-specs { padding: 48px 20px; }
  .specs-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Community */
  .section-community { padding: 48px 20px; }
  .community-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }

  /* Footer */
  .footer { padding: 32px 20px 20px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px; margin-bottom: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column; gap: 10px;
    text-align: center;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-title { font-size: 23px; }
  .pricing-amount { font-size: 28px; }
  .nav-logo-text { font-size: 15px; }
  .announcement { font-size: 10.5px; }
  /* En pantallas muy angostas reducimos un poco el botón de login,
     pero siempre mostramos el texto "Iniciar sesión" */
  .nav-right .btn-login { padding: 6px 10px; font-size: 11px; gap: 4px; }
  .nav-right .btn-login svg { width: 12px; height: 12px; }
}
  .stat-label {
      color:#fff;
  }
/* ══════════════════════════════════════
   LEGAL PAGES (Aviso de Privacidad, Términos de uso)
   ══════════════════════════════════════ */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 28px 100px;
}

/* Encabezado */
.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 36px;
  margin-bottom: 48px;
}
.legal-breadcrumb {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text2);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.legal-breadcrumb a { color: var(--text2); text-decoration: none; }
.legal-breadcrumb a:hover { color: var(--yellow); }
.legal-breadcrumb .sep { color: var(--text3); margin: 0 8px; }

.legal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.legal-subtitle {
  font-size: 16px;
  color: var(--text2);
  max-width: 640px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.legal-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.legal-meta .meta-key { color: var(--yellow); }

/* Tabla de contenido */
.legal-toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 26px;
  margin-bottom: 56px;
}
.legal-toc-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li {
  counter-increment: toc;
  padding: 6px 0;
  break-inside: avoid;
}
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero) ".";
  font-family: 'Share Tech Mono', monospace;
  color: var(--yellow);
  margin-right: 10px;
  font-size: 12px;
}
.legal-toc a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.legal-toc a:hover { color: var(--yellow); }

/* Secciones */
.legal-section {
  margin-bottom: 56px;
  scroll-margin-top: 72px; /* para que el navbar fijo no tape el ancla */
}
.legal-section-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.legal-section h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-top: 28px;
  margin-bottom: 12px;
}

/* Cuerpo de texto */
.legal-section p,
.legal-section li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section p strong { color: #fff; font-weight: 600; }
.legal-section a:not(.legal-toc a) {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,197,24,0.3);
  transition: border-color 0.15s;
}
.legal-section a:not(.legal-toc a):hover { border-bottom-color: var(--yellow); }

.legal-section ul,
.legal-section ol {
  margin: 8px 0 18px 4px;
  padding-left: 22px;
}
.legal-section ul li,
.legal-section ol li { margin-bottom: 8px; }
.legal-section ul li::marker { color: var(--yellow); }
.legal-section ol li::marker { color: var(--yellow); font-family: 'Share Tech Mono', monospace; }

/* Lista de definiciones */
.legal-section dl { margin: 8px 0 20px; }
.legal-section dt {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--yellow2);
  margin-top: 14px;
  margin-bottom: 4px;
}
.legal-section dd {
  color: var(--text);
  line-height: 1.7;
  font-size: 14.5px;
  padding-left: 0;
}

/* Caja destacada (datos importantes, derechos ARCO, etc.) */
.legal-callout {
  background: var(--bg3);
  border-left: 3px solid var(--yellow);
  border-radius: 4px;
  padding: 18px 22px;
  margin: 18px 0 22px;
}
.legal-callout-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.legal-callout p:last-child { margin-bottom: 0; }

/* Tabla de transferencias de datos */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.legal-table th {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--yellow);
  text-transform: uppercase;
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
}
.legal-table td { color: var(--text); }
.legal-table tr:last-child td { border-bottom: none; }

/* Placeholders [CORCHETES] resaltan visualmente para recordar llenarlos */
.legal-section .placeholder {
  background: rgba(245,197,24,0.10);
  color: var(--yellow2);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9em;
  font-weight: 500;
}

/* Pie de página legal */
.legal-footer-note {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* Móvil */
@media (max-width: 768px) {
  .legal-page { padding: 40px 18px 70px; }
  .legal-title { font-size: 34px; }
  .legal-subtitle { font-size: 14.5px; }
  .legal-header { padding-bottom: 26px; margin-bottom: 32px; }
  .legal-toc ol { columns: 1; }
  .legal-toc { padding: 18px 20px; margin-bottom: 40px; }
  .legal-section { margin-bottom: 42px; }
  .legal-section h2 { font-size: 23px; }
  .legal-section h3 { font-size: 17px; }
  .legal-section p,
  .legal-section li { font-size: 14.5px; line-height: 1.7; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 8px; }
}

/* ══════════════════════════════════════
   PÁGINA DE CONTACTO
   ══════════════════════════════════════ */
.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 64px;
}

.contact-channel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px 32px 30px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
  overflow: hidden;
}
.contact-channel::before {
  /* Sutil acento decorativo en la esquina superior derecha */
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at center, rgba(245,197,24,0.06), transparent 70%);
  pointer-events: none;
  transition: background 0.2s;
}
.contact-channel:hover {
  border-color: var(--yellow);
  background: var(--bg3);
  transform: translateY(-3px);
}
.contact-channel:hover::before {
  background: radial-gradient(circle at center, rgba(245,197,24,0.16), transparent 70%);
}

.contact-channel-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg4);
  border: 1px solid var(--border2);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.contact-channel-icon svg { width: 22px; height: 22px; }

/* Variante WhatsApp: usar verde sutil */
.contact-channel.is-whatsapp .contact-channel-icon {
  background: rgba(37, 211, 102, 0.10);
  border-color: rgba(37, 211, 102, 0.35);
}
.contact-channel.is-whatsapp .contact-channel-icon svg { color: #25D366; }

/* Variante correo: amarillo */
.contact-channel.is-email .contact-channel-icon {
  background: rgba(245,197,24,0.10);
  border-color: rgba(245,197,24,0.35);
}
.contact-channel.is-email .contact-channel-icon svg { color: var(--yellow); }

.contact-channel-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-channel-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  word-break: break-all;
  line-height: 1.15;
  margin-bottom: 14px;
}

.contact-channel-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 26px;
  flex-grow: 1;
}

.contact-channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--yellow);
  text-transform: uppercase;
  transition: gap 0.18s;
}
.contact-channel:hover .contact-channel-cta { gap: 14px; }

/* Sección "Antes de escribirnos" */
.contact-tips {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 32px 28px;
}
.contact-tips-header {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-tips h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.contact-tips > p {
  font-size: 14.5px;
  color: var(--text2);
  margin-bottom: 22px;
}
.contact-tips-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.contact-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.contact-tips-list li .tip-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--yellow);
  background: rgba(245,197,24,0.10);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 760px) {
  .contact-channels {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }
  .contact-channel { padding: 26px 24px 24px; }
  .contact-channel-value { font-size: 22px; }
  .contact-tips { padding: 24px 22px 22px; }
  .contact-tips-list { grid-template-columns: 1fr; gap: 12px; }
}

/* ══════════════════════════════════════
   PÁGINA DE REGISTRO
   ══════════════════════════════════════ */
.signup-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 28px 100px;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}

/* ── Columna izquierda: info ── */
.signup-info { padding-top: 8px; }
.signup-info-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.signup-info-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.signup-info-title .accent { color: var(--yellow); }
.signup-info-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text2);
  margin-bottom: 32px;
  max-width: 460px;
}

.signup-points {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.signup-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.signup-points li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--yellow);
}

.signup-info-foot {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text3);
  text-transform: uppercase;
}

/* ── Columna derecha: formulario ── */
.signup-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 36px 32px;
  position: relative;
}

.signup-form-header {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.signup-form-step {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.signup-form-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.signup-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-field { display: flex; flex-direction: column; }
.form-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--text2);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-label .req { color: var(--yellow); margin-left: 3px; }

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  padding: 11px 14px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--text3); }
.form-input:hover { border-color: var(--border2); }
.form-input:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--bg3);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.10);
}
.form-input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224,48,48,0.10);
}
.form-error {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 1px;
  margin-top: 6px;
  text-transform: uppercase;
  display: none;
}
.form-field.is-invalid .form-error { display: block; }

/* Submit y meta */
.form-submit {
  margin-top: 6px;
  width: 100%;
  background: var(--yellow);
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 18px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
}
.form-submit:hover { background: var(--yellow2); }
.form-submit:active { transform: translateY(1px); }
.form-submit:disabled {
  background: var(--border2);
  color: var(--text3);
  cursor: not-allowed;
}
.form-submit svg { width: 16px; height: 16px; }
.form-submit .spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.form-submit.is-loading .spinner { display: inline-block; }
.form-submit.is-loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-legal {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text2);
  text-align: center;
  margin-top: 14px;
}
.form-legal a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,197,24,0.3);
}
.form-legal a:hover { border-bottom-color: var(--yellow); }

.signup-form-footer {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--text2);
}
.signup-form-footer a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}
.signup-form-footer a:hover { text-decoration: underline; }

/* Estado de éxito (reemplaza el form) */
.signup-success {
  display: none;
  text-align: center;
  padding: 30px 10px 18px;
}
.signup-success.is-visible { display: block; }
.signup-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(24,201,92,0.12);
  border: 1px solid rgba(24,201,92,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}
.signup-success-icon svg { width: 30px; height: 30px; }
.signup-success-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.signup-success-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 360px;
  margin: 0 auto 28px;
}
.signup-success-text strong { color: #fff; }
.signup-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

/* Móvil */
@media (max-width: 880px) {
  .signup-grid { grid-template-columns: 1fr; gap: 44px; }
  .signup-info-title { font-size: 32px; }
  .signup-info-text { font-size: 15px; }
}
@media (max-width: 540px) {
  .signup-page { padding: 40px 18px 70px; }
  .signup-form-wrap { padding: 26px 22px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .signup-info-title { font-size: 28px; }
}