
  :root,
  html[data-theme="dark"] {
    --bg-primary: #071019;
    --bg-secondary: #0f1729;
    --bg-tertiary: #1a2332;
    --bg-card: #141c2b;
    --bg-elevated: #1e2a3d;
    
    --text-primary: #ffffff;
    --text-secondary: #b4c0d3;
    --text-muted: #7d8ba3;
    
    --accent-primary: #10b981;
    --accent-secondary: #059669;
    --accent-teal: #14b8a6;
    --accent-cyan: #06b6d4;
    
    --border: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.1);
  }

  html[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent-primary: #10b981;
    --accent-secondary: #059669;
    --accent-teal: #14b8a6;
    --accent-cyan: #06b6d4;
    
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.12);
  }

  * {
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--bg-primary) !important;

  }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary) !important;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
  }

  /* Ensure main wrapper has proper background */
  #app-wrapper {
    background: var(--bg-primary) !important;
    width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

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

  a:hover {
    text-decoration: none !important;
  }

  button {
    font-family: inherit;
    border: none;
    cursor: pointer;
  }

  .container {
    width: 90%;
    margin: 0 auto;
  }

  @media (min-width: 1440px) {
    .container {
      max-width: 1400px;
      padding: 0 3rem;
    }
  }

  @media (min-width: 1920px) {
    .container {
      max-width: 1600px;
      padding: 0 4rem;
    }
  }

  /* HEADER */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 17, 32, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
  }

  html[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .logo-icon {
    height: 32px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
  }

  .logo span {
    display: none;
  }

  /* Show/hide logos based on theme */
  .logo-dark {
    display: block;
  }

  .logo-light {
    display: none;
  }

  html[data-theme="light"] .logo-dark {
    display: none;
  }

  html[data-theme="light"] .logo-light {
    display: block;
  }

  .nav {
    display: none;
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .nav {
      display: flex;
    }
  }

  .nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
  }

  .nav-link:hover {
    color: var(--text-primary);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    position: relative;
  }

  .theme-toggle:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
  }

  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }

  /* Hide/show icons based on theme */
  .icon-sun {
    display: none;
  }

  .icon-moon {
    display: block;
  }

  html[data-theme="light"] .icon-sun {
    display: block;
  }

  html[data-theme="light"] .icon-moon {
    display: none;
  }

  .btn {
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }

  .btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
  }

  .btn-primary:active {
    transform: translateY(-1px);
  }

  .btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }

  .btn-outline {
    background: var(--bg-card);
    border: 2px solid var(--border-strong);
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .btn-outline:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  }

  .btn-white {
    background: white;
    color: #0a1120;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  }

  .btn-white:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
  }

  /* TOP BANNER */
  .top-banner {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    z-index: 99;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
  }

  .top-banner a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
  }

  .top-banner a:hover {
    border-bottom-color: white;
  }

  /* HERO */
  .hero {
    padding: 200px 0 60px;
    position: relative;
    overflow: visible; /* Cambiado a visible */
    background: var(--bg-primary);
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 60%);
    pointer-events: none;
  }

  /* Degradado inferior del hero - pequeño */
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 80px;
    background: radial-gradient(
      ellipse 100% 100% at center center,
      rgba(0, 246, 255, 0.2) 0%,
      rgba(0, 255, 179, 0.15) 50%,
      rgba(0, 255, 179, 0.08) 70%,
      transparent 100%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
  }

html[data-theme="light"] .hero::before {
  opacity: 0.5;
}

html[data-theme="light"] .hero::after {
  background: radial-gradient(
    ellipse 100% 100% at center center,
    rgba(0, 246, 255, 0.15) 0%,
    rgba(0, 255, 179, 0.1) 50%,
    rgba(0, 255, 179, 0.05) 70%,
    transparent 100%
  );
}

  .hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
  }

  /* Para pantallas grandes (1024px o más) */
  @media (min-width: 1024px) {
    .hero-grid {
      grid-template-columns: 1fr 1fr; /* 2 columnas iguales */
      gap: 4rem;
    }
  }

  /* Para pantalla de 884px o menos */
  @media (max-width: 884px) {
    .hero-grid {
      grid-template-columns: 1fr 30%; /* la segunda columna máximo 30% */
      gap: 2rem; /* opcional, puedes ajustar el gap */
    }
  }


  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }

  @media (min-width: 768px) {
    .hero-title {
      font-size: 3.5rem;
    }
  }

  @media (min-width: 1024px) {
    .hero-title {
      font-size: 4rem;
    }
  }

  .span-certainty {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .span-pricing {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-description {
    color: var(--text-secondary);
    margin-bottom: 5%;
    max-width: 100%;
    line-height: 1.7;
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
  }

  .hero-cta-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex: 1;
    max-width: 600px;
  }

  @media (max-width: 480px) {
    .hero-cta-form {
      flex-wrap: wrap;
    }
  }

  .hero-email-input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
  }

  .hero-email-input::placeholder {
    color: var(--text-muted);
  }

  .hero-email-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
  }

  .hero-stat-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
  }

  .hero-visual {
    position: relative;
  }

  .hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  @media (max-width: 768px) {
    .price-card {
      padding: 2rem;
    }

    .price-amount {
      font-size: 3rem;
    }

    .price-title {
      font-size: 1.5rem;
    }

    .cta-bubble-inner {
      padding: 1.5rem;
      flex-direction: column;
      text-align: center;
    }

    .cta-bubble-content {
      text-align: center;
    }

    .cta-bubble-title {
      font-size: 1.25rem;
    }

    .cta-bubble-text {
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }

    .cta-bubble-button {
      width: 100%;
    }

    .cta-bubble-button .btn {
      width: 100%;
    }
  }
    .hero-floating-card {
      position: static;
      margin-top: 1rem;
    }

  .floating-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
  }

  .floating-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
  }

  .floating-card-subtitle {
    font-size: 0.8125rem;
    color: var(--text-secondary);
  }

  /* TRUSTED BY */
  .trusted-by {
    padding: 3rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: visible; /* Cambiado a hidden para cortar el degradado */
  }

  /* Degradado principal de trusted by - grande y visible como un div */
  .trusted-by::before {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 100%;
    /* Degradado lineal de izquierda a derecha */
    background: linear-gradient(
      to right,
      #00f7ff38 0%,
      #00ffb325 100%
    );
    border-radius: 0%;
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
}

@media (max-width: 884px) {
  .trusted-by-text {
    font-size: 0.9rem; /* texto más pequeño */
  }

  .logo-item {
    flex: 0 0 30%;  /* cada logo ocupa máximo 30% del contenedor */
    max-width: 150px; /* opcional: para no exceder */
    min-width: 120px; /* opcional: para que no se achique demasiado */
  }

  .logos-track {
    gap: 3%; /* reduce un poco el espacio entre logos */
  }
}


html[data-theme="light"] .trusted-by::before {
  background: radial-gradient(
    ellipse 100% 100% at center center,
    rgba(0, 246, 255, 0.18) 0%,
    rgba(0, 255, 179, 0.12) 40%,
    rgba(0, 255, 179, 0.06) 65%,
    transparent 100%
  );
}

  .trusted-by-text {
    text-align: center;
    font-size: 100%;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
  }

  

  .landlords-span {
    color: #00C98D;
  }

  .logos-scroll {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    z-index: 2; /* Por encima del degradado */
  }

  .logos-track {
    display: flex;
    gap: 5%;
    animation: scroll 30s linear infinite;
  }

.logo-item {
  flex: 0 0 18%;
  max-width: 220px;
  min-width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(253, 251, 251, 0.1);
  border-radius: 10px;
}

.section-main {
  border-top: 10% solid var(--bg-primary);
  overflow: visible;
}

  .logo-item:hover {
    opacity: 0.8;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* SECTION */
  .section {
    background: var(--bg-primary);
  }

  .section.alt {
    background: var(--bg-secondary);
  }

  .section-header {
    text-align: center;
    margin: 0 auto 4rem;
    position: relative;
  }

  .section-badge {
  display: flex;             /* cambiar a flex block */
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  color: var(--accent-primary);
  justify-content: center;   /* opcional, centra el contenido del badge */
  margin: 0 auto 1.5rem;    /* ahora sí funciona */
}



  .section-badge svg {
    width: 16px;
    height: 16px;
    justify-self: center;
  }

  .section-kicker {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
  }

  .section-title {
    margin-top: 2%;

  }

  @media (min-width: 768px) {
    .section-title {
      font-size: 3rem;
    }
  }

  .section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  #main-section {
    border-top: 10% solid var(--bg-primary);
    overflow: visible;
    padding: 3rem 0;
  }

  /* Ejemplo media query para pantallas menores a 884px */
  @media (max-width: 884px) {
    #main-section {
      padding: 2rem 1rem; /* reduce el padding */
    }

    #main-section .section-title {
      font-size: 2rem; /* reduce el tamaño del título */
    }

    #main-section .role-tab {
      font-size: 0.875rem; /* ajusta texto de rol */
    }
  }


  .main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: -1;
  }

  .section-tool {
  background: var(--bg-primary);
  padding: 60px 0;
}

  /* ROLE SELECTOR */
  .role-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
  }

  .role-tabs {
  display: inline-flex;
  align-items: center;   /* 🔑 centra verticalmente */
  gap: 8px;              /* espacio entre ícono y texto */
  background-color: #00c98d0e;
  border: 1px solid #00C98D;
  border-radius: 12px;
  padding: 8px 16px;     /* mejor que porcentajes aquí */
}

.role-tabs img {
  width: 20px;           /* tamaño controlado */
  height: 20px;
  object-fit: contain;
}

  /* NUMBERED FEATURES */
  .feature-item {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
  }

  @media (min-width: 1024px) {
    .feature-item {
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
    }

    .feature-item:nth-child(even) .feature-content {
      order: 2;
    }

    .feature-item:nth-child(even) .feature-visual {
      order: 1;
    }
  }

  .feature-item .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: white;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.feature-item .btn:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}


@media (max-width: 884px) {
  .feature-item {
    grid-template-columns: 1fr; /* apilar texto sobre imagen */
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
  }

  .feature-visual {
    max-width: 40%; /* tu tamaño de imagen sigue igual */
    margin: 0 auto; /* centra horizontalmente */
  }

  .feature-item:nth-child(even) .feature-content,
  .feature-item:nth-child(even) .feature-visual {
    order: initial; /* quita el order de desktop */
  }

  /* AJUSTES DE TEXTO */
  .feature-number {
    font-size: 60%; /* proporcional al original */
  }

  .feature-title {
    font-size: 60%; /* proporcional al 2rem original */
  }

  .feature-description {
    font-size: 70%; /* proporcional al 1.0625rem original */
  }

  .feature-card-title {
    font-size: 90%; /* proporcional al 1.125rem */
  }

  .feature-card-description {
    font-size: 85%; /* proporcional al 0.9375rem */
  }

  .feature-list li {
    font-size: 85%; /* proporcional al 0.9375rem */
  }

  /* LOS BOTONES */
  .btn {
    padding: 0.5rem 1rem;
    font-size: 87.5%;
  }

  /* LA IMAGEN INTERNA */
  .feature-image img {
    max-width: 100%;
    height: auto;
  }

  /* EL PADDING DE LOS CARDS */
  .feature-card-content {
    padding: 1.5rem;
  }
}


  .feature-number {
    font-size: 5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-primary);
    line-height: 1;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }

  .feature-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .feature-list {
    list-style: none;
    margin-bottom: 2rem;
  }

  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
  }

  .feature-list-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-primary);
    margin-top: 2px;
  }

  .feature-visual {
    position: relative;
  }

  .feature-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
  }

  .feature-image img {
    width: 100%;
    height: auto;
    display: block;
  }

.section-tool .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* FEATURE GRID */
.features-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Posiciones de las tarjetas */
.features-grid > .feature-card:nth-child(1) {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
}

.features-grid > .feature-card:nth-child(2) {
  grid-column: 1 / 2 !important;
  grid-row: 2 / 3 !important;
}

.features-grid > .feature-card:nth-child(3) {
  grid-column: 1 / 2 !important;
  grid-row: 3 / 4 !important;
}

.features-grid > .feature-card:nth-child(4) {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
}

.features-grid > .feature-card:nth-child(5) {
  grid-column: 2 / 3 !important;
  grid-row: 2 / 3 !important;
}

@media (min-width: 1280px) {
  .features-grid {
    gap: 2.5rem !important;
  }
}

@media (max-width: 1023px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  
  .features-grid > .feature-card {
    grid-column: 1 !important;
  }
  
  .features-grid > .feature-card:nth-child(1) { grid-row: 1 !important; }
  .features-grid > .feature-card:nth-child(2) { grid-row: 2 !important; }
  .features-grid > .feature-card:nth-child(3) { grid-row: 3 !important; }
  .features-grid > .feature-card:nth-child(4) { grid-row: 4 !important; }
  .features-grid > .feature-card:nth-child(5) { grid-row: 5 !important; }
}

.feature-card {
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  width: 100%;
  box-sizing: border-box;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card-image {
  width: 100%;
  background: var(--bg-elevated);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.feature-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
  /* PRICING */

    /* ===== BETA HEADER (PRICING TOP) ===== */

  .head-pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 5%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  /* Gradient border igual que price-card */
  .head-pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(
      135deg,
      var(--accent-primary),
      var(--accent-teal)
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }

  /* Soft glow */
  .head-pricing-card::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(
      circle,
      rgba(16, 185, 129, 0.18),
      transparent 70%
    );
    pointer-events: none;
  }

  /* ===== CONTENT ===== */

  .beta-count {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
  }

  .beta-count .current {
    color: var(--accent-primary);
  }

  .beta-count .total {
    color: var(--text-muted);
  }

  .beta-label {
    text-align: center;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
  }

  .beta-progress {
    margin: 1.25rem 0;
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15);
  }

  .beta-progress-fill {
    height: 100%;
    background: linear-gradient(
      90deg,
      var(--accent-primary),
      var(--accent-teal)
    );
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(16,185,129,.6);
  }

  .beta-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border-radius: 12px;
    width: 100%;
    padding: 1.5% 0%;
    
  }


  .pricing-grid {
    gap: 20%;
    width: 55%;
    margin: 0 auto;
  }

  .price-card {
    margin-top: 5%;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 5% 5%;
    gap: 10%; 
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
  }

  .price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }

  .price-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
  }

  .price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(16, 185, 129, 0.25);
  }

  .price-badge {
    display: flex;
    gap: 0.5rem;
    font-size: 150%;
    font-weight: 700;
    justify-self: center;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1; 
  }

  .price-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
  }

  .price-amount {
    display: flex;
    justify-self: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #00C98D;
    position: relative;
    z-index: 1;
    line-height: 1;
  }

  .price-amount span {
    font-size: 35%;
    font-weight: 400;
    color: var(--text-muted);
    display: flex;
    align-items: flex-end;
  }

  .price-period {
    display: flex;
    justify-self: center;
    justify-content: center;
    font-size: 80%;
    font-weight: 600;
    position: relative;
    background-color: #ffffff0e;
    border-radius: 20px;
    width: 25%;
    gap: 10%;
    padding: 1% 0%;
    z-index: 1;
    display: flex;
  }

  .price-period-monthly{
    background-color: #00C98D;
    color: #0A0F14;
    border-radius: 10px;
    padding: 0% 5%;
  }

  .price-period-annual{
    color: #ffffff9a;
  }

  .price-features {
    list-style: none;
    position: relative;
    z-index: 1;
    padding-top: 2%;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* 👈 separación vertical real */
  }


  .price-features li {
    display: flex;
    align-items: center;
    gap: 1rem; 
    padding: 1.5% 1.5%;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    background-color: #FFFFFF0A;
    border-radius: 12px;
  }

  .price-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-primary);
  }

  .pricing-cta{
    background-color: #00C98D;
    border-radius: 12px;
    padding: 2% 0%;
  }

  .progress-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
  }

  .progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
  }

  .progress-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-elevated);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-teal));
    border-radius: 999px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    position: relative;
  }

  .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
  }

  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

 /* TESTIMONIALS */
  .testimonials-section {
    background: var(--bg-primary);
    padding: 80px 0;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .testimonials-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;
    }
  }

  @media (min-width: 1280px) {
    .testimonials-grid {
      gap: 4rem;
    }
  }

  .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

  .testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.4s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
  }

  .testimonial-card:hover::after {
    opacity: 0.2;
    transform: scale(1.1);
  }

  .testimonial-stars {
    display: flex;
    gap: 4px;
  }

  .testimonial-stars span {
    color: var(--accent-primary);
    font-size: 1.25rem;
  }

  .testimonial-text {
    font-size: 0.9375rem;
    color: #10B981;
    line-height: 1.7;
    flex: 1;
  }

  .testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
  }
   /* FAQ */
  .faq-section {
    background: var(--bg-primary);
    padding: 80px 0;
  }

  .faq-grid {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
  }

  @media (min-width: 768px) {
    .faq-grid {
      gap: 2rem;
    }
  }

  .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 1.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

  .faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-primary);
    border-radius: 16px 0 0 16px;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .faq-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
  }

  .faq-item.active {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
  }

  .faq-item.active::before {
    transform: scaleY(1);
  }

  .faq-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .faq-question::after {
    content: '+';
    color: var(--accent-primary);
    font-size: 1.75rem;
    font-weight: 400;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
  }

  .faq-item.active .faq-question::after {
    transform: rotate(135deg);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0.5rem;
  }

  .faq-item.active .faq-answer {
    max-height: 1000px;
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
  }

  .faq-answer p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
  }

  /* CTA BUBBLE */
  .cta-bubble {
    padding: 3rem 0;
    background: var(--bg-primary);
  }

  .cta-bubble-inner {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-teal));
    border-radius: 20px;
    padding: 2rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .cta-bubble-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
  }

  .cta-bubble-inner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
  }

  .cta-bubble-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 1;
  }

  .cta-bubble-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
  }

  .cta-bubble-text {
    font-size: 0.9375rem;
    margin-bottom: 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
  }

  .cta-bubble-button {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  /* FOOTER */
  .footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
  }

  .footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 2rem;
    }
  }

  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.25rem;
    font-weight: 700;
  }

  .footer-logo .logo-icon {
    height: 32px;
    width: auto;
  }

  .footer-logo span {
    display: none;
  }

  /* Footer logo theme switching uses same classes as header */

  .footer-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 400px;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }

  .footer-section-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-section-links li {
    margin: 0;
  }

  .footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-newsletter-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .footer-newsletter-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  @media (max-width: 480px) {
    .footer-newsletter-form {
      flex-wrap: wrap;
    }
  }

  .footer-email-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
  }

  .footer-email-input::placeholder {
    color: var(--text-muted);
  }

  .footer-email-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }

  .footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }

  @media (min-width: 768px) {
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
  }

  .footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .footer-link {
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
    text-decoration: none !important;
  }

  .footer-link:hover {
    color: var(--text-primary);
    text-decoration: none !important;
  }

  .footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
  }

  /* COOKIE CONSENT */
  .cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
  }

  .cookie-consent.show {
    display: block;
    animation: slideUp 0.4s ease;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .cookie-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .cookie-text a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
  }

  .cookie-text a:hover {
    border-bottom-color: var(--accent-primary);
  }

  .cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  /* MODAL STYLES */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 1rem;
    backdrop-filter: blur(4px);
  }

  .modal-overlay.active {
    display: flex;
  }

  /* Hide WordPress headers and menus when modal is active */
  body.modal-open {
    overflow: hidden !important;
  }

  /* Stronger hiding for WordPress elements */
  body.modal-open header:not(.arbibase-header),
  body.modal-open .site-header,
  body.modal-open .main-header,
  body.modal-open #masthead,
  body.modal-open .header:not(.arbibase-header),
  body.modal-open nav:not(.arbibase-header nav),
  body.modal-open .navigation,
  body.modal-open .navbar,
  body.modal-open .menu-toggle,
  body.modal-open .site-navigation,
  body.modal-open #site-navigation,
  body.modal-open .elementor-location-header,
  body.modal-open .admin-bar,
  body.modal-open #wpadminbar,
  body.modal-open .wp-toolbar,
  body.modal-open #wp-admin-bar-root-default,
  body.modal-open .sticky-header,
  body.modal-open .fixed-header {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    z-index: -1 !important;
  }

  /* Keep our own header visible if needed */
  body.modal-open header.arbibase-header,
  body.modal-open .arbibase-header {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }

  .modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 1;
    border-radius: 20px 20px 0 0;
  }

  .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
  }

  .modal-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  .modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
  }

  .modal-close:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
    color: var(--text-primary);
  }

  .modal-body {
    padding: 0;
  }

  .modal-iframe {
    width: 100%;
    border: none;
    min-height: 600px;
    display: block;
  }

  @media (max-width: 640px) {
    .modal-content {
      max-width: 100%;
      max-height: 100vh;
      border-radius: 0;
    }
    
    .modal-header {
      border-radius: 0;
    }
  }