/* page-team-chat.css - Team Chat landing page styles (hero, video, what, team grid, how-it-works, open source, CTA, responsive) */

  /* ═══════════════════════════════════════════
     Team Chat Landing Page
     ═══════════════════════════════════════════ */

  /* Hero */
  .tc-hero {
    margin-top: var(--nav-height);
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f4c75 100%);
    text-align: center;
  }

  .tc-hero .section-label {
    color: #34d399;
  }

  .tc-hero .section-title {
    color: #ffffff;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
  }

  .tc-hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    margin: 1rem auto 0;
    line-height: 1.7;
  }

  /* Video */
  .tc-video {
    padding: 3rem 2rem 4rem;
    background: linear-gradient(to bottom, #0f172a 0%, var(--bg-light) 40%);
  }

  .tc-video-wrap {
    position: relative;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }

  .tc-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .tc-video-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* What Section */
  .tc-what {
    padding: 4rem 0;
    background: var(--bg-light);
  }

  .tc-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
  }

  .tc-feature {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .tc-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }

  .tc-feature-icon {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f4c75;
    margin-bottom: 0.75rem;
    line-height: 1;
  }

  .tc-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .tc-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
  }

  /* Team Grid */
  .tc-team {
    padding: 4rem 0;
    background: #ffffff;
  }

  .tc-team-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .tc-agent {
    text-align: center;
    transition: transform 0.3s;
  }

  .tc-agent:hover {
    transform: translateY(-4px);
  }

  .tc-agent img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 3px solid var(--border-light);
    transition: border-color 0.3s;
  }

  .tc-agent:hover img {
    border-color: var(--accent-blue);
  }

  .tc-agent-info {
    margin-top: 0.6rem;
  }

  .tc-agent-info h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
  }

  .tc-agent-info span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  /* How it works */
  .tc-how {
    padding: 4rem 0;
    background: var(--bg-light);
  }

  .tc-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: left;
  }

  .tc-stack-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .tc-stack-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }

  .tc-stack-num {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #34d399;
    line-height: 1;
    margin-bottom: 0.75rem;
  }

  .tc-stack-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .tc-stack-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
  }

  /* Open Source */
  .tc-opensource {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f4c75 100%);
    text-align: center;
  }

  .tc-opensource .section-title {
    color: #ffffff;
  }

  .tc-opensource .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
  }

  .tc-install {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
  }

  .tc-install-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #34d399;
    margin-bottom: 0.5rem;
  }

  .tc-install-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
  }

  .tc-install-code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1.25rem 1.75rem;
    font-size: 1.1rem;
    font-style: italic;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .tc-install-code a {
    color: #34d399;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .tc-install-code a:hover {
    color: #6ee7b7;
  }

  .tc-install-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
  }

  .tc-os-actions {
    margin-top: 2rem;
  }

  /* CTA */
  .tc-cta {
    padding: 4rem 0;
    background: #ffffff;
    text-align: center;
  }

  .tc-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
  }

  .tc-cta p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
  }

  .tc-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .tc-cta .btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
  }

  .tc-cta .btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
  }

  /* Team Chat Responsive */
  @media (max-width: 1024px) {
    .tc-feature-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .tc-team-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 1.25rem;
      padding-bottom: 0.5rem;
    }

    .tc-agent {
      flex: 0 0 80px;
      scroll-snap-align: start;
    }
  }

  @media (max-width: 768px) {
    .tc-hero {
      padding: 3.5rem 0 1.5rem;
    }

    .tc-video {
      padding: 0 1rem 3rem;
    }

    .tc-feature-grid {
      grid-template-columns: 1fr;
    }

    .tc-stack-grid {
      grid-template-columns: 1fr;
    }

    .tc-team-grid {
      gap: 1rem;
    }

    .tc-agent {
      flex: 0 0 70px;
    }

    .tc-cta-actions {
      flex-direction: column;
      align-items: center;
    }
  }

