@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
/* ── TRASCENDMY CORE — Main Stylesheet ───────────────────────────────────── */
:root {
  --tmc-bg:        #07071a;
  --tmc-surface:   #0d0d2a;
  --tmc-border:    #1f1f3a;
  --tmc-navy:      #07071a;
  --tmc-blue:      #4f46e5;
  --tmc-cyan:      #06b6d4;
  --tmc-cyan-lt:   #1a3a4a;
  --tmc-gold:      #f59e0b;
  --tmc-purple:    #7c3aed;
  --tmc-green:     #10b981;
  --tmc-red:       #ef4444;
  --tmc-text:      #f0f0f8;
  --tmc-muted:     #8a8ab0;
  --tmc-radius:    12px;
  --tmc-radius-lg: 20px;
  --tmc-shadow:    0 4px 24px rgba(0,0,0,.3);
  --tmc-shadow-lg: 0 8px 40px rgba(0,0,0,.5);
  --sidebar-w:     260px;
  --font:          'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.tmc-page { font-family: var(--font); color: var(--tmc-text); background: var(--tmc-bg); min-height: 100vh; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.tmc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--tmc-radius); border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
  text-decoration: none; line-height: 1;
}
.tmc-btn--primary  { background: linear-gradient(135deg, var(--tmc-blue), var(--tmc-cyan)); color: #fff; }
.tmc-btn--primary:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(6,182,212,.35); }
.tmc-btn--ghost    { background: transparent; color: var(--tmc-blue); border: 1.5px solid var(--tmc-blue); }
.tmc-btn--ghost:hover { background: var(--tmc-blue); color: #fff; }
.tmc-btn--danger   { background: var(--tmc-red); color: #fff; }
.tmc-btn--danger:hover { filter: brightness(1.1); }
.tmc-btn--lg       { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.tmc-btn--sm       { padding: 7px 14px; font-size: 13px; }
.tmc-btn--full     { width: 100%; }
.tmc-btn:disabled  { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.tmc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
}
.tmc-badge--cyan  { background: var(--tmc-cyan-lt); color: #0891b2; }
.tmc-badge--blue  { background: #dbeafe; color: var(--tmc-blue); }
.tmc-badge--dark  { background: var(--tmc-navy); color: #e2e8f0; }
.tmc-badge--green { background: #d1fae5; color: #065f46; }
.tmc-badge--gray  { background: #f1f5f9; color: var(--tmc-muted); }
.tmc-badge--gold  { background: #fef3c7; color: #92400e; }

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.tmc-alert {
  padding: 12px 16px; border-radius: var(--tmc-radius); margin: 12px 0;
  font-size: 14px; font-weight: 500;
}
.tmc-alert--success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--tmc-green); }
.tmc-alert--error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--tmc-red); }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.tmc-form { display: flex; flex-direction: column; gap: 16px; }
.tmc-form__group { display: flex; flex-direction: column; gap: 6px; }
.tmc-form__label { font-size: 13px; font-weight: 600; color: var(--tmc-muted); text-transform: uppercase; letter-spacing: .5px; }
.tmc-form__input, .tmc-form__textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--tmc-border);
  border-radius: var(--tmc-radius); font-size: 15px; background: var(--tmc-surface);
  color: var(--tmc-text); transition: border-color .2s;
  font-family: var(--font);
}
.tmc-form__input:focus, .tmc-form__textarea:focus {
  outline: none; border-color: var(--tmc-cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.12);
}
.tmc-form__input-wrap { position: relative; }
.tmc-form__input-wrap .tmc-form__input { padding-right: 44px; }
.tmc-form__eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; font-size: 16px; }
.tmc-form__hint { font-size: 12px; color: var(--tmc-muted); }
.tmc-form__textarea { resize: vertical; min-height: 80px; }

/* ── Toggle checkbox ──────────────────────────────────────────────────────── */
.tmc-toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; padding: 4px 0; }
.tmc-toggle-check { display: none; }
.tmc-toggle {
  width: 40px; height: 22px; background: var(--tmc-border); border-radius: 99px;
  position: relative; transition: background .2s; flex-shrink: 0;
}
.tmc-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.tmc-toggle-check:checked + .tmc-toggle { background: var(--tmc-cyan); }
.tmc-toggle-check:checked + .tmc-toggle::after { transform: translateX(18px); }

/* ── Progress bar ─────────────────────────────────────────────────────────── */
.tmc-progress-bar {
  width: 100%; height: 10px; background: #e2e8f0;
  border-radius: 99px; overflow: hidden;
}
.tmc-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tmc-blue), var(--tmc-cyan));
  border-radius: 99px; transition: width .6s ease;
}
.tmc-progress-bar--sm { height: 6px; }

/* ── Toast ────────────────────────────────────────────────────────────────── */
.tmc-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--tmc-navy); color: #fff; padding: 12px 24px;
  border-radius: 99px; font-size: 14px; font-weight: 600;
  opacity: 0; transition: all .3s; z-index: 9999; pointer-events: none;
}
.tmc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.tmc-toast--error { background: var(--tmc-red); }

/* =========================================================================
   ── NUEVA VERSIÓN HOME (Estilo App Móvil Gamificada & Alta Conversión) ──
   ========================================================================= */

.tmc-section-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--tmc-cyan);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}

.tmc-section-header {
  text-align: center; max-width: 640px; margin: 0 auto 48px; padding: 0 16px;
}
.tmc-section-header h2 { font-size: 32px; font-weight: 900; color: var(--tmc-navy); letter-spacing: -1px; margin-bottom: 14px; }
.tmc-section-header p { font-size: 15px; color: var(--tmc-muted); line-height: 1.6; }

/* =========================================================================
   1. HERO AREA MODERNIZADA (Glassmorphism & Orbes)
   ========================================================================= */
.tmc-hero-modern {
  min-height: 95vh; display: flex; align-items: center; justify-content: center;
  background-color: #040914; /* Fondo ultra oscuro profundo */
  padding: 100px 24px 140px; position: relative; overflow: hidden;
}

/* Orbes Luminosos de Fondo */
.tmc-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
/* Orbes Luminosos de Fondo - Más difuminados y sutiles */
.tmc-glow { 
  position: absolute; 
  width: 600px; 
  height: 600px; 
  border-radius: 50%; 
  filter: blur(120px); /* Mayor desenfoque */
  opacity: 0.15; /* Bajamos la opacidad del 0.4 al 0.15 */
}.tmc-glow-blue { top: -20%; left: -10%; background: var(--tmc-blue); animation: drift 15s infinite alternate ease-in-out; }
.tmc-glow-cyan { bottom: -20%; right: -10%; background: var(--tmc-cyan); animation: drift 20s infinite alternate-reverse ease-in-out; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Contenido Principal */
.tmc-hero-modern__inner { text-align: center; max-width: 800px; z-index: 2; position: relative; }

/* Logo de Vidrio */
.tmc-glass-logo {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Título con Gradiente Moderno */
/* Título con sombra para despegarlo del fondo */
.tmc-hero-modern__title { 
  font-size: clamp(42px, 8vw, 72px); 
  font-weight: 900; 
  color: #ffffff; 
  letter-spacing: -2px; 
  line-height: 1.05; 
  margin-bottom: 24px; 
  text-shadow: 0 4px 24px rgba(0,0,0,0.6); /* Sombra oscura para dar profundidad */
}

/* Gradiente más claro y brillante */
.tmc-text-gradient {
  background: linear-gradient(to right, #22d3ee, #60a5fa, #c084fc); /* Tonos más luminosos */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* El drop-shadow en webkit ayuda a que el texto con gradiente no se pierda */
  filter: drop-shadow(0px 4px 12px rgba(0,0,0,0.4)); 
}
/* Subtítulo más blanco y legible */
.tmc-hero-modern__sub { 
  font-size: 19px; 
  color: #f1f5f9; /* Blanco humo en lugar de gris oscuro */
  margin-bottom: 32px; 
  line-height: 1.6; 
  max-width: 600px; 
  margin-inline: auto; 
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8); /* Sombra para máxima legibilidad */
}
/* Badges y Botones Glass */
.tmc-hero-modern__badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tmc-glass-badge {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px);
}

.tmc-hero-modern__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tmc-btn--glass {
  background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}
.tmc-btn--glass:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }

/* Notificaciones Flotantes (UI) */
.tmc-floating-ui {
  position: absolute; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px); padding: 12px 16px; border-radius: 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.4); z-index: 1; pointer-events: none;
}
.tmc-floating-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.tmc-floating-text { display: flex; flex-direction: column; text-align: left; }
.tmc-floating-text strong { color: #fff; font-size: 14px; font-weight: 800; }
.tmc-floating-text span { color: #94a3b8; font-size: 11px; font-weight: 600; text-transform: uppercase; }

/* Posicionamiento y Animación Flotante */
.tmc-float-left { top: 25%; left: 10%; animation: tmcFloat 6s ease-in-out infinite; }
.tmc-float-right { bottom: 35%; right: 10%; animation: tmcFloat 8s ease-in-out infinite reverse; }

@keyframes tmcFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Ocultar elementos flotantes en móviles pequeños para que no tapen el texto */
@media (max-width: 992px) {
  .tmc-floating-ui { display: none; }
}





/* =========================================================================
   ESTRUCTURA DE SECCIONES INTERCALADAS (SOLUCIÓN NATIVA)
   ========================================================================= */

/* 2. SECCIÓN DE PASOS */
.tmc-steps {
  padding: 72px 24px 60px;
  background: #ffffff;
}
.tmc-steps .tmc-section-header h2 { color: var(--tmc-navy); }
.tmc-steps .tmc-section-header p  { color: #475569; }

.tmc-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.tmc-step-card {
  background: #0d0d2a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .25s ease;
}
.tmc-step-card:hover {
  border-color: rgba(6,182,212,0.4);
  box-shadow: 0 8px 24px rgba(79,70,229,0.08);
  transform: translateY(-3px);
}

.tmc-step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.tmc-step-card__pill {
  font-size: 11px;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.tmc-step-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.tmc-step-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.tmc-step-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.tmc-step-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}
.tmc-step-card__footer span:first-child {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}
.tmc-step-card__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Steps mobile */
@media (max-width: 768px) {
.tmc-steps {
    padding: 32px 16px 28px;
    background: #ffffff;
  }
  .tmc-steps .tmc-section-header h2 { color: #0f172a; }
  .tmc-steps .tmc-section-header p  { color: #475569; }
  .tmc-steps__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 340px;
    margin: 0 auto;
  }
.tmc-step-card {
    background: #0d0d2a !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px 12px 12px;
    gap: 6px;
    text-align: center;
    align-items: center;
  }
  .tmc-step-card:last-child { grid-column: 1 / -1; }
  .tmc-step-card__top { justify-content: center; gap: 8px; }
  .tmc-step-card__pill {
    font-size: 10px;
    padding: 3px 8px;
    color: #06b6d4;
    background: rgba(6,182,212,0.12);
  }
  .tmc-step-card__icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
  }
  .tmc-step-card h3 {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
  }
  .tmc-step-card p {
    font-size: 10px;
    line-height: 1.35;
    color: #94a3b8;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tmc-step-card__footer {
    padding-top: 8px;
    margin-top: 2px;
    border-top-color: rgba(255,255,255,0.06);
    width: 100%;
  }
  .tmc-step-card__footer span:first-child {
    font-size: 9px;
    color: #475569;
  }
  .tmc-step-card__check {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }
}

/* 3. BENEFICIOS / FEATURES (Fondo Oscuro) */
.tmc-features.tmc-features--dark { 
  padding: 100px 24px; 
  background-color: #040914; 
}
.tmc-features.tmc-features--dark .tmc-section-header h2 { color: #ffffff; }
.tmc-features.tmc-features--dark .tmc-section-header p { color: #94a3b8; }

.tmc-features__grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 20px; max-width: 1000px; margin: 0 auto; 
}

.tmc-feature-card { 
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  border-radius: 24px; padding: 28px 24px; transition: all .25s ease; 
  backdrop-filter: blur(12px); display: flex; flex-direction: column; 
  align-items: center; text-align: center; 
}
.tmc-feature-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); 
  border-color: rgba(6,182,212,0.4); 
  background: rgba(255, 255, 255, 0.06); 
}
.tmc-feature-card__icon { 
  width: 48px; height: 48px; border-radius: 14px; display: flex; 
  align-items: center; justify-content: center; font-size: 24px; 
  margin-bottom: 20px; opacity: 0.9; 
}

/* Títulos y textos forzados a blanco/claro en esta sección */
.tmc-features.tmc-features--dark .tmc-feature-card h3 { 
  font-size: 17px; font-weight: 800; color: #ffffff; margin-bottom: 10px; 
}
.tmc-features.tmc-features--dark .tmc-feature-card p { 
  font-size: 14px; color: #cbd5e1; line-height: 1.5; margin: 0; 
}

/* 4. SHOWCASE / CELULAR (Fondo Claro) */
.tmc-showcase { 
  padding: 90px 24px; 
  background-color: #ffffff; /* Fondo blanco asegurado */
  display: flex; align-items: center; justify-content: center; gap: 56px; 
  flex-wrap: wrap; border-radius: 40px 40px 0 0; margin-top: -20px; 
  position: relative; z-index: 11; box-shadow: 0 -10px 40px rgba(0,0,0,0.03); 
}
.tmc-showcase__content { max-width: 480px; }

/* Textos oscuros forzados en esta sección */
.tmc-showcase .tmc-showcase__content h2 { 
  font-size: 36px; font-weight: 900; color: #0f172a; 
  letter-spacing: -1px; margin-bottom: 20px; line-height: 1.1; 
}
.tmc-showcase .tmc-showcase__content p { 
  font-size: 16px; color: #475569; line-height: 1.6; margin-bottom: 24px; 
}
.tmc-showcase .tmc-showcase__list { 
  list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; 
}
.tmc-showcase .tmc-showcase__list li { 
  font-size: 15px; color: #0f172a; font-weight: 600; display: flex; align-items: center; gap: 12px; 
}
.tmc-showcase .tmc-showcase__list span { 
  color: #10b981; font-weight: 800; 
}

/* Mockup Celular (Se mantiene igual) */
.tmc-showcase__visual { perspective: 1000px; }
.tmc-phone-mockup { width: 270px; height: 550px; background: #fff; border-radius: 38px; border: 11px solid #0f172a; position: relative; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,0.12); transform: rotateY(-12deg) rotateX(4deg); transition: transform 0.4s ease; }
.tmc-phone-mockup:hover { transform: rotateY(0deg) rotateX(0deg); }
.tmc-phone-mockup__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0f172a; border-radius: 0 0 14px 14px; z-index: 10; }

/* 5. POR QUÉ ELEGIRNOS (Fondo Oscuro) */
.tmc-why-us { padding: 80px 24px; background: #07071a; border-radius: 40px 40px 0 0; margin-top: -20px; position: relative; z-index: 12; }
.tmc-why-us .tmc-section-header h2 { color: #ffffff; }
.tmc-why-us .tmc-section-header p { color: #94a3b8; }
.tmc-why-us__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.tmc-why-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 24px; text-align: center; }
.tmc-why-card > div:first-child { margin: 0 auto 14px; }
.tmc-why-card h4 { font-size: 16px; font-weight: 800; color: #f8fafc; margin-bottom: 8px; }
.tmc-why-card p { font-size: 13.5px; color: #cbd5e1; line-height: 1.5; margin: 0; }

/* 6. TESTIMONIOS (Fondo Claro) */
.tmc-testimonials { padding: 80px 24px; background: #f8fafc; border-radius: 40px 40px 0 0; margin-top: -20px; position: relative; z-index: 13; }
.tmc-testimonials .tmc-section-header h2 { color: var(--tmc-navy); }
.tmc-testimonials .tmc-section-header p { color: #475569; }
.tmc-review-card { background: #ffffff; border-radius: 24px; padding: 28px; border: 1px solid #e2e8f0; width: 320px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); flex-shrink: 0; margin-right: 24px; }
.tmc-review-card__user { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tmc-review-card__user h5 { font-size: 14.5px; font-weight: 800; color: var(--tmc-navy); margin: 0; }
.tmc-review-card__user span { font-size: 12px; color: #64748b; margin-top: 2px; display: block; }
.tmc-review-card p { font-size: 13.5px; color: #334155; line-height: 1.6; font-style: italic; margin: 0; }

/* 7. CTA OFERTA FINAL (Fondo Oscuro) */
.tmc-cta-final { padding: 80px 24px 100px; background: #040914; text-align: center; border-radius: 40px 40px 0 0; margin-top: -20px; position: relative; z-index: 14; }
.tmc-cta-final__card { max-width: 760px; margin: 0 auto; background: #0f172a; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 32px; padding: 48px 32px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.tmc-cta-final__card h2 { font-size: 30px; font-weight: 900; color: #ffffff; margin-bottom: 14px; letter-spacing: -0.5px; }
.tmc-cta-final__card p { font-size: 15px; color: #94a3b8; line-height: 1.6; margin-bottom: 24px; }

/* ── MÓVIL EXTREMO: Optimización Estilo App (2 Columnas Strict) ── */
@media (max-width: 768px) {
  .tmc-hero__title { font-size: 38px; }
  .tmc-hero__sub { font-size: 15px; }
  .tmc-section-header h2 { font-size: 26px; }
  
  .tmc-showcase { padding: 50px 16px; flex-direction: column; text-align: center; gap: 32px; }
  .tmc-showcase__list li { justify-content: center; }
  .tmc-phone-mockup { transform: none; width: 240px; height: 490px; }
  .tmc-cta-final__card { padding: 32px 16px; }
  .tmc-cta-final__card h2 { font-size: 24px; }

  /* Forzamos las 2 columnas nativas de app en celular */
  .tmc-features__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .tmc-feature-card {
    padding: 16px 12px; border-radius: 18px; align-items: center; text-align: center;
  }
  .tmc-feature-card__icon { width: 38px; height: 38px; font-size: 18px; margin-bottom: 12px; border-radius: 10px; }
  .tmc-feature-card h3 { font-size: 13px; font-weight: 800; line-height: 1.2; }
  .tmc-feature-card p { font-size: 11px; line-height: 1.45; display: block; overflow: visible; -webkit-line-clamp: unset; }
}

/* ── FEATURES ── */
.tmc-features { padding: 80px 24px; }
.tmc-features__header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.tmc-features__header h2 { font-size: 32px; font-weight: 800; color: var(--tmc-navy); margin-bottom: 16px; letter-spacing: -0.5px; }
.tmc-features__header p { font-size: 16px; color: var(--tmc-muted); line-height: 1.6; }

.tmc-features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto;
}

.tmc-feature-card {
  background: var(--tmc-surface); border: 1px solid var(--tmc-border);
  border-radius: 24px; /* Tarjetas más redondas */
  padding: 28px 24px; transition: all .3s ease;
  display: flex; flex-direction: column; align-items: flex-start;
}
.tmc-feature-card:hover { transform: translateY(-4px); box-shadow: var(--tmc-shadow-lg); border-color: rgba(6,182,212,0.3); }

.tmc-feature-card__icon { 
  width: 48px; height: 48px; border-radius: 14px; 
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.tmc-feature-card h3 { font-size: 17px; font-weight: 800; color: var(--tmc-navy); margin-bottom: 10px; }
.tmc-feature-card p  { font-size: 14px; color: var(--tmc-muted); line-height: 1.5; margin: 0; }



/* El teléfono flotante */
.tmc-showcase__visual {
  perspective: 1000px;
}
.tmc-phone-mockup {
  width: 280px; height: 580px; background: #fff;
  border-radius: 40px; border: 12px solid #0f172a;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}
.tmc-phone-mockup:hover { transform: rotateY(0deg) rotateX(0deg); }
.tmc-phone-mockup__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px; background: #0f172a;
  border-radius: 0 0 16px 16px; z-index: 10;
}
.tmc-phone-mockup__screen {
  width: 100%; height: 100%; background: #f8fafc;
  display: flex; flex-direction: column; align-items: center; padding: 40px 20px 20px;
}
.tmc-mockup-header { width: 100%; height: 80px; background: linear-gradient(135deg, var(--tmc-blue), var(--tmc-cyan)); border-radius: 12px; margin-bottom: -30px; }
.tmc-mockup-avatar { width: 64px; height: 64px; background: #e2e8f0; border: 3px solid #fff; border-radius: 50%; margin-bottom: 12px; z-index: 2; }
.tmc-mockup-name { height: 14px; width: 120px; background: #cbd5e1; border-radius: 4px; margin-bottom: 8px; }
.tmc-mockup-bio { height: 10px; width: 160px; background: #e2e8f0; border-radius: 4px; margin-bottom: 32px; }
.tmc-mockup-btn { width: 100%; padding: 12px; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; margin-bottom: 12px; font-size: 11px; font-weight: 700; color: #64748b; text-align: center; }

/* ── MÓVIL EXTREMO: 2 Columnas Estilo App ─────────────────────────────────── */
@media (max-width: 768px) {
  .tmc-hero__title { font-size: 40px; }
  .tmc-section-overlap { border-radius: 30px 30px 0 0; }
  
  .tmc-showcase { padding: 60px 20px; flex-direction: column; text-align: center; gap: 40px; }
  .tmc-showcase__content h2 { font-size: 32px; }
  .tmc-showcase__list li { justify-content: center; }
  .tmc-phone-mockup { transform: none; width: 260px; height: 540px; }

  /* Magia de las 2 Columnas */
  .tmc-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tmc-feature-card {
    padding: 20px 16px;
    border-radius: 20px;
    align-items: center;
    text-align: center;
  }
  .tmc-feature-card__icon {
    width: 40px; height: 40px; font-size: 20px; margin-bottom: 12px;
  }
  .tmc-feature-card h3 { font-size: 14px; line-height: 1.2; }
  .tmc-feature-card p { font-size: 12px; line-height: 1.45; display: block; overflow: visible; -webkit-line-clamp: unset; }
}










/* ── AUTH ─────────────────────────────────────────────────────────────────── */
.tmc-auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tmc-navy), #1e3a5f);
  padding: 24px;
}
.tmc-auth-card {
  background: var(--tmc-surface); border-radius: var(--tmc-radius-lg);
  padding: 40px 36px; width: 100%; max-width: 420px;
  box-shadow: var(--tmc-shadow-lg);
}
.tmc-auth-card--register { max-width: 460px; }
.tmc-auth-card__logo {
  width: 52px; height: 52px; background: linear-gradient(135deg, var(--tmc-cyan), var(--tmc-blue));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #fff; margin: 0 auto 20px;
}
.tmc-auth-card__title { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.tmc-auth-card__sub   { text-align: center; font-size: 14px; color: var(--tmc-muted); margin-bottom: 24px; }
.tmc-auth-card__ref   { text-align: center; font-size: 14px; color: var(--tmc-cyan); margin-bottom: 24px; padding: 10px; background: var(--tmc-cyan-lt); border-radius: 8px; }
.tmc-auth-card__footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--tmc-muted); }
.tmc-auth-card__footer a { color: var(--tmc-blue); font-weight: 600; text-decoration: none; }
.tmc-pass-strength { font-size: 12px; font-weight: 600; margin-top: 4px; height: 16px; }

/* ── DASHBOARD LAYOUT ─────────────────────────────────────────────────────── */
.tmc-dash-page { display: flex; min-height: 100vh; min-height: 100dvh; }

/* 1. Barra Lateral */
.tmc-sidebar {
  width: var(--sidebar-w); background: var(--tmc-navy); color: #e2e8f0;
  display: flex; flex-direction: column; flex-shrink: 0;
  position: fixed; top: 0; left: 0; 
  height: 100vh; height: 100dvh;
  z-index: 1000; transition: transform .3s; overflow: hidden;
}

.tmc-sidebar__brand, .tmc-sidebar__user { flex-shrink: 0; }

.tmc-sidebar__brand { display: flex; align-items: center; gap: 10px; padding: 24px 20px 16px; }
/* Reseteamos el estilo del logo cuando es una imagen */
.tmc-sidebar__brand img.tmc-sidebar__logo {
    background: none !important;
    display: block;
    width: auto; /* O el tamaño que quieras */
    height: 78px; /* Mantiene la altura original del contenedor */
    border-radius: 0;
}
.tmc-sidebar__name  { font-size: 16px; font-weight: 800; letter-spacing: .5px; }

.tmc-sidebar__user  { display: flex; align-items: center; gap: 10px; padding: 12px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tmc-sidebar__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--tmc-cyan); flex-shrink: 0; }
.tmc-sidebar__display { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.tmc-sidebar__username { font-size: 12px; color: #64748b; }

.tmc-sidebar__nav { 
  list-style: none; padding: 16px 0; flex: 1; 
  overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; 
}
.tmc-sidebar__nav::-webkit-scrollbar { display: none; }
.tmc-sidebar__nav li { padding: 2px 12px; }
.tmc-nav-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--tmc-radius); color: #94a3b8; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all .2s;
}
.tmc-nav-link:hover, .tmc-nav-link.active { background: rgba(6,182,212,.12); color: var(--tmc-cyan); }

.tmc-sidebar__footer { 
  padding: 16px 20px 28px; border-top: 1px solid rgba(255,255,255,.08); 
  flex-shrink: 0; margin-top: auto; background: var(--tmc-navy); 
}

/* 2. Contenedor Principal (Esto es lo que faltaba y rompió el desktop) */
.tmc-dash-main { margin-left: var(--sidebar-w); flex: 1; min-width: 0; }

/* 3. Cabecera Móvil (Esto es lo que faltaba y rompió el celu) */
.tmc-dash-header {
  display: none; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--tmc-navy); color: #fff; position: sticky; top: 0; z-index: 50;
}
.tmc-sidebar-toggle { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 0; }
.tmc-dash-header__title { flex: 1; font-weight: 800; font-size: 16px; margin: 0; }
.tmc-dash-header__xp { font-size: 13px; color: var(--tmc-cyan); font-weight: 600; }

/* ── Tabs ─────────────────────────────────────────────────────────────────── */

/* ── Tabs ─────────────────────────────────────────────────────────────────── */
.tmc-tab { display: none; padding: 32px; max-width: 900px; }
.tmc-tab.active { display: block; }

/* ── Stats grid (App-like & Dopamine) ─────────────────────────────────────── */
.tmc-stats-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 16px; 
  margin: 24px 0; 
}

.tmc-stat-card {
  background: var(--tmc-surface); 
  border-radius: var(--tmc-radius-lg);
  padding: 18px 20px; 
  border: 1px solid var(--tmc-border); 
  position: relative; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  
  /* Transiciones fluidas para el efecto de presión */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Animación de entrada inicial */
  animation: tmcPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

/* Retrasos escalonados para que aparezcan una por una */
.tmc-stat-card:nth-child(1) { animation-delay: 0.05s; }
.tmc-stat-card:nth-child(2) { animation-delay: 0.10s; }
.tmc-stat-card:nth-child(3) { animation-delay: 0.15s; }
.tmc-stat-card:nth-child(4) { animation-delay: 0.20s; }

@keyframes tmcPopIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Efecto Dopamina (Hover/Tap) */
.tmc-stat-card:hover, .tmc-stat-card:active {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: var(--tmc-cyan);
}

/* Línea superior minimalista */
.tmc-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0.9;
}
.tmc-stat-card--cyan::before   { background: var(--tmc-cyan); }
.tmc-stat-card--gold::before   { background: var(--tmc-gold); }
.tmc-stat-card--blue::before   { background: var(--tmc-blue); }
.tmc-stat-card--purple::before { background: var(--tmc-purple); }

/* Distribución interna limpia */
.tmc-stat-card__icon { 
  font-size: 20px; 
  margin-bottom: 14px;
  background: var(--tmc-bg);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.tmc-stat-card__val { 
  font-size: 22px; font-weight: 800; color: var(--tmc-text); 
  line-height: 1.1; margin-bottom: 6px;
  word-break: break-word;
}
.tmc-stat-card__label { 
  font-size: 11px; color: var(--tmc-muted); font-weight: 700; 
  text-transform: uppercase; letter-spacing: 0.5px; 
}

/* ── XP Card ──────────────────────────────────────────────────────────────── */
.tmc-xp-card {
  background: var(--tmc-surface); border-radius: var(--tmc-radius-lg);
  padding: 20px 24px; border: 1px solid var(--tmc-border); margin-bottom: 24px;
}
.tmc-xp-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.tmc-xp-card__header span:last-child { color: var(--tmc-cyan); }
.tmc-xp-card__label { font-size: 13px; color: var(--tmc-muted); margin-top: 8px; }

/* ── Daily Actions (App-like, Dopamine & Swipe) ────────────────────────── */
.tmc-daily-card { 
  background: transparent; /* Le sacamos el fondo para que las tarjetas resalten más */
  padding: 0; 
  border: none;
  margin-top: 32px;
}
.tmc-daily-card .tmc-section-title { 
  margin-bottom: 16px; 
  font-size: 18px; 
}

.tmc-daily-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 16px; 
}

.tmc-daily-action {
  background: var(--tmc-surface); 
  border-radius: var(--tmc-radius-lg); 
  padding: 20px;
  border: 1px solid var(--tmc-border); 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  
  /* Transiciones y dopamina */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: tmcPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

/* Efecto cascada al aparecer */
.tmc-daily-action:nth-child(1) { animation-delay: 0.20s; }
.tmc-daily-action:nth-child(2) { animation-delay: 0.25s; }
.tmc-daily-action:nth-child(3) { animation-delay: 0.30s; }

/* Reacción táctil/mouse */
.tmc-daily-action:hover, .tmc-daily-action:active {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: var(--tmc-blue);
}

.tmc-daily-action__icon { 
  font-size: 28px; 
  margin-bottom: 12px;
  background: var(--tmc-bg);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.tmc-daily-action__label { 
  font-size: 15px; font-weight: 800; color: var(--tmc-text); margin-bottom: 8px; 
}

.tmc-daily-action__reward { 
  font-size: 12px; color: var(--tmc-blue); font-weight: 700; 
  background: var(--tmc-cyan-lt); padding: 4px 10px; border-radius: 8px;
  margin-bottom: 16px; display: inline-block;
}

.tmc-daily-action__status { 
  font-size: 13px; color: var(--tmc-green); font-weight: 700; margin-top: auto; padding: 8px 0; 
}
.tmc-daily-action .tmc-btn { 
  margin-top: auto; width: 100%; border-radius: 12px; 
}

/* ── Mobile: Transformar en Carrusel Horizontal ───────────────────────────── */
@media (max-width: 768px) {
  .tmc-daily-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px; /* Espacio para la sombra */
    padding-top: 4px;
    gap: 12px;
    
    /* Ocultar barra de scroll para máximo minimalismo */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
  }
  .tmc-daily-grid::-webkit-scrollbar { display: none; }
  
  .tmc-daily-action {
    flex: 0 0 160px; /* Ancho fijo para que puedan deslizar */
    scroll-snap-align: start; /* Frena justo en la tarjeta */
    padding: 16px;
  }
  
  /* Ajustes de tamaño internos para que encaje perfecto en el carrusel */
  .tmc-daily-action__icon { width: 48px; height: 48px; font-size: 24px; }
  .tmc-daily-action__label { font-size: 14px; }
  .tmc-daily-action__reward { font-size: 11px; margin-bottom: 12px; }
}

/* ── Wallet ───────────────────────────────────────────────────────────────── */
.tmc-wallet-hero {
  background: linear-gradient(135deg, var(--tmc-navy), #1e3a5f);
  border-radius: var(--tmc-radius-lg); padding: 36px; text-align: center; color: #fff; margin-bottom: 8px;
}
.tmc-wallet-hero__label  { font-size: 13px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.tmc-wallet-hero__amount { font-size: 48px; font-weight: 900; color: var(--tmc-cyan); letter-spacing: -1px; }
.tmc-wallet-hero__sub    { font-size: 13px; color: #64748b; margin-top: 6px; }

.tmc-txn-list { display: flex; flex-direction: column; gap: 8px; }
.tmc-txn {
  background: var(--tmc-surface); border-radius: var(--tmc-radius); padding: 14px 16px;
  border: 1px solid var(--tmc-border); display: flex; justify-content: space-between; align-items: center;
}
.tmc-txn__desc   { font-size: 14px; font-weight: 500; }
.tmc-txn__right  { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.tmc-txn__amount { font-size: 15px; font-weight: 700; }
.tmc-txn--positive .tmc-txn__amount { color: var(--tmc-green); }
.tmc-txn--negative .tmc-txn__amount { color: var(--tmc-red); }
.tmc-txn__date   { font-size: 11px; color: var(--tmc-muted); }

/* ── Courses ──────────────────────────────────────────────────────────────── */
.tmc-courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.tmc-course-card {
  background: var(--tmc-surface); border-radius: var(--tmc-radius-lg); padding: 20px;
  border: 1px solid var(--tmc-border); transition: all .2s;
}
.tmc-course-card:hover { box-shadow: var(--tmc-shadow); transform: translateY(-2px); }
.tmc-course-card.locked { opacity: .7; }
.tmc-course-card.done { border-color: var(--tmc-green); }
.tmc-course-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.tmc-course-card__head h3 { font-size: 15px; font-weight: 700; flex: 1; }
.tmc-course-card__desc   { font-size: 13px; color: var(--tmc-muted); line-height: 1.5; margin-bottom: 12px; }
.tmc-course-card__rewards { display: flex; gap: 8px; margin-bottom: 14px; }
.tmc-course-card__rewards span { font-size: 12px; font-weight: 600; background: var(--tmc-cyan-lt); color: #0891b2; padding: 3px 8px; border-radius: 6px; }

/* ── Referrals ────────────────────────────────────────────────────────────── */
.tmc-ref-link-card {
  background: var(--tmc-surface); border-radius: var(--tmc-radius-lg); padding: 28px;
  border: 2px dashed var(--tmc-cyan); text-align: center;
}
.tmc-ref-link-card__label { font-size: 13px; color: var(--tmc-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.tmc-ref-link-card__url {
  font-size: 15px; font-weight: 700; color: var(--tmc-blue);
  background: var(--tmc-bg); padding: 10px 16px; border-radius: 8px;
  margin-bottom: 16px; word-break: break-all;
}
.tmc-ref-rewards {
  background: var(--tmc-surface); border-radius: var(--tmc-radius-lg); padding: 20px 24px;
  border: 1px solid var(--tmc-border); margin-top: 24px;
}
.tmc-ref-rewards h3 { margin-bottom: 12px; font-size: 15px; }
.tmc-ref-rewards ul  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tmc-ref-rewards li  { font-size: 14px; color: var(--tmc-muted); display: flex; align-items: center; gap: 8px; }
.tmc-ref-rewards li::before { content: '✓'; color: var(--tmc-green); font-weight: 700; }

/* ── Avatar Upload ────────────────────────────────────────────────────────── */
.tmc-avatar-upload-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 4px; }

.tmc-avatar-upload {
  position: relative; width: 100px; height: 100px; cursor: pointer;
  border-radius: 50%; flex-shrink: 0;
}

.tmc-avatar-upload__img {
  width: 100px !important; 
  height: 100px !important; 
  max-width: 100px !important; /* Previene overrides globales */
  max-height: 100px !important; /* Previene overrides globales */
  border-radius: 50% !important; /* Fuerza el corte circular */
  object-fit: cover !important; /* Centra y recorta sin deformar */
  border: 3px solid var(--tmc-cyan); 
  display: block; 
  transition: filter .2s;
}

.tmc-avatar-upload:hover .tmc-avatar-upload__img,
.tmc-avatar-upload.is-loading .tmc-avatar-upload__img { filter: brightness(.6); }

.tmc-avatar-upload__overlay {
  position: absolute; inset: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.tmc-avatar-upload:hover .tmc-avatar-upload__overlay { opacity: 1; }
.tmc-avatar-upload__icon { font-size: 24px; }

.tmc-avatar-upload__status {
  position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; white-space: nowrap; min-width: 60px; text-align: center;
}
.tmc-avatar-upload__status.uploading { color: var(--tmc-cyan); animation: tmc-pulse 1s infinite; }
.tmc-avatar-upload__status.done      { color: var(--tmc-green); }
.tmc-avatar-upload__status.error     { color: var(--tmc-red); }
.tmc-avatar-upload.is-loading .tmc-avatar-upload__img { animation: tmc-pulse 1s infinite; }

@keyframes tmc-pulse { 0%,100%{ opacity:1 } 50%{ opacity:.5 } }
/* ── Content Sections (profile editor) ───────────────────────────────────── */
.tmc-content-section {
  background: var(--tmc-bg); border-radius: var(--tmc-radius); padding: 16px;
  border: 1px solid var(--tmc-border); transition: all .2s;
}
.tmc-content-section__header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; gap: 8px;
}
.tmc-content-section__header span:first-child { font-size: 14px; font-weight: 700; }
.tmc-content-section__header .tmc-form__hint  { margin: 0; }

/* ── Profile Form ─────────────────────────────────────────────────────────── */
.tmc-profile-form { background: var(--tmc-surface); border-radius: var(--tmc-radius-lg); padding: 28px; border: 1px solid var(--tmc-border); display: flex; flex-direction: column; gap: 20px; }

/* ── Public profile — products & videos ──────────────────────────────────── */
.tmc-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; }
.tmc-product-item {
  background: var(--tmc-bg); border-radius: var(--tmc-radius); padding: 14px;
  border: 1px solid var(--tmc-border); text-decoration: none; color: var(--tmc-text);
  transition: all .2s; display: block;
}
.tmc-product-item:hover { border-color: var(--tmc-cyan); transform: translateY(-2px); }
.tmc-product-item__name  { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tmc-product-item__price { font-size: 13px; color: var(--tmc-cyan); font-weight: 600; }

.tmc-videos-list { display: flex; flex-direction: column; gap: 8px; }
.tmc-video-item  { border-radius: var(--tmc-radius); overflow: hidden; background: #000; }
.tmc-video-item iframe { width: 100%; height: 200px; border: none; display: block; }
.tmc-video-link {
  display: block; padding: 12px 16px; background: var(--tmc-bg);
  border: 1px solid var(--tmc-border); border-radius: var(--tmc-radius);
  font-size: 14px; font-weight: 600; color: var(--tmc-blue); text-decoration: none; word-break: break-all;
}
.tmc-video-link:hover { border-color: var(--tmc-cyan); }

/* ── PUBLIC PROFILE ───────────────────────────────────────────────────────── */
.tmc-profile-public { 
  min-height: 100vh; background: var(--tmc-bg); 
  padding: 40px 20px 80px; display: flex; flex-direction: column; align-items: center; 
}
.tmc-profile-card { 
  width: 100%; max-width: 520px; 
  background: var(--tmc-surface); border-radius: var(--tmc-radius-lg); 
  overflow: hidden; box-shadow: var(--tmc-shadow-lg); margin-bottom: 24px; 
}
.tmc-profile-card__cover {
  height: 140px;
  background: linear-gradient(135deg, var(--tmc-navy), var(--tmc-blue), var(--tmc-cyan));
}
.tmc-profile-card__body { padding: 0 28px 32px; text-align: center; }
.tmc-profile-card__avatar {
  width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff;
  object-fit: cover; margin-top: -48px; margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.tmc-profile-card__name    { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.tmc-profile-card__username { font-size: 14px; color: var(--tmc-muted); margin-bottom: 12px; }
.tmc-profile-card__bio     { font-size: 14px; color: var(--tmc-text); line-height: 1.6; margin-bottom: 16px; }

/* Stats Originales */
.tmc-profile-stats { display: flex; justify-content: center; gap: 32px; }
.tmc-profile-stat__val   { font-size: 20px; font-weight: 800; }
.tmc-profile-stat__label { font-size: 12px; color: var(--tmc-muted); font-weight: 600; text-transform: uppercase; }

/* Social Icons (Nuevos) */
.tmc-profile-socials { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tmc-social-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--tmc-bg);
  border: 1px solid var(--tmc-border); display: flex; align-items: center; justify-content: center;
  color: var(--tmc-text); transition: all .2s;
}
.tmc-social-icon:hover { background: var(--tmc-cyan-lt); color: var(--tmc-cyan); border-color: var(--tmc-cyan); transform: translateY(-2px); }

/* Unified Linktree Area */
.tmc-profile-unified { 
  width: 100%; max-width: 520px; 
  display: flex; flex-direction: column; gap: 24px;
}

/* Services Pills */
.tmc-profile-services-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tmc-pill {
  padding: 8px 16px; border-radius: 99px; background: var(--tmc-surface);
  border: 1px solid var(--tmc-border); font-size: 13px; font-weight: 600; 
  color: var(--tmc-text); box-shadow: 0 2px 4px rgba(0,0,0,.02);
}

/* Linktree Buttons */
.tmc-profile-links-stack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.tmc-link-btn {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  width: 100%; padding: 16px 20px; border-radius: 14px;
  background: var(--tmc-surface); border: 1.5px solid var(--tmc-border);
  color: var(--tmc-text); font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all .2s; position: relative;
}
.tmc-link-btn:hover { border-color: var(--tmc-cyan); transform: scale(1.01); box-shadow: var(--tmc-shadow); color: var(--tmc-blue); }
.tmc-link-btn--primary { 
  background: linear-gradient(135deg, var(--tmc-blue), var(--tmc-cyan)); 
  color: #fff; border: none; padding: 18px 20px; font-size: 16px; 
}
.tmc-link-btn--primary:hover { color: #fff; filter: brightness(1.1); }
.tmc-link-btn--product { justify-content: space-between; }
.tmc-link-price { font-size: 14px; font-weight: 700; color: var(--tmc-green); background: #d1fae5; padding: 4px 10px; border-radius: 8px; }

/* Videos */
.tmc-profile-videos-stack { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.tmc-video-clean { 
  width: 100%; border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: var(--tmc-shadow); border: 1px solid rgba(0,0,0,.1);
}
.tmc-video-clean iframe { width: 100%; height: 220px; border: none; display: block; }

/* Footer */
.tmc-profile-footer { text-align: center; margin-top: 40px; font-size: 13px; color: var(--tmc-muted); }
.tmc-profile-footer a { color: var(--tmc-cyan); text-decoration: none; font-weight: 600; }









/* ── Dynamic Repeaters ────────────────────────────────────────────────────── */
.tmc-repeater { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tmc-repeater-row { 
  display: flex; position: relative; 
  background: var(--tmc-surface); padding: 12px 44px 12px 12px; /* 44px reserva el espacio para la X */
  border-radius: var(--tmc-radius); border: 1px solid var(--tmc-border);
}
.tmc-repeater-inputs { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tmc-repeater-inputs--row { flex-direction: row; }
.tmc-repeater-inputs--row > * { flex: 1; }

.tmc-btn-remove {
  position: absolute; top: 12px; right: 8px;
  background: transparent; color: var(--tmc-muted); 
  border: none; border-radius: 6px; width: 28px; height: 28px; 
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; font-size: 16px;
}
.tmc-btn-remove:hover { background: #fee2e2; color: var(--tmc-red); }

@media (max-width: 480px) {
  .tmc-repeater-inputs--row { flex-direction: column; }
  .tmc-repeater-inputs--row > select { max-width: 100% !important; }
}











/* ── Mobile (Responsive) ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Oculta la barra lateral y la muestra solo al abrir el menú */
  .tmc-sidebar { transform: translateX(-100%); z-index: 999; }
  .tmc-sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.5); }
  
  /* Ajusta el contenido principal al 100% de la pantalla */
  .tmc-dash-main { margin-left: 0; width: 100%; max-width: 100vw; overflow-x: hidden; }
  
  /* Muestra la cabecera mobile con el botón de hamburguesa */
  .tmc-dash-header { display: flex; }
  
  .tmc-tab { padding: 20px 16px; }
  .tmc-stats-grid { grid-template-columns: 1fr 1fr; }
  .tmc-auth-card { padding: 28px 20px; }
  .tmc-profile-stats { gap: 16px; }
  .tmc-hero__title { font-size: 36px; }
  .tmc-wallet-hero__amount { font-size: 36px; }
}

@media (max-width: 480px) {
  .tmc-stats-grid { grid-template-columns: 1fr; }
  .tmc-courses-grid { grid-template-columns: 1fr; }
  .tmc-daily-grid { grid-template-columns: 1fr; }
  .tmc-repeater-inputs--row { flex-direction: column; }
}














/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tmc-sidebar { transform: translateX(-100%); z-index: 999; }
  .tmc-sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,0.5); }
  .tmc-dash-main { margin-left: 0; width: 100%; max-width: 100vw; overflow-x: hidden; }
  .tmc-dash-header { display: flex; }
  
  .tmc-tab { padding: 20px 16px; }
  
  /* Forzar grilla 2x2 en las métricas */
  .tmc-stats-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
  }
  .tmc-stat-card { padding: 16px; }
  .tmc-stat-card__val { font-size: 18px; } /* Texto un poco menor para encajar perfecto */
  
  .tmc-auth-card { padding: 28px 20px; }
  .tmc-profile-stats { gap: 16px; }
  .tmc-hero__title { font-size: 36px; }
  .tmc-wallet-hero__amount { font-size: 36px; }
}

@media (max-width: 480px) {
  /* BORRAMOS la regla que volvía la grilla a 1 columna para mantener el 2x2 */
  .tmc-courses-grid { grid-template-columns: 1fr; }
  .tmc-daily-grid { grid-template-columns: 1fr; }
  .tmc-repeater-inputs--row { flex-direction: column; }
}




.tmc-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenedor del ícono y el texto horizontalmente */
    text-align: center;  /* Centra el texto de los títulos y párrafos */
}

/* Opcional: Asegurarnos de que el ícono no tenga márgenes raros que lo desalineen */
.tmc-feature-card__icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem; /* Ajusta este valor para darle más o menos espacio antes del título */
}











/* Contenedor principal de la pantalla */
.tmc-phone-mockup__screen {
    position: relative;
    background-color: #f8fafc; /* Fondo general de la pantallita */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra todo horizontalmente */
    overflow-x: hidden;
    padding-bottom: 20px; /* Espacio al final de los botones */
}

/* La cabecera azul de fondo */
.tmc-mockup-header {
    width: 100%;
    height: 100px; /* Altura de la banda de color */
    background: linear-gradient(135deg, #1e40af, #06b6d4);
    flex-shrink: 0;
}

/* El círculo del avatar */
.tmc-mockup-avatar {
    width: 80px;
    height: 80px;
    background-color: #e2e8f0;
    border-radius: 50%;
    border: 4px solid #ffffff; /* Borde blanco para que resalte sobre el azul */
    margin-top: -40px; /* Este valor negativo hace que "suba" y pise la cabecera azul */
    margin-bottom: 10px;
    z-index: 2; /* Asegura que quede por encima */
}

/* Nombre de usuario */
.tmc-mockup-name {
    font-weight: bold;
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 4px;
    text-align: center;
}

/* Biografía / Profesión */
.tmc-mockup-bio {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    padding: 0 15px;
    margin-bottom: 24px; /* AQUÍ ESTÁ LA MAGIA: Esto empuja los botones hacia abajo */
    line-height: 1.4;
}

/* Estructura de los botones */
.tmc-mockup-btn {
    width: 85%; /* No ocupan el 100% para dejar márgenes a los lados */
    padding: 12px;
    margin-bottom: 12px; /* Separación entre botón y botón */
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Pequeña sombra opcional */
}

/* El último botón ya trae estilos en línea en tu HTML, pero por las dudas le quitamos el borde */
.tmc-mockup-btn:last-child {
    margin-bottom: 0;
}





/* Contenedor principal de la pantalla */
.tmc-phone-mockup__screen {
    background-color: #f4f6f9;
    overflow-y: auto;
    padding: 15px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 12px;
    width: 100%;
    height: 100%;
}

/* Tarjeta Blanca Principal */
.tmc-real-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    width: 100%; /* Obliga a la tarjeta a usar todo el ancho */
    box-sizing: border-box;
}

/* La cabecera (hcha un poco más delgada para el mockup) */
.tmc-real-header {
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
    height: 60px; 
    width: 100%;
}

/* Avatar circular */
.tmc-real-avatar {
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: 3px solid #ffffff;
    margin: -25px auto 5px auto;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.tmc-real-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Textos e Info del Perfil */
.tmc-real-info {
    text-align: center;
    padding: 0 10px 15px 10px;
}

.tmc-real-name { margin: 0; font-size: 14px; font-weight: 800; color: #111827; }
.tmc-real-username { font-size: 10px; color: #6b7280; display: block; margin-bottom: 8px; }
.tmc-real-bio { font-size: 9px; color: #4b5563; line-height: 1.3; margin: 0 0 12px 0; }

/* Redes Sociales */
.tmc-real-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tmc-real-socials .tmc-icon {
    width: 24px;
    height: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Estadísticas (TXP, Referidos, Nivel) */
.tmc-real-stats {
    display: flex;
    justify-content: space-evenly;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px;
}

.tmc-real-stats div { display: flex; flex-direction: column; align-items: center; }
.tmc-real-stats strong { font-size: 12px; color: #111827; font-weight: bold; }
.tmc-real-stats span { font-size: 8px; color: #6b7280; text-transform: uppercase; margin-top: 2px; }

/* Etiquetas Blancas */
.tmc-real-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.tmc-real-tags span {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: 9px;
    color: #374151;
}

/* ----- ESTO SOLUCIONA EL TAMAÑO DE LOS BOTONES Y EL VIDEO ----- */
.tmc-real-btn-primary, 
.tmc-real-btn-link, 
.tmc-real-video {
    width: 100%; /* Fuerza a que ocupen de borde a borde interno */
    box-sizing: border-box;
}

/* Botón Azul Gradient */
.tmc-real-btn-primary {
    background: linear-gradient(135deg, #1e40af, #06b6d4);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

/* Botón Blanco con Insignia Verde */
.tmc-real-btn-link {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #111827;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.tmc-real-btn-link .tmc-badge-green {
    background: #a7f3d0;
    color: #065f46;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: bold;
}

/* Falso Video de YouTube */
.tmc-real-video {
    background-color: #374151;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    border-radius: 8px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmc-real-video .tmc-play-btn {
    background: #ff0000;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
}




/* Contenedor general con desvanecido en los bordes */
.tmc-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* La pista horizontal que se mueve sin detenerse */
.tmc-slider-track {
    display: flex;
    width: max-content;
    animation: scrollInfiniteHorizontal 40s linear infinite; /* Nunca se pausa */
}

/* ⚡ EL BLOQUE :hover FUE ELIMINADO PARA EVITAR QUE SE PAUSE EN ESCRITORIO Y MOBILE ⚡ */

@keyframes scrollInfiniteHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--scroll-width, 2752px)));
    }
}

/* Estilos de las Tarjetas */
.tmc-review-card {
    width: 320px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    flex-shrink: 0;
    margin-right: 24px;
}

.tmc-review-card__user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tmc-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f1f5f9;
    display: block;
}

.tmc-review-card__user h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.tmc-review-card__user span {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.tmc-review-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}











.tmc-social-proof {
    display: flex;
    align-items: center;
    justify-content: center; /* Esto es clave para que no se vaya a la derecha */
    width: 100%;
    gap: 12px;
    margin-top: 30px; /* Separación respecto a los botones */
}

.tmc-avatar-cluster {
    display: flex;
}

.tmc-avatar-cluster img, 
.tmc-avatar-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0f172a; /* Borde oscuro para que combine con tu fondo azul noche */
    margin-left: -12px;
    position: relative;
}

.tmc-avatar-cluster img:first-child {
    margin-left: 0;
}

.tmc-avatar-more {
    background: #1e293b;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
}

.tmc-social-proof p {
    font-size: 13px;
    color: #94a3b8; /* Gris claro para que se lea en el fondo oscuro */
    margin: 0;
    font-weight: 500;
}









.tmc-hero-marquee-wrapper {
    width: 100%;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Texto introductorio */
.tmc-marquee-title {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Contenedor con máscara de desvanecido */
.tmc-marquee-container {
    width: 100%;
    max-width: 850px; /* Tamaño ideal para que se vea contenido pero no sature */
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Pista de deslizamiento ininterrumpido */
.tmc-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarqueeHero 25s linear infinite;
}

/* ⚡ LA ANIMACIÓN NUNCA SE DETIENE (No hay reglas :hover ni touch) ⚡ */
@keyframes scrollMarqueeHero {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--marquee-hero-width, 1500px)));
    }
}

/* Píldoras de Perfil (Diseño Glassmorphism para fondo oscuro) */
.tmc-marquee-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 40px;
    margin-right: 16px; /* Separación simétrica */
    flex-shrink: 0;
}

/* Foto circular optimizada */
.tmc-marquee-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

/* Textos internos */
.tmc-marquee-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tmc-marquee-name {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.tmc-marquee-country {
    font-size: 9px;
    color: #38bdf8; /* Azul cyan brillante para destacar el país */
    font-weight: 500;
}



.tmc-profile-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tmc-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--tmc-surface);
  border: 1px solid var(--tmc-border);
  color: var(--tmc-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}

.tmc-social-pill:hover {
  background: var(--tmc-cyan-lt);
  border-color: var(--tmc-cyan);
  color: #0891b2;
  transform: translateY(-2px);
}

.tmc-social-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}























/* ── TMC PRO PROFILE ─────────────────────────────────────────────────────── */
.tmc-pro {
  background: #060b18;
  min-height: 100vh;
  padding: 0 0 60px;
  position: relative;
  overflow: hidden;
}

/* Orbes de fondo */
.tmc-pro-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.tmc-pro-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.25;
}
.tmc-pro-orb--1 {
  width: 500px; height: 500px;
  background: #1e40af;
  top: -150px; left: -150px;
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.tmc-pro-orb--2 {
  width: 400px; height: 400px;
  background: #06b6d4;
  bottom: -100px; right: -100px;
  animation: orbDrift 22s ease-in-out infinite alternate-reverse;
}
.tmc-pro-orb--3 {
  width: 300px; height: 300px;
  background: #7c3aed;
  top: 50%; left: 50%;
  animation: orbDrift 28s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

.tmc-pro-inner {
  position: relative; z-index: 1;
  max-width: 480px; margin: 0 auto;
  padding: 0 16px;
  display: flex; flex-direction: column; gap: 12px;
}

/* CARD */
.tmc-pro-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 0;
}

/* Cover */
.tmc-pro-cover {
  height: 120px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e40af, #06b6d4);
}
.tmc-pro-cover__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #0891b2 50%, #7c3aed 100%);
  animation: coverShift 8s ease-in-out infinite alternate;
}
@keyframes coverShift {
  0%   { opacity: 1; }
  100% { opacity: 0.6; filter: hue-rotate(30deg); }
}
.tmc-pro-cover__shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
  background-size: 200% 100%;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Avatar con anillo SVG */
.tmc-pro-avatar-wrap {
  display: flex; flex-direction: column; align-items: center;
  margin-top: -56px; position: relative; z-index: 2;
}
.tmc-pro-avatar-ring {
  position: relative; width: 112px; height: 112px;
}
.tmc-pro-ring-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.tmc-pro-ring-bg {
  fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 4;
}
.tmc-pro-ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1);
}
.tmc-pro-avatar {
  position: absolute; inset: 8px;
  width: calc(100% - 16px); height: calc(100% - 16px);
  border-radius: 50%; object-fit: cover;
  border: 3px solid #060b18;
}
.tmc-pro-level-badge {
  margin-top: 8px;
  background: linear-gradient(135deg, #1e40af, #06b6d4);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 99px;
  letter-spacing: 0.5px;
}

/* Info */
.tmc-pro-info { text-align: center; padding: 12px 24px 0; }
.tmc-pro-name {
  font-size: 22px; font-weight: 800; color: #f8fafc;
  margin-bottom: 4px; letter-spacing: -0.5px;
}
.tmc-pro-username { font-size: 13px; color: #64748b; margin-bottom: 10px; }
.tmc-pro-bio { font-size: 13.5px; color: #94a3b8; line-height: 1.6; margin-bottom: 0; }

/* Sociales píldoras */
.tmc-pro-socials {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; padding: 16px 20px 0;
}
.tmc-pro-social-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1; font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.tmc-pro-social-pill:hover {
  background: rgba(6,182,212,0.15);
  border-color: rgba(6,182,212,0.4);
  color: #06b6d4; transform: translateY(-2px);
}
.tmc-pro-social-pill svg { width: 14px; height: 14px; }

/* Stats */
.tmc-pro-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 0; padding: 20px 24px 0;
}
.tmc-pro-stat {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.tmc-pro-stat__val {
  font-size: 22px; font-weight: 800; color: #f8fafc;
  font-variant-numeric: tabular-nums;
}
.tmc-pro-stat__label {
  font-size: 10px; color: #64748b; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.tmc-pro-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.08);
}

/* Barra XP */
.tmc-pro-xp-wrap { padding: 16px 24px 24px; }
.tmc-pro-xp-bar {
  height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden; margin-bottom: 6px;
}
.tmc-pro-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #1e40af, #06b6d4);
  border-radius: 99px;
  transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.tmc-pro-xp-label {
  font-size: 11px; color: #475569; font-weight: 500;
}

/* Secciones genéricas */
.tmc-pro-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 16px 20px;
}
.tmc-pro-section__label {
  font-size: 11px; font-weight: 700; color: #475569;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Servicios pills */
.tmc-pro-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tmc-pro-pill {
  padding: 7px 16px; border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; font-weight: 600; color: #e2e8f0;
}

/* CTA referido */
.tmc-pro-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tmc-pro-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; width: 100%; padding: 18px 24px;
  background: linear-gradient(135deg, #1e40af, #06b6d4);
  border-radius: 18px; text-decoration: none; color: #fff;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 32px rgba(6,182,212,0.35);
  animation: ctaPulse 3s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.tmc-pro-cta:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 40px rgba(6,182,212,0.5);
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(6,182,212,0.35); }
  50%       { box-shadow: 0 8px 48px rgba(6,182,212,0.6); }
}
.tmc-pro-cta__icon { font-size: 20px; }
.tmc-pro-cta__text { flex: 1; }
.tmc-pro-cta__arrow {
  font-size: 18px; opacity: 0.8;
  transition: transform .2s;
}
.tmc-pro-cta:hover .tmc-pro-cta__arrow { transform: translateX(4px); }
.tmc-pro-cta__sub {
  font-size: 12px; color: #475569; font-weight: 500;
}

/* Links estándar */
.tmc-pro-links { display: flex; flex-direction: column; gap: 10px; }
.tmc-pro-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e2e8f0; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.tmc-pro-link:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(6,182,212,0.3);
  color: #fff; transform: translateX(4px);
}
.tmc-pro-link__arrow { opacity: 0.4; font-size: 16px; }

/* Productos */
.tmc-pro-products { display: flex; flex-direction: column; gap: 10px; }
.tmc-pro-product {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; color: #e2e8f0;
  font-size: 14px; font-weight: 600; transition: all .2s;
}
.tmc-pro-product:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(16,185,129,0.3);
  transform: translateX(4px);
}
.tmc-pro-product__price {
  background: rgba(16,185,129,0.15);
  color: #10b981; padding: 4px 10px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
}

/* Videos */
.tmc-pro-videos { display: flex; flex-direction: column; gap: 12px; }
.tmc-pro-video {
  border-radius: 14px; overflow: hidden;
  background: #000; border: 1px solid rgba(255,255,255,0.08);
}
.tmc-pro-video iframe { width: 100%; height: 210px; border: none; display: block; }

/* Footer */
.tmc-pro-footer {
  text-align: center; padding-top: 8px;
  font-size: 12px; color: #334155;
}
.tmc-pro-footer a { color: #06b6d4; text-decoration: none; font-weight: 600; }

/* Entrada animada */
[data-aos="fade-up"] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-aos="fade-up"].aos-animate {
  opacity: 1; transform: translateY(0);
}

/* ── MODERNIZACIÓN VISUAL Y TIPOGRÁFICA DEL DASHBOARD ── */
body, .tmc-page, .tmc-dash-page {
  font-family: var(--font) !important;
  letter-spacing: -0.01em;
  background-color: var(--tmc-bg) !important;
  color: var(--tmc-text) !important;
}

/* Sidebar Modernizado */
.tmc-sidebar {
  background: linear-gradient(180deg, #07071a 0%, #0c0d28 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 10px 0 30px rgba(0,0,0,0.25);
}
.tmc-sidebar__brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.tmc-sidebar__user {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  background: rgba(255, 255, 255, 0.01);
}
.tmc-sidebar__avatar {
  border-color: #6366f1 !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}
.tmc-sidebar__nav li a {
  border-radius: 12px;
  margin: 2px 8px;
  padding: 10px 14px !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65) !important;
  transition: all 0.2s ease;
}
.tmc-sidebar__nav li a:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  transform: translateX(2px);
}
.tmc-sidebar__nav li a.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%) !important;
  color: #818cf8 !important;
  border-left: 3px solid #6366f1;
  font-weight: 600;
}

/* Overview & Módulos Modernizados */
.tmc-stat-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.tmc-stat-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.08) !important;
}
.tmc-stat-card__val {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: #fff !important;
}
.tmc-stat-card__label {
  color: rgba(255, 255, 255, 0.45) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: 0.05em;
}

/* XP Card / Progress */
.tmc-xp-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
  padding: 24px !important;
}
.tmc-progress-bar {
  background: rgba(255, 255, 255, 0.06) !important;
  height: 8px !important;
  border-radius: 999px !important;
}
.tmc-progress-bar__fill {
  background: linear-gradient(90deg, #4f46e5, #06b6d4) !important;
  border-radius: 999px !important;
}

/* Acciones Diarias y Listas */
.tmc-daily-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
  padding: 24px !important;
}
.tmc-daily-action {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding: 16px 20px !important;
  transition: all 0.2s ease;
}
.tmc-daily-action:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Botones Premium */
.tmc-btn--primary {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2) !important;
}
.tmc-btn--primary:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35) !important;
  filter: brightness(1.05) !important;
}
.tmc-btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 12px !important;
}
.tmc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Formularios del Editor */
.tmc-form__input, .tmc-form__textarea {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-family: var(--font) !important;
  transition: all 0.2s ease;
}
.tmc-form__input:focus, .tmc-form__textarea:focus {
  border-color: #6366f1 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Repetidores de Edición con Carga de Imagen */
.tmc-repeater-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin-bottom: 10px;
}
.tmc-row-img-preview {
  border-color: rgba(255,255,255,0.08) !important;
  transition: all 0.2s ease;
}
.tmc-row-img-uploader:hover .tmc-row-img-preview {
  border-color: #6366f1 !important;
}

/* Public Profile - Nuevos Diseños de Tarjetas */
.tmc-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tmc-service-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: all 0.25s ease;
}
.tmc-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.25) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Productos Horizontal single-row slider */
.tmc-prod-slider-v2 {
  -ms-overflow-style: none;  /* IE and Edge */
}
.tmc-prod-slider-v2::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}
.tmc-product-card-v2 {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.tmc-product-card-v2:hover {
  border-color: rgba(99, 102, 241, 0.3) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Sticky Save Bar for Profile edit */
.tmc-profile-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 28px;
  margin: 20px -28px -28px -28px;
  border-top: 1px solid var(--tmc-border);
  border-bottom-left-radius: var(--tmc-radius-lg);
  border-bottom-right-radius: var(--tmc-radius-lg);
  display: flex;
  justify-content: flex-end;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .tmc-profile-form {
    padding: 16px !important;
  }
  .tmc-profile-save-bar {
    margin: 16px -16px -16px -16px;
    padding: 12px 16px;
  }
}

/* Centered Save Alert Popup */
#tmc-profile-msg.tmc-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  min-width: 300px;
  max-width: 90%;
  text-align: center;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: tmcPopCenter 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  cursor: pointer;
}

#tmc-profile-msg.tmc-alert--success {
  border-left: none !important;
  border: 1.5px solid rgba(16, 185, 129, 0.5) !important;
  background: rgba(6, 78, 59, 0.95) !important;
  color: #d1fae5 !important;
}

#tmc-profile-msg.tmc-alert--error {
  border-left: none !important;
  border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
  background: rgba(127, 29, 29, 0.95) !important;
  color: #fee2e2 !important;
}

@keyframes tmcPopCenter {
  from { transform: translate(-50%, -40%) scale(0.8); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Hover and custom transitions for public profile achievements-style links */
.tmc-ext-link-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.tmc-ext-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Premium Styling for Services Slider */
.tmc-service-slider {
  -ms-overflow-style: none;  /* IE and Edge */
}
.tmc-service-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}
.tmc-service-card-v3 {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.tmc-service-card-v3:hover {
  transform: scale(1.02);
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
}



/* Steps connector — ocultar en mobile */
@media (max-width: 768px) {
  .tmc-step-connector { display: none; }
}


/* ── HERO MOBILE FIXES ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tmc-hero-modern {
    padding: 80px 20px 60px;
  }
  .tmc-hero-modern__inner {
    width: 100%;
    overflow: hidden;
  }
  .tmc-hero-modern__sub {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .tmc-hero-modern__badges {
    gap: 8px;
    margin-bottom: 24px;
  }
  .tmc-glass-badge {
    font-size: 12px;
    padding: 5px 10px;
  }
  .tmc-hero-modern__ctas {
    flex-direction: column;
    gap: 10px;
  }
  .tmc-hero-modern__ctas .tmc-btn {
    width: 100%;
  }

  /* Social proof */
  .tmc-social-proof {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }
  .tmc-social-proof p {
    font-size: 12px;
    text-align: center;
  }

  /* Avatars del cluster — forzar tamaño fijo */
  .tmc-avatar-cluster img,
  .tmc-avatar-more {
    width: 30px;
    height: 30px;
    min-width: 30px;
    object-fit: cover;
  }

  /* Marquee de perfiles */
  .tmc-hero-marquee-wrapper {
    margin-top: 20px;
  }
  .tmc-marquee-container {
    max-width: 100%;
  }
}

