

body {
  font-family: 'Inter', sans-serif;
}

.plans-hero {
  background: radial-gradient(circle at 20% 30%, #e0f7fa 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, #ffe0e0 0%, transparent 40%),
              radial-gradient(circle at 50% 50%, #f3e5f5 0%, transparent 50%);
  padding: 120px 20px 60px 20px;
  text-align: center;
  color: #333;
  position: relative;
  overflow: hidden;
}

.plans-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.plans-hero h1 {
  font-size: 3.2rem;
  font-weight: 400; /* thinner weight */
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.plans-hero p {
  font-size: 1.25rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 30px;
}


.fade-word {
  display: inline-block;
  color: #333;
  animation: fadeToPink 1s forwards;
  animation-delay: var(--delay);
  opacity: 0.8;
}

.fade-word:nth-child(1) { --delay: 0s; }
.fade-word:nth-child(2) { --delay: 0.5s; }
.fade-word:nth-child(3) { --delay: 1s; }
.fade-word:nth-child(4) { --delay: 1.5s; }
.fade-word:nth-child(5) { --delay: 2s; }
.fade-word:nth-child(6) { --delay: 2.5s; }

@keyframes fadeToPink {
  0% {
    color: #333;
    opacity: 0.8;
  }
  100% {
    color: #ff80ab;
    opacity: 1;
  }
}





/**** Plans section *****/

:root {
  --accent-pink: #ff4d6d;
  --accent-blue: #004aad;
  --accent-green: #81C784;
  --accent-black: #D3D3D3;
  --price-new: #ff7b5c;
  --strike-color: #d6336c;
  --background-group: #f9f7fb;
}

/* General Section */
.plans-section {
  padding: 2rem 2rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
}

.plans-header {
  text-align: center;
  margin-bottom: 3rem;
}

.plans-header .section-title {
 font-size: 2.4rem;
  margin-bottom: 10px;
  text-align: center;
  color: #e91e63;
}

.plans-header .section-subtitle {
  font-size: 1.1rem;
  color: #555;
}

/* Plans Row */
.plans-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Elder Care Plans Group */
.plans-group {
  position: relative;
  background: var(--background-group);
  padding: 2rem 0.5rem 2rem 0.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.group-pill {
  white-space: nowrap;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--background-group);
  color: var(--accent-pink);
  padding: 6px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 12;
}

.group-cards {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

/* Individual Plan Cards */
.plan-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
  box-shadow: 0 6px 18px rgba(12,28,63,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card.popular {
  border: 2px solid var(--accent-green);
}

.plan-title {
  color: #fff; /* Text color for contrast */
  background: var(--accent-green); /* Highlight background */
  padding: 6px 12px; /* Some spacing */
  border-radius: 8px; /* Rounded corners */
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-block; /* So background wraps text neatly */
  margin-bottom: 0.5rem;
}


/* Specific background for Active Plan */
.plan-card.active .plan-title {
  background-color: #90CAF9; /* Light blue */
}

/* Premium Plan */
.plan-card.premium .plan-title {
  background-color: #FCE4EC; /* Soft rose */
}

/* Chronic Care */
.plan-card.chronic .plan-title {
  background-color: #FFB74D; /* Peach tint */
}

/* Expert Care */
.plan-card.expert .plan-title {
  background-color: #FFB74D; /* Peach tint */
}

.plan-price {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.plan-price .strike {
  text-decoration: line-through;
  color: var(--strike-color);
  margin-right: 0.5rem;
}

.plan-price .new-price {
  color: var(--price-new);
}

.plan-price .per {
  font-weight: 400;
  font-size: 0.95rem;
  color: #555;
}

.plan-price i {
  margin-right: 6px;
  color: #ff4d6d; /* match your accent color */
}

.plan-content {
  flex: 1;
}

.plan-who h4,
.plan-what h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

.plan-who p,
.plan-what p,
.plan-what ul {
  font-size: 0.95rem;
  color: #333;
}

.plan-what ul {
  list-style: none;
  padding-left: 0;
}

.plan-what ul li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-what ul li i {
  color: var(--accent-pink);
  min-width: 18px;
  font-size: 1rem;
}

/* Buttons */
.btn-plan {
  display: inline-block;
  margin-top: 1rem;
  background: var(--accent-pink);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-plan:hover {
  background: #d6336c;
}

/* Popular badge */
.popular-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #81C784;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

/* Single independent cards */
.single-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(12,28,63,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.single-card .group-pill {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  padding: 6px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 12;
}

.single-card .plan-title { margin-top: 26px; }
.single-card .plan-content { margin-top: 8px; }

/* Chronic & Expert icons in what you get */
.single-card .plan-what ul li i {
  color: var(--accent-pink);
  min-width: 18px;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .plans-row { 
    grid-template-columns: 1fr; 
  }
  .group-cards { flex-direction: column; }
  .single-card .group-pill { left: 24px; transform: none; top: -14px; }
}
