/* ═══════════════════════════════════════════
   SECTORS — INTERACTIVE SHOWCASE
   ═══════════════════════════════════════════ */
.sectors {
  padding: var(--section-pad) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.sectors::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(0,123,193,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Dark theme overrides */
.sectors .section-title { color: var(--white); }
.sectors .section-title em { color: rgba(255,255,255,0.5); }
.sectors .section-sub { color: rgba(255,255,255,0.6); }
.sectors .section-badge--blue {
  color: #7fb8ff;
  background: rgba(0,123,193,0.15);
}

.sectors__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2.4rem;
  position: relative;
  z-index: 1;
}

/* ── TABS ── */
.sectors__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.sectors__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.sectors__tab:hover {
  border-color: var(--blue);
  color: #fff;
  background: rgba(0,123,193,0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--blue-glow);
}
.sectors__tab--active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 123, 193, 0.3),
              inset 0 1px 0 rgba(255,255,255,0.15);
}
.sectors__tab--active:hover {
  background: var(--blue-hover);
  color: var(--white);
  border-color: var(--blue-hover);
}
.sectors__tab-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* ── PANELS ── */
.sectors__panels {
  position: relative;
  min-height: 480px;
}
.sectors__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1),
              visibility 0.5s,
              transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.sectors__panel--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  position: relative;
}

/* Panel header */
.sectors__panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.sectors__panel-icon {
  font-size: 2.4rem;
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}
.sectors__panel-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.sectors__panel-subtitle {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 0.15rem;
}

/* Panel body */
.sectors__panel-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}
.sectors__panel-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.sectors__panel-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.sectors__panel-features svg { flex-shrink: 0; }

/* CTA link */
.sectors__panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue);
  transition: color 0.2s, gap 0.3s;
}
.sectors__panel-cta:hover {
  color: var(--blue-hover);
  gap: 0.75rem;
}

/* Visual side */
.sectors__panel-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.sectors__panel-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.sectors__panel--active .sectors__panel-visual img {
  animation: sectorImgIn 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes sectorImgIn {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Floating stat badge on image */
.sectors__panel-stat {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: rgba(15,25,35,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.sectors__panel--active .sectors__panel-stat {
  animation: sectorStatIn 0.6s 0.2s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes sectorStatIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.sectors__panel-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sectors__panel-stat span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
