/* AnvyoAI pricing page. Uses the design tokens from style.css. */

.plans { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem);
  background: linear-gradient(168deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.plan--featured {
  border-color: rgba(56, 189, 248, 0.55);
  background: linear-gradient(168deg, rgba(37,99,235,0.2), rgba(124,58,237,0.08));
  box-shadow: 0 30px 70px -40px rgba(37, 99, 235, 0.8);
}
.plan__badge {
  position: absolute;
  top: -0.7rem; left: 1.5rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.plan__tag { color: var(--muted); font-size: 0.9rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.35rem; margin-top: 1.2rem; }
.plan__amt { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.plan__per { color: var(--muted); font-size: 0.95rem; }
.plan__annual { min-height: 1.5em; margin-top: 0.15rem; color: var(--electric); font-size: 0.86rem; }
.plan__credits {
  margin: 1rem 0 0.2rem;
  padding: 0.55rem 0.8rem;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}
.plan .check-list { flex: 1; margin: 1.2rem 0 1.6rem; }

/* Tables */
.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.tbl { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 0.92rem; }
.tbl th, .tbl td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
.tbl thead th {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  background: rgba(255,255,255,0.03);
}
.tbl tbody th { font-weight: 600; color: var(--soft); }
.tbl td { color: var(--muted); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(56,189,248,0.05); }
.tbl .ck { color: var(--electric); font-weight: 800; }
.tbl .no { color: var(--muted-dim); }

/* Top-ups and school tiers */
.topup { text-align: center; }
.topup__n { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: var(--soft) !important; line-height: 1.1; }
.topup__n span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.topup__p { margin: 0.35rem 0 0.6rem; font-size: 1.25rem; font-weight: 700; color: var(--electric) !important; }
.tier__p { margin: 0.4rem 0 0.5rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--soft) !important; }
.tier__p span { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 0.25rem; }
.schools-table { margin-top: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }

@media (max-width: 1024px) {
  .plans.grid--3, .tiers.grid--4, .topups.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .plans.grid--3, .tiers.grid--4, .topups.grid--4 { grid-template-columns: 1fr; }
}
