@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #132b5b;
  --color-accent: #1aa6b7;
  --color-bg: #f8fafc;
  --color-card-bg: #ffffff;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --color-check: #1ca7a6;
  --radius: 14px;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --font-family: 'Poppins', sans-serif;
  --font-size-base: 0.95rem;
  --font-weight-base: 400;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
}

/* COMMON FONT STYLES FOR CARDS AND ELEMENTS */
.pricing-card,
.pricing-card__features,
.pricing-card__price,
.pricing-card__processing {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  color: var(--color-text);
}

/* HERO */
.pricing-hero {
  background: linear-gradient(135deg, var(--color-primary), #0b1e41);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem 5rem;
}
.pricing-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.pricing-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* INTRO SECTION */
.pricing-intro {
  background: linear-gradient(135deg, #132b5b, #0b1e41);
  color: #ffffff;
  text-align: center;
  padding: 5rem 2rem 4rem;
  border-bottom: 4px solid #1aa6b7;
}

.pricing-intro__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pricing-intro__lead {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.pricing-intro__text {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
  color: #e2e8f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-intro {
    padding: 3.5rem 1.5rem 3rem;
  }
  .pricing-intro__title {
    font-size: 2rem;
  }
  .pricing-intro__lead {
    font-size: 1.1rem;
  }
  .pricing-intro__text {
    font-size: 0.95rem;
  }
}

/* MAIN SECTION */
.pricing-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

/* INSTRUCTORS SECTION (inherits School card style) */
.pricing-section--instructors {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.pricing-section--instructors h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.pricing-section--instructors .pricing-card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-top: 5px solid transparent;
  text-align: center;
  min-height: 520px;
}

.pricing-section--instructors .pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.pricing-section--instructors .pricing-card__price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.5rem 0 0.2rem;
}



.pricing-section--instructors .pricing-card__features li {
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  gap: 0.4rem;
}

.pricing-section--instructors .pricing-card__features li::before {
  content: '✔';
  color: var(--color-check);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  margin-top: 0.15rem;
}

.pricing-section--instructors .btn,
.pricing-section--instructors .btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
  transition: background 0.3s ease;
}

.pricing-section--instructors .btn:hover,
.pricing-section--instructors .btn-primary:hover {
  background: var(--color-accent);
}

/* SECTION DESCRIPTIONS */
.pricing-section__desc {
  max-width: 800px;
  margin: -1rem auto 2.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  opacity: 0.9;
  font-weight: 400;
  font-family: var(--font-family);
}

/* GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* CARD */
.pricing-card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border-top: 5px solid transparent;
  text-align: center;
  min-height: 520px;
}

/* Hover effect with consistent scale for all cards */


/* TITLE & PRICE */
.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.pricing-card__price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.5rem 0 0.2rem;
  line-height: 1.1;
}

.pricing-card__sub {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 0.4rem;
  line-height: 1.1;
  font-weight: 500;
}

.pricing-card__processing {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0;
  margin-bottom: 0.4rem;
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
}

/* FEATURES */
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pricing-card__features li {
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  gap: 0.4rem;
}

.pricing-card__features li::before {
  content: '✔';
  color: var(--color-check);
  margin-right: 0;
  font-weight: 600;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  margin-top: 0.15rem;
}

/* Strong text inside features and processing */
.pricing-card__features li strong,
.pricing-card__processing strong {
  font-weight: 600;
  color: var(--color-primary);
}

/* BUTTON */
.pricing-card button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}

.pricing-card button:hover {
  background: var(--color-accent);
  transform: none;
}


.pricing-card.pro {
  border-top-color: var(--color-accent);
  background: #f0faff;
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(26,166,183,0.2);
  z-index: 1;
}

.pricing-card.premium {
  border-top-color: #132b5b7e;
  background: #ffffff1a;
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 2.2rem;
  }
  .pricing-card__price {
    font-size: 2.2rem;
  }
  .pricing-section {
    margin: 3rem auto;
  }
  .pricing-card {
    padding: 2rem 1.2rem;
  }
}

/* BADGE STYLE */
.pricing-card__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(#132b5b);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(19, 43, 91, 0.25);
  animation: badgeGlow 2s ease-in-out infinite alternate;
}


.pricing-card.featured {
  position: relative;
  overflow: visible;
}


/* ===== CTA SECTION (Newsletter) ===== */
.newsletter-cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 40px 16px 80px;
  position: relative;
  z-index: 1;
  font-family: var(--font-family);
}

.newsletter-cta__inner {
  max-width: 960px;
  margin: 0 auto;
}

.newsletter-cta__title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  text-align: center;
  font-family: var(--font-family);
}

.newsletter-cta__sub {
  margin: 0 0 1rem 0;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  opacity: 0.9;
  font-family: var(--font-family);
}

.newsletter-cta__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-cta__form input[type="email"] {
  width: min(420px, 70vw);
  height: 46px;
  border-radius: 999px;
  border: none;
  padding: 0 18px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-family);
}

.newsletter-cta__form input::placeholder {
  color: rgba(230, 230, 230, 0.85);
}

/* CTA Button */
.newsletter-cta__form .btn {
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  font-family: var(--font-family);
}

/* Only color change on hover — no scaling or size change */
.newsletter-cta__form .btn:hover {
  background: #0f8b9a;
  transform: none;
}