/**
 * Zenthamizh Innovations - Main Stylesheet
 * Business Growth Agency
 */
/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  --header-height: 82px;
  --header-height-compact: 64px;
}

@media (max-width: 767.98px) {
  html {
    --header-height: 72px;
    --header-height-compact: 60px;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
}

main#mainContent {
  position: relative;
  z-index: 1;
  isolation: isolate;
  flex: 1 0 auto;
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 3px;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h2, .h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h3, .h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--accent-glow) !important;
}

p.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}

a {
  color: var(--primary-hover);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-glow);
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-glow);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-glow);
  box-shadow: 0 0 8px var(--accent-glow);
  flex-shrink: 0;
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.badge-tag.active,
.badge-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--primary) 0%, #6D28D9 100%);
  color: #FFFFFF;
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
}

.btn-primary-glow:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

.btn-outline-glow {
  background: rgba(21, 20, 32, 0.6);
  color: var(--text);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-outline-glow:hover {
  background: var(--surface-2);
  color: #FFFFFF;
  border-color: var(--accent-glow);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1rem;
}

/* Global Navigation & Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(11, 10, 16, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.12);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

/* Glowing bottom purple divider hairline */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-glow) 50%, transparent 100%);
  box-shadow: 0 0 12px var(--accent-glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Scrolled / Compact State */
.site-header.scrolled {
  height: var(--header-height-compact);
  background: rgba(11, 10, 16, 0.985);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.site-header.scrolled::after {
  opacity: 1;
}

.site-header.scrolled .nav-brand img {
  transform: scale(0.92);
}

.site-header.scrolled .nav-cta-desktop {
  padding: 0.42rem 0.95rem;
  font-size: 0.78rem;
  transform: scale(0.95);
}

/* Header Always Fixed & Visible (Never Hidden on Scroll) */
.site-header.header-hidden {
  transform: translateY(0);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand:hover img {
  transform: scale(1.04);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-brand-subtitle {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-glow);
}

@media (max-width: 380px) {
  .nav-brand img {
    height: 34px;
  }
  .nav-brand-title {
    font-size: 0.86rem;
  }
  .nav-brand-subtitle {
    font-size: 0.58rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.85rem);
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 0.92vw, 0.88rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  position: relative;
  padding: 0.45rem 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
  text-decoration: none !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  box-shadow: 0 0 10px var(--accent-glow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: center;
}

/* Hamburger Trigger */
.hamburger-btn {
  display: none;
  background: rgba(26, 24, 40, 0.6);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hamburger-btn:hover,
.hamburger-btn.is-active {
  background: rgba(30, 28, 43, 0.9);
  border-color: var(--accent-glow);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.2s ease;
  transform-origin: center;
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--accent-glow);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--accent-glow);
}

@media (max-width: 991.98px) {
  .hamburger-btn {
    display: inline-flex;
  }
  .nav-cta-desktop {
    display: none !important;
  }
}

/* Mobile Drawer (Right-to-Left) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open .drawer-backdrop,
.drawer-backdrop.active {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background: var(--surface);
  border-left: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(124, 58, 237, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open .drawer-panel,
.drawer-panel.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.drawer-close {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent-glow);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: auto;
  padding: 0;
}

.drawer-links li {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--item-index, 1) * 60ms);
}

.mobile-drawer.open .drawer-links li {
  opacity: 1;
  transform: translateX(0);
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(42, 40, 56, 0.45);
  text-decoration: none !important;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  color: #fff;
  border-bottom-color: var(--accent-glow);
}

.drawer-chevron {
  font-size: 0.85rem;
  color: rgba(167, 139, 250, 0.5);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.drawer-link:hover .drawer-chevron,
.drawer-link.active .drawer-chevron {
  transform: translateX(5px);
  color: var(--accent-glow);
}

.drawer-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(167, 139, 250, 0.15);
}

/* Sections & Layout */
section {
  position: relative;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-hero {
  min-height: calc(90vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
  isolation: isolate;
  z-index: 2;
}

.section-hero .container {
  position: relative;
  z-index: 2;
}

.hero-glow-ambient {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-z-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-z-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-headline-highlight {
  color: var(--accent-glow);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Surface Cards */
.dark-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  transition: all var(--transition-normal);
}

.dark-card:hover {
  background: var(--surface-2);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   CLIENT TRUST LOGO MARQUEE STRIP (Uniform Tiles & Seamless Marquee)
   ========================================================================== */
.client-marquee-section {
  background: var(--bg);
  border-top: 1px solid rgba(42, 40, 56, 0.45);
  border-bottom: 1px solid rgba(42, 40, 56, 0.45);
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.client-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.client-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
}

.client-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-shrink: 0;
  animation: scrollClientMarquee 34s linear infinite;
  will-change: transform;
}

.client-marquee-wrapper:hover .client-marquee-group {
  animation-play-state: paused;
}

@keyframes scrollClientMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1.75rem));
  }
}

/* Uniform Logo Tiles (Scaled Proportionally for Credibility Band) */
.client-logo-tile {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  background: #161424;
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.28s ease,
              background-color 0.25s ease;
}

.client-logo-tile:hover {
  transform: translateY(-5px) scale(1.06);
  border-color: var(--accent-glow);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(124, 58, 237, 0.38);
  background: #1E1B32;
}

/* Inset Badge Wrapper */
.client-badge-inner {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.client-badge-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.client-logo-tile:hover .client-badge-inner img {
  transform: scale(1.05);
}

/* Responsive Logo Tile Scaling */
@media (max-width: 991.98px) {
  .client-marquee-section {
    padding: 2.25rem 0;
  }
  .client-marquee-track,
  .client-marquee-group {
    gap: 1.375rem;
  }
  @keyframes scrollClientMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 1.375rem)); }
  }
  .client-logo-tile {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    padding: 8px;
    border-radius: 9px;
  }
  .client-badge-inner {
    border-radius: 6px;
  }
}

@media (max-width: 767.98px) {
  .client-marquee-wrapper {
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  .client-marquee-track,
  .client-marquee-group {
    gap: 1rem;
    animation-duration: 26s;
  }
  @keyframes scrollClientMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 1rem)); }
  }
  .client-logo-tile {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    padding: 7px;
    border-radius: 8px;
  }
  .client-badge-inner {
    border-radius: 5px;
  }
}

/* Accessible Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .client-marquee-wrapper {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }
  .client-marquee-group {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .client-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ==========================================================================
   COMPACT GROWTH CHAIN (Summary Intro Flow)
   ========================================================================== */
.compact-chain-wrapper {
  max-width: 680px;
  margin: 2rem auto 2.25rem;
  position: relative;
}

.compact-chain-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0.5rem 0.5rem;
}

.compact-chain-line {
  position: absolute;
  top: 25px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.25) 0%, rgba(124, 58, 237, 0.6) 65%, var(--accent-glow) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.compact-chain-line.is-drawn {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .compact-chain-line {
    transform: scaleX(1);
    transition: none;
  }
}

.compact-chain-beam {
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), #fff, transparent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: compactBeamFlow 3.5s ease-in-out infinite;
}

@keyframes compactBeamFlow {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 70%; opacity: 0; }
}

.compact-chain-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  transition: transform var(--transition-fast);
}

.compact-node-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #141320;
  border: 1px solid rgba(167, 139, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-glow);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-fast);
}

.compact-chain-node:hover .compact-node-circle,
.compact-chain-node.node-active .compact-node-circle {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--accent-glow);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  background: var(--surface-2);
  color: #fff;
}

.compact-chain-node.is-destination .compact-node-circle {
  background: linear-gradient(135deg, var(--primary) 0%, #5B21B6 100%);
  border-color: var(--accent-glow);
  color: #FFFFFF;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.6);
}

.compact-chain-node.is-destination:hover .compact-node-circle,
.compact-chain-node.is-destination.node-active .compact-node-circle {
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.85);
  transform: translateY(-3px) scale(1.08);
}

.compact-node-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.compact-node-step {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-glow);
  letter-spacing: 0.05em;
}

.compact-node-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}

.compact-chain-node.is-destination .compact-node-title {
  color: var(--accent-glow);
}

.compact-chain-arrow {
  color: rgba(167, 139, 250, 0.35);
  font-size: 0.9rem;
  margin-top: -24px;
  z-index: 2;
  pointer-events: none;
}

.compact-chain-divider {
  max-width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.35), transparent);
  margin: 0 auto;
}

/* Growth System Connecting Track & Cards */
.growth-system-track {
  position: relative;
  width: 100%;
}

.growth-connecting-line {
  position: absolute;
  top: 48px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: linear-gradient(90deg, rgba(42, 40, 56, 0.8) 0%, rgba(167, 139, 250, 0.35) 50%, rgba(42, 40, 56, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 2px;
}

.growth-line-beam {
  position: absolute;
  top: -1px;
  left: 0%;
  height: 5px;
  width: 25%;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-hover), var(--accent-glow), transparent);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: lineBeamFlow 4s ease-in-out infinite;
}

@keyframes lineBeamFlow {
  0% { left: 0%; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { left: 75%; opacity: 0; }
}

.growth-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.growth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all var(--transition-normal);
}

.growth-card:hover {
  background: var(--surface-2);
  border-color: var(--accent-glow);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.growth-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-glow) !important;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.growth-card:hover .growth-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
  color: #fff !important;
  border-color: var(--accent-glow);
}

@media (max-width: 991.98px) {
  .growth-system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .growth-connecting-line {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .growth-system-grid {
    grid-template-columns: 1fr;
  }
}

/* Proven Principles Cards */
.principle-proof-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.principle-proof-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-glow);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.28);
  background: var(--surface-2);
}

.principle-proof-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid rgba(167, 139, 250, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-glow) !important;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.principle-proof-card:hover .principle-proof-icon {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--accent-glow);
}

/* Team Card */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.team-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #141220;
}

.team-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: grayscale(15%);
}

.team-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(21, 20, 32, 0.95) 100%);
  pointer-events: none;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.team-info {
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-glow);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Philosophy Loop Diagram */
.loop-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-ring {
  position: absolute;
  inset: 20px;
  border: 2px dashed rgba(139, 92, 246, 0.4);
  border-radius: 50%;
}

.loop-ring.rotate-loop {
  animation: loopOrbitRotate 75s linear infinite;
}

@keyframes loopOrbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loop-ring.rotate-loop {
    animation: none;
  }
}

.loop-center {
  z-index: 2;
  text-align: center;
  padding: 2rem;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.3);
  max-width: 220px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loop-node {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.loop-node:hover {
  background: var(--primary);
  border-color: var(--accent-glow);
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.6);
  color: #fff;
}

.loop-node.node-pulse-active {
  background: linear-gradient(135deg, var(--primary), #8B5CF6) !important;
  border-color: var(--accent-glow) !important;
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.8), 0 0 50px rgba(124, 58, 237, 0.5) !important;
  color: #fff !important;
}

/* Loop Nodes Placed on Circle */
.node-plan    { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.node-build   { top: 38%; right: 0%; transform: translate(50%, -50%); }
.node-measure { bottom: 5%; right: 15%; transform: translate(50%, 50%); }
.node-learn   { bottom: 5%; left: 15%; transform: translate(-50%, 50%); }
.node-improve { top: 38%; left: 0%; transform: translate(-50%, -50%); }

/* Case Study / Work Card */
.case-study-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
}

.case-study-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.case-flow-step {
  padding: 1.25rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  height: 100%;
}

.case-flow-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-glow);
  margin-bottom: 0.5rem;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.15rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  background: var(--surface-2);
  border-color: var(--primary-hover);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
  color: #fff;
}

.form-control::placeholder {
  color: var(--text-subtle);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.35rem;
  display: none;
}

.field-counter {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: right;
  margin-top: 0.25rem;
}

/* Toast Alert Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast-container > * {
  pointer-events: auto;
}

.custom-toast {
  background: var(--surface-2);
  border: 1px solid var(--border-glow);
  border-left: 4px solid var(--accent-glow);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-sm);
  max-width: 420px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: slideInUp 0.35s ease-out;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Google Maps Ratio */
.ratio-map {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.ratio-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

/* Footer */
.site-footer {
  background: var(--surface);
  position: relative;
  z-index: 10;
  isolation: isolate;
  contain: paint;
  clear: both;
  width: 100%;
  border-top: 1px solid rgba(167, 139, 250, 0.18);
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-glow) 50%, transparent 100%);
  box-shadow: 0 0 14px var(--accent-glow);
  pointer-events: none;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent-glow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 380px;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(167, 139, 250, 0.85);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-glow);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-heading::after {
  content: '';
  flex: 1;
  max-width: 24px;
  height: 1px;
  background: rgba(167, 139, 250, 0.35);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact-list {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-contact-list i {
  color: var(--accent-glow);
  margin-right: 0.45rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  max-width: 100%;
}

.social-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: var(--radius-sm);
  background: rgba(30, 28, 43, 0.6);
  border: 1px solid rgba(167, 139, 250, 0.14);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--accent-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5), 0 0 10px rgba(167, 139, 250, 0.4);
}

@media (max-width: 380px) {
  .social-btn {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 0.95rem;
  }
  .social-links {
    gap: 0.35rem;
  }
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(42, 40, 56, 0.6);
  font-size: 0.85rem;
  color: var(--text-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  position: relative;
  z-index: 2;
}

.footer-legal-group {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-legal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-legal-link:hover {
  color: var(--accent-glow);
}

.footer-legal-dot {
  color: rgba(167, 139, 250, 0.35);
  user-select: none;
}

.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-cookie-btn:hover {
  color: var(--accent-glow);
  text-decoration: underline;
}

.footer-cookie-pill-btn {
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
}

.footer-cookie-pill-btn:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: var(--accent-glow);
  color: #fff;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
  transform: translateY(-1px);
}

.cookie-icon-inline {
  font-size: 0.95rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 3.25rem 0 2rem 0;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
  }
  .footer-bottom .footer-copyright,
  .footer-bottom .footer-legal {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================
   HOW WE THINK — VISUAL & INTERACTIVE UPGRADES
   =================================================== */

/* 1. Hero 7-Node Growth System Pipeline */
.system-pipeline-wrap {
  position: relative;
  background: #0E0D16;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-top: 2.5rem;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
}

.pipeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.pipeline-feedback-badge {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* Subtle Curved Feedback Loop Return Line */
.pipeline-feedback-loop-line {
  position: relative;
  height: 24px;
  margin-bottom: 0.75rem;
  opacity: 0.65;
  pointer-events: none;
}

.pipeline-loop-svg {
  width: 100%;
  height: 24px;
  overflow: visible;
}

.pipeline-loop-arrow-left {
  position: absolute;
  top: 15px;
  left: 54px;
  color: var(--accent-glow);
  font-size: 0.85rem;
  transform: translateY(-50%);
  animation: loopPulse 2.5s ease-in-out infinite;
}

@keyframes loopPulse {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) translateX(0); }
  50% { opacity: 1; transform: translateY(-50%) translateX(-3px); }
}

.pipeline-nodes-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 0.5rem;
  overflow-x: visible;
  padding: 0.5rem 0.25rem;
}

.pipeline-track-line {
  position: absolute;
  top: 21px;
  left: 3%;
  right: 3%;
  height: 2px;
  background: rgba(167, 139, 250, 0.2);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-track-line.is-drawn {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-track-line {
    transform: scaleX(1);
    transition: none;
  }
}

.pipeline-beam-glow {
  position: absolute;
  top: -1px;
  left: 0;
  height: 4px;
  width: 25%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent-glow), transparent);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: pipelineFlow 4s linear infinite;
}

@keyframes pipelineFlow {
  0% { left: -10%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 85%; opacity: 0; }
}

.pipeline-node-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.pipeline-node-item:hover {
  transform: translateY(-3px);
}

/* Reduced node circle size from 56px to 42px for breathing space */
.pipeline-node-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #141322;
  border: 1.5px solid rgba(167, 139, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent-glow);
  margin-bottom: 0.55rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.pipeline-node-item:hover .pipeline-node-circle,
.pipeline-node-item.active .pipeline-node-circle {
  background: var(--primary);
  border-color: var(--accent-glow);
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
  transform: scale(1.12);
}

.pipeline-node-name {
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.pipeline-node-item:hover .pipeline-node-name,
.pipeline-node-item.active .pipeline-node-name {
  color: #fff;
}

/* Mobile Stepper for 7-node pipeline (< 768px) */
.pipeline-mobile-stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.25rem 0;
}

.pipeline-step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.pipeline-step-item.active {
  border-color: var(--accent-glow);
  background: var(--surface-2);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
}

.pipeline-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid rgba(167, 139, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--accent-glow);
  flex-shrink: 0;
}

.pipeline-step-item.active .pipeline-step-circle {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 14px var(--accent-glow);
}

.pipeline-step-text {
  display: flex;
  flex-direction: column;
}

.pipeline-step-num {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-glow);
  letter-spacing: 0.1em;
}

.pipeline-step-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}

.pipeline-step-line {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--accent-glow), var(--border));
  margin-left: 1.75rem;
}

/* 2. Diagnostic Radar / Dial Visual */
.radar-diagnostic-wrap {
  background: #141322;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.radar-display-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 380px;
}

.radar-screen {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(18, 16, 28, 0.96) 70%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

#radarDynamicLine {
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.8));
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.25);
  pointer-events: none;
}
.radar-ring-1 { width: 100px; height: 100px; }
.radar-ring-2 { width: 190px; height: 190px; }
.radar-ring-3 { 
  width: 280px; 
  height: 280px; 
  animation: radarOuterSpin 75s linear infinite; 
}

@keyframes radarOuterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-screen:hover .radar-ring-3 {
  animation-play-state: paused;
}

.radar-sweep-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(139, 92, 246, 0.25) 360deg);
  animation: sweepRotate 7s linear infinite;
  pointer-events: none;
}

@keyframes sweepRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-core-hub {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #171526;
  border: 2px solid var(--accent-glow);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  text-align: center;
}

.radar-core-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.06em;
}

/* 6 Dial Nodes Positioned Around Radar */
.radar-probe {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 6;
  box-shadow: var(--shadow-sm);
}

.radar-probe:hover,
.radar-probe.active {
  background: var(--primary);
  border-color: var(--accent-glow);
  color: #fff;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.7);
  transform: scale(1.18);
}

/* Sonar Ping Ring Expanding Outward from Active Probe */
.radar-probe.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-glow);
  transform: translate(-50%, -50%);
  animation: radarSonarPing 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

@keyframes radarSonarPing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  75% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Polar positions for 6 points */
.probe-1 { top: 8px; left: 50%; transform: translateX(-50%); }
.probe-2 { top: 22%; right: 10px; }
.probe-3 { bottom: 22%; right: 10px; }
.probe-4 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.probe-5 { bottom: 22%; left: 10px; }
.probe-6 { top: 22%; left: 10px; }

.probe-1:hover, .probe-1.active,
.probe-4:hover, .probe-4.active {
  transform: translateX(-50%) scale(1.18);
}

/* Console Question Readout Card */
.diagnostic-readout-card {
  background: rgba(22, 20, 36, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.diagnostic-active-badge,
.diagnostic-active-question,
.diagnostic-active-desc {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.diagnostic-readout-card.is-transitioning .diagnostic-active-badge,
.diagnostic-readout-card.is-transitioning .diagnostic-active-question,
.diagnostic-readout-card.is-transitioning .diagnostic-active-desc {
  opacity: 0.15;
  transform: translateY(3px);
}

.diagnostic-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-glow);
  margin-bottom: 0.75rem;
}

.diagnostic-active-question {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.diagnostic-active-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* 3. Six Core Beliefs Interconnected Grid */
.beliefs-section-wrap {
  position: relative;
}

.beliefs-grid-connectors {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.connector-line-v {
  position: absolute;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.14), rgba(167, 139, 250, 0.14), transparent);
}
.connector-line-v.v-1 { left: 33.33%; }
.connector-line-v.v-2 { left: 66.66%; }

.connector-line-h {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.14), rgba(167, 139, 250, 0.14), transparent);
}
.connector-line-h.h-mid { top: 50%; }

.belief-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease, background-color 0.32s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.belief-card:hover {
  transform: perspective(900px) rotateX(3deg) rotateY(-3deg) translateY(-8px);
  border-color: var(--accent-glow);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.35);
  background: var(--surface-2);
}

.belief-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Outlined Ghost-style watermark numerals */
.belief-num-watermark {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(167, 139, 250, 0.28);
  letter-spacing: -0.04em;
  transition: all 0.3s ease;
  user-select: none;
}

.belief-card:hover .belief-num-watermark {
  color: var(--accent-glow);
  -webkit-text-stroke-color: var(--accent-glow);
  opacity: 0.95;
  transform: scale(1.06);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.belief-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--accent-glow);
  transition: all var(--transition-fast);
}

.belief-card:hover .belief-icon-box {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent-glow);
  transform: scale(1.1) rotate(5deg);
}

.belief-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.belief-primary-line {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.belief-hover-detail {
  font-size: 0.88rem;
  color: var(--text-subtle);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
  transition: color var(--transition-fast);
}

.belief-card:hover .belief-hover-detail {
  color: var(--text-muted);
  border-color: rgba(167, 139, 250, 0.3);
}

/* 4. Journey Scroll-Linked Progress Track */
.journey-progress-track {
  position: fixed;
  top: 120px;
  left: 20px;
  bottom: 120px;
  width: 3px;
  background: rgba(42, 40, 56, 0.4);
  border-radius: 3px;
  z-index: var(--z-sticky);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journey-progress-track.visible {
  opacity: 1;
}

.journey-progress-bar {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--accent-glow));
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: height 0.1s linear;
}

@media (max-width: 991.98px) {
  .journey-progress-track,
  .beliefs-circuit-thread {
    display: none !important;
  }
}

/* ===================================================
   CONTACT PAGE — FORM DEPTH, PICKER & VISUAL BALANCE
   =================================================== */

/* 1. Form Card & Field Depth */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(124, 58, 237, 0.14);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), var(--primary), transparent);
  pointer-events: none;
}

.form-group {
  position: relative;
  margin-bottom: 1.15rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Form Inputs / Textarea with Distinct Visual Depth */
.form-control,
.form-select {
  background-color: #1A1828 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(167, 139, 250, 0.22) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.85rem 1.1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease !important;
  caret-color: var(--accent-glow);
}

/* Clear, high-contrast placeholder */
.form-control::placeholder,
.form-control::-webkit-input-placeholder {
  color: #9D98B5 !important;
  opacity: 1 !important;
  font-weight: 400;
  font-size: 0.92rem;
}

/* Signature Focus Bloom & Smooth Caret Transition */
.form-control:focus,
.form-select:focus {
  background-color: #211E33 !important;
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3), 
              0 0 22px rgba(167, 139, 250, 0.38),
              inset 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

/* Inline Positive Validation Icon */
.form-control.is-valid {
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

.valid-feedback-icon {
  position: absolute;
  right: 14px;
  top: 38px;
  color: var(--success);
  font-size: 1.15rem;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.form-group.has-valid .valid-feedback-icon {
  opacity: 1;
  transform: scale(1);
}

/* Prevent horizontal overflow on narrow viewports */
textarea.form-control {
  resize: vertical;
  min-height: 95px;
  max-width: 100%;
  box-sizing: border-box;
}

.field-error {
  font-size: 0.8rem;
  color: #F87171;
  margin-top: 0.35rem;
  display: none;
  font-weight: 500;
}

.field-counter {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 0.35rem;
  font-family: var(--font-heading);
}

/* 2. Preferred Contact Method 4-Option Visual Picker */
.preferred-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.35rem;
}

@media (max-width: 767.98px) {
  .preferred-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preferred-option-pill {
  background: #1A1828;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  min-height: 84px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.preferred-option-pill:hover {
  background: #232036;
  border-color: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.preferred-option-pill i {
  font-size: 1.45rem;
  color: var(--accent-glow);
  transition: color 0.2s ease, transform 0.2s ease;
}

.preferred-option-pill .pill-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.preferred-option-pill .pill-sub {
  font-size: 0.68rem;
  color: var(--text-subtle);
  line-height: 1;
}

/* Active Selected State */
.preferred-option-pill.active {
  background: linear-gradient(135deg, var(--primary) 0%, #6D28D9 100%);
  border-color: var(--accent-glow);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

.preferred-option-pill.active i {
  color: #FFFFFF;
  transform: scale(1.1);
}

.preferred-option-pill.active .pill-title {
  color: #FFFFFF;
}

.preferred-option-pill.active .pill-sub {
  color: rgba(255, 255, 255, 0.85);
}

.preferred-check-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #10B981;
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.preferred-option-pill.active .preferred-check-badge {
  opacity: 1;
  transform: scale(1);
}

/* 3. Left Column Visual Balance & Interaction */
.contact-left-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-ambient-orb {
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, rgba(139, 92, 246, 0.04) 55%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbPulse {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.5; }
  100% { transform: scale(1.15) translate(20px, -20px); opacity: 0.9; }
}

.contact-z-watermark {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 140px;
  height: 140px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 25px var(--primary));
}

.contact-coords-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.coord-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  text-decoration: none !important;
}

.coord-row:hover {
  background: var(--surface-2);
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.coord-copy-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-glow);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.coord-row:hover .coord-copy-badge {
  opacity: 1;
  background: var(--primary);
  color: #fff;
  border-color: var(--accent-glow);
}

.coord-copy-badge.copied {
  background: #10B981 !important;
  color: #fff !important;
  border-color: #10B981 !important;
  opacity: 1 !important;
}

/* 4. Map Section Visual System */
.section-map {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #110F1C 50%, var(--surface) 100%);
  position: relative;
  overflow: hidden;
}

.map-card-wrapper {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 58, 237, 0.14);
  overflow: hidden;
  position: relative;
}

.map-card-wrapper iframe {
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  width: 100%;
  height: 420px;
}

@media (max-width: 767.98px) {
  .map-card-wrapper iframe {
    height: 320px;
  }
}

.map-action-bar {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* 5. Button Interaction & Success Notice */
.btn-primary-glow:active {
  transform: scale(0.98) !important;
}

.form-success-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(21, 20, 32, 0.95) 100%);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.2);
  animation: successFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-check-pulse {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--success);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
  animation: checkPulse 2s infinite ease-in-out;
}

@keyframes checkPulse {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 32px rgba(16, 185, 129, 0.5); }
  100% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
}

/* ===================================================
   WHAT WE BUILD — CONNECTING THREAD & DISCIPLINES
   =================================================== */

/* 1. Main & Hero Stacking Safety */
main#mainContent {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  background: var(--bg);
}

/* Build Hero Fluid Sizing */
.build-hero-headline {
  font-size: clamp(1.72rem, 5.8vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-headline-chunk {
  display: inline-block;
  white-space: normal;
}

/* 2. Left-Side Continuous Spinal Journey (Strategy → Brand → Digital → Revenue) */
.disciplines-wrap {
  position: relative;
}

.discipline-section {
  position: relative;
  overflow: visible;
  padding: 4.5rem 0;
}

.discipline-spine-track {
  position: absolute;
  top: -4.5rem;
  bottom: -4.5rem;
  left: 24px;
  width: 2px;
  background: rgba(167, 139, 250, 0.14);
  z-index: 1;
  pointer-events: none;
}

.discipline-spine-track.is-first {
  top: 0;
}

.discipline-spine-track.is-last {
  bottom: -4.5rem;
}

.discipline-spine-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-glow), var(--primary));
  box-shadow: 0 0 12px var(--accent-glow);
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.discipline-section.is-active .discipline-spine-beam {
  height: 100%;
}

/* 3. Discipline Anchor Badge (01, 02, 03, 04 Node on Spine) */
.discipline-header-unit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.discipline-anchor-badge {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #141322;
  border: 2px solid rgba(167, 139, 250, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-glow);
  margin-bottom: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.discipline-phase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-glow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discipline-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.discipline-subhead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.discipline-section.is-active .discipline-anchor-badge {
  background: var(--primary);
  border-color: var(--accent-glow);
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 26px rgba(124, 58, 237, 0.7);
}

.discipline-section.is-active .discipline-anchor-badge::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-glow);
  animation: badgeSonar 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

@keyframes badgeSonar {
  0% { transform: scale(1); opacity: 0.9; }
  75% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* 4. Sticky Side-Rail Nav with Smooth Sliding Capsule */
.discipline-nav-rail {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-sticky);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.5rem;
  background: rgba(18, 17, 28, 0.92);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.discipline-nav-rail.visible {
  opacity: 1;
  pointer-events: auto;
}

.rail-slider-pill {
  position: absolute;
  left: 6px;
  top: 0;
  width: calc(100% - 12px);
  border-radius: var(--radius-full);
  background: var(--primary);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.6);
  z-index: 1;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.rail-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  text-decoration: none !important;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  background: transparent !important;
  transition: color var(--transition-fast);
}

.rail-item:hover,
.rail-item.active {
  color: #fff;
}

.rail-num {
  font-size: 0.68rem;
  opacity: 0.85;
}

.rail-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 5. Capability Grid & Phase Badges */
.capability-grid-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.discipline-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.35);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-glow);
  letter-spacing: 0.08em;
}

.discipline-phase-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-glow);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* 6. Capability Mini-Cards (Icon-First & Hover Reveal) */
.capability-mini-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.05rem;
  height: 100%;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.capability-mini-card:hover,
.capability-mini-card:focus-visible {
  background: #201d30;
  border-color: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(124, 58, 237, 0.25);
}

.capability-mini-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.capability-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.capability-mini-card:hover .capability-mini-icon {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent-glow);
  transform: scale(1.06);
}

.capability-mini-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.25;
}

/* Desktop Hover-Reveal for capability descriptions */
@media (min-width: 992px) {
  .capability-mini-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, margin-top 0.22s ease;
  }

  .capability-mini-card:hover .capability-mini-desc,
  .capability-mini-card:focus-visible .capability-mini-desc {
    max-height: 48px;
    opacity: 1;
    margin-top: 0.45rem;
  }
}

/* Mobile Always Visible Compact Descriptions */
@media (max-width: 991.98px) {
  .capability-mini-desc {
    max-height: none !important;
    opacity: 0.85 !important;
    overflow: visible !important;
    margin-top: 0.35rem !important;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }
}

/* 7. Convergence Terminal Node */
.closing-system-section {
  position: relative;
}

.convergence-point {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #171526;
  border: 2px solid var(--accent-glow);
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  font-size: 1.25rem;
  z-index: 5;
  animation: convergencePulse 3s ease-in-out infinite;
}

@keyframes convergencePulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
  }
  50% {
    transform: translateX(-50%) scale(1.12);
    box-shadow: 0 0 35px rgba(167, 139, 250, 0.95);
    border-color: #fff;
    color: #fff;
  }
}

/* ==========================================================================
   ABOUT PAGE REFINEMENTS (Hero tags, Editorial Quote, Cards, Mobile Stepper)
   ========================================================================== */

/* 1. Fluid Headline & Hero Tag Pills */
.about-hero-headline {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(26, 24, 40, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.hero-tag-pill i {
  color: var(--accent-glow);
  font-size: 0.85rem;
}

.hero-tag-pill:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: var(--accent-glow);
  color: #fff;
  transform: translateY(-2px);
}

/* 2. Editorial Pull-Quote Box */
.quote-pullbox {
  position: relative;
  padding: 1.85rem 2.25rem;
  background: linear-gradient(135deg, rgba(21, 20, 32, 0.95), rgba(30, 28, 43, 0.65));
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-left: 4px solid var(--accent-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(124, 58, 237, 0.06);
  max-width: 700px;
}

.quote-pullbox-mark {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(167, 139, 250, 0.12);
  pointer-events: none;
  user-select: none;
}

.quote-pullbox-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.quote-pullbox-text {
  font-size: 1rem;
  color: var(--accent-glow);
  margin-bottom: 0;
  line-height: 1.55;
}

/* 3. Purpose, Vision, Mission Guidance Cards */
.guidance-card {
  background: linear-gradient(135deg, rgba(21, 20, 32, 0.95), rgba(30, 28, 43, 0.6));
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  height: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.guidance-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(124, 58, 237, 0.25);
}

.guidance-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.guidance-lead {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0;
}

/* 4. The Zone Culture Cards */
.zone-card {
  background: linear-gradient(135deg, rgba(26, 24, 40, 0.95), rgba(35, 32, 52, 0.6));
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  height: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zone-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(124, 58, 237, 0.22);
}

.zone-card-num {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-glow);
  margin-bottom: 0.35rem;
}

.zone-card-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0;
}

/* 5. Mobile Stepper for Growth Loop (Replaces circular loop on < 992px) */
.growth-loop-mobile-stepper {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.75rem;
}

.loop-stepper-track {
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent-glow));
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

.loop-stepper-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.stepper-node-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--accent-glow);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-glow);
  flex-shrink: 0;
  z-index: 2;
}

.stepper-content {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  flex: 1;
}

.stepper-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.stepper-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 6. Button Hover Micro-Interactions */
.btn-primary-glow .btn-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   INSIGHTS HUB & ARTICLE EXPERIENCE (Magazine Layout & Category Accents)
   ========================================================================== */

/* Reading Progress Bar (Fixed at top of viewport) */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent-glow));
  box-shadow: 0 0 10px var(--accent-glow);
  z-index: 1001;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* Horizontal Scrollable Filter Pills on Mobile */
.filter-pills-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.35rem;
}

.filter-pills-scroll::-webkit-scrollbar {
  display: none;
}

.filter-pills-scroll .badge-tag {
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
}

/* Category Accent Variables */
.cat-growth {
  --card-accent: #8B5CF6;
}
.cat-brand {
  --card-accent: #FB7185;
}
.cat-aitechnology {
  --card-accent: #38BDF8;
}
.cat-strategy {
  --card-accent: #F59E0B;
}

/* Category Badges */
.badge-cat-growth {
  background: rgba(139, 92, 246, 0.14) !important;
  color: #A78BFA !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
}
.badge-cat-brand {
  background: rgba(251, 113, 133, 0.14) !important;
  color: #FDA4AF !important;
  border-color: rgba(251, 113, 133, 0.3) !important;
}
.badge-cat-aitechnology {
  background: rgba(56, 189, 248, 0.14) !important;
  color: #7DD3FC !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
.badge-cat-strategy {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #FCD34D !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Featured Badge */
.tag-featured {
  background: rgba(124, 58, 237, 0.25) !important;
  color: #fff !important;
  border-color: var(--accent-glow) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.badge-dot-pulsing {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-glow);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Editorial Magazine Cards */
.insight-card {
  background: linear-gradient(145deg, #181625 0%, #13121C 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}

/* Left accent bar sliding in from top on hover */
.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--card-accent, var(--primary));
  box-shadow: 0 0 10px var(--card-accent, var(--primary));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.insight-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-accent, var(--border-glow));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(124, 58, 237, 0.2);
}

.insight-card:hover::before {
  transform: scaleY(1);
}

/* Featured Card Styling */
.insight-card-featured {
  background: linear-gradient(145deg, #1C192E 0%, #141320 100%);
  border-color: rgba(167, 139, 250, 0.25);
  padding: clamp(2rem, 3.5vw, 3rem);
}

.insight-card-featured:hover {
  border-color: var(--accent-glow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(124, 58, 237, 0.28);
}

/* Card 16:9 Media */
.insight-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover .insight-card-media img {
  transform: scale(1.05);
}

/* Meta Row */
.insight-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.insight-meta-details {
  font-size: 0.82rem;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-separator {
  color: var(--border-light);
  font-size: 0.75rem;
}

/* Card Typography */
.insight-title-featured {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.3;
  text-transform: none;
  font-weight: 800;
}

.insight-title-featured a,
.insight-title a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.insight-title-featured a:hover,
.insight-title a:hover {
  color: var(--accent-glow);
}

.insight-title {
  font-size: 1.25rem;
  line-height: 1.35;
  text-transform: none;
  font-weight: 800;
}

.insight-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Read Full Essay Link */
.insight-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-glow);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.insight-read-link .read-text {
  position: relative;
  padding-bottom: 2px;
}

.insight-read-link .read-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--card-accent, var(--accent-glow));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-read-link .read-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover .insight-read-link .read-text::after,
.insight-read-link:hover .read-text::after {
  transform: scaleX(1);
  transform-origin: left;
}

.insight-card:hover .insight-read-link .read-arrow,
.insight-read-link:hover .read-arrow {
  transform: translateX(5px);
  color: #fff;
}

/* Author Byline on Cards */
.insight-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}

.insight-byline-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-glow);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-glow);
}

.insight-byline-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* "NEW" Pulse Badge */
.tag-new-pulse {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34D399 !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.04em;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}

.tag-new-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 6px #34D399;
  animation: dotPulse 1.6s ease-in-out infinite;
}

/* Live Search Box on Insights Page */
.insight-search-box {
  position: relative;
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.insight-search-box .input-group {
  background: rgba(18, 17, 26, 0.75);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.insight-search-box .input-group:focus-within {
  border-color: var(--accent-glow);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.insight-search-box .input-group-text {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  padding-left: 1.25rem;
  font-size: 1rem;
}

.insight-search-box .form-control {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 0.75rem 1rem 0.75rem 0.25rem;
  box-shadow: none;
}

.insight-search-box .form-control::placeholder {
  color: var(--text-subtle);
  opacity: 0.8;
}

.insight-search-box .btn-clear-search {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  padding-right: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.insight-search-box .btn-clear-search:hover {
  color: #fff;
}

/* Mobile Filter Pills with Gradient Edge Fade */
.filter-pills-wrap {
  position: relative;
  overflow: hidden;
}

.filter-pills-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(90deg, rgba(8, 7, 13, 0) 0%, rgba(8, 7, 13, 0.95) 100%);
  pointer-events: none;
}

@media (min-width: 992px) {
  .filter-pills-wrap::after {
    display: none;
  }
}

/* Subscribe Gap-Filler Grid Card */
.subscribe-grid-card {
  background: linear-gradient(145deg, #1B182B 0%, #11101B 100%);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.subscribe-grid-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.subscribe-grid-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.subscribe-grid-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.subscribe-grid-input-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.subscribe-grid-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  color: #fff;
  font-size: 0.88rem;
  flex-grow: 1;
}

.subscribe-grid-input:focus {
  outline: none;
  border-color: var(--accent-glow);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

/* 375px iPhone SE Screen Optimization */
@media (max-width: 400px) {
  .section-hero h1 {
    font-size: 1.85rem !important;
  }
  .insight-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .filter-pills-scroll {
    gap: 0.4rem;
  }
  .filter-pills-scroll .badge-tag {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ==========================================================================
   WORK & CASE STUDIES — CONNECTED PROTOCOL PIPELINE & ACTIVE SCHEMATIC
   ========================================================================== */

/* 1. Connected Protocol Pipeline */
.protocol-pipeline-wrap {
  position: relative;
  background: #0E0D16;
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.protocol-track-line {
  position: absolute;
  top: 4.55rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(248, 113, 113, 0.4) 0%, 
    rgba(251, 191, 36, 0.4) 25%, 
    rgba(56, 189, 248, 0.4) 50%, 
    rgba(129, 140, 248, 0.4) 75%, 
    rgba(168, 85, 247, 0.9) 100%
  );
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.protocol-track-line.is-drawn {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .protocol-track-line {
    transform: scaleX(1);
  }
}

.protocol-nodes-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.protocol-step-card {
  position: relative;
  background: rgba(18, 17, 28, 0.88);
  border: 1px solid rgba(42, 40, 56, 0.85);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.protocol-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
}

.protocol-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.protocol-step-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.protocol-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.protocol-step-card:hover .protocol-step-dot {
  transform: scale(1.35);
}

/* Step 01: The Problem */
.protocol-step-card.step-01 .protocol-step-badge {
  color: #F87171;
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.25);
}
.protocol-step-card.step-01 .protocol-step-dot {
  background: #F87171;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.6);
}
.protocol-step-card.step-01:hover {
  border-color: rgba(248, 113, 113, 0.45);
  box-shadow: 0 14px 32px rgba(248, 113, 113, 0.15);
}

/* Step 02: The Strategy */
.protocol-step-card.step-02 .protocol-step-badge {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
}
.protocol-step-card.step-02 .protocol-step-dot {
  background: #FBBF24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}
.protocol-step-card.step-02:hover {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 14px 32px rgba(251, 191, 36, 0.15);
}

/* Step 03: The System */
.protocol-step-card.step-03 .protocol-step-badge {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}
.protocol-step-card.step-03 .protocol-step-dot {
  background: #38BDF8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.protocol-step-card.step-03:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.15);
}

/* Step 04: The Execution */
.protocol-step-card.step-04 .protocol-step-badge {
  color: #818CF8;
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.25);
}
.protocol-step-card.step-04 .protocol-step-dot {
  background: #818CF8;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.6);
}
.protocol-step-card.step-04:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 14px 32px rgba(129, 140, 248, 0.15);
}

/* Step 05: The Destination Card (The Result) */
.protocol-step-card.step-05.is-destination-card {
  background: linear-gradient(150deg, rgba(24, 18, 38, 0.95) 0%, rgba(14, 26, 22, 0.9) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  box-shadow: 0 10px 36px rgba(124, 58, 237, 0.25), 0 0 1px rgba(16, 185, 129, 0.4);
}

.protocol-step-card.step-05 .protocol-step-badge {
  color: #C084FC;
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.protocol-step-card.step-05 .protocol-step-dot {
  background: #10B981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.85);
  animation: destDotPulse 2.2s ease-in-out infinite;
}

@keyframes destDotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(16, 185, 129, 0.7); }
  50% { transform: scale(1.4); box-shadow: 0 0 14px rgba(16, 185, 129, 1); }
}

.protocol-step-card.step-05:hover {
  border-color: rgba(168, 85, 247, 0.85);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.38), 0 0 20px rgba(16, 185, 129, 0.35);
}

.protocol-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  color: #FFFFFF;
}

.protocol-step-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 0;
}

.protocol-step-card.step-05 .protocol-step-desc {
  color: rgba(255, 255, 255, 0.92);
}

/* 2. Live Status Pill */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #34D399;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
  animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 12px #34D399; }
}

/* 3. In-Progress Schematic Card */
.in-progress-schematic-card {
  max-width: 680px;
  background: #0D0C14;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), inset 0 0 24px rgba(124, 58, 237, 0.06);
  overflow: hidden;
  position: relative;
}

.schematic-header {
  padding: 0.8rem 1.35rem;
  background: rgba(18, 17, 28, 0.96);
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
}

.schematic-terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.schematic-terminal-dot:nth-child(1) { background: #EF4444; }
.schematic-terminal-dot:nth-child(2) { background: #F59E0B; }
.schematic-terminal-dot:nth-child(3) { background: #10B981; }

.schematic-title {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.schematic-status-tag {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--accent-glow);
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.28);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.schematic-body {
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  position: relative;
}

.schematic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.schematic-cell {
  background: rgba(22, 20, 34, 0.75);
  border: 1px solid rgba(42, 40, 56, 0.85);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.schematic-cell.active {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.18);
}

.schematic-label {
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
}

.schematic-val {
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.schematic-val .spin {
  animation: spin 3s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.schematic-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.08), transparent);
  transform: skewX(-20deg);
  animation: schematicShimmer 4s infinite linear;
  pointer-events: none;
}

@keyframes schematicShimmer {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* ==========================================================================
   20. LEGAL & POLICY PAGES (Privacy Policy, Terms & Conditions)
   ========================================================================== */
.zi-legal-header {
  padding: 3rem 0 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}

.zi-legal-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zi-legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.zi-legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.zi-legal-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.zi-legal-print-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--primary);
  color: #fff;
}

.zi-legal-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.zi-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--accent-glow);
  letter-spacing: 0.02em;
}

.zi-legal-summary-box {
  margin-top: 2rem;
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  position: relative;
}

.zi-legal-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-glow);
  margin-bottom: 0.75rem;
}

.zi-legal-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem 1.5rem;
}

.zi-legal-summary-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.zi-legal-summary-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-glow);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Sidebar & TOC */
.zi-legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  max-height: calc(100vh - var(--header-height) - 3rem);
  display: flex;
  flex-direction: column;
}

.zi-legal-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.zi-legal-sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zi-legal-sidebar-nav {
  overflow-y: auto;
  max-height: calc(100vh - 220px);
  padding-right: 0.35rem;
}

.zi-legal-sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.zi-legal-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.zi-legal-nav-link {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.18s ease;
  line-height: 1.35;
  border-left: 2px solid transparent;
}

.zi-legal-nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.zi-legal-nav-link.active {
  color: #ffffff;
  background: rgba(124, 58, 237, 0.14);
  border-left-color: var(--accent-glow);
  font-weight: 600;
}

.zi-legal-nav-num {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--accent-glow);
  opacity: 0.85;
  min-width: 1.6rem;
}

/* Mobile Sticky Jump Bar */
.zi-legal-mobile-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 85;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.zi-legal-mobile-select {
  background-color: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
}

.zi-legal-mobile-select:focus {
  background-color: var(--bg-card);
  color: var(--text);
  border-color: var(--accent-glow);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

/* Legal Section Cards */
.zi-legal-section {
  scroll-margin-top: 110px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.zi-legal-section:hover {
  border-color: var(--border-light);
}

@media (max-width: 767.98px) {
  .zi-legal-section {
    padding: 1.5rem 1.25rem;
  }
}

.zi-legal-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.zi-legal-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.zi-legal-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--accent-glow);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: monospace;
  flex-shrink: 0;
}

.zi-legal-section-title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
}

.zi-legal-anchor-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-subtle);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.zi-legal-anchor-btn:hover {
  color: var(--accent-glow);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.zi-legal-anchor-btn.copied {
  color: #10b981;
}

.zi-legal-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.zi-legal-content p {
  margin-bottom: 1.15rem;
}

.zi-legal-content p:last-child {
  margin-bottom: 0;
}

.zi-legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.zi-legal-content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.zi-legal-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.25rem;
}

.zi-legal-content ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.zi-legal-content ul li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--accent-glow);
  font-weight: bold;
}

.zi-legal-quote {
  background: rgba(124, 58, 237, 0.06);
  border-left: 3px solid var(--accent-glow);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Contact Details Box */
.zi-legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.zi-legal-contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.zi-legal-contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-glow);
  margin-bottom: 0.35rem;
}

.zi-legal-contact-value {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.zi-legal-contact-value a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.zi-legal-contact-value a:hover {
  color: var(--accent-glow);
}

/* Cross-links */
.zi-legal-crosslinks {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

/* Print Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding-top: 0 !important;
  }
  header, footer, .zi-legal-sidebar, .zi-legal-mobile-bar, .zi-legal-print-btn, .zi-legal-anchor-btn, .zi-legal-crosslinks, .hero-glow-ambient {
    display: none !important;
  }
  .zi-legal-header {
    background: none !important;
    border-bottom: 2px solid #000 !important;
    padding: 1rem 0 !important;
  }
  .zi-legal-title {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
  }
  .zi-legal-section {
    background: none !important;
    border: 1px solid #ddd !important;
    break-inside: avoid;
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    color: #111 !important;
  }
  .zi-legal-content {
    color: #222 !important;
  }
  .zi-legal-quote {
    background: #f5f5f5 !important;
    border-left-color: #333 !important;
    color: #000 !important;
  }
  .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* ==========================================================================
   21. COOKIE CONSENT BANNER, MODAL & POLICY WIDGETS
   ========================================================================== */
/* Global Consent Floating Banner */
.zi-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1.25rem 0;
  background: rgba(13, 12, 24, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zi-cookie-banner.show {
  transform: translateY(0);
}

.zi-cookie-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zi-cookie-banner-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.zi-cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

/* Footer Cookie Preferences Button */
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-cookie-btn:hover {
  color: var(--accent-glow);
  text-decoration: underline;
}

/* Cookie Preferences Modal Dark Theme */
.zi-cookie-modal .modal-content {
  background: #0E0D1A;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 16px;
  color: var(--text);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.zi-cookie-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 1.75rem 1.25rem;
}

.zi-cookie-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.zi-cookie-modal .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.zi-cookie-modal .modal-body {
  padding: 1.5rem 1.75rem;
  max-height: 65vh;
  overflow-y: auto;
}

.zi-cookie-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* Category Item inside Modal & Live Widget */
.zi-cookie-cat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.zi-cookie-cat-item:last-child {
  margin-bottom: 0;
}

.zi-cookie-cat-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.zi-cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.zi-cookie-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.zi-cookie-cat-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.zi-badge-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.zi-badge-essential {
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #C4B5FD;
}

.zi-badge-preference {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93C5FD;
}

.zi-badge-analytics {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FCD34D;
}

.zi-badge-marketing {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #FDA4AF;
}

.zi-badge-thirdparty {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #D8B4FE;
}

.zi-cookie-cat-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Custom Switch Toggle */
.zi-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.zi-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.zi-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.25s;
  border-radius: 24px;
}

.zi-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

.zi-switch input:checked + .zi-slider {
  background-color: var(--primary);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.zi-switch input:checked + .zi-slider:before {
  transform: translateX(20px);
}

.zi-switch input:disabled + .zi-slider {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #6D28D9;
}

/* Live Preferences Widget on Policy Page */
.zi-cookie-live-widget {
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.zi-cookie-live-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zi-cookie-timestamp {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Category Cards for Section 3 */
.zi-cookie-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.zi-cookie-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.zi-cookie-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.zi-cookie-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.zi-cookie-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.zi-cookie-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Comparison Table for Section 8 */
.zi-cookie-table-wrapper {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.zi-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.zi-cookie-table th {
  background: rgba(124, 58, 237, 0.1);
  color: var(--text);
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.zi-cookie-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  vertical-align: top;
}

.zi-cookie-table tr:last-child td {
  border-bottom: none;
}

.zi-cookie-table strong {
  color: var(--text);
}

/* FAQ Accordion on Policy Page */
.zi-cookie-faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.85rem;
}

.zi-cookie-faq-q {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zi-cookie-faq-a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
