/* custom.css — Trace AQ (traceaq.org) */

/* ==========================================================================
   1. CSS Variable Overrides
   ========================================================================== */

/* Force light mode always — prevent template dark-mode default */
:root,
[data-theme="dark"] {
  --bg-cream: #f8fafc;
  --bg-white: #ffffff;
  --bg-light: #f1f5f9;
  --primary: #0F172A;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: rgba(59, 130, 246, 0.15);
}
/* ==========================================================================
   2. Navbar Component
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #FFFFFF;
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.3s ease;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0F172A;
  letter-spacing: -0.5px;
}

.navbar-logo span {
  color: #3B82F6;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav a {
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #3B82F6;
  border-bottom-color: #3B82F6;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #3B82F6;
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.navbar-cta:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #0F172A;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 24px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .navbar-cta {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

/* Body offset for fixed nav */
body {
  padding-top: 72px;
  background: #ffffff;
}

/* Fix dark mode shapes leaking bg color */
.bg-shapes {
  display: none;
}

/* Hide template theme toggle */
.theme-toggle {
  display: none !important;
}

/* ==========================================================================
   3. Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #0F172A;
  color: #FFFFFF;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p a {
  color: #93C5FD;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn.accept {
  background: #3B82F6;
  color: #FFFFFF;
}

.cookie-btn.accept:hover {
  background: #1D4ED8;
}

.cookie-btn.decline {
  background: transparent;
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.cookie-btn.decline:hover {
  color: #FFFFFF;
  border-color: rgba(148, 163, 184, 0.6);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
  }
}

/* ==========================================================================
   4. Section Badge
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1D4ED8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-badge::before {
  content: '';
  width: 40px;
  height: 2px;
  background: #3B82F6;
}

/* ==========================================================================
   5. Stats Strip
   ========================================================================== */
.stats-strip {
  background: #EFF6FF;
  padding: 60px;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.stats-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 200;
  color: #0F172A;
  letter-spacing: -2px;
  line-height: 1;
}

.stat-number strong {
  font-weight: 600;
  color: #3B82F6;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (max-width: 768px) {
  .stats-strip {
    padding: 40px 24px;
  }

  .stats-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ==========================================================================
   6. Feature Grid
   ========================================================================== */
.feature-grid-section {
  padding: 100px 60px;
  background: #FFFFFF;
}

.feature-grid-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.feature-grid-section .section-header {
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 200;
  color: #0F172A;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title strong {
  font-weight: 600;
  color: #3B82F6;
}

.section-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: #475569;
  max-width: 600px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  background: #EFF6FF;
  padding: 40px 32px;
  border-left: 4px solid #3B82F6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3B82F6, #93C5FD);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.25rem;
  color: #FFFFFF;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid-section {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-section {
    padding: 60px 24px;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   7. Blog Card
   ========================================================================== */
.blog-section {
  padding: 100px 60px;
  background: #F8FAFC;
}

.blog-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  border-bottom-color: #3B82F6;
}

.blog-card-thumb {
  width: 100%;
  height: 220px;
  background: #EFF6FF;
  overflow: hidden;
  position: relative;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1E3A5F, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-card-body {
  padding: 32px;
}

.blog-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: #3B82F6;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}

.blog-card-title:hover {
  color: #3B82F6;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 400;
}

.blog-card-meta i {
  color: #3B82F6;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-section {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-section {
    padding: 60px 24px;
  }
}

/* ==========================================================================
   8. Team Card
   ========================================================================== */
.team-section {
  padding: 100px 60px;
  background: #FFFFFF;
}

.team-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
  border-color: #3B82F6;
}

.team-card-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #EFF6FF;
  border: 3px solid rgba(59, 130, 246, 0.15);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1E3A5F, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.team-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 4px;
}

.team-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #3B82F6;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.team-card-bio {
  font-size: 0.9rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.team-card-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3B82F6;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.team-card-linkedin:hover {
  color: #1D4ED8;
}

/* CEO Featured Card */
.ceo-featured {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  background: #EFF6FF;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-left: 4px solid #3B82F6;
  padding: 48px;
  margin-top: 64px;
  margin-bottom: 64px;
  align-items: center;
}

.ceo-photo {
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto;
  overflow: hidden;
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-photo-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1E3A5F, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.6);
}

.ceo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 200;
  color: #0F172A;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.ceo-name strong {
  font-weight: 600;
  color: #3B82F6;
}

.ceo-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.ceo-bio {
  font-size: 1.05rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-section {
    padding: 80px 40px;
  }

  .ceo-featured {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-section {
    padding: 60px 24px;
  }
}

/* ==========================================================================
   9. Product Showcase
   ========================================================================== */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 60px;
  background: #F8FAFC;
}

.product-showcase.reverse {
  direction: rtl;
}

.product-showcase.reverse > * {
  direction: ltr;
}

.product-showcase-visual {
  background: #1E3A5F;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-showcase-visual-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1E3A5F 0%, #3B82F6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 3rem;
  min-height: 280px;
}

.product-showcase-copy h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 200;
  color: #0F172A;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.product-showcase-copy h2 strong {
  font-weight: 600;
  color: #3B82F6;
}

.product-showcase-copy p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-feature-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 400;
  color: #475569;
}

.product-feature-list li i {
  color: #3B82F6;
  font-size: 0.875rem;
}

@media (max-width: 1024px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 40px;
  }

  .product-showcase.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .product-showcase {
    padding: 60px 24px;
  }

  .product-showcase-copy h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   10. AQI Indicator
   ========================================================================== */
.aqi-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.aqi-band {
  height: 8px;
  flex: 1;
  border-radius: 2px;
}

.aqi-band.good { background: #22C55E; }
.aqi-band.moderate { background: #EAB308; }
.aqi-band.sensitive { background: #F97316; }
.aqi-band.unhealthy { background: #EF4444; }
.aqi-band.very-unhealthy { background: #A855F7; }
.aqi-band.hazardous { background: #7F1D1D; }

.aqi-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ==========================================================================
   11. Problem-Solution Dark Section
   ========================================================================== */
.problem-section {
  background: #0F172A;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.problem-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.problem-section .section-badge {
  color: #93C5FD;
}

.problem-section .section-title {
  color: #FFFFFF;
}

.problem-section .section-subtitle {
  color: #94A3B8;
  max-width: 700px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 40px 32px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: #3B82F6;
}

.problem-card-icon {
  font-size: 2rem;
  color: #93C5FD;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #94A3B8;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .problem-section {
    padding: 80px 40px;
  }

  .problem-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .problem-section {
    padding: 60px 24px;
  }
}

/* ==========================================================================
   12. Use Cases Section
   ========================================================================== */
.use-cases-section {
  padding: 100px 60px;
  background: #EFF6FF;
}

.use-cases-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.use-case-card {
  background: #FFFFFF;
  padding: 40px 32px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
  border-bottom-color: #3B82F6;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.use-case-icon {
  font-size: 2rem;
  color: #3B82F6;
  margin-bottom: 20px;
}

.use-case-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #0F172A;
  margin-bottom: 12px;
}

.use-case-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .use-cases-section {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-section {
    padding: 60px 24px;
  }
}

/* ==========================================================================
   13. CTA Banner
   ========================================================================== */
.cta-banner {
  background: #3B82F6;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 200;
  color: #FFFFFF;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.cta-banner h2 strong {
  font-weight: 600;
}

.cta-banner p {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-white {
  background: #FFFFFF;
  color: #3B82F6;
}

.btn-white:hover {
  background: #EFF6FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-accent {
  background: #3B82F6;
  color: #FFFFFF;
}

.btn-accent:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 60px 24px;
  }

  .cta-banner h2 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   14. Footer Override
   ========================================================================== */
.site-footer {
  background: #0F172A;
  padding: 80px 60px 40px;
}

.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: #3B82F6;
}

.footer-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: #94A3B8;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 300;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #93C5FD;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 0.85rem;
  font-weight: 300;
  color: #94A3B8;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.875rem;
}

.footer-social-link:hover {
  background: #3B82F6;
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding: 60px 40px 32px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding: 48px 24px 24px;
  }
}

/* ==========================================================================
   15. Press Strip
   ========================================================================== */
.press-strip {
  padding: 48px 60px;
  background: #FFFFFF;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  text-align: center;
}

.press-strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.press-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.press-logo:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .press-strip {
    padding: 40px 24px;
  }

  .press-logos {
    gap: 24px;
  }
}

/* ==========================================================================
   16. Testimonial
   ========================================================================== */
.testimonial-section {
  padding: 100px 60px;
  background: #FFFFFF;
  text-align: center;
}

.testimonial-quote {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote blockquote {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 200;
  color: #0F172A;
  line-height: 1.5;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  position: relative;
}

.testimonial-quote blockquote::before {
  content: '\201C';
  font-size: 6rem;
  color: #3B82F6;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: -40px;
  opacity: 0.3;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .testimonial-section {
    padding: 60px 24px;
  }

  .testimonial-quote blockquote {
    font-size: 1.5rem;
  }

  .testimonial-quote blockquote::before {
    display: none;
  }
}

/* ==========================================================================
   17. Contact Section
   ========================================================================== */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================================================
   18. API Code Section
   ========================================================================== */
.api-section {
  background: #0F172A;
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.api-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.api-copy .section-badge {
  color: #93C5FD;
}

.api-copy h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 200;
  color: #FFFFFF;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.api-copy h2 strong {
  font-weight: 600;
  color: #3B82F6;
}

.api-copy p {
  font-size: 1rem;
  font-weight: 300;
  color: #94A3B8;
  line-height: 1.8;
  margin-bottom: 32px;
}

.api-code-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 40px;
  overflow-x: auto;
}

.api-code-block pre {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #93C5FD;
  line-height: 1.8;
  white-space: pre;
}

.api-code-block .code-comment { color: #475569; }
.api-code-block .code-keyword { color: #93C5FD; }
.api-code-block .code-string { color: #86EFAC; }
.api-code-block .code-number { color: #FCA5A5; }

@media (max-width: 1024px) {
  .api-section .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .api-section {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .api-section {
    padding: 60px 24px;
  }

  .api-copy h2 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   19. Page Hero (non-home)
   ========================================================================== */
.page-hero {
  background: #F8FAFC;
  padding: 48px 60px 40px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 200;
  color: #0F172A;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 16px;
}

.page-hero h1 strong {
  font-weight: 600;
  color: #3B82F6;
}

.page-hero p {
  font-size: 1.25rem;
  font-weight: 300;
  color: #475569;
  max-width: 600px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 40px 24px 32px;
  }

  .page-hero h1 {
    font-size: 2.25rem;
    letter-spacing: -1px;
  }
}

/* ==========================================================================
   20. Pagination
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.pagination a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}

.pagination a:hover,
.pagination a.active {
  background: #3B82F6;
  color: #FFFFFF;
  border-color: #3B82F6;
}

/* ==========================================================================
   21. Advisors Grid
   ========================================================================== */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.advisor-card {
  background: #EFF6FF;
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 28px 24px;
  text-align: center;
}

.advisor-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 4px;
}

.advisor-card-role {
  font-size: 0.8rem;
  font-weight: 400;
  color: #475569;
}

@media (max-width: 1024px) {
  .advisors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advisors-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   22. Values / Mission
   ========================================================================== */
.values-section {
  padding: 100px 60px;
  background: #EFF6FF;
}

.values-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  background: #FFFFFF;
  padding: 40px 32px;
  border-top: 4px solid #3B82F6;
  transition: box-shadow 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.value-icon {
  font-size: 2rem;
  color: #3B82F6;
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #0F172A;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .values-section {
    padding: 60px 24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   23. Investor / Company Stats
   ========================================================================== */
.company-stats-strip {
  background: #0F172A;
  padding: 64px 60px;
}

.company-stats-strip .stats-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.company-stats-strip .stat-number {
  color: #FFFFFF;
}

.company-stats-strip .stat-label {
  color: #94A3B8;
}

.investor-section {
  padding: 100px 60px;
  background: #F8FAFC;
  text-align: center;
}

.investor-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-left: 4px solid #3B82F6;
  padding: 48px 64px;
  max-width: 600px;
}

.investor-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.investor-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 200;
  color: #0F172A;
  letter-spacing: -0.5px;
}

.investor-detail {
  font-size: 0.9rem;
  font-weight: 300;
  color: #475569;
}

@media (max-width: 768px) {
  .investor-section {
    padding: 60px 24px;
  }

  .investor-card {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   24. Misc helpers
   ========================================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

@media (max-width: 768px) {
  .container-wide {
    padding: 0 24px;
  }
}
/* Fix 1: Article page max-width */
.article-layout, .article-container, .article-content, .blog-article, .post-content { max-width: 800px; margin: 0 auto; padding: 40px 20px 60px; }

/* Fix 2: Article text color */
.article-body p, .article-content p, .post-content p, .blog-article p { color: #444; font-size: 16px; line-height: 1.8; margin-bottom: 20px; }
.article-body h2, .article-content h2, .post-content h2 { color: #222; font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.article-body h3, .article-content h3, .post-content h3 { color: #333; font-size: 20px; margin-top: 28px; margin-bottom: 12px; }
.article-body ul, .article-body ol, .article-content ul, .article-content ol { color: #444; margin-bottom: 20px; padding-left: 24px; }
.article-body li, .article-content li { margin-bottom: 8px; line-height: 1.7; }

/* ===== CEO CARD � TEXT-ONLY OVERRIDE (traceaq) ===== */
.ceo-featured {
  grid-template-columns: 1fr !important;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   QA FIXES 2026-04-18
   ========================================================================== */

/* Fix 1: Hero section — reduce min-height, fix padding */
.hero-section {
  min-height: 60vh !important;
  padding: 60px 60px 60px !important;
}

/* Fix 2: Hero content colors — ensure readable on light bg */
.hero-title {
  color: #0F172A !important;
}
.hero-title strong {
  color: #3B82F6 !important;
}
.hero-description {
  color: #475569 !important;
}
.hero-badge {
  color: #1D4ED8 !important;
}
.hero-badge::before {
  background: #3B82F6 !important;
}

/* Fix 3: Detail card colors on light bg */
.detail-card {
  border-left-color: #3B82F6 !important;
  background: #ffffff !important;
}
.detail-icon {
  background: linear-gradient(135deg, #3B82F6, #93C5FD) !important;
}
.detail-label {
  color: #94A3B8 !important;
}
.detail-value {
  color: #0F172A !important;
}

/* Fix 4: Hero → sections smooth transition — first section after hero is light gray */
.container > .hero-section + * {
  background: #F8FAFC;
}

/* Fix 5: Submit/SEND button override — template uses brown var(--accent) */
.submit-btn {
  background: #1E3A5F !important;
  color: #ffffff !important;
  font-size: 15px !important;
}
.submit-btn:hover {
  background: #3B82F6 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3) !important;
}

/* Fix 6: Advisors grid — reset to 3-column when 3 items remain */
.advisors-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Fix 7: Ensure body background is white, no dark leftover */
body {
  background: #ffffff !important;
}

/* Fix 8: Remove any extra space after last section before footer */
.site-footer {
  position: relative;
  z-index: 1;
}

/* Fix 9: Template footer selector conflict — override template's footer bg */
footer.site-footer {
  background: #0F172A !important;
  padding: 80px 60px 40px !important;
}

/* Fix 10: Hero section on container pages (index, about, contact) — 
   container needs proper background */
.container {
  background: #ffffff;
}

/* Fix 11: Mobile hero fix */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto !important;
    padding: 40px 24px !important;
  }
}
