/* ===================== GPT PAGE (gpt.css) ===================== */

.subscription-section {
  padding: 100px 0;
  background:
    radial-gradient(900px 450px at 20% 20%, rgba(14,165,233,0.12), transparent 60%),
    radial-gradient(900px 450px at 80% 30%, rgba(37,99,235,0.10), transparent 60%),
    #f6f7fb;
}

/* Wider container */
.container-plan {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid layout */
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
}

/* ===================== PLAN CARD ===================== */

.plan-card {
  background: rgba(255,255,255,0.98);
  border-radius: 28px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.08);

  transition: transform .28s ease,
              box-shadow .28s ease,
              border-color .28s ease;
}

/* Smooth hover */
.plan-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow:
    0 30px 80px rgba(2, 6, 23, 0.18),
    0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* ===================== TEXT STYLING ===================== */

/* Plan Title */
.plan-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: #0f172a;
  margin: 0 0 12px;
}

/* Subtitle */
.plan-model {
  font-size: 17px;
  color: #64748b;
  margin-bottom: 22px;
}

/* Price */
.plan-price {
  font-size: 50px;
  font-weight: 900;
  color: #0ea5e9;
  margin-bottom: 28px;
  line-height: 1;
}

.plan-price::after {
  content: " / plan";
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
}

/* ===================== FEATURES ===================== */

.plan-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.plan-info p {
  font-size: 17px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.6;
  margin: 0;
}

.plan-info i {
  font-size: 16px;
  color: #0ea5e9;
  margin-top: 3px;
}

/* ===================== POPULAR PLAN ===================== */

.plan-card.popular {
  border: 2px solid rgba(14,165,233,0.85);
  box-shadow:
    0 40px 100px rgba(14,165,233,0.25);
  transform: scale(1.05);
}

.plan-card.popular:hover {
  transform: scale(1.08);
}

.plan-card.popular::before {
  content: "MOST POPULAR";
  position: absolute;
  top: 20px;
  right: -55px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  padding: 10px 65px;
  font-size: 13px;
  font-weight: 900;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

/* ===================== BUTTON ===================== */

.plan-buttons {
  margin-top: 32px;
}

.plan-buttons .add-to-cart-btn,
.plan-buttons .upgrade-btn {
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.plan-buttons .add-to-cart-btn:hover,
.plan-buttons .upgrade-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.35);
  filter: brightness(1.05);
}

.plan-buttons .add-to-cart-btn:active,
.plan-buttons .upgrade-btn:active {
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */

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

@media (max-width: 768px) {
  .subscription-section {
    padding: 60px 0;
  }

  .subscription-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .plan-card {
    padding: 36px 28px;
  }

  .plan-name {
    font-size: 22px;
  }

  .plan-price {
    font-size: 42px;
  }

  .plan-info p {
    font-size: 15px;
  }
}