/* Capzo Telegram Bot Landing Page — Sleek, Responsive, Modern Cyber & Cyan Theme */

:root {
  --tg-blue: #24a1de;
  --tg-blue-hover: #1e8dc4;
  --tg-blue-glow: rgba(36, 161, 222, 0.35);
  --tg-dark-bg: #0b1118;
  --tg-chat-bg: #0e1621;
  --tg-bubble-in: #182533;
  --tg-bubble-out: #2b5278;
  --capzo-teal: #2dd4bf;
  --capzo-teal-glow: rgba(45, 212, 191, 0.25);
  --card-bg: rgba(15, 23, 36, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(45, 212, 191, 0.35);
}

/* Base Page Wrapper */
.tg-page {
  position: relative;
  overflow-x: hidden;
  padding-bottom: 5rem;
}

/* Ambient Backdrops */
.tg-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 600px;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 20%, rgba(36, 161, 222, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 25% 15%, rgba(45, 212, 191, 0.12) 0%, transparent 45%);
  filter: blur(80px);
  z-index: 0;
}

.tg-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.7), transparent 75%);
  z-index: 0;
}

.tg-container {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ============================================================
   Hero Section
   ============================================================ */
.tg-hero {
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 980px) {
  .tg-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

.tg-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .tg-hero-content {
    align-items: center;
  }
}

/* Pill Badge */
.tg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(36, 161, 222, 0.1);
  border: 1px solid rgba(36, 161, 222, 0.3);
  color: #7dd3fc;
  font-size: 0.84rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(36, 161, 222, 0.12);
  backdrop-filter: blur(8px);
}

.tg-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  position: relative;
}

.tg-pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #38bdf8;
  animation: tg-pulse 1.8s infinite;
}

@keyframes tg-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Main Title */
.tg-hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tg-gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 60%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Lead text */
.tg-hero-lead {
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.85;
  max-width: 580px;
}

/* Quick feature chips */
.tg-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

@media (max-width: 980px) {
  .tg-hero-chips {
    justify-content: center;
  }
}

.tg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.tg-chip svg {
  color: #2dd4bf;
}

/* CTAs */
.tg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 980px) {
  .tg-hero-actions {
    justify-content: center;
  }
}

.btn-telegram {
  background: linear-gradient(135deg, #24a1de 0%, #0088cc 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.5rem 1.12rem;
  min-height: 38px;
  border-radius: 8px;
  box-shadow:
    0 6px 20px -4px rgba(36, 161, 222, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 200ms ease;
  position: relative;
  overflow: hidden;
}

.btn-telegram::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 600ms ease;
}

.btn-telegram:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px -4px rgba(36, 161, 222, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  filter: brightness(1.05);
}

.btn-telegram:hover::after {
  left: 140%;
}

.btn-telegram svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-secondary-glow {
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.48rem 1.05rem;
  min-height: 38px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 200ms ease;
}

.btn-secondary-glow:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(45, 212, 191, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.tg-hero-proof {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

/* ============================================================
   Telegram Interactive Chat Window Mockup
   ============================================================ */
.tg-mock-card {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 24px;
  background: #0e1621;
  border: 1px solid rgba(36, 161, 222, 0.25);
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.7),
    0 0 40px -10px rgba(36, 161, 222, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Chat Header */
.tg-mock-header {
  background: #17212b;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-mock-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #24a1de, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 2px 10px rgba(36, 161, 222, 0.35);
  flex-shrink: 0;
}

.tg-mock-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tg-mock-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tg-verified-icon {
  color: #38bdf8;
  display: inline-flex;
}

.tg-mock-status {
  font-size: 0.76rem;
  color: #7dd3fc;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tg-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* Chat Body */
.tg-mock-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background-color: #0e1621;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Chat Bubbles */
.tg-bubble {
  max-width: 90%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.65;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tg-bubble--out {
  align-self: flex-start;
  background: #2b5278;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.tg-bubble--in {
  align-self: flex-end;
  background: #182533;
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tg-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.15rem;
}

/* Voice Message Card inside Outgoing */
.tg-voice-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tg-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #2b5278;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.tg-waveform span {
  width: 3px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}

/* Progress bar inside Bot Bubble */
.tg-progress-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  margin-top: 0.2rem;
}

.tg-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #94a3b8;
}

.tg-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.tg-progress-bar-fill {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, #24a1de, #2dd4bf);
  border-radius: 999px;
  animation: tg-progress-anim 2.5s ease-in-out infinite alternate;
}

@keyframes tg-progress-anim {
  0% { width: 70%; }
  100% { width: 92%; }
}

/* SRT File Attachment Card */
.tg-file-attachment {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.tg-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2dd4bf;
  color: #042f2e;
  font-size: 0.74rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.tg-file-info {
  display: flex;
  flex-direction: column;
}

.tg-file-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
}

.tg-file-size {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Bot Inline Action Buttons */
.tg-inline-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.tg-inline-btn {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(36, 161, 222, 0.16);
  border: 1px solid rgba(36, 161, 222, 0.35);
  color: #7dd3fc;
  font-size: 0.77rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Send Footer Mock */
.tg-mock-footer {
  padding: 0.75rem 1rem;
  background: #17212b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.82rem;
}

.tg-mock-footer span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* ============================================================
   Key Stats / Metrics Bar
   ============================================================ */
.tg-stats-section {
  padding: 1.5rem 0 3.5rem;
}

.tg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

@media (max-width: 900px) {
  .tg-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .tg-stats-grid {
    grid-template-columns: 1fr;
  }
}

.tg-stat-card {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: rgba(15, 23, 36, 0.7);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 220ms ease;
  position: relative;
  overflow: hidden;
}

.tg-stat-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-3px);
  background: rgba(20, 30, 48, 0.8);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
}

.tg-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.tg-stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tg-stat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
}

.tg-stat-desc {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ============================================================
   Dedicated YouTube Feature Card (Special Section)
   ============================================================ */
.tg-youtube-banner {
  margin: 3.5rem 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 20%, rgba(239, 68, 68, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(36, 161, 222, 0.14) 0%, transparent 45%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 17, 28, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.28);
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.5),
    0 0 30px -8px rgba(239, 68, 68, 0.15);
  padding: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.tg-youtube-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ef4444, #38bdf8, transparent);
}

.tg-yt-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .tg-yt-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.tg-yt-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .tg-yt-header {
    align-items: center;
  }
}

.tg-yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.32);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 700;
  width: fit-content;
}

.tg-yt-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.tg-yt-desc {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.97rem;
  line-height: 1.8;
}

.tg-yt-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tg-yt-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: right;
}

.tg-yt-step-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  font-weight: 800;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-yt-step-text strong {
  display: block;
  font-size: 0.92rem;
  color: #f1f5f9;
  margin-bottom: 0.15rem;
}

.tg-yt-step-text span {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ============================================================
   Feature Cards Grid
   ============================================================ */
.tg-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tg-section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tg-section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.tg-section-subtitle {
  margin: 0;
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.75;
}

.tg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .tg-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .tg-features-grid {
    grid-template-columns: 1fr;
  }
}

.tg-feature-card {
  padding: 1.6rem 1.4rem;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 240ms ease;
}

.tg-feature-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  background: rgba(20, 30, 48, 0.85);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.tg-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(36, 161, 222, 0.1);
  border: 1px solid rgba(36, 161, 222, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.tg-feat-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.tg-feat-desc {
  margin: 0;
  font-size: 0.89rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ============================================================
   Steps / How It Works
   ============================================================ */
.tg-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

@media (max-width: 860px) {
  .tg-steps-grid {
    grid-template-columns: 1fr;
  }
}

.tg-step-card {
  padding: 1.8rem 1.5rem;
  border-radius: 20px;
  background: rgba(15, 23, 36, 0.75);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: all 220ms ease;
}

.tg-step-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-3px);
}

.tg-step-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(36, 161, 222, 0.2));
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #5eead4;
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-step-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
}

.tg-step-desc {
  margin: 0;
  font-size: 0.89rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ============================================================
   Comparison Matrix Section
   ============================================================ */
.tg-compare-card {
  border-radius: 22px;
  background: rgba(15, 23, 36, 0.8);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.tg-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.tg-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: right;
}

.tg-compare-table th,
.tg-compare-table td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.tg-compare-table thead th {
  background: rgba(20, 30, 48, 0.9);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tg-compare-table thead th.is-highlight {
  background: rgba(36, 161, 222, 0.14);
  color: #38bdf8;
  border-bottom: 2px solid #24a1de;
}

.tg-compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.tg-compare-table tbody td.is-highlight {
  background: rgba(36, 161, 222, 0.05);
  font-weight: 600;
  color: #ffffff;
}

.tg-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
}

.tg-badge-pill--yes {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.tg-badge-pill--no {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ============================================================
   Audience / Use Cases Grid
   ============================================================ */
.tg-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .tg-audience-grid {
    grid-template-columns: 1fr;
  }
}

.tg-audience-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(15, 23, 36, 0.65);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 220ms ease;
}

.tg-audience-card:hover {
  border-color: rgba(36, 161, 222, 0.35);
  transform: translateY(-3px);
  background: rgba(20, 30, 48, 0.8);
}

.tg-aud-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tg-aud-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.12);
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-aud-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
}

.tg-aud-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* ============================================================
   FAQs Accordion
   ============================================================ */
.tg-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 860px;
  margin: 0 auto;
}

.tg-faq-item {
  border-radius: 16px;
  background: rgba(15, 23, 36, 0.7);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.tg-faq-item[open] {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(20, 30, 48, 0.85);
}

.tg-faq-summary {
  padding: 1.15rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.tg-faq-summary::-webkit-details-marker {
  display: none;
}

.tg-faq-arrow {
  color: #94a3b8;
  transition: transform 220ms ease;
  flex-shrink: 0;
}

.tg-faq-item[open] .tg-faq-arrow {
  transform: rotate(180deg);
  color: #2dd4bf;
}

.tg-faq-content {
  padding: 0 1.4rem 1.25rem;
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.9rem;
}

/* ============================================================
   Bottom Floating CTA Banner
   ============================================================ */
.tg-bottom-banner {
  margin-top: 4.5rem;
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(36, 161, 222, 0.22) 0%, transparent 60%),
    radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.16) 0%, transparent 60%),
    linear-gradient(135deg, #0e1726 0%, #080d15 100%);
  border: 1px solid rgba(36, 161, 222, 0.32);
  box-shadow:
    0 24px 70px -15px rgba(0, 0, 0, 0.7),
    0 0 45px -10px rgba(36, 161, 222, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.tg-bottom-banner::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #24a1de, #2dd4bf, transparent);
}

.tg-bottom-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.tg-bottom-desc {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.04rem;
  line-height: 1.8;
  max-width: 620px;
}

.tg-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Related Links Pill Bar */
.tg-related-bar {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-related-bar h3 {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.tg-related-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tg-related-pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
  transition: all 180ms ease;
}

.tg-related-pill:hover {
  background: rgba(36, 161, 222, 0.1);
  border-color: rgba(36, 161, 222, 0.35);
  color: #38bdf8;
  transform: translateY(-2px);
}
