/* ============================================================
   Teach Copilot — sales/landing page styles
   Self-hosted, theme-consistent, light/dark aware.
   ============================================================ */

.tc-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--color-bg, #f8fafc) 0%, var(--color-bg-alt, #fff) 100%);
  text-align: center;
}

.tc-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tc-hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 1rem;
}

.tc-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.tc-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-text-muted, #475569);
  margin: 0 auto 2rem;
  max-width: 720px;
}

.tc-hero__cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tc-btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.tc-btn:hover { opacity: 0.88; }

.tc-btn--primary {
  background: #2563eb;
  color: #fff;
}

.tc-btn--ghost {
  border: 1px solid var(--color-border, #cbd5e1);
  color: var(--color-text, #0f172a);
}

.tc-hero__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
}

/* Comparison */
.tc-compare {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.tc-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tc-compare__card {
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: var(--color-card, #fff);
}

.tc-compare__card--win {
  border-color: #2563eb;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
}

.tc-compare__card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.tc-compare__price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tc-compare__price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted, #64748b);
}

.tc-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}

.tc-compare__list li {
  padding: 0.3rem 0;
  color: var(--color-text-muted, #475569);
}

.tc-compare__list li::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 700;
}

.tc-compare__list li.tc-x::before {
  content: "✗ ";
  color: #dc2626;
}

/* Features grid */
.tc-features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.tc-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.tc-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.tc-feature {
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: var(--color-card, #fff);
}

.tc-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.tc-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted, #475569);
}

/* Pricing */
.tc-pricing {
  max-width: 620px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  text-align: center;
}

.tc-pricing__card {
  border: 2px solid #2563eb;
  border-radius: 1rem;
  padding: 2rem;
  background: var(--color-card, #fff);
}

.tc-pricing__amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
}

.tc-pricing__amount small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted, #64748b);
}

.tc-pricing__desc {
  color: var(--color-text-muted, #475569);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.tc-pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  display: inline-block;
  font-size: 0.95rem;
}

.tc-pricing__list li {
  padding: 0.3rem 0;
}

.tc-pricing__list li::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 700;
}

/* Licensing */
.tc-licensing {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.tc-licensing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tc-license-item {
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: var(--color-card, #fff);
}

.tc-license-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.tc-license-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted, #475569);
}

/* FAQ */
.tc-faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.tc-faq__item {
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--color-card, #fff);
}

.tc-faq__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.tc-faq__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted, #475569);
}

/* Final CTA */
.tc-final {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  text-align: center;
}

.tc-final__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.tc-final__text {
  color: var(--color-text-muted, #475569);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* Quick start code block */
.tc-code {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.tc-code pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.6;
}

.tc-code pre code { background: none; }

@media (max-width: 640px) {
  .tc-compare__grid { grid-template-columns: 1fr; }
}
