/* ==========================================================================
   EXCELSIOR RESEARCH UNIFIED — SECTIONS, GLOBAL HUBS & FOOTER (LIGHT EXECUTIVE)
   ========================================================================== */

/* Section Base */
.section {
  position: relative;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.section-lead {
  font-size: clamp(0.98rem, 1vw + 0.5rem, 1.12rem);
  color: #334155;
  line-height: 1.65;
}

/* Client Logo Marquee Strip */
.logo-marquee-section {
  padding: 2.25rem 0 1.5rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  overflow: hidden;
}

.logo-marquee-wrapper {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: -0.02em;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.client-logo-item:hover {
  opacity: 1;
  color: #0f172a;
}

.client-logo-icon {
  font-size: 1.35rem;
}

/* 1. Live Intent Signal Radar Section */
.signal-radar-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.2);
}

.signal-canvas-wrapper {
  position: relative;
  width: 100%;
  height: clamp(320px, 42vh, 440px);
  background: radial-gradient(circle at center, #1e293b, #0f172a);
}

#heroSignalCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.signal-overlay-stats {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.signal-telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38bdf8;
  backdrop-filter: blur(8px);
}

.signal-stream-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

/* 2. Global Database & Coverage Explorer */
.database-region-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.region-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: all var(--trans-fast);
}

.region-tab-btn.active, .region-tab-btn:hover {
  background: linear-gradient(135deg, #0ea5e9, #0f172a);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.database-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.db-metric-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: transform var(--trans-normal), border-color var(--trans-normal), box-shadow var(--trans-normal);
}

.db-metric-card:hover {
  transform: translateY(-4px);
  border-color: #0ea5e9;
  box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.18);
}

/* 3. 4 Physical Global Hubs with Real Photography */
.global-hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: #0ea5e9;
  box-shadow: 0 16px 36px -4px rgba(14, 165, 233, 0.2);
}

.hub-image-box {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.hub-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hub-card:hover .hub-image-box img {
  transform: scale(1.08);
}

.hub-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38bdf8;
  backdrop-filter: blur(8px);
}

.hub-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.hub-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.hub-address {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}

.hub-coords {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 4. FAQ Accordion */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.faq-item.active {
  border-color: #0ea5e9;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.12);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--trans-normal), background var(--trans-fast);
  color: #0f172a;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
  transition: max-height 0.5s ease-in-out;
}

/* 5. Enterprise Footer (Deep Executive Navy) */
.site-footer {
  background: #0b1120;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 0 2.5rem;
  position: relative;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--trans-fast);
}

.footer-link:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Responsive Sections */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
