:root {
  --bg: #f3f6fb;
  --card-bg: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #0f172a;
  --muted: #64748b;
  --border: #e5e9f2;
  --success: #16a34a;
  --radius-lg: 22px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--dark);
  padding: 60px 20px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.heading {
  text-align: center;
  margin-bottom: 12px;
}

.heading h1 {
  font-size: 36px;
  font-weight: 800;
}

.heading p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
}

.notice {
  max-width: 500px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.notice.warn {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.plan-card.popular {
  border: 2px solid var(--primary);
}

.tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 999px;
}

.plan-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--muted);
}

.plan-price {
  font-size: 38px;
  font-weight: 800;
  margin-top: 14px;
}

.plan-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14.5px;
  border-bottom: 1px solid #f1f5f9;
}

.plan-features li:last-child {
  border-bottom: none;
}

.check {
  color: var(--success);
  font-weight: 800;
}

.plan-cta {
  display: block;
  text-align: center;
  margin-top: 26px;
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.plan-cta.primary {
  background: var(--primary);
  color: white;
}

.plan-cta.primary:hover {
  background: var(--primary-dark);
}

.plan-cta.current {
  background: #f1f5f9;
  color: var(--muted);
  pointer-events: none;
}

.plan-cta.included {
  background: #ecfdf5;
  color: var(--success);
  pointer-events: none;
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .heading h1 {
    font-size: 28px;
  }
}
