@import url("./variables.css");

@import url("./custom.css");

@import url("./components.css");

body {
  overflow-x: hidden !important;
}

/* ========================================

   CUSTOM SCROLLBAR

======================================== */

/* Firefox */

html {
  scrollbar-width: thin;

  scrollbar-color: var(--custom-color-primary) transparent;
}

/* Chrome, Edge y Safari */

::-webkit-scrollbar {
  width: 8px;

  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--custom-color-primary);

  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--custom-color-primary-hover);
}

.custom-comparison-table {
  scrollbar-width: thin;
  scrollbar-color: var(--custom-color-primary) transparent;
}


.custom-comparison-table::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-comparison-table::-webkit-scrollbar-track {
  background: transparent;
}

.custom-comparison-table::-webkit-scrollbar-thumb {
  background: var(--custom-color-primary);
  border-radius: 10px;
}

.custom-comparison-table::-webkit-scrollbar-thumb:hover {
  background: var(--custom-color-primary-hover);
}

.text-primary{
  color: red !important;
}

/* =========================================================

   FEATURE ITEM

========================================================= */

.custom-feature-item__title {
  margin: 0 0 6px;
  color: var(--custom-color-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.custom-feature-item__description {
  margin: 0;

  color: var(--custom-color-text-muted);

  font-size: 14px;

  font-weight: 400;

  line-height: 1.85;
}

@media (max-width: 991.98px) {
  .custom-feature-item__title {
    font-size: 18px;

    margin-bottom: 18px;
  }

  .custom-feature-item__description {
    font-size: 15px;

    line-height: 1.75;
  }
}

@media (max-width: 575.98px) {
  .custom-feature-item__title {
    margin-bottom: 12px;
  }

  .custom-feature-item__description {
    line-height: 1.7;
  }
}

.custom-text-primary {
    color: var(--custom-color-primary)
}

#header {
  background: var(--custom-gradient-topbar) !important;
  
}

.navbar > ul > li.login {
  margin: 0;

  padding: 0px 25px;

  background: var(--custom-color-primary) !important;

  border: none !important;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--custom-color-primary) !important;
}



/* =========================================================

   LEGACY TOPBAR

========================================================= */

.topbar {
  background: var(--custom-gradient-topbar) !important;
}

.topbar .support .support-items i {
  color: var(--custom-color-text-inverse) !important;

  font-size: 16px;
}

.topbar .support .support-items a {
  color: #dfdfdf !important;
}

a.switcher-icon {
  display: none !important;
}

/* =========================================================

   PREMIUM TOPBAR

========================================================= */

.premium-topbar {
  position: relative;

  z-index: 100;

  min-height: 46px;

  background: var(--custom-gradient-topbar);

  color: var(--custom-color-text-inverse);

  border-bottom: 1px solid var(--custom-color-white-08);

  box-shadow:
    0 1px 0 var(--custom-color-white-03) inset,
    0 6px 20px rgba(0, 0, 0, 0.12);
}

.premium-topbar__inner {
  min-height: 46px;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 32px;
}

/* =========================================================

   TOPBAR TICKER

========================================================= */

.premium-topbar__ticker {
  width: 100%;

  max-width: 650px;

  justify-self: center;

  overflow: hidden;

  white-space: nowrap;

  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,

    #000 8%,

    #000 92%,

    transparent 100%
  );

  mask-image: linear-gradient(
    90deg,
    transparent 0%,

    #000 8%,

    #000 92%,

    transparent 100%
  );
}

.premium-topbar__ticker-track {
  display: flex;

  width: max-content;

  animation: premiumTicker 24s linear infinite;

  will-change: transform;
}

.premium-topbar__ticker-group {
  display: flex;

  align-items: center;

  flex-shrink: 0;

  gap: 45px;

  padding-right: 45px;
}

.premium-topbar__ticker-group span {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  font-size: 12px;

  font-weight: 600;

  color: var(--custom-color-white-92);
}

.premium-topbar__ticker-group i {
  font-size: 14px;

  color: #5aa7ff;
}

@keyframes premiumTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.premium-topbar__ticker:hover .premium-topbar__ticker-track {
  animation-play-state: paused;
}

/* =========================================================

   TOPBAR FEATURES

========================================================= */

.premium-topbar__features {
  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 8px;
}

.premium-topbar__feature {
  width: 27px;

  height: 27px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  color: var(--custom-color-text-inverse);

  /* background: var(--custom-color-white-10); */

  /* border: 1px solid var(--custom-color-white-16); */

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.premium-topbar__feature:hover {
  transform: translateY(-2px);

  background: var(--custom-color-white-18);

  border-color: var(--custom-color-white-30);
}

.premium-topbar__feature i {
  font-size: 12px;
}

/* =========================================================

   TOPBAR ACTIONS

========================================================= */

.premium-topbar__actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 18px;
}

.premium-topbar__link {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: var(--custom-color-white-88);

  font-size: 12px;

  font-weight: 600;

  text-decoration: none;

  transition: color 0.2s ease;
}

.premium-topbar__link:hover {
  color: var(--custom-color-text-inverse);

  text-decoration: none;
}

.premium-topbar__link i {
  font-size: 13px;
}

.premium-topbar__notification {
  min-width: 17px;

  height: 17px;

  padding: 0 4px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 20px;

  background: var(--custom-color-primary);

  color: var(--custom-color-text-inverse);

  font-size: 9px;

  line-height: 1;
}

/* =========================================================

   FOOTER

========================================================= */

.footer {
  background-color: var(--custom-color-bg-dark) !important;
}

/* =========================================================

   HOSTING PLANS SECTION

========================================================= */

.hosting-plans-section {
  background: var(--custom-color-bg-soft);

  padding: 40px 0;
}

.hosting-plans {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  align-items: stretch;

  gap: 18px;

  padding: 70px 0 40px;
}

/* =========================================================

   BADGE OUTLINED

========================================================= */

.badge-outlined {
  width: max-content;

  padding: 0 15px;

  border: 2px solid var(--custom-color-primary-dark);

  border-radius: 20px;

  color: var(--custom-color-text);
}

/* =========================================================

   HOSTING PLAN CARD

========================================================= */

.hosting-plan-card {
  position: relative;

  display: flex;

  flex-direction: column;

  min-width: 0;

  padding: 38px 18px 28px;

  background: var(--custom-color-surface);

  border: 1px solid var(--custom-color-border);

  border-radius: 22px;

  color: var(--custom-color-text);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hosting-plan-card:hover {
  transform: translateY(-4px);

  border-color: var(--custom-color-border-hover);

  box-shadow: var(--custom-shadow-card);
}

/* =========================================================

   FEATURED HOSTING PLAN

========================================================= */

.hosting-plan-card--featured {
  margin-top: -34px;

  padding-top: 72px;

  border: 3px solid transparent;

  background:
    linear-gradient(var(--custom-color-surface), var(--custom-color-surface))
      padding-box,
    var(--custom-gradient-featured-border) border-box;

  box-shadow: var(--custom-shadow-featured);

  z-index: 2;
}

.hosting-plan-card--featured:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 38px rgba(59, 130, 246, 0.17),
    0 0 28px rgba(99, 102, 241, 0.15);
}

/* =========================================================

   FEATURED LABEL

========================================================= */

.hosting-plan-card__recommended {
  position: absolute;

  top: -3px;

  left: -3px;

  right: -3px;

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--custom-gradient-featured);

  border-radius: 20px 20px 0 0;

  color: var(--custom-color-text-inverse);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.01em;
}

/* =========================================================

   CARD HEADER

========================================================= */

.hosting-plan-card__header {
  /* min-height: 103px; */
}

.hosting-plan-card__heading {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 8px;
}

.hosting-plan-card__title {
  margin: 0;

  color: var(--custom-color-text);

  font-size: 22px;

  font-weight: bold;

  line-height: 1.25;
}

.hosting-plan-card__bonus {
  flex-shrink: 0;

  width: max-content;

  padding: 2px 7px;

  border: 1px solid var(--custom-color-primary);

  border-radius: 20px;

  color: var(--custom-color-text);

  font-size: 9px;

  font-weight: 700;

  line-height: 1.3;

  white-space: nowrap;
}

.hosting-plan-card__bonus i {
  margin-left: 2px;

  color: var(--custom-color-primary);
}

.hosting-plan-card__description {
  max-width: 230px;

  margin: 6px 0 0;

  color: var(--custom-color-text-muted);

  font-size: 12px;

  line-height: 1.3;
}

/* =========================================================

   PRICE

========================================================= */

.hosting-plan-card__price {
  margin-top: 8px;

  margin-bottom: 24px;
}

.hosting-plan-card__old-price {
  min-height: 20px;

  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--custom-color-text-secondary);

  font-size: 9px;

  text-decoration: line-through;
}

.hosting-plan-card__discount {
  display: inline-flex;

  align-items: center;

  padding: 2px 6px;

  border-radius: 12px;

  background: var(--custom-color-success-soft);

  color: var(--custom-color-text);

  font-size: 8px;

  font-weight: 700;

  text-decoration: none;
}

.hosting-plan-card__current-price {
  min-height: 48px;

  display: flex;

  align-items: flex-end;
}

.hosting-plan-card__currency {
  margin-right: 3px;

  margin-bottom: 7px;

  color: var(--custom-color-primary);

  font-size: 14px;

  font-weight: 500;
}

.hosting-plan-card__current-price strong {
  color: var(--custom-color-primary);

  font-size: 37px;

  font-weight: 700;

  line-height: 1;

  letter-spacing: -1.5px;
}

.hosting-plan-card__period {
  margin-left: 4px;

  margin-bottom: 4px;

  color: var(--custom-color-primary);

  font-size: 10px;

  white-space: nowrap;
}

.hosting-plan-card__billing {
  margin-top: 2px;

  color: var(--custom-color-text-secondary);

  font-size: 10px;
}

.hosting-plan-card__saving {
  width: max-content;

  display: inline-flex;

  margin-top: 10px;

  padding: 2px 6px;

  border: 1px solid var(--custom-color-success-border);

  border-radius: 15px;

  color: var(--custom-color-text);

  font-size: 10px;

  font-weight: 700;
}

.hosting-plan-card__media {
  height: 65px !important;
}

.plan-highlight {
  display: inline-flex;

  align-items: center;

  width: max-content;

  padding: 5px 10px;

  border-radius: 20px;

  background: var(--custom-color-success-soft);

  color: var(--custom-color-text);

  font-size: 11px;

  font-weight: 700;
}

span.hosting-plan-card__term-badge {
  padding: 10px;

  background: #ffeea9;

  color: #9c8456;

  border-radius: 10px;
}

/* =========================================================

   PLAN BUTTON

========================================================= */

.hosting-plan-card__button {
  width: 100%;

  height: 39px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 24px;

  border: 1.5px solid var(--custom-color-primary);

  border-radius: 7px;

  background: var(--custom-color-surface);

  color: var(--custom-color-primary);

  font-size: 12px;

  font-weight: 700;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.hosting-plan-card__button:hover {
  background: var(--custom-color-primary);

  border-color: var(--custom-color-primary);

  color: var(--custom-color-text-inverse);

  text-decoration: none;
}

.hosting-plan-card--featured .hosting-plan-card__button {
  background: var(--custom-color-primary-dark);

  border-color: var(--custom-color-primary-dark);

  color: var(--custom-color-text-inverse);
}

.hosting-plan-card--featured .hosting-plan-card__button:hover {
  background: var(--custom-color-primary-hover);

  border-color: var(--custom-color-primary-hover);
}

/* =========================================================

   FEATURES

========================================================= */

.hosting-plan-card__features {
  margin: 0;

  padding: 0;

  list-style: none;
}

.hosting-plan-card__features li {
  display: flex;

  align-items: flex-start;

  gap: 8px;

  margin-bottom: 12px;

  color: var(--custom-color-text-soft);

  font-size: 14px !important;

  line-height: 1.3;
}

.hosting-plan-card__features li:last-child {
  margin-bottom: 0;
}

.hosting-plan-card__features i {
  flex-shrink: 0;

  margin-top: 1px;

  color: var(--custom-color-success);

  font-size: 13px;

  font-weight: 700;
}

.hosting-plan-card__features strong {
  color: var(--custom-color-text);

  font-weight: 700;
}

.hosting-plan-card__features a {
  color: var(--custom-color-primary);

  text-decoration: none;
}

.hosting-plan-card__features a:hover {
  text-decoration: underline;
}

.btn-outline-secondary {
  font-size: 16px;
  color: var(--custom-color-secondary) !important;
  background: none;
  padding: 8px 23px;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-outline-secondary:hover {
  background-color: var(--custom-color-secondary) !important;
  color: #fff !important;
}


/* Video de fondo del banner */
.banner .custom-banner-video {
    z-index: 0;
}

/* Capa para mejorar legibilidad */
.banner .custom-banner-overlay {
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(12, 14, 18, 0.85) 0%,
        rgba(12, 14, 18, 0.65) 55%,
        rgba(12, 14, 18, 0.45) 100%
    );
    pointer-events: none;
}

/* Contenido por encima del video */
.banner:has(> .custom-banner-video) .banner-inner {
    z-index: 2;
}

/* Fondo mientras carga el video */
.banner:has(> .custom-banner-video) {
    background-color: var(--custom-color-bg-dark);
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .banner .custom-banner-video {
        display: none;
    }
}

.custom-video-banner {
    height: auto;
    min-height: 400px;
}


.custom-video-banner .banner-inner {
    min-height: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}

.custom-video-banner__content {
    position: relative;
    z-index: 2;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* =========================================================

   RESPONSIVE - TOPBAR

========================================================= */

@media (max-width: 991.98px) {
  .premium-topbar__inner {
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    gap: 16px;
  }

  .premium-topbar__ticker-track {
    animation-duration: 18s;
  }
}

@media (max-width: 575.98px) {
  .premium-topbar {
    min-height: 42px;
  }

  .premium-topbar__inner {
    min-height: 42px;

    gap: 10px;
  }

  .premium-topbar__ticker-group span {
    font-size: 11px;
  }

  .premium-topbar__actions {
    gap: 10px;
  }
}

/* =========================================================

   RESPONSIVE - HOSTING PLANS

========================================================= */

@media (max-width: 1199.98px) {
  .hosting-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosting-plan-card--featured {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .hosting-plans-section {
    padding: 30px 0;
  }

  .hosting-plans {
    grid-template-columns: 1fr;

    gap: 20px;

    padding-top: 35px;
  }

  .hosting-plan-card {
    border-radius: 18px;
  }

  .hosting-plan-card--featured {
    margin-top: 0;

    padding-top: 70px;

    border-radius: 18px;
  }

  .hosting-plan-card__recommended {
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 575.98px) {
  .premium-topbar__actions .dropdown {
    position: static;
  }

  .premium-topbar__actions .dropdown-menu {
    position: absolute !important;

    top: 100% !important;

    left: 12px !important;

    right: 12px !important;

    width: auto !important;

    min-width: 0 !important;

    margin-top: 8px;

    transform: none !important;

    border-radius: 12px;

    text-align: center;
  }

  .premium-topbar__actions .dropdown-item {
    padding: 10px 14px;

    text-align: center;
  }
}
