html,
body {
  min-height: 100%;
}

body {
  margin: 0;
}

.pricing-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
  background-size: cover;
  background-position: center;
}

.pricing-content {
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-hero h1 {
  font-size: clamp(3rem, 2.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #101828;
}

.pricing-subtitle {
  font-size: 1.4rem;
  color: #667085;
  margin: 0 auto;
  max-width: 44rem;
}

.pricing-note {
  font-size: 1.1rem;
  color: #8b95a3;
  font-style: italic;
  margin-top: 0.6rem;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f4ff;
  border-radius: 999px;
  padding: 0.7rem;
  min-width: 18rem;
  position: relative;
}

.pricing-toggle .toggle-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: #667085;
  padding: 0 1.2rem;
  z-index: 1;
}

.pricing-toggle .toggle-label.active {
  color: #0f172a;
}

.pricing-toggle .toggle-switch {
  position: absolute;
  left: 0.7rem;
  width: 8rem;
  height: 2.6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b65ff 0%, #6e7bff 100%);
  transition: transform 0.3s ease;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.8rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 30rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-name {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #0f172a;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.15rem;
}

.price-note {
  display: inline-block;
  font-size: 1.2rem;
  color: #667085;
  font-weight: 500;
  margin-left: 0.4rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
  color: #475569;
  font-size: 1.35rem;
  line-height: 1.7;
}

.pricing-card li::before {
  content: "\2713";
  color: #4f46e5;
  margin-right: 0.85rem;
  font-size: 1rem;
  vertical-align: middle;
}

.card-highlight {
  border-color: #4f46e5;
  box-shadow: 0 25px 80px rgba(79, 70, 229, 0.15);
  transform: translateY(-6px);
}

.card-secondary {
  border-color: rgba(168, 85, 247, 0.25);
}

.card-basic .card-badge {
  background: rgba(14, 165, 233, 0.08);
  color: #0ea5e9;
}

.card-secondary .card-badge {
  background: rgba(168, 85, 247, 0.12);
  color: #7c3aed;
}

.card-highlight .card-badge {
  background: rgba(79, 70, 229, 0.12);
  color: #4338ca;
}

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

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-toggle {
    min-width: auto;
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 1rem;
  }

  .pricing-toggle .toggle-switch {
    display: none;
  }
}
