:root {
  --bg: #ffffff; /* white theme */
  --muted: #6b7280; /* gray-500 */
  --heading: #111827; /* gray-900 */
  --body: #374151; /* gray-700 */
  --brand: #48bf84; /* primary button */
  --brand-600: #3aa76b; /* hover state */
  --card-bg: #f9fafb; /* gray-50 */
  --card-border: #e5e7eb; /* gray-200 */
  --popular-bg: #ecfdf5; /* green-50 */
  --popular-border: #86efac; /* green-300 */
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--body);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.container {
  width: 100%;
  max-width: 1100px;
}

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

.title {
  margin: 0 0 8px 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.logo {
  height: 40px;
  width: auto;
  display: inline-block;
  margin-bottom: 12px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between; /* keep buttons aligned at bottom */
  min-height: 260px; /* consistent height across cards */
  height: 100%;
  box-shadow: var(--shadow);
}

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

.plan-price {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  color: var(--body);
  font-size: 13px;
  min-height: 48px; /* equalize content area to align CTAs */
}

.features li {
  margin: 6px 0;
}

.cta {
  width: 100%;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  background: var(--brand);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cta:hover {
  background: var(--brand-600);
}

.footer-cta {
  text-align: center;
  margin-top: 18px;
}

.outline {
  background: transparent;
  color: var(--heading);
  border: 1px solid var(--card-border);
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 9999px;
  background: var(--popular-bg);
  color: var(--brand-600);
  border: 1px solid var(--popular-border);
  margin-bottom: 8px;
  font-weight: 600;
}

.popular {
  background: var(--popular-bg);
  border-color: var(--popular-border);
}


