body {
  font-family: "Inter", "Outfit", sans-serif;
  background: linear-gradient(135deg, #258fbb 0%, #0b2a44 50%, #4a9bc7 100%);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.page-background {
  background: linear-gradient(135deg, #258fbb 0%, #0b2a44 50%, #4a9bc7 100%);
  background-size: cover;
  background-position: center top;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
  animation: float 15s ease-in-out infinite;
}

.page-background::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

/* Container for the plan content */
.plan-container {
  width: 90vw;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 4rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 2;
}

/* Title and subtitle */
.plan-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #0b2a44;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #0b2a44 0%, #258fbb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

.plan-subtitle {
  font-size: 1.2rem;
  color: #374151;
  margin: 0.5rem 0;
  font-weight: 500;
}

.plan-discount {
  font-size: 1.3rem;
  color: #00d4aa;
  font-weight: 700;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #00d4aa, #258fbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 212, 170, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* Toggle buttons for Monthly/Annually */
.toggle-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0 3rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.toggle-button {
  font-size: 1rem;
  padding: 1rem 2rem;
  margin: 0;
  border: none;
  border-radius: 50px;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  background: transparent;
  position: relative;
  z-index: 1;
}

.toggle-button.active {
  background: linear-gradient(135deg, #258fbb 0%, #0b2a44 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 143, 187, 0.4);
  transform: translateY(-2px);
}

.toggle-button:hover:not(.active) {
  background: rgba(37, 143, 187, 0.1);
  color: #258fbb;
  transform: translateY(-1px);
}

.toggle-button:not(.active) {
  background: transparent;
  color: #6b7280;
}

.visa-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  margin: 2rem 0;
  animation: float 3s ease-in-out infinite;
}

/* Plan cards */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 0;
}

.plan-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #258fbb 0%, #00d4aa 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card.pro {
  border: 2px solid rgba(37, 143, 187, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(37, 143, 187, 0.05) 100%
  );
}

.plan-card.pro::before {
  opacity: 1;
  background: linear-gradient(135deg, #258fbb 0%, #0b2a44 100%);
}

/* Plan header and price */
.plan-header {
  font-size: 1.5rem;
  padding: 1.5rem 0;
  border-radius: 1rem;
  color: white;
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.plan-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.plan-header:hover::before {
  left: 100%;
}

.plan-header.free {
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.plan-header.pro {
  background: linear-gradient(135deg, #258fbb 0%, #0b2a44 100%);
  box-shadow: 0 8px 25px rgba(37, 143, 187, 0.3);
}

.plan-price {
  font-size: 3rem;
  color: #0b2a44;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.plan-span {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 500;
}

.plan-p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Plan features */
.plan-features {
  list-style-type: none;
  padding: 0;
  margin: 2rem 0;
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
}

.plan-features li {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.plan-features li:hover {
  background: rgba(37, 143, 187, 0.05);
  transform: translateX(5px);
}

.plan-features li::before {
  content: "✓";
  color: #00d4aa;
  margin-right: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Plan buttons */
.plan-button {
  display: inline-block;
  background: linear-gradient(135deg, #258fbb 0%, #0b2a44 100%);
  color: white;
  padding: 1.2rem 3rem;
  width: 100%;
  max-width: 250px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(37, 143, 187, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.plan-button:hover::before {
  left: 100%;
}

.plan-button:hover {
  background: linear-gradient(135deg, #0b2a44 0%, #258fbb 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 143, 187, 0.5);
  color: white;
}

.plan-card.free .plan-button {
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
}

.plan-card.free .plan-button:hover {
  background: linear-gradient(135deg, #00b894 0%, #00d4aa 100%);
  box-shadow: 0 15px 35px rgba(0, 212, 170, 0.5);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .desktop-features {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .page-background {
    padding: 2rem 1rem;
  }

  .plan-container {
    width: 95vw;
    max-width: 95vw;
    padding: 2rem;
    margin: 0;
  }

  .visa-img {
    width: 80px;
  }

  .plan-title {
    font-size: 2.5rem;
  }

  .plan-subtitle,
  .plan-discount {
    font-size: 1.1rem;
    margin: 1rem 0;
  }

  .toggle-container {
    margin: 2rem 0;
    flex-direction: column;
    gap: 0.5rem;
  }

  .toggle-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    margin: 0;
  }

  .plan-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .plan-card {
    padding: 2rem;
  }

  .plan-header {
    font-size: 1.2rem;
    padding: 1rem 0;
  }

  .plan-price {
    font-size: 2.5rem;
  }

  .plan-span {
    font-size: 1rem;
  }

  .plan-p {
    font-size: 0.9rem;
  }

  .plan-features {
    font-size: 0.9rem;
  }

  .plan-features li {
    margin: 0.8rem 0;
  }

  .plan-features li::before {
    font-size: 1rem;
    margin-right: 0.8rem;
    width: 20px;
    height: 20px;
  }

  .plan-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-top: 1.5rem;
  }

  .toggle-features-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #374151;
    font-weight: 600;
    border: 1px solid rgba(37, 143, 187, 0.2);
    padding: 1rem;
    width: 100%;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .toggle-features-btn:hover {
    background: rgba(37, 143, 187, 0.1);
  }

  .arrow-icon {
    margin-left: auto;
    font-size: 1.2em;
  }

  .plan-features-slider {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .plan-features-slider.open {
    max-height: 100vh;
  }
}

/* Desktop styles remain unchanged */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}
