/* Ported verbatim from tch-website-181/components/footer.hbs <style> (lines 2-122).
   The only removals are the two Google-font loading lines: base.jinja
   already links Bebas Neue and Roboto once for the whole document. Every other
   declaration is byte-identical to v1, including the :root block, which in v1
   sat in the body after the page's own inline <style> and therefore won the
   cascade for the whole document. Linking this file from the footer component
   reproduces that position exactly. */

:root {
  --brand-primary: #F0BC5E;
  --brand-dark: #D4A142;
  --brand-light: #F5D084;
  --accent: #2DD4BF;
  --neutral: #6B7280;
  --white: #FFFFFF;
  --gray-light: #E5E7EB;
  --gray-medium: #9CA3AF;
  --gray-dark: #374151;
  --radius-medium: 8px;
  --transition-fast: 150ms ease;
}

#ai-footer {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tch-footer-bg {
  background: #4A5568;
}

.tch-footer-description {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.95;
}

.tch-input {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  border-radius: var(--radius-medium);
  backdrop-filter: blur(10px);
}

.tch-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(240, 188, 94, 0.2);
  outline: none;
}

.tch-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.tch-btn-primary {
  background: var(--brand-primary);
  color: var(--white);
  border-radius: var(--radius-medium);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  border: none;
}

.tch-btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 188, 94, 0.3);
}

.tch-footer-nav-title {
  color: var(--brand-primary);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-size: 14px;
}

.tch-footer-nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Roboto', sans-serif;
  transition: all var(--transition-fast);
  font-size: 14px;
}

.tch-footer-nav-link:hover {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.tch-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.tch-social-link:hover {
  color: var(--brand-primary);
  background: rgba(240, 188, 94, 0.2);
  transform: translateY(-2px);
}

.tch-divider {
  border-color: rgba(240, 188, 94, 0.3);
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  height: 1px;
  border: none;
}

.tch-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.tch-footer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: end;
}

.tch-footer-links {
  min-width: 0;
}

.tch-footer-copyright-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .tch-footer-meta {
    grid-template-columns: 1fr;
  }

  .tch-footer-copyright-wrap {
    justify-content: flex-start;
    white-space: normal;
  }
}
