:root {
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --accent-soft: #f4f7ff;
  --soft-bg: #f6f8ff;
  --ink: #020617;
  --text: #0f172a;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #e2e8f0;
  --accent-500: #22c55e;
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.04);
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #ffffff;
}

.page-main {
  min-height: 100vh;
}

.section {
  padding: 72px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Generic section title (for FAQ) */

.section-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
}

.section-title.center {
  text-align: center;
}

/* Header */

.membership-header {
  text-align: center;
  margin-bottom: 56px;
}

.membership-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink);
}

.membership-subtitle {
  margin: 0 0 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.value-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 16px;
  background-color: rgba(34, 197, 94, 0.08);
  border: 2px solid var(--accent-500);
}

.value-highlight-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.value-highlight-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background-color: var(--accent-500);
  color: #ffffff;
}

/* Buttons */

.btn {
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background-color 0.1s ease, border-color 0.1s ease, color 0.1s ease;
}

.btn-primary {
  background-color: var(--brand-500);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-600);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
  background-color: #f4f7ff;
}

.btn-block {
  width: 100%;
}

/* Plans grid */

.plans-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto 64px;
}

.plan-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.plan-card-highlight {
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
  border-color: rgba(37, 99, 235, 0.8);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-badge-soft {
  background-color: #e9f9ef;
  border: 1px solid #c7f1d7;
  color: #136b33;
}

.plan-badge-primary {
  background-color: var(--brand-500);
  color: #ffffff;
}

.plan-name {
  margin: 4px 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.plan-description {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--muted);
}

.plan-subtext {
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}

.plan-period {
  font-size: 14px;
  color: var(--muted);
}

/* Plan features */

.plan-features {
  margin-top: 20px;
}

.plan-features-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.plan-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background-color: #e9f9ef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-check svg {
  width: 12px;
  height: 12px;
  color: #136b33;
}

/* What's Included */

.included-section {
  margin-top: 80px;
}

.included-card {
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 32px 28px 34px;
}

.included-title {
  text-align: center;
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.included-column-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}

.included-check {
  flex-shrink: 0;
}

.included-check svg {
  width: 14px;
  height: 14px;
  color: var(--accent-500);
}

/* FAQ */

.section-faq {
  margin-top: 80px;
}

.faq-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-card {
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 20px 18px 22px;
}

.faq-question {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-answer {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Final CTA */

.final-cta {
  margin-top: 80px;
}

.final-cta-card {
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 32px 24px 32px;
  text-align: center;
}

.final-cta-title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.final-cta-text {
  margin: 0 auto 24px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.final-cta-btn {
  padding: 12px 26px;
  font-size: 15px;
}

.final-cta-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .included-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .membership-title {
    font-size: 26px;
  }

  .value-highlight {
    display: block;
    text-align: left;
  }

  .value-highlight-text {
    display: block;
    margin-bottom: 6px;
  }

  .final-cta-card {
    padding-inline: 18px;
  }
}
