/* ===================================================================
   CHANNEL LANDING PAGES — Shared Styles
   Designed to work alongside the main landing page's Tailwind build.
   Uses the same design tokens: Bricolage Grotesque, DM Sans, primary oklch.
   =================================================================== */

/* ─── Channel Hero ──────────────────────────────────────────────── */
.ch-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
}
.ch-hero-dark { background: oklch(0.13 0.015 264); color: white; }
.ch-hero-content {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ch-hero-text { max-width: 540px; }
.ch-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}
.ch-hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.ch-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.ch-hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  margin-bottom: 2rem;
}
.ch-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ch-hero-icon-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ch-hero-icon-ring::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px dashed;
  opacity: 0.15;
  animation: spin-slow 30s linear infinite;
}
.ch-hero-icon-ring svg {
  width: 80px;
  height: 80px;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ─── CTA Buttons ───────────────────────────────────────────────── */
.ch-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  background: oklch(0.488 0.178 264.376);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.ch-btn-primary:hover { background: oklch(0.549 0.178 264.376); transform: translateY(-1px); }

.ch-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.ch-btn-outline:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* ─── Section Container ─────────────────────────────────────────── */
.ch-section {
  padding: 5rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}
.ch-section-dark {
  background: oklch(0.13 0.015 264);
  color: white;
}
.ch-section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
}
.ch-section-subtitle {
  text-align: center;
  font-size: 1.0625rem;
  color: oklch(0.551 0.018 264);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}
.ch-section-dark .ch-section-subtitle { color: rgba(255,255,255,0.58); }

/* ─── Feature Grid ──────────────────────────────────────────────── */
.ch-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ch-feature-card {
  background: white;
  border: 1px solid oklch(0.928 0.006 264);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ch-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: oklch(0.88 0.08 264);
}
.ch-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ch-feature-icon svg { width: 22px; height: 22px; }
.ch-feature-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ch-feature-card p {
  font-size: 0.9375rem;
  color: oklch(0.551 0.018 264);
  line-height: 1.55;
}

/* Dark feature cards */
.ch-section-dark .ch-feature-card {
  background: oklch(0.17 0.015 264);
  border-color: oklch(0.22 0.015 264);
}
.ch-section-dark .ch-feature-card:hover {
  border-color: oklch(0.3 0.02 264);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.ch-section-dark .ch-feature-card p { color: rgba(255,255,255,0.55); }

/* ─── Comparison Table ──────────────────────────────────────────── */
.ch-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid oklch(0.928 0.006 264);
  font-size: 0.9375rem;
}
.ch-compare thead th {
  background: oklch(0.97 0.02 264);
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: oklch(0.446 0.018 264);
}
.ch-compare thead th:first-child { width: 40%; }
.ch-compare tbody td {
  padding: 0.875rem 1.5rem;
  border-top: 1px solid oklch(0.928 0.006 264);
  vertical-align: middle;
}
.ch-compare tbody tr:hover { background: oklch(0.985 0.002 264); }
.ch-compare .check { color: oklch(0.55 0.18 155); font-weight: 700; }
.ch-compare .cross { color: oklch(0.6 0.15 25); }
.ch-compare .orbis-col { font-weight: 600; }

/* ─── Use Cases ─────────────────────────────────────────────────── */
.ch-usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ch-usecase {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.ch-usecase-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.12;
}
.ch-usecase h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ch-usecase p {
  font-size: 0.9375rem;
  color: oklch(0.551 0.018 264);
  line-height: 1.55;
}

/* ─── CTA Section ───────────────────────────────────────────────── */
.ch-cta {
  text-align: center;
  padding: 5rem 1.5rem;
  background: oklch(0.13 0.015 264);
  color: white;
  position: relative;
  overflow: hidden;
}
.ch-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, oklch(0.2 0.06 264 / 0.4), transparent);
  pointer-events: none;
}
.ch-cta-inner { position: relative; z-index: 2; }
.ch-cta h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.ch-cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ─── Footer ────────────────────────────────────────────────────── */
.ch-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: oklch(0.551 0.018 264);
  border-top: 1px solid oklch(0.928 0.006 264);
}
.ch-footer a { color: oklch(0.488 0.178 264.376); text-decoration: none; }
.ch-footer a:hover { text-decoration: underline; }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ch-hero-content { grid-template-columns: 1fr; text-align: center; }
  .ch-hero-text { max-width: 100%; }
  .ch-hero-visual { order: -1; }
  .ch-hero-icon-ring { width: 160px; height: 160px; }
  .ch-hero-icon-ring svg { width: 56px; height: 56px; }
  .ch-features { grid-template-columns: 1fr; }
  .ch-usecases { grid-template-columns: 1fr; }
  .ch-compare { font-size: 0.8125rem; }
  .ch-compare thead th, .ch-compare tbody td { padding: 0.625rem 0.75rem; }
  .ch-hero-desc { font-size: 1rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .ch-features { grid-template-columns: repeat(2, 1fr); }
  .ch-usecases { grid-template-columns: repeat(2, 1fr); }
}
