/* =============================================
   FREE TIER PAGE — page-specific styles
   (shared design system lives in styles.css)
   ============================================= */

/* ── Hero ──────────────────────────────────── */
.ft-hero {
  background: linear-gradient(135deg, #e05a2b 0%, #e8527a 100%);
  padding: 140px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ft-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ft-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.ft-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ft-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.ft-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ft-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}

/* ── Shared section chrome ─────────────────── */
.ft-section {
  padding: 80px 24px;
}

.ft-section-alt {
  background: var(--bg-alt);
}

.ft-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Feature grid ──────────────────────────── */
.ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.ft-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}

.ft-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ft-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff5f0, #fff0f5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.ft-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ft-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Pro card variant */
.ft-card-pro .ft-card-icon {
  background: linear-gradient(135deg, #e05a2b, #e8527a);
  color: #fff;
}

/* ── Plans side-by-side ────────────────────── */
.ft-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.ft-plan-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.ft-plan-card.ft-plan-pro {
  background: linear-gradient(160deg, #fff5f0 0%, #fff0f5 100%);
  border-color: rgba(224,90,43,0.25);
  box-shadow: 0 8px 32px rgba(224,90,43,0.12);
  position: relative;
  overflow: hidden;
}

.ft-plan-card.ft-plan-pro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #e05a2b, #e8527a);
}

.ft-plan-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.ft-plan-label.pro {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.ft-plan-price .amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
}

.ft-plan-price .period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.ft-plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.ft-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.ft-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.ft-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  margin-top: 1px;
}

.ft-check-free {
  background: #ecfdf5;
  color: #059669;
}

.ft-check-pro {
  background: linear-gradient(135deg, #e05a2b, #e8527a);
  color: #fff;
}

/* ── Comparison table ──────────────────────── */
.ft-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ft-table thead th {
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
}

.ft-table thead th:first-child {
  color: var(--text);
  font-size: 15px;
}

.ft-table thead th.col-free {
  color: var(--text-muted);
  text-align: center;
}

.ft-table thead th.col-pro {
  background: linear-gradient(160deg, #fff5f0, #fff0f5);
  text-align: center;
}

.ft-table thead th.col-pro span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ft-table-group td {
  padding: 8px 24px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.ft-table tbody tr:not(.ft-table-group) td {
  padding: 15px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.ft-table tbody tr:last-child td {
  border-bottom: none;
}

.ft-table tbody tr:not(.ft-table-group):hover td {
  background: #fafbfc;
}

.ft-table td.col-free,
.ft-table td.col-pro {
  text-align: center;
}

.ft-table td.col-pro {
  background: rgba(255,245,240,0.35);
}

.tbl-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e05a2b, #e8527a);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.tbl-yes-green {
  background: #ecfdf5;
  color: #059669;
}

.tbl-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.tbl-note {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

/* ── CTA banner ────────────────────────────── */
.ft-cta {
  background: linear-gradient(135deg, #e05a2b 0%, #e8527a 100%);
  padding: 80px 24px;
  text-align: center;
}

.ft-cta h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.ft-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ft-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 720px) {
  .ft-plans {
    grid-template-columns: 1fr;
  }

  .ft-hero {
    padding: 120px 20px 80px;
  }

  .ft-table thead th,
  .ft-table tbody tr:not(.ft-table-group) td {
    padding: 12px 14px;
  }
}
