@font-face {
  font-family: "Nunito";
  src: url(Nunito-VariableFont_wght.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
}

:root {
  --glass-background: #a9e3d0b2;
  --background: #a9e3d0;
  --page-color: #f8fbfd;
  --scroll-bar-color: #0f6e56;
  --hover-color: #ffffff;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito";
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: #e9e9ed;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-bar-color);
  border-radius: 10px;
}

*::selection {
  color: white;
  background-color: #39a07e;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: clip;
}

/* ---- Subscription Page ---- */
#subscription-main {
  min-height: calc(100vh - 10vh);
  width: 100%;
  background: var(--page-color);
}

/* ---- Hero ---- */
.sub-hero {
  background: #1a1a2e;
  padding: 5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient( circle, rgba(169, 227, 208, 0.08) 0%, transparent 70% );
  border-radius: 50%;
  pointer-events: none;
}

.sub-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient( circle, rgba(125, 173, 157, 0.07) 0%, transparent 70% );
  border-radius: 50%;
  pointer-events: none;
}

.sub-hero-label {
  display: inline-flex;
  background: rgba(169, 227, 208, 0.12);
  color: #a9e3d0;
  border: 1px solid rgba(169, 227, 208, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}

.sub-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.2rem;
}

.sub-hero h1 span {
  color: #a9e3d0;
}

.sub-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 500;
}

/* ---- Plans Section ---- */
.sub-plans-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sub-section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.sub-section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #1a1a2e;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.sub-section-title h2 span {
  color: #0f6e56;
}

.sub-section-line {
  width: 60px;
  height: 4px;
  background: #0f6e56;
  border-radius: 2px;
  margin: 0 auto 1.2rem;
}

.sub-section-title p {
  font-size: 1.05rem;
  color: #5a6278;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}


.subscription-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.subscription-card {
  background: white;
  border: 1.5px solid #e8edf2;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.subscription-card.popular {
  border-color: #0f6e56;
  box-shadow: 0 10px 35px rgba(125, 173, 157, 0.22);
}

.subscription-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(125, 173, 157, 0.18);
  border-color: #a9e3d0;
}

/* Popular badge */
.popular-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #0f6e56;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

/* Card Top Header block */
.sub-card-top {
  padding: 2.5rem 2rem 1.6rem;
  border-bottom: 1px solid #f0f3f5;
}

.sub-card-icon {
  width: 56px;
  height: 56px;
  background: #f3faf7;
  border: 1.5px solid #d4ede5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease;
}

.subscription-card:hover .sub-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

.sub-card-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}

.sub-card-desc {
  font-size: 0.95rem;
  color: #5a6278;
  line-height: 1.65;
  font-weight: 500;
}

/* Price Block */
.sub-card-price {
  padding: 1.4rem 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  background: #f8fbfd;
  border-bottom: 1px solid #f0f3f5;
}

.sub-price-currency {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f6e56;
}

.sub-price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
  letter-spacing: -1px;
}

.sub-price-period {
  font-size: 0.88rem;
  color: #8890a4;
  font-weight: 700;
  margin-left: 0.2rem;
}

/* Features List Container */
.sub-card-features {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem; 
}

.sub-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem; 
  color: #3a4060;
  font-weight: 600;
  line-height: 1.5;
}

.sub-feature-tick {
  width: 20px;
  height: 20px;
  background: #a9e3d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #1a1a2e;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
}

/* CTA Button Section */
.sub-card-cta {
  padding: 1.5rem 2rem 2.5rem;
}

.sub-join-btn {
  width: 100%;
  padding: 1rem;
  background: #0f6e56;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  font-family: "Nunito";
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 16px rgba(125, 173, 157, 0.3);
  letter-spacing: 0.3px;
}

.sub-join-btn:hover {
  background: #6b9e8f;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(125, 173, 157, 0.45);
}

/* ---- Guarantee Strip ---- */
.sub-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 3rem;
  background: #f3faf7;
  border: 1.5px solid #d4ede5;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #3a4060;
  font-weight: 700;
}

.guarantee-icon {
  font-size: 1.4rem;
}

/* ---- FAQ ---- */
.sub-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 6rem;
}

.sub-faq h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 0.5rem;
}

.sub-faq-line {
  width: 50px;
  height: 4px;
  background: #0f6e56;
  border-radius: 2px;
  margin: 0 auto 3rem;
}

.faq-item {
  border: 1.5px solid #e8edf2;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  background: white;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: #a9e3d0;
}

.faq-question {
  padding: 1.4rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f8fbfd;
}

.faq-arrow {
  font-size: 0.8rem;
  color: #0f6e56;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.8rem 1.4rem;
  font-size: 0.98rem;
  color: #5a6278;
  line-height: 1.8;
  font-weight: 500;
}


@media (max-width: 968px) {
  /* Safely steps down track configurations onto double chains to avoid layout squeeze */
  .subscription-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .sub-plans-section {
    padding: 4rem 1.2rem;
  }

  /* Unwraps entirely onto clean full-width vertical alignment cards stack */
  .subscription-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sub-card-top {
    padding: 2rem 1.5rem 1.2rem;
  }

  .sub-card-features, .sub-card-cta {
    padding: 1.5rem;
  }

  .sub-guarantee {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
  }

  .sub-faq {
    padding: 0 0 4rem;
  }

  .faq-question {
    padding: 1.2rem 1.4rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.4rem 1.2rem;
  }
}