/* ==========================================================================
   Synectix Forge - Premium page styles
   Extends css/styles.css design tokens. Scoped to premium.html only.
   ========================================================================== */

.nav-links a.is-active {
  color: var(--text-primary);
}
.nav-links a.is-active::after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-cyan);
  margin-top: 4px;
}

/* ---------------------------------------------------------
   Early Member banner
--------------------------------------------------------- */
.early-banner {
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(76,110,245,0.10), transparent 70%), var(--card);
  padding: 44px;
}
.early-banner-head { text-align: center; margin-bottom: 32px; }
.early-banner-head .eyebrow { justify-content: center; }
.early-banner-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}
.early-banner-head p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}
.early-banner-head strong { color: var(--text-primary); }

.early-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.early-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.early-benefit svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.early-banner-foot {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   Compare table
--------------------------------------------------------- */
.compare-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  font-weight: 500;
  padding-top: 20px;
}
.compare-table thead th:nth-child(3) { color: var(--accent-cyan); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--card-hover); }
.compare-table .feat-col {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}
.compare-table td svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}
.compare-table .cell-dash {
  color: var(--text-tertiary);
}
.compare-table .cell-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-cyan);
}
.compare-table tr.is-your-region td {
  background: var(--accent-dim);
  color: var(--text-primary);
  font-weight: 600;
}
.compare-table tr.is-your-region .feat-col::after {
  content: 'Your region';
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  margin-top: 2px;
}

/* ---------------------------------------------------------
   Tier intro (Free / Premium / Community shared copy blocks)
--------------------------------------------------------- */
.tier-intro {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}
.tier-intro h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
}
.tier-intro p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.tier-intro .pill-row { margin-top: 18px; }

/* ---------------------------------------------------------
   Tier tabs (Premium / Community switch)
--------------------------------------------------------- */
.tier-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
}
.tier-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tier-tab svg { width: 15px; height: 15px; }
.tier-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }
.tier-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tier-panel { display: none; }
.tier-panel.is-active { display: block; }

/* ---------------------------------------------------------
   Feature grid (used inside Premium / Community panels)
--------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 26px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  margin-bottom: 16px;
}
.feature-icon svg { width: 20px; height: 20px; color: var(--accent-cyan); }
.feature-card h4 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card > p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.feature-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-card ul li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.feature-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 900px) {
  .early-benefits { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .early-banner { padding: 28px 20px; }
  .early-benefits { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .compare-table { min-width: 560px; }
  .tier-tabs { flex-wrap: wrap; }
}