  @font-face {
      font-family: 'Alta Caption';
      src: url('assets/fonts/Alta_caption.otf') format('opentype');
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-Light.ttf') format('truetype');
      font-weight: 300;
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
      font-weight: 400;
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
      font-weight: 500;
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
      font-weight: 600;
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
      font-weight: 700;
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-ExtraBold.ttf') format('truetype');
      font-weight: 800;
  }

  @font-face {
      font-family: 'Poppins';
      src: url('assets/fonts/Poppins-Black.ttf') format('truetype');
      font-weight: 900;
  }

  

  /* ===== INICIO DE LA CORRECCIÓN ===== */
  html {
      scroll-behavior: smooth;
  }

  [id] {
      scroll-margin-top: 7rem;
      /* Ajusta este valor si la altura de tu header cambia */
  }

  /* ===== FIN DE LA CORRECCIÓN ===== */

  /* ESTILOS PARA EL CUERPO DE LA PÁGINA */
  .switch-container {
      position: relative;
      display: inline-block;
      width: 44px;
      height: 24px;
  }

  .switch-container input {
      opacity: 0;
      width: 0;
      height: 0;
  }

  .slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background-color: #26262c;
      transition: .4s;
      border-radius: 9999px;
  }

  .slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
  }

  input:checked+.slider {
      background-color: #1c1c22;
  }

  input:checked+.slider:before {
      background-color: var(--success);
      transform: translateX(20px);
  }

  .tabs-list {
      display: inline-flex;
      height: 44px;
      align-items: center;
      border-radius: 9999px;
      background-color: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--stroke);
      padding: 4px;
  }

  .tab-trigger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      border-radius: 9999px;
      padding: 0 1.25rem;
      height: 100%;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      flex-shrink: 0;
  }

  .tab-trigger:hover {
      color: var(--txt);
  }

  .tab-trigger.active {
      background-color: var(--accent);
      color: #111;
      box-shadow: 0 8px 22px rgba(255, 139, 43, .35);
  }

  .tab-content.hidden {
      display: none;
  }

  .plan-card {
      background-color: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--stroke);
      border-radius: 1.5rem;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  }

  .plan-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, .26);
      border-color: rgba(255, 255, 255, .2);
      background-color: rgba(255, 255, 255, .04);
  }

  .btn-primary {
      display: block;
      width: 100%;
      text-align: center;
      background: var(--accent);
      color: #111;
      font-weight: 800;
      padding: 0.7rem 1rem;
      border-radius: 0.75rem;
      text-decoration: none;
      box-shadow: 0 8px 22px rgba(255, 139, 43, .35);
      transition: transform .2s ease, box-shadow .2s ease;
  }

  .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 28px rgba(255, 139, 43, .45);
  }

  .btn-secondary {
      display: block;
      width: 100%;
      text-align: center;
      background: rgba(255, 255, 255, 0.08);
      color: var(--txt);
      font-weight: 700;
      padding: 0.7rem 1rem;
      border-radius: 0.75rem;
      border: 1px solid var(--stroke);
      transition: background-color .2s ease, border-color .2s ease;
  }

  .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.2);
  }

  .btn {
      background: linear-gradient(90deg, var(--brand), var(--brand-2));
      color: #141414;
      font-weight: 800;
      cursor: pointer;
      transition: .2s transform ease;
      appearance: none;
      border: none;
      border-radius: 12px;
      padding: 10px 14px;
      outline: 1px solid transparent;
  }

  .ghost {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--line);
      font-weight: 800;
      cursor: pointer;
      transition: .2s transform ease;
      appearance: none;
      border-radius: 12px;
      padding: 10px 14px;
      outline: 1px solid transparent;

  }

  .scrollbar-hide::-webkit-scrollbar {
      display: none;
  }

  .scrollbar-hide {
      -ms-overflow-style: none;
      scrollbar-width: none;
  }

  .tabs-container {
      position: relative;
      width: 100%;
  }

  @media (min-width: 640px) {
      .tabs-container {
          display: flex;
          justify-content: center;
      }
  }

  @media (max-width: 639px) {

      .tabs-container::before,
      .tabs-container::after {
          content: "";
          position: absolute;
          top: 0;
          bottom: 0;
          z-index: 10;
          width: 40px;
          pointer-events: none;
      }

      .tabs-container::before {
          left: -1px;
          background: linear-gradient(to right, var(--bg) 20%, transparent);
      }

      .tabs-container::after {
          right: -1px;
          background: linear-gradient(to left, var(--bg) 20%, transparent);
      }

      .tabs-list {
          justify-content: flex-start;
          padding-left: 0.5rem;
          padding-right: 0.5rem;
      }
  }

  /* ===== INICIO: ESTILOS PARA EL NUEVO MEGA MENÚ DE PLANES ===== */
  .item-card,
  .item-card-bundle,
  .item-card-popular {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem;
      border-radius: 0.75rem;
      transition: background-color 0.2s ease-in-out;
  }

  .item-card {
      border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .item-card:hover {
      background-color: rgba(255, 255, 255, 0.05);
  }

  .item-card-bundle {
      background-color: rgba(255, 139, 43, 0.1);
      border: 1px solid rgba(255, 159, 77, 0.3);
  }

  .item-card-bundle:hover {
      background-color: rgba(255, 139, 43, 0.2);
  }

  .item-card-popular {
      position: relative;
      border: 1px solid rgba(255, 159, 77, 0.5);
  }

  .item-card-popular:hover {
      background-color: rgba(255, 255, 255, 0.05);
  }

  .popular-tag {
      position: absolute;
      top: -0.625rem;
      right: 1rem;
      font-size: 0.75rem;
      font-weight: 700;
      background-color: var(--accent);
      color: black;
      padding: 0.125rem 0.5rem;
      border-radius: 9999px;
  }

  .item-icon,
  .item-icon-bundle {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 0.5rem;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .item-icon {
      background-color: rgba(255, 255, 255, 0.1);
  }

  .item-icon-bundle {
      background-color: rgba(255, 159, 77, 0.2);
  }

  .item-text {
      flex-grow: 1;
  }

  .item-text h5 {
      font-weight: 600;
      color: white;
  }

  .item-text p {
      font-size: 0.875rem;
      color: #a7aec0;
  }

  .item-price {
      text-align: right;
  }

  .item-price .price {
      font-weight: 700;
      color: white;
  }

  .price-bundle {
      font-weight: 700;
      color: #ff8b2b;
  }

  .badge-pro {
      font-size: 0.75rem;
      font-weight: 700;
      color: #60a5fa;
  }

  .badge-adv {
      font-size: 0.75rem;
      font-weight: 700;
      color: #fb923c;
  }

  .cta-button {
      display: block;
      width: 100%;
      text-align: center;
      background-color: var(--accent);
      color: black;
      font-weight: 700;
      padding: 0.75rem 0;
      border-radius: 0.5rem;
      transition: background-color 0.2s ease-in-out;
  }

  .cta-button:hover {
      background-color: #fb923c;
  }

  .hero h1 {
      font-size: clamp(38px, 5vw, 62px);
      line-height: 1.05;
      margin: 8px 0 12px;
  }