/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  min-height: 100vh;
  background: radial-gradient(
    circle at center,
    #ffffff 0%,
    #eef6f3 45%,
    #e3f1ec 70%,
    #d7ebe4 100%
  );
  color: #1f2933;
}

/* PAGE */
.pricing-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* HEADER */
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

.pricing-header p {
  margin-top: 10px;
  color: #64748b;
}

/* PLANS GRID */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* PLAN CARD */
.plan-card {
  background: white;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
}

.highlighted {
  border: 2px solid #0f766e;
  transform: translateY(-6px);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #0f766e;
  color: white;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.plan-name {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.plan-price span {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.features {
  list-style: none;
  margin-top: 18px;
  color: #475569;
}

.features li {
  margin-bottom: 10px;
}

/* COLORS */
.muted {
  color: #6b7280;
}

.primary {
  color: #0f766e;
}

.accent {
  color: #9333ea;
}

/* BUTTONS */
.price-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: #0f766e;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

#creditbuybtn {
    margin-top: auto;
  width: 30%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: #0f766e;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.price-btn.secondary {
  background: #94a3b8;
}

.price-btn.outline {
  background: transparent;
  color: #0f766e;
  border: 2px solid #0f766e;
}

/* BUY CREDITS */
.credits-section {
  margin-top: 80px;
  text-align: center;
}

.credits-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.credits-box {
  max-width: 420px;
  margin: 0 auto 20px;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.credit-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #334155;
}

.credit-row:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

/* =========================
   Header / Navigation
========================= */
header {
  background: transparent;
}

header nav {
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 2.25rem;
}

header nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: #0f766e;
  transition: color 0.2s ease, transform 0.2s ease;
}

header nav a:hover {
  color: #0d9488;
  transform: translateY(-1px);
}

.plan-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.highlighted {
  animation: softPulse 4s ease-in-out infinite;
}

@keyframes softPulse {
  0% {
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.25);
  }
  50% {
    box-shadow: 0 24px 55px rgba(15, 118, 110, 0.35);
  }
  100% {
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.25);
  }
}
.price-btn,
#creditbuybtn {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.price-btn:hover,
#creditbuybtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.35);
}

.price-btn:active,
#creditbuybtn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.25);
}
.credit-row {
  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.credit-row:hover {
  background-color: rgba(15, 118, 110, 0.06);
  padding-left: 6px;
}

/* CREDIT PACK GRID (SAME VIBE AS PLANS, DOES NOT CHANGE PLAN LAYOUT) */
.credit-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.credit-card {
  background: white;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.credit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.credit-top {
  margin-bottom: 12px;
}

.credit-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.credit-meta {
  color: #64748b;
  font-size: 0.95rem;
}

.credit-amount {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 6px 0 16px;
  color: #0f766e;
}

.credit-amount span {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  margin-left: 4px;
}

/* OPTIONAL: match your highlighted pulse without changing subscription cards */
.credit-card.highlighted {
  border: 2px solid #0f766e;
  animation: softPulse 4s ease-in-out infinite;
}
