/* css/pricing.css */

.pricing-main { padding: 40px 24px 80px; }

.pricing-header { text-align: center; margin-bottom: 52px; }
.pricing-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem;
  color: #111;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.pricing-header p { font-size: 1rem; color: #888; }

.pricing-banner {
  border-radius: 12px; padding: 16px 20px; margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.9rem;
}
.pricing-banner.success { background: #eaf5ef; border: 1px solid #a8d8b9; color: #1a7a4a; }
.pricing-banner.warning { background: #fff8e6; border: 1px solid #ffd566; color: #856404; }
.pricing-banner a { font-weight: 600; color: inherit; }

/* Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto 64px;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid #e2e2de;
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); }

.pricing-card-pro {
  border-color: #111;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.plan-badge {
  position: absolute;
  top: -13px; right: 24px;
  background: #111; color: #fff;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 999px;
}

.plan-name {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #888; margin-bottom: 12px;
}

.plan-price {
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 4px;
}

.price-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; color: #111; line-height: 1;
}

.price-per { font-size: 0.9rem; color: #888; }

.plan-desc { font-size: 0.85rem; color: #888; margin-bottom: 24px; }

.trial-notice {
  background: #fff8e6; border: 1px solid #ffd566;
  border-radius: 8px; padding: 10px 14px;
  font-size: 0.83rem; color: #856404; margin-bottom: 20px;
}

.feature-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 8px;
}

.feature-list li {
  font-size: 0.87rem; padding-left: 22px; position: relative; color: #444;
}

.feature-list li::before { position: absolute; left: 0; }
.feat-yes::before { content: '✓'; color: #1a7a4a; font-weight: 700; }
.feat-no  { color: #bbb; }
.feat-no::before { content: '—'; color: #ccc; }

.btn-plan {
  display: block; width: 100%; text-align: center;
  padding: 13px; border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s;
}

.btn-plan-primary { background: #111; color: #fff; }
.btn-plan-primary:hover { background: #2a2a28; transform: translateY(-1px); }

.btn-plan-ghost { background: none; border: 1.5px solid #ddd; color: #555; }
.btn-plan-ghost:hover { border-color: #111; color: #111; }

.plan-fine { font-size: 0.77rem; color: #aaa; text-align: center; margin-top: 10px; }

.active-badge {
  background: #eaf5ef; border: 1px solid #a8d8b9; color: #1a7a4a;
  border-radius: 8px; padding: 12px; text-align: center;
  font-size: 0.9rem; font-weight: 600;
}

/* Comparison table */
.compare-wrap { max-width: 700px; margin: 0 auto; }
.compare-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; text-align: center; margin-bottom: 24px;
}

.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th {
  background: #111; color: #fff;
  padding: 12px 16px; text-align: center;
  font-weight: 600; font-size: 0.82rem;
}

.compare-table th:first-child { text-align: left; }
.compare-table .th-pro { background: #2a2a28; }

.compare-table td {
  padding: 11px 16px; border-bottom: 1px solid #f0f0ee;
  color: #555; text-align: center;
}

.compare-table td:first-child { text-align: left; color: #333; font-weight: 500; }
.compare-table .td-pro { color: #1a7a4a; font-weight: 600; }
.compare-table tbody tr:hover { background: #fafaf8; }

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 24px; }
}
