:root {
  --primary: #e50914;
  --accent: #2563eb;
  --background: #8569d7;
  --card: #ffffff;
  --text: #eef0f4;
  --textt: #0f172a;

  --text-light: #475569;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

/* ================= NAVBAR PEQUEÑO Y BIEN ALINEADO ================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
  min-height: 68px;
}






.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--textt);
}

.logo h2 {
  font-family: 'Kaushan Script', cursive;
  font-size: 2.1rem;
}

.logo img {
  width: 78px;
  /* Logo más pequeño para que quepa bien */
  height: auto;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  /* Espacio entre enlaces */
  flex-wrap: wrap;
}

.links a {
  color: var(--textt);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
}

.links a:hover {
  color: var(--accent);
}

/* Para móviles */
@media (max-width: 900px) {
  .nav {
    padding: 12px 5%;
    min-height: 65px;
  }


  .logo img {
    width: 70px;
  }

  .links {
    gap: 20px;
  }

  .links a {
    font-size: 1rem;
  }
}


/* ================= HERO ================= */

.hero {
  height: 40vh;
  min-height: 280px;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-family: 'Kaushan Script', cursive;
  font-size: clamp(3.8rem, 9vw, 5rem);
  font-weight: normal;
  color: white;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.35);
}

.hero p {
  font-size: 1.35rem;
  margin: 20px 0 35px;
  color: #f1f5f9;
}

/* ================= BOTONES ================= */

.btn,
.btn-card {
  background: var(--primary);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover,
.btn-card:hover {
  background: #b91c1c;
  transform: translateY(-4px);
}

/* ================= TITULOS ================= */

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin: 40px 0 20px;
  font-weight: 800;
}

/* ==================== SERVICIOS - CON ANIMACIONES IGUALES A COMBOS ==================== */
.services-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background: var(--card);
  border-radius: 28px;
  /* Igual que combos */
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  border: 3px solid #1ce330;
  /* Borde visible como combos */
  transition: all 0.5s ease;
  width: 100%;
  max-width: 680px;
  padding: 16px 22px;
}

.service-card:hover {
  transform: translateY(-18px);
  /* Misma animación que combos */
  box-shadow: 0 35px 80px rgb(244, 241, 241);
  /* Glow rojo */
  border-color: #ffffff;
  /* Borde rojo al hover */
}

.service-card .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.55rem;
  margin: 0;
  flex: 1;
  color: var(--text);
}

.service-card .price {
  font-size: 1.75rem;
  color: var(--text);
  font-weight: 800;
}

.service-card p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Botón rojo igual que en combos */
.service-card .btn-card {
  background: var(--primary);
  color: white;
  padding: 16px 0;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  display: block;
  margin-top: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(79, 229, 9, 0.4);
}

.service-card .btn-card:hover {
  background: #170e2a;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(177, 34, 99, 0.4);
}

/* ================= COMBOS ================= */

.combos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 por fila en PC */
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Responsive */
@media (max-width: 1100px) {
  .combos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .combos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .combos-grid {
    grid-template-columns: 1fr;
  }
}

/* TARJETA */
.combo-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #fbf3f7;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

/* Animación tarjeta */
.combo-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.35);
  border-color: #f2ebee;
}

/* 🔥 Imagen un poco más pequeña */
.combo-card img {
  width: 100%;
  max-height: 420px;
  /* más pequeña */
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.combo-card:hover img {
  transform: scale(1.03);
}

/* INFO */
.combo-card .info {
  padding: 18px;
  text-align: center;
}

/* BOTÓN ROSA PRO */
.combo-card .btn-card {
  margin-top: 15px;
  display: block;
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
  padding: 12px 0;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
}

/* Animación botón */
.combo-card .btn-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.6);
}

/* ================= WHATSAPP ================= */

.whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 999;
}

.whatsapp:hover {
  transform: scale(1.15);
}

/* ================= FOOTER ================= */
.footer-whatsapp {
  margin-top: 20px;
}

.nuevo-texto {
  margin-top: 15px;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #08d746;
  padding: 10px 18px;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon svg {
  width: 18px;
  height: 18px;
}

.phone-number {
  font-weight: 700;
  color: #f0f6f2;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.whatsapp-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}


/* Imagen arriba del título */
.title-with-image {
  text-align: center;
  margin-top: 80px;
}

.title-with-image img {
  width: 120px;
  /* tamaño de la imagen */
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.title-with-image img:hover {
  transform: scale(1.1);
}


/* ================== BOTON 3DXY ================== */

.menu-toggle {
  display: none;
  width: 34px;
  height: 26px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--textt);
  border-radius: 4px;
  transition: all 0.4s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 11px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* Animación 3DXY */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= MENU DROPDOWN MOVIL ================= */

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .links {
    position: absolute;
    top: 65px;
    /* debajo del navbar */
    right: 5%;
    background: white;
    flex-direction: column;
    width: 180px;
    padding: 15px;
    gap: 15px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

}


.main-footer {
  background: #fcfcfd;
  color: #15c53c;
  font-weight: 800;
  ;
  padding: 40px 20px;
  text-align: center;
  margin-top: 50px;
}

.main-footer .contact-text {
  color: #15c53c;
  margin-bottom: 15px;
}

/* 🔎 BOTÓN FLOTANTE */
.search-float {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: #db2777;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(219, 39, 119, 0.5);
  z-index: 998;
  transition: 0.3s ease;
}

.search-float:hover {
  transform: scale(1.1);
}

/* 🔎 FONDO OSCURO */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* 🔎 CAJA */
.search-box {
  background: white;
  padding: 25px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid #db2777;
  outline: none;
  font-size: 1rem;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  padding: 14px 45px 14px 20px;
}

.clear-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-weight: bold;
  color: #db2777;
  font-size: 1.2rem;
}

/* 🔥 SOLO CELULAR - IMAGEN MÁS PROPORCIONADA */
@media (max-width: 900px) {

  .combos-grid {
    grid-template-columns: 1fr;
  }

  .combo-card img {
    width: 100%;
    height: auto;
    max-height: none;
  }

}

.search-btn {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 50px;
  background: #db2777;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.search-btn:hover {
  background: #be185d;
  transform: translateY(-2px);
}

/* Botón flotante Mostrar Todo */
.show-all-btn {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 997;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
}

/* Botón flotante Mostrar Todo - Mejor posicionado encima de la lupa */
.show-all-btn {
  position: fixed;
  bottom: 190px;
  /* Ahora queda encima de la lupa */
  right: 30px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 13px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.02rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 998;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 170px;
  text-align: center;
}

.show-all-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.7);
}

/* En celulares más pequeños */
@media (max-width: 500px) {
  .show-all-btn {
    bottom: 170px;
    padding: 12px 18px;
    font-size: 0.97rem;
    min-width: 150px;
  }

  .search-float {
    bottom: 100px;
    /* La lupa baja un poco para que no choque */
  }
}

/* Mensaje cuando no hay resultados - Corregido para que quede arriba del footer */
.no-results-message {
  display: none;
  text-align: center;
  margin: 80px auto 120px;
  /* Más margen abajo para evitar footer */
  padding: 45px 25px;
  max-width: 520px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border: 4px solid #ec4899;
  position: relative;
  z-index: 10;
  /* Importante: queda por encima del footer */
}

.no-results-message h3 {
  color: #db2777;
  margin-bottom: 12px;
  font-size: 1.75rem;
}

.no-results-message p {
  color: #64748b;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Ajuste extra para que no se meta debajo del footer en móviles */
@media (max-width: 600px) {
  .no-results-message {
    margin-bottom: 140px;
    /* Más espacio abajo en celular */
    padding: 35px 20px;
  }
}

/* ========== CARRUSEL MANUAL (scroll nativo, arrastrable) ========== */
.carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  background: #0f0f1a;
  margin: 28px auto 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 1100px;
  border-radius: 50px;
  overflow: hidden;
}

.carousel-wrapper {
  flex: 1;
  overflow: hidden;
  cursor: grab;
  padding: 14px 0;
  max-width: unset;
  margin: 0 auto;
}

.carousel-wrapper.dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 8px;
  user-select: none;
  /* evita que se "seleccione" el contenido al arrastrar */
  -webkit-user-select: none;
  will-change: transform;
}

.carousel-track img {
  pointer-events: none;
  /* el click siempre lo recibe el <a>, nunca la imagen suelta */
  -webkit-user-drag: none;
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 38px;
  min-width: 38px;
  height: 70px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
  user-select: none;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.carousel-arrow-left {
  border-radius: 0 8px 8px 0;
}

.carousel-arrow-right {
  border-radius: 8px 0 0 8px;
}

.carousel-item {
  text-decoration: none;
  flex-shrink: 0;
}

.carousel-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.carousel-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-emoji {
  font-size: 1.5rem;
}

.carousel-icon span:last-child {
  font-size: 0.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1;
}

.carousel-item:hover .carousel-icon {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .carousel-arrow {
    width: 30px;
    min-width: 30px;
    font-size: 1.5rem;
  }

  .carousel-icon {
    width: 62px;
    height: 62px;
    border-radius: 13px;
  }

  .carousel-logo {
    width: 36px;
    height: 36px;
  }
}

/* ========== APPS GRID (Servicios) ========== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin: 20px auto 80px;
  padding: 0 4%;
}

@media (max-width: 1000px) {
  .apps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 700px) {
  .apps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
}

.app-card {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.app-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.app-logo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.app-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.3s ease;
}

.app-card:hover .app-logo-wrap img {
  transform: scale(1.06);
}

.app-info {
  position: relative;
  z-index: 2;
  padding: 6px 7px 7px;
  background: rgba(0, 0, 0, 0.7);
}

.app-info h3 {
  font-size: 0.68rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* ========== PÁGINA INDIVIDUAL - HEADER COMPACTO ========== */
.service-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 5%;
  min-height: unset;
}

.service-page-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-page-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-page-header h1 {
  font-family: 'Kaushan Script', cursive;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: white;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ========== TARJETAS DE PLANES ========== */
.service-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 28px auto 80px;
  padding: 0 5%;
  align-items: stretch;
}

.service-plan-card {
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  height: 100%;
}

.service-plan-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.service-plan-img {
  width: 100%;
  height: 180px;
  aspect-ratio: unset;
  overflow: hidden;
}

.service-plan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.35s ease;
}

.service-plan-card:hover .service-plan-img img {
  transform: scale(1.06);
}

.service-plan-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  flex: 1;
}

.service-plan-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.service-plan-detail {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.service-plan-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  margin-top: 4px;
}

.service-plan-price small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  margin-left: 2px;
}

/* ========== PAGINA DE APP INDIVIDUAL ========== */
.app-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 40px 5% 36px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Overlay más ligero para que se vea la imagen de fondo */
.app-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.app-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Logo de la plataforma en la página individual */
.app-page-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 4px;
}

.app-page-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-hero-content h1 {
  font-family: 'Kaushan Script', cursive;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin: 0;
  line-height: 1.1;
}

.app-hero-content p {
  font-size: 1rem;
  opacity: 0.88;
  margin: 0;
}

/* Plan cards como tarjetas bien definidas */
.plans-section {
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-card {
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.plan-left h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin: 0 0 5px;
}

.plan-left p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.plan-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.plan-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: white;
  white-space: nowrap;
}

.plan-btn {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.plan-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.04);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 5%;
  transition: color 0.2s;
}

.back-link:hover {
  color: white;
}

@media (max-width: 600px) {
  .plan-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-right {
    align-items: flex-start;
  }
}