/* language: CSS, file: landing.css, target: All Browsers */

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  --bg-base: #0c0c0c;
  --bg-surface: #111111;
  --bg-surface-hover: #161616;

  --border-subtle: #1c1c1c;
  --border-hover: #2a2a2a;

  --text-primary: #f0f0f0;
  --text-secondary: #888888;
  --text-muted: #555555;

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --accent-pink: #cf8ca1;
  --accent-pink-hover: #db9fb1;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  background-color: var(--bg-base);
  background: radial-gradient(ellipse at bottom, #0e090b 0%, #080808 100%) fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* Minimal Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: #222222;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* ==========================================================================
   CARDNAV COMPONENT
   ========================================================================== */
.card-nav-container {
  position: fixed;
  top: 1.5em;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 820px;
  z-index: 999;
  box-sizing: border-box;
}

.card-nav {
  display: block;
  height: 60px;
  padding: 0;
  background-color: #0c0c0c;
  border: 1px solid #ffffff0a;
  border-radius: 0.85rem;
  box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.027);
  position: relative;
  overflow: hidden;
  will-change: height;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-nav-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.6rem 0.55rem 1.1rem;
  z-index: 2;
}

.hamburger-menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 6px;
  color: #ffffff;
  padding: 0 4px;
  outline: none;
}

.hamburger-menu:hover .hamburger-line {
  opacity: 0.7;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, margin 0.3s ease;
  transform-origin: 50% 50%;
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.hamburger-menu.open .hamburger-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.logo-container {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.nav-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.card-nav-cta-button {
  background-color: var(--accent-pink);
  color: #111111;
  border: none;
  border-radius: calc(0.85rem - 0.35rem);
  padding: 0 1.15rem;
  height: 38px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.card-nav-cta-button:hover {
  background-color: var(--accent-pink-hover);
  transform: translateY(-1px);
}

.lang-icon-btn {
  height: 38px;
  width: 38px;
  padding: 0;
  border-radius: calc(0.85rem - 0.35rem);
  background: #141414;
  border: 1px solid #222222;
  color: #cfd3dc;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease;
}

.lang-icon-btn:hover {
  background: #1c1c1c;
  border-color: #333333;
  color: #ffffff;
}

.lang-icon-btn i {
  position: relative;
  top: 1px;
}

/* --- TOOLTIPS GLOBALES (misma UI que el dashboard) --- */
.global-tooltip {
  position: fixed;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
  z-index: 9999;
}

.global-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.global-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a1a;
}

/* Cuando el tooltip queda debajo del elemento (p.ej. navbar, sin lugar arriba),
   el pico se invierte para seguir apuntando hacia el elemento. */
.global-tooltip.tooltip-flip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #1a1a1a;
}

/* --- TOAST NOTIFICATIONS (Sonner) ---
   landing.html no carga components.css (tiene su propio set de estilos
   autocontenido), así que el toast nunca tenía CSS acá: se veía como
   texto plano sin estilo apilado al fondo de la página. */
#toast-container {
  --toast-width: 356px;
  --toast-gap: 12px;
  --toast-lift: 14px;
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: var(--toast-width);
  max-width: calc(100vw - 32px);
  list-style: none;
}

.toast {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background-color: #0c0c0c;
  border: 1px solid var(--border-hover);
  border-radius: 9px;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  cursor: grab;
  touch-action: none;
  will-change: transform, opacity;
  transform: translateY(calc(var(--toast-y, 0) * 1px)) scale(var(--toast-scale, 1));
  opacity: var(--toast-opacity, 1);
  z-index: var(--toast-z, 1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease;
}

.toast:active {
  cursor: grabbing;
}

.toast.toast-dragging {
  transition: none;
}

#toast-container.expanded .toast {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.toast-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 1px;
  font-size: 15px;
}

.toast-success .toast-icon,
.toast-error .toast-icon,
.toast-info .toast-icon {
  color: var(--accent-pink);
}

.toast-message {
  flex: 1;
  word-break: break-word;
}

.toast-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: -2px -4px 0 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.toast:hover .toast-close {
  opacity: 1;
}

.toast-close:hover {
  background-color: var(--border-hover);
  color: var(--text-primary);
}

.toast.toast-entering {
  animation: toastIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(calc(var(--toast-y, 0) * 1px - 16px)) scale(0.96);
  }
}

.toast.toast-out {
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  transform: translateY(calc(var(--toast-y, 0) * 1px - 6px)) scale(0.96);
}

.toast.toast-swiped-out {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

.user-chip {
  height: 38px;
  padding: 0 14px 0 4px;
  border-radius: calc(0.85rem - 0.35rem);
  background: #141414;
  border: 1px solid #222222;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 150ms ease;
}

.user-chip:hover {
  background: #1c1c1c;
  border-color: #333333;
}

.user-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  flex-shrink: 0;
  overflow: hidden;
}

.user-chip-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.user-chip-name {
  font-size: 12.5px;
  font-weight: 500;
  color: #cfd3dc;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .user-chip-name {
    display: none;
  }

  .user-chip {
    padding: 0 2px;
  }
}

.card-nav-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  bottom: 0;
  padding: 0.6rem;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.card-nav.open .card-nav-content {
  visibility: visible;
  pointer-events: auto;
}

.nav-card {
  height: 100%;
  flex: 1 1 0;
  min-width: 0;
  border-radius: calc(0.85rem - 0.2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  gap: 10px;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-card-label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.nav-card-label-icon {
  font-size: 14px;
  opacity: 0.85;
}

.nav-card-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-card-link {
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cfd3dc;
}

.nav-card-link-icon {
  font-size: 11px;
  opacity: 0.6;
}

.nav-card-link:hover {
  opacity: 1;
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .card-nav-container {
    width: 92%;
    top: 1em;
  }

  .card-nav-top {
    padding: 0.5rem 0.8rem;
    justify-content: space-between;
  }

  .hamburger-menu {
    order: 2;
  }

  .logo-container {
    position: static;
    transform: none;
    order: 1;
  }

  .card-nav-cta-button {
    display: none;
  }

  .card-nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0.6rem;
    bottom: 0;
    justify-content: flex-start;
  }

  .nav-card {
    height: auto;
    min-height: 80px;
    flex: 1 1 auto;
    padding: 12px 14px;
  }

  .nav-card-label {
    font-size: 16px;
  }

  .nav-card-link {
    font-size: 12.5px;
  }
}

/* ==========================================================================
   HERO BUTTONS
   ========================================================================== */
.btn-hero-main {
  background: var(--accent-pink);
  color: #111111;
  font-weight: 600;
  font-size: 13px;
  padding: 0 24px;
  height: 40px;
  border-radius: calc(0.85rem - 0.35rem);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-hero-main:hover {
  background-color: var(--accent-pink-hover);
  transform: translateY(-1px);
}

.btn-hero-main:hover .btn-arrow-icon {
  transform: translateX(3px);
}

.btn-arrow-icon {
  font-size: 11px;
  transition: transform 180ms ease;
}

.btn-hero-sub {
  background: #141414;
  color: #cfd3dc;
  font-weight: 500;
  font-size: 13px;
  padding: 0 22px;
  height: 40px;
  border-radius: calc(0.85rem - 0.35rem);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #222222;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-hero-sub:hover {
  background: #1c1c1c;
  border-color: #333333;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px 0;
  position: relative;
  text-align: center;
  background: transparent;
}

.hero-section {
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -10vh;
}

.hero-heading {
  font-size: 120px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: center;
}

.hero-heading-main {
  background: linear-gradient(to right, #fc98bc 0%, #341634 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
  display: inline-block;
}

.hero-description {
  font-size: 14.5px;
  line-height: 1.65;
  color: #8c909e;
  max-width: 520px;
  margin: 0 auto 12px;
  font-weight: 400;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 60px;
  }

  .hero-description {
    font-size: 13.5px;
  }
}

@media (max-width: 500px) {
  .hero-heading {
    font-size: 100px;
  }

  .btn-hero-sub {
    display: none;
  }
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 140ms ease;
}

.hero-scroll-indicator i {
  font-size: 10px;
  animation: bounce-down 2s infinite ease-in-out;
}

.hero-scroll-indicator:hover {
  color: var(--text-primary);
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ==========================================================================
   SOLUTIONS SECTION ("Todo lo que necesitas")
   ========================================================================== */
.solutions-section {
  max-width: 1100px;
  margin: 60px auto 130px;
  padding: 0 24px;
}

.solutions-header {
  margin-bottom: 34px;
}

.solutions-section .solutions-header {
  text-align: center;
}

.solutions-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
  line-height: 1.15;
  background: linear-gradient(to right, #fc98bc 0%, #341634 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.solutions-subtitle {
  font-size: 14px;
  color: #888892;
  font-weight: 400;
  max-width: 500px;
}

.solutions-section .solutions-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.solution-card-wrapper {
  height: 100%;
}

.solution-card {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  border: 1px solid #1c1c1c;
  border-top: 1px solid #252525;
  border-radius: 0.85rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  will-change: transform;
}

/* Animated Top Line */
.solution-card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #cf8ca1 0%, #f7a8c4 50%, #cf8ca1 100%);
  box-shadow: 0 0 12px rgba(207, 140, 161, 0.7);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  will-change: transform, opacity;
}

.solution-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(207, 140, 161, 0.05);
  border: 1px solid rgba(207, 140, 161, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-pink);
  margin-bottom: 20px;
  will-change: transform, background, border-color;
}

.solution-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.solution-card-desc {
  font-size: 13.5px;
  color: #8c909e;
  line-height: 1.65;
  margin-bottom: 28px;
  flex: 1;
}

.solution-card-btn {
  width: 100%;
  height: 40px;
  background: #141414;
  color: #a0a0a0;
  border: 1px solid #222222;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
  will-change: background, border-color, color;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solutions-title {
    font-size: 28px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* En mobile el espaciado extra entre secciones pesa demasiado scroll; lo
   recortamos un poco sin volver al apretado original. */
@media (max-width: 700px) {
  .solutions-section,
  .steps-section,
  .trust-section,
  .plans-section,
  .final-cta-section {
    margin-bottom: 80px;
  }
}

/* ==========================================================================
   HOW IT WORKS (3 pasos) — mega-íconos minimalistas, todo centrado
   (sin cajas, sin bordes, sin números: ícono grande + título + línea).
   ========================================================================== */
.steps-section {
  max-width: 1100px;
  margin: 0 auto 130px;
  padding: 0 24px;
  text-align: center;
}

.steps-section .solutions-header {
  text-align: center;
}

.steps-section .solutions-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  text-align: center;
}

.step-icon {
  font-size: 46px;
  color: var(--accent-pink);
  opacity: 0.9;
  margin-bottom: 22px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: #8c909e;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.trust-section {
  max-width: 1100px;
  margin: 0 auto 130px;
  padding: 0 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  border: 1px solid #1c1c1c;
  border-radius: 0.85rem;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(207, 140, 161, 0.08);
  border: 1px solid rgba(207, 140, 161, 0.2);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.trust-badge-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #cfd3dc;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PLANES / PRICING
   ========================================================================== */
.plans-section {
  max-width: 1100px;
  margin: 0 auto 130px;
  padding: 0 24px;
}

.plans-section .solutions-header {
  text-align: center;
}

.plans-section .solutions-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.plans-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
}

.plans-table th,
.plans-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid #1c1c1c;
}

.plans-table td:first-child,
.plans-table th:first-child {
  text-align: left;
  color: #8c909e;
  font-size: 12.5px;
  white-space: nowrap;
}

.plans-table thead th {
  padding-bottom: 20px;
}

.plan-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.plan-duration {
  display: block;
  font-size: 12px;
  color: #555555;
  font-family: var(--font-mono);
}

.plans-table thead th.featured {
  background: rgba(207, 140, 161, 0.06);
  border-radius: 10px 10px 0 0;
}

.plan-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  color: #111111;
  background: var(--accent-pink);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.plans-table td.featured {
  background: rgba(207, 140, 161, 0.04);
}

.plans-table .plan-check {
  color: var(--accent-pink);
}

.plans-cta-row td {
  border-bottom: none;
  padding-top: 24px;
}

.plans-cta-row td.featured {
  border-radius: 0 0 10px 10px;
}

.plan-cta {
  min-width: 110px;
  justify-content: center;
}

@media (max-width: 760px) {
  .plans-table {
    font-size: 11.5px;
  }

  .plans-table th,
  .plans-table td {
    padding: 10px 10px;
  }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final-cta-section {
  max-width: 1100px;
  margin: 0 auto 130px;
  padding: 0 24px;
}

.final-cta-box {
  text-align: center;
  padding: 30px 0;
}

.final-cta-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #8c909e;
  margin-bottom: 30px;
}

.final-cta-title b {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 600px) {
  .final-cta-title {
    font-size: 18px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.landing-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid #1c1c1c;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links-row a {
  font-size: 13px;
  color: #8c909e;
  transition: color 0.15s ease;
}

.footer-links-row a:hover {
  color: var(--accent-pink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-top: 22px;
  font-size: 12px;
  color: #555555;
  text-align: center;
}

.footer-dev-link {
  font-weight: 700;
  color: #8c909e;
  transition: color 0.15s ease;
}

.footer-dev-link:hover {
  color: var(--accent-pink);
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-links-row {
    justify-content: center;
    gap: 16px 20px;
  }
}

/* ==========================================================================
   LIGHT MODE — comparte [data-theme="light"] con el dashboard (ver
   /static/scripts/theme.js). landing.css tiene su propio set de variables
   (no importa theme.css), así que se redefinen acá mismo.
   ========================================================================== */
:root[data-theme="light"] {
  --bg-base: #f1eef1;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f7f5f7;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.14);

  --text-primary: #1a1720;
  --text-secondary: #6b6670;
  --text-muted: #938e98;

  --accent-pink: #b8577c;
  --accent-pink-hover: #a34a6c;
}

:root[data-theme="light"] html,
:root[data-theme="light"] body {
  background-color: var(--bg-base);
  background: radial-gradient(ellipse at bottom, #f9dde9 0%, #f0ecf0 100%) fixed;
}

:root[data-theme="light"] ::-webkit-scrollbar-track {
  background: var(--bg-base);
}

:root[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
}

:root[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.28);
}

:root[data-theme="light"] .btn-hero-main {
  color: #ffffff;
}

:root[data-theme="light"] .btn-hero-sub {
  background: #f3f1f3;
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.65);
}

:root[data-theme="light"] .btn-hero-sub:hover {
  background: #e9e6e9;
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text-primary);
}

:root[data-theme="light"] .hero-heading {
  color: var(--text-primary);
}

:root[data-theme="light"] .hero-heading-main {
  background: linear-gradient(to right, #c2577e 0%, #ddd0d7 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-theme="light"] .hero-description {
  color: var(--text-secondary);
}

:root[data-theme="light"] .solutions-title {
  background: linear-gradient(to right, #c2577e 0%, #ddd0d7 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-theme="light"] .solutions-subtitle {
  color: var(--text-secondary);
}

:root[data-theme="light"] .solution-card {
  background: linear-gradient(180deg, #ffffff 0%, #faf9fa 100%);
  border-color: rgba(0, 0, 0, 0.08);
  border-top-color: rgba(0, 0, 0, 0.1);
}

:root[data-theme="light"] .solution-card-icon {
  background: rgba(184, 87, 124, 0.08);
  border-color: rgba(184, 87, 124, 0.25);
}

:root[data-theme="light"] .solution-card-title {
  color: var(--text-primary);
}

:root[data-theme="light"] .solution-card-desc {
  color: var(--text-secondary);
}

:root[data-theme="light"] .solution-card-btn {
  background: #f3f1f3;
  color: rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
}

/* --- HOW IT WORKS --- */
/* .step-icon ya usa var(--accent-pink), que se redefine más abajo para light. */
:root[data-theme="light"] .step-title {
  color: var(--text-primary);
}

:root[data-theme="light"] .step-desc {
  color: var(--text-secondary);
}

/* --- TRUST BADGES --- */
:root[data-theme="light"] .trust-badge {
  background: linear-gradient(180deg, #ffffff 0%, #faf9fa 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

:root[data-theme="light"] .trust-badge-label {
  color: var(--text-secondary);
}

/* --- PLANES --- */
:root[data-theme="light"] .plans-table th,
:root[data-theme="light"] .plans-table td {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

:root[data-theme="light"] .plans-table td:first-child,
:root[data-theme="light"] .plans-table th:first-child {
  color: var(--text-secondary);
}

:root[data-theme="light"] .plan-name {
  color: var(--text-primary);
}

:root[data-theme="light"] .plan-duration {
  color: var(--text-muted);
}

:root[data-theme="light"] .plans-table thead th.featured,
:root[data-theme="light"] .plans-table td.featured {
  background: rgba(184, 87, 124, 0.06);
}

:root[data-theme="light"] .plan-badge {
  color: #ffffff;
}

/* --- CTA FINAL --- */
:root[data-theme="light"] .final-cta-title {
  color: var(--text-secondary);
}

:root[data-theme="light"] .final-cta-title b {
  color: var(--text-primary);
}

/* --- FOOTER --- */
:root[data-theme="light"] .footer-top {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

:root[data-theme="light"] .footer-brand-name {
  color: var(--text-primary);
}

:root[data-theme="light"] .footer-links-row a {
  color: var(--text-secondary);
}

:root[data-theme="light"] .footer-links-row a:hover {
  color: var(--accent-pink);
}

:root[data-theme="light"] .footer-bottom {
  color: rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .footer-dev-link {
  color: var(--text-secondary);
}

:root[data-theme="light"] .footer-dev-link:hover {
  color: var(--accent-pink);
}

/* --- TOAST (light mode) --- */
:root[data-theme="light"] .toast {
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

:root[data-theme="light"] #toast-container.expanded .toast {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}