/* ==========================================================================
   WPLAWS.AI — Sovereign Legal Intelligence Platform CSS
   Bespoke Institutional Proposal for Walalangi & Partners
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg-color: #000000;
  --bg-elevated: #0d0c0a;
  --card-bg: #12110e;
  --card-bg-light: #181714;
  --card-border: rgba(212, 175, 55, 0.14);
  --card-border-hover: rgba(212, 175, 55, 0.38);

  /* Dark Gold Luxury Palette */
  --gold-primary: #cba358;
  --gold-light: #edd79b;
  --gold-pale: #fcf4de;
  --gold-dark: #91712a;
  --gold-gradient: linear-gradient(135deg, #fbf0d3 0%, #cba358 50%, #8e6c26 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(237, 215, 155, 0.18) 0%, rgba(203, 163, 88, 0.08) 100%);
  --gold-glow: 0 0 24px rgba(203, 163, 88, 0.28);
  --gold-glow-strong: 0 0 36px rgba(203, 163, 88, 0.45);

  --text-white: #ffffff;
  --text-gold: #e5c986;
  --text-gray: #a6a197;
  --text-dim: #736f66;
  --text-dark: #0b0905;
  --accent-pill: #191712;
  --accent-pill-border: rgba(212, 175, 55, 0.22);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Poppins', sans-serif;
  --font-logo: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1280px;
  --container-padding: 24px;
}

/* Container Padding Adaptation */
@media (min-width: 1281px) {
  :root {
    --container-padding: 0px;
  }
}

@media (width: 1280px) {
  :root {
    --container-padding: 40px;
  }
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  background-color: var(--bg-color);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: clip;
  max-width: 100vw;
}

/* Lenis Smooth Scroll Recommended Styles */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--bg-color);
  color: var(--text-white);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  line-height: 1.5;
  font-size: 16px;
}

main {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Fixed Viewport Watermark */
.viewport-watermark {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-family: var(--font-mono, monospace) !important;
  font-size: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 8px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  mix-blend-mode: difference !important;
  filter: opacity(0.1) !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  z-index: 9999 !important;
  white-space: nowrap !important;
  display: block !important;
  visibility: visible !important;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Common Components: Badges, Buttons, Headers
   -------------------------------------------------------------------------- */
.section-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-number {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  color: var(--gold-primary);
  display: inline-block;
  margin-right: 6px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-tag-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
}

.section-tag-group .badge-number {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  font-weight: 600;
  display: inline-block;
  margin-right: 0;
}

.section-tag-group .section-badge {
  color: #a1a1aa;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

.section-header.center .section-heading {
  text-align: center;
}

.section-header.center .section-title-wrap {
  align-items: center;
  text-align: center;
}

.section-tag-group.center,
.section-header.center .section-tag-group {
  justify-content: center;
}

.benefit-header .section-tag-group {
  justify-content: center;
  margin-bottom: 14px;
}

.compliance-left .section-tag-group {
  margin-bottom: 24px;
}

.case-header-left .section-tag-group {
  margin-bottom: 16px;
}

.gold-text,
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Dark Pill Button with Animated Gold Border Spin */
@keyframes btnBorderSpinGold {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-dark-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 5px 5px 5px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 12px;
  border: none;
  overflow: hidden;
  isolation: isolate;
  background: rgba(203, 163, 88, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(203, 163, 88, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

/* The Spinning Gold Conic Beam */
.btn-dark-pill::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(from 0deg,
      transparent 0deg,
      transparent 55deg,
      rgba(203, 163, 88, 0.18) 95deg,
      rgba(212, 175, 55, 0.85) 130deg,
      #ffffff 170deg,
      rgba(255, 230, 150, 1) 185deg,
      rgba(212, 175, 55, 0.95) 210deg,
      rgba(203, 163, 88, 0.25) 250deg,
      transparent 290deg,
      transparent 360deg);
  animation: btnBorderSpinGold 2s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* The Inner Dark Glass Surface */
.btn-dark-pill::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(16, 17, 24, 0.96) 0%, rgba(10, 11, 17, 0.97) 50%, rgba(5, 6, 10, 0.99) 100%);
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  z-index: 1;
  pointer-events: none;
  transition: background 0.3s ease;
}

/* Direct children sit above inner surface */
.btn-dark-pill>* {
  position: relative;
  z-index: 2;
}

.btn-dark-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.65), 0 0 24px rgba(203, 163, 88, 0.35);
}

.btn-dark-pill:hover::before {
  animation-duration: 1.2s;
}

.btn-dark-pill:hover::after {
  background: linear-gradient(145deg, rgba(24, 25, 36, 0.95) 0%, rgba(15, 16, 25, 0.97) 50%, rgba(8, 9, 15, 0.99) 100%);
}

.btn-dark-pill.sm {
  padding: 8px 20px;
  font-size: 13px;
  border-radius: 9999px;
}

.btn-dark-pill.sm::after {
  border-radius: 9998px;
}

.pill-arrow {
  font-size: 14px;
  color: var(--gold-light);
  transition: transform 0.25s ease;
}

.btn-dark-pill:hover .pill-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header-wrapper.scrolled {
  background: rgba(8, 8, 12, 0.2);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.navbar {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow: visible;
  line-height: 1;
  padding: 4px 0;
  transition: opacity 0.3s ease;
}

.nav-logo svg {
  height: 30px;
  width: auto;
  display: block;
  overflow: visible;
}

.nav-logo .logo-letter {
  fill: #ffffff;
}

.nav-logo .logo-amp {
  fill: #c6a46c;
  transition: fill 0.45s ease, filter 0.45s ease;
}

.nav-logo:hover .logo-amp,
.nav-logo:focus-visible .logo-amp {
  fill: #f3e2b8;
  filter:
    drop-shadow(0 0 2px rgba(243, 226, 184, 1)) drop-shadow(0 0 6px rgba(198, 164, 108, 0.95)) drop-shadow(0 0 14px rgba(198, 164, 108, 0.75)) drop-shadow(0 0 28px rgba(212, 175, 55, 0.5));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #a6a197;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-dot {
  color: rgba(212, 175, 55, 0.35);
  font-size: 8px;
  user-select: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-start {
  background: var(--gold-gradient);
  color: #0b0905;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 9px 22px;
  border-radius: 8px 8px 0 8px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(203, 163, 88, 0.25);
}

.btn-start:hover {
  background: linear-gradient(135deg, #ffffff 0%, #edd79b 45%, #cba358 100%);
  box-shadow: 0 4px 22px rgba(203, 163, 88, 0.45);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* Header & Navbar Adaptation for 1024px (Tablet Landscape & Smaller Desktops) */
@media (max-width: 1200px) {
  .navbar {
    max-width: var(--max-width);
    width: 100%;
    padding: 0 var(--container-padding);
  }

  .nav-menu {
    gap: 25px;
  }

  .nav-dot {
    display: none;
  }

  .nav-link {
    font-size: 11.5px;
    letter-spacing: 0.3px;
  }

  .nav-logo svg {
    height: 25px;
  }

  .btn-start {
    font-size: 11.5px;
    padding: 7px 14px;
    letter-spacing: 0.3px;
  }

  /* Sovereign Concept Header (01) Center Alignment at max-width: 1200px */
  .section-positioning .sect-title,
  .section-positioning .s-title,
  .s-title.font-3 {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
  }

  .s-title.font-3 br {
    display: block !important;
  }

  .sovereign-flip-container,
  #sovereignFlipContainer {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 10px auto 0 auto !important;
    max-width: 100% !important;
  }

  .sovereign-flip-container .hero-title-flip-word,
  #sovereignFlipContainer .hero-title-flip-word {
    text-align: center !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    display: inline-block !important;
  }

  .section-positioning .s-sub_title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  /* padding-top: 86px; */
  /* padding-bottom: 50px; */
  overflow: hidden;
  background-color: #000000;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-bg-team {
  content: "";
  position: absolute;
  inset: -20px -20px -80px -20px;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 18%, rgba(224, 179, 105, 0.16), transparent 70%),
    url('assets/bg-team.jpg') center 34% / cover no-repeat;
  filter: brightness(0.98) contrast(1.06);
  pointer-events: none;
  transform: scale(var(--bg-scale, 1.085)) translate3d(var(--bg-tx, 0px), var(--bg-ty, 0px), 0);
  will-change: transform;
}

.hero-team-overlay {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(800px circle at var(--mouse-px, 50%) var(--mouse-py, 45%), rgba(224, 179, 105, 0.08), transparent 70%),
    linear-gradient(90deg,
      rgba(8, 8, 11, 0.94) 0%,
      rgba(8, 8, 11, 0.72) 20%,
      rgba(8, 8, 11, 0.03) 42%,
      rgba(8, 8, 11, 0.10) 58%,
      rgba(8, 8, 11, 0.78) 75%,
      rgba(8, 8, 11, 0.95) 100%),
    linear-gradient(180deg,
      rgba(8, 8, 11, 0.50) 0%,
      transparent 18%,
      transparent 55%,
      rgba(0, 0, 0, 0.65) 75%,
      rgba(0, 0, 0, 0.94) 92%,
      #000000 100%);
  pointer-events: none;
}

/* Deep Black Seamless Bottom Fade */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.20) 25%,
      rgba(0, 0, 0, 0.60) 55%,
      rgba(0, 0, 0, 0.92) 82%,
      #000000 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 86px var(--container-padding) 44px var(--container-padding);
  width: 100%;
}

.hero-social-proof {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 50px;
}

.hero-proof-text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0;
}

.hero-main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hero-title {
  font-family: 'Cormorant Garamond', sans-serif;
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin: 0 0 14px 0;
  text-align: right;
  text-transform: capitalize;
}

.hero-title-line {
  display: inline-block;
}

.hero-title-flip-container {
  display: inline-flex;
  justify-content: flex-end;
  align-items: baseline;
  perspective: 1200px;
  position: relative;
  overflow: visible;
  vertical-align: baseline;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title-flip-word {
  display: inline-block;
  white-space: nowrap;
  line-height: 1.16;
  padding: 4px 4px 16px 4px;
  margin-top: -4px;
  margin-bottom: -16px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
  transform-origin: 50% 50% -22px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  transition: transform 0.68s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.68s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title-flip-word.active {
  position: relative;
  transform: rotateX(0deg) translateY(0);
  opacity: 1;
  filter: blur(0px);
  pointer-events: auto;
}

.hero-title-flip-word.flip-out {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotateX(90deg) translateY(-20px);
  opacity: 0;
  filter: blur(3px);
  pointer-events: none;
}

.hero-title-flip-word.flip-in {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotateX(-90deg) translateY(20px);
  opacity: 0;
  filter: blur(3px);
  pointer-events: none;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: #a1a1aa;
  margin: 0 0 30px 0;
  max-width: 460px;
  text-align: right;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.hero-fullscreen-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0px;
  background: transparent;
  border: 0;
  color: rgb(255 255 255 / 40%);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-fullscreen-btn i {
  font-size: 15px;
  color: #d4af37;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.hero-fullscreen-btn:hover {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.85);
  color: #ffffff;
}

.hero-fullscreen-btn:hover i {
  transform: scale(1.15);
  color: #fff2b2;
}

.hero-fullscreen-btn:active {}

html.fullscreen-active .hero-fullscreen-btn,
.hero-fullscreen-btn.is-active {
  color: #ffffff;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-circle-arrow {
  width: 34px;
  height: 34px;
  background: var(--gold-gradient, linear-gradient(135deg, #fbf0d3 0%, #cba358 50%, #8e6c26 100%));
  border-radius: 8px 8px 0 8px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(203, 163, 88, 0.45);
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.btn-dark-pill:hover .btn-circle-arrow {
  transform: translateX(3px);
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(203, 163, 88, 0.6);
}

.btn-circle-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
  stroke: #0b0905;
}

.btn-circle-arrow svg path {
  stroke: #0b0905;
}



/* --------------------------------------------------------------------------
   6. Partners / Ticker Section
   -------------------------------------------------------------------------- */
.ticker-section {
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #000000;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.ticker-item img {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%) brightness(200%);
  transition: opacity 0.2s;
}

.ticker-item img:hover {
  opacity: 1;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   01 / THE SOVEREIGN CONCEPT (DECK LAYOUT — WALALANGI TYPOGRAPHY)
   ========================================================================== */
.section-positioning {
  position: relative;
  overflow: hidden;
  background: #000000;
  padding: 60px 0 80px;
}

.deck-positioning-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-positioning-backdrop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: -250px;
  opacity: 1;
  transform: scale(0.5);
  pointer-events: none;
}

.deck-positioning-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 65%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 65%, #000000 100%);
  pointer-events: none;
  z-index: 1;
}

.section-positioning .sect-main {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 56px;
}

.section-positioning .sect-title {
  text-align: center;
  margin-bottom: 0;
}

.section-positioning .sect-title .section-tag-group {
  justify-content: center;
  margin-bottom: 14px;
}

.section-positioning .sect-title .s-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-transform: uppercase;
  color: #f4f7f5;
  margin: 0;
}

.section-positioning .sect-title .text-change_wrap {
  display: inline-flex;
  max-width: 100%;
  position: relative;
  margin-top: 6px;
  background: none;
  -webkit-text-fill-color: initial;
}

.section-positioning .sect-title .text-change_rotating {
  display: inline-block;
  color: rgba(244, 247, 245, 0.85);
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

/* --- Sovereign Concept 3D Flip Spin Container --- */
.sovereign-flip-container {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  margin-top: 10px;
  max-width: 100%;
}

.sovereign-flip-container .hero-title-flip-word {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 4px 8px 12px 8px;
  margin-bottom: -12px;
  text-align: center !important;
}

.sovereign-flip-container .hero-title-flip-word.active {
  text-align: center !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sovereign-flip-container .hero-title-flip-word.flip-out,
.sovereign-flip-container .hero-title-flip-word.flip-in {
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: max-content;
  max-width: 100%;
  text-align: center !important;
}

@media (max-width: 768px) {
  .sovereign-flip-container {
    justify-content: center !important;
  }

  .sovereign-flip-container .hero-title-flip-word {
    font-size: clamp(11.5px, 3.2vw, 14.5px);
    letter-spacing: 0.01em;
    padding: 2px 4px 8px 4px;
    margin-bottom: -8px;
  }
}

.section-positioning .sect-title .s-sub_title {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.15vw, 15px);
  color: rgba(255, 255, 255, 0.65);
  max-width: 680px;
  line-height: 1.55;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Section Positioning 2-Column Grid (1 : 1) --- */
.deck-pos-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 250px;
  position: relative;
  padding: 0;
}

@media (min-width: 1024px) {
  .deck-pos-2col {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
  }
}

.deck-pos-table-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.deck-pos-table_intro {
  margin-bottom: 18px;
}

.deck-pos-table_h4 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: capitalize;
  color: #f4f7f5;
}

.deck-pos-table_p {
  margin: 0;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.deck-comp-card_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.deck-comp-card_title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.deck-comp-card_dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: blinkDot 2s infinite ease-in-out;
}

@keyframes blinkDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

.deck-comp-card_tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 600;
}

.deck-comp-table_wrap {
  overflow-x: auto;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.deck-comp-table {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
}

.deck-comp-table thead tr {
  background: rgba(255, 255, 255, 0.04);
}

.deck-comp-table th {
  padding: 10px 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.deck-comp-table th:last-child {
  border-right: 0;
}

.deck-comp-table th.th-provider {
  text-align: left;
  padding-left: 14px;
}

.deck-comp-table th.th-sovereign {
  color: var(--gold-light);
  background: rgba(203, 163, 88, 0.12);
  border-left: 1px solid rgba(203, 163, 88, 0.3);
}

.deck-comp-table tbody {
  height: 100%;
}

.deck-comp-table tbody tr {
  height: 20%;
}

.deck-comp-table td {
  padding: 9px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.deck-comp-table td:last-child {
  border-right: 0;
}

.deck-comp-table td.td-provider {
  text-align: left;
  padding-left: 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.comp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

.comp-icon i {
  display: inline-block;
  line-height: 1;
}

.comp-icon.is-check {
  color: #10b981;
  font-size: 15px;
}

.comp-icon.is-warn {
  color: #f59e0b;
  font-size: 14px;
}

.comp-icon.is-dash {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.deck-comp-table tbody tr.row-nusaraia,
.deck-comp-table tbody tr.row-wplaws {
  background: linear-gradient(90deg, rgba(203, 163, 88, 0.16) 0%, rgba(203, 163, 88, 0.05) 100%);
}

.nusaraia-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nusaraia-brand strong {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.nusaraia-badge {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  color: #080808;
  background: var(--gold-primary);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

.comp-icon.is-highlight {
  color: #10b981;
  font-size: 12px;
  border: 1px solid rgba(16, 185, 129, 0.6);
  background: rgba(16, 185, 129, 0.12);
  height: 22px;
  width: 22px;
  border-radius: 50%;
}

.comp-icon.is-lead {
  font-size: 13px;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(203, 163, 88, 0.18);
  box-shadow: 0 0 12px rgba(203, 163, 88, 0.35);
  transform: scale(1.1);
}

.deck-comp-card_footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
}

.comp-verdict {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 12px;
  background: rgba(203, 163, 88, 0.08);
  border: 1px solid rgba(203, 163, 88, 0.25);
  border-radius: 6px;
}

.comp-verdict strong {
  color: var(--gold-light);
}

/* Right Column (1): 4 Pillars Stack */
.deck-pos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
  height: 100%;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .deck-pos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .deck-pos-grid {
    grid-template-rows: repeat(4, 1fr);
  }
}

.deck-pos-pillar {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 14, 22, 0.28) 45%, rgba(6, 8, 14, 0.35) 100%);
  backdrop-filter: blur(10px) saturate(190%);
  -webkit-backdrop-filter: blur(10px) saturate(190%);
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.deck-pos-pillar:hover {
  border-color: rgba(203, 163, 88, 0.4);
  box-shadow: 0 8px 24px rgba(203, 163, 88, 0.1);
  transform: translateY(-3px);
}

.deck-pos-pillar_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-primary);
}

.pillar-shift-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.pillar-shift-tag .shift-arrow {
  color: var(--gold-primary);
  font-weight: 700;
  margin: 0 4px;
}

.pillar-title {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #f4f7f5;
}

.pillar-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   7. The Platform Section
   -------------------------------------------------------------------------- */
.platform-section {
  position: relative;
  height: 175vh;
  background: transparent;
  box-sizing: border-box;
  overflow-x: clip;
}

.platform-sticky-wrapper {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 0 16px;
}

.platform-sticky-wrapper .container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.platform-header {
  margin-bottom: 8px;
  flex-shrink: 0;
}

.platform-header .section-heading {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
  position: relative;
  width: 100%;
  margin: auto 0;
}

/* Centerpiece Graphic Stack */
.platform-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-centerpiece {
  position: relative;
  width: 100%;
  max-width: 880px;
  height: clamp(340px, 42vh, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-centerpiece .centerpiece-webgl-canvas {
  position: absolute;
  top: 30%;
  left: 70%;
  transform: translate(-50%, -50%);
  width: 180%;
  max-width: 1300px;
  height: 750px;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  border-radius: 30px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at center, black 30%, transparent 75%);
}

.platform-centerpiece .centerpiece-glow {
  position: absolute;
  top: 40%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 170%;
  max-width: 1300px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  display: block;
  opacity: 0.8;
  filter: drop-shadow(0 0 90px rgba(203, 163, 88, 0.65)) brightness(.3) saturate(1.3);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at center, black 40%, transparent 80%);
}

.platform-centerpiece .centerpiece-logo {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 720px;
  height: auto;
  z-index: 2;
  opacity: 0.9;
}

.platform-centerpiece .platform-mockup-img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100%;
  max-width: min(100%, 820px);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(224, 179, 105, 0.35);
  display: block;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-50%, -46%) scale(0.98);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(203, 163, 88, 0.22));
  pointer-events: none;
}

.platform-centerpiece .platform-mockup-img.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Timeline on Right */
.platform-timeline {
  display: flex;
  gap: 22px;
  position: relative;
  align-self: center;
}

.timeline-indicator-track {
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 2px;
  flex-shrink: 0;
}

.timeline-indicator-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  max-height: 100%;
  background: linear-gradient(180deg, #fcf4de 0%, #edd79b 40%, #cba358 80%, #91712a 100%);
  border-radius: 2px;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(203, 163, 88, 0.6), 0 0 24px rgba(145, 113, 42, 0.4);
  will-change: height;
}

.timeline-indicator-bar::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #edd79b;
  box-shadow: 0 0 8px #edd79b, 0 0 16px #cba358;
  transition: opacity 0.3s ease;
}

.timeline-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.timeline-item.passed {
  opacity: 0.7;
}

.timeline-item.active,
.timeline-item:hover {
  opacity: 1;
}

.timeline-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: opacity 0.3s ease;
  margin-bottom: 2px;
}

.timeline-item:not(.active):not(.passed) .timeline-num {
  background: none;
  -webkit-text-fill-color: #736f66;
  color: #736f66;
}

.timeline-item.passed:not(.active) .timeline-num {
  background: linear-gradient(135deg, rgba(237, 215, 155, 0.8) 0%, rgba(203, 163, 88, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.timeline-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #8e8e93;
  max-width: 320px;
}

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 0 110px;
  background: #000000;
  position: relative;
  overflow: hidden;
}

/* Left-Right Section Header */
.services-header {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 36px;
  text-align: left;
}

.services-header .section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.platform-tag,
.services-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
}

.platform-tag .tag-accent,
.services-tag .tag-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  font-weight: 600;
  display: inline-block;
}

.platform-tag .tag-label,
.services-tag .tag-label {
  color: #a1a1aa;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
}

.services-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0;
  text-align: left;
}

.services-subheading {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #a1a1aa;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

/* Center: Large Showcase Visual Console */
.services-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.service-showcase-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  background: rgba(12, 12, 16, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.95), 0 0 35px rgba(203, 163, 88, 0.08);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Window Console Top Bar */
.service-showcase-window-bar {
  height: 44px;
  background: rgba(20, 20, 26, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.window-title {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.window-badge {
  background: rgba(203, 163, 88, 0.12);
  border: 1px solid rgba(203, 163, 88, 0.28);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

/* Widescreen App Graphic Display */
.service-graphic-container {
  position: relative;
  width: 100%;
  height: clamp(380px, 42vw, 550px);
  background: #040405;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-graphic-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.99);
  pointer-events: none;
}

.service-graphic-img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Integrated Card Information Footer Strip */
.service-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 32px 24px;
  background: rgba(14, 14, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card-info-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.service-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card-badge {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card-bar {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-gradient);
  box-shadow: 0 0 8px rgba(203, 163, 88, 0.6);
}

.service-card-title {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #ffffff;
  line-height: 1.3;
  transition: opacity 0.25s ease;
}

.service-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #a1a1aa;
  max-width: 620px;
  margin: 0;
  transition: opacity 0.25s ease;
}

/* Interactive Selection List (Tabs Above Console) */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 26px;
}

.service-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(14, 14, 20, 0.6) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.service-row:hover {
  border-color: rgba(203, 163, 88, 0.4);
  box-shadow: 0 8px 24px rgba(203, 163, 88, 0.12);
  transform: translateY(-3px);
}

.service-row.active {
  border-color: rgba(203, 163, 88, 0.6);
  background: linear-gradient(145deg, rgba(203, 163, 88, 0.12) 0%, rgba(20, 20, 28, 0.85) 100%);
  box-shadow: 0 10px 30px rgba(203, 163, 88, 0.18), inset 0 1px 0 rgba(203, 163, 88, 0.3);
  transform: translateY(-2px);
}

/* Active indicator strip on bottom edge towards console */
.service-row.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--gold-gradient);
  box-shadow: 0 0 12px rgba(203, 163, 88, 0.5);
}

.service-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.service-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.service-row.active .service-icon-box {
  color: var(--gold-primary);
  background: rgba(203, 163, 88, 0.14);
  border-color: rgba(203, 163, 88, 0.35);
}

.service-row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.service-row-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.service-row-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #a1a1aa;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.service-row.active .service-row-title,
.service-row:hover .service-row-title {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .services-header {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: flex-start;
  }

  .service-card-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
  }

  .service-graphic-container {
    height: 400px;
  }

  .services-list {
    gap: 12px;
  }

  .service-row {
    padding: 14px 16px;
  }
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
  }

  .service-graphic-container {
    height: 280px;
  }

  .service-showcase-window-bar {
    padding: 0 14px;
  }

  .window-badge {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   9. Benefit Section - Interactive Peek Carousel / Slider
   -------------------------------------------------------------------------- */
.benefit-section {
  padding: 120px 0 100px;
  background: #000000;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.benefit-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-header {
  text-align: center;
  margin-bottom: 54px;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.benefit-tag .tag-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  font-weight: 600;
  display: inline-block;
}

.benefit-tag .tag-label {
  color: #a1a1aa;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
}

.benefit-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
}

/* Slider Track Wrapper */
.benefit-slider-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;
  display: flex;
  justify-content: flex-start;
  touch-action: pan-y;
}

.benefit-slider-track {
  display: flex;
  gap: 32px;
  align-items: center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.benefit-slide {
  flex: 0 0 880px;
  max-width: 880px;
  width: 880px;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.32;
  transform: scale(0.96);
  cursor: pointer;
}

.benefit-slide.active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.benefit-card {
  background: #09090c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 38px 44px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.95);
  height: 490px;
  display: flex;
  flex-direction: column;
}

/* Top Progress Bar Indicator inside active card */
.benefit-progress-bar {
  width: 100%;
  max-width: 220px;
  margin-bottom: 28px;
}

.benefit-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.benefit-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.benefit-slide.active .benefit-progress-fill {
  width: 100%;
  transition: width 3s linear;
}

/* Card Body Layout */
.benefit-card-body {
  position: static;
  display: flex;
  align-items: center;
  flex: 1;
}

.benefit-card-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 6px;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 360px;
}

.benefit-category {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #a1a1aa;
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
}

.benefit-card-title {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: #ffffff;
  margin-bottom: auto;
  max-width: 350px;
}

.benefit-card-bottom {
  margin-top: 32px;
}

.benefit-subhead {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}

.benefit-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 24px;
  max-width: 340px;
}

.benefit-card-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.benefit-card-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(9, 9, 12, 0.98) 0%, rgba(9, 9, 12, 0.85) 18%, rgba(9, 9, 12, 0.28) 38%, transparent 52%);
  z-index: 2;
  pointer-events: none;
}

.benefit-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 0 24px 24px 0;
  border: none;
  box-shadow: none;
  opacity: 0.96;
}

/* Slider Pagination Dots */
.benefit-slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  justify-content: center;
  align-items: center;
}

.slider-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-dot.active {
  background: var(--gold-gradient);
  box-shadow: 0 0 10px rgba(203, 163, 88, 0.6);
  width: 44px;
}

/* --------------------------------------------------------------------------
   Capabilities Section (05 / CAPABILITIES)
   -------------------------------------------------------------------------- */
.capabilities-section {
  background-color: #000000;
  border-radius: 24px;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  box-sizing: border-box;
}

.capabilities-container {
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  position: relative;
  box-sizing: border-box;
}

/* Left Section Tag Wrap */
.capabilities-tag-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 6px;
}

.capabilities-section-number {
  display: inline-flex;
}

.cap-number-gradient {
  font-family: var(--font-mono, "Poppins", sans-serif);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  text-transform: uppercase;
  display: inline-block;
}

.capabilities-section-tag {
  display: inline-flex;
}

.cap-tag-text {
  font-family: var(--font-mono, "Poppins", sans-serif);
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  margin: 0;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  display: inline-block;
}

/* Right Capabilities Main */
.capabilities-main {
  max-width: 970px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

/* Header Wrap: Kanan Kiri Space Between */
.capabilities-header-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}

.capabilities-title-wrap {
  flex: 1 1 auto;
  max-width: 580px;
}

.capabilities-desc-wrap {
  flex: 0 1 400px;
  max-width: 400px;
}

.capabilities-heading {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.2vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0;
}

/* Capabilities Button */
.capabilities-btn-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.capabilities-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  min-height: 46px;
  padding: 4px 6px 4px 24px;
  border-radius: 8px 8px 18px 8px;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.capabilities-btn:hover {
  transform: translateY(-1px);
}

.cap-btn-bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cap-btn-svg-container {
  width: 100%;
  height: 100%;
}

.cap-btn-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 20px;
  color: #ffffff;
  text-transform: uppercase;
  user-select: none;
}

.cap-btn-arrow-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cap-btn-arrow-bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-btn-arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.capabilities-btn:hover .cap-btn-arrow-icon {
  transform: translate(-42%, -50%);
}

/* Capabilities Cards Wrap */
.capabilities-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  position: relative;
}

/* Capabilities Card (Sticky Stack) */
.capabilities-card {
  background-color: #000000;
  width: 100%;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  will-change: transform;
  transform-origin: center top;
  transition: transform 0.12s ease-out;
}

.capabilities-card#cc_id_2 {
  position: sticky;
  top: 100px;
  z-index: 1;
}

.capabilities-card#cc_id_1 {
  position: sticky;
  top: 140px;
  z-index: 2;
}

.capabilities-card#cc_id_3 {
  position: relative;
  z-index: 3;
}

/* Card Top Border Line */
.cap-card-border {
  height: 1px;
  background: #a0a0a0;
  opacity: 0.25;
  width: 100%;
  flex-shrink: 0;
}

/* Card Content: Details Left, Graphic Right */
.cap-card-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
  box-sizing: border-box;
}

.cap-card-details {
  max-width: 320px;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Icon Wrap */
.cap-card-icon-wrap {
  border: 1px solid #404040;
  border-radius: 6px;
  padding: 16px 18px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
}

.cap-icon-svg {
  width: 23px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Title & Description Wrap */
.cap-card-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cap-card-title,
.cap-card-title h6 {
  font-family: var(--font-mono, "Inter Tight", sans-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.33;
  color: var(--gold-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.cap-card-desc p {
  font-family: var(--font-mono, "Inter Tight", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Card Image Box */
.cap-card-image-wrap {
  max-width: 60%;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(224, 179, 105, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  background: #08080a;
  flex-shrink: 1;
}

.cap-card-image-inner {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

.cap-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Responsive Styles for Capabilities Section */
@media (max-width: 1100px) {
  .capabilities-container {
    gap: 32px;
  }

  .capabilities-heading {
    font-size: 40px;
  }

  .cap-card-content {
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .capabilities-section {
    padding: 80px 20px;
  }

  .capabilities-container {
    flex-direction: column;
    gap: 40px;
  }

  .capabilities-main {
    gap: 60px;
  }

  .capabilities-header-wrap {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .capabilities-title-wrap,
  .capabilities-desc-wrap {
    max-width: 100%;
  }

  .capabilities-heading {
    font-size: 34px;
  }

  .cap-card-content {
    flex-direction: column;
    gap: 28px;
  }

  .cap-card-details {
    max-width: 100%;
    width: 100%;
    min-height: auto;
  }

  .cap-card-image-wrap {
    max-width: 100%;
    width: 100%;
    height: clamp(260px, 45vw, 400px);
  }

  .capabilities-card#cc_id_2,
  .capabilities-card#cc_id_1,
  .capabilities-card#cc_id_3 {
    position: relative;
    top: auto;
  }
}

/* --------------------------------------------------------------------------
   Case Study Section
   -------------------------------------------------------------------------- */
.case-study-section {
  position: relative;
  background: #000000;
  padding: 120px 24px 140px;
  overflow: hidden;
  color: #ffffff;
}

.case-container {
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

/* Header Row: Left Title/Badge, Right Partner Logos */
.case-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.case-header-left {
  display: flex;
  flex-direction: column;
}

.case-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.case-number-gradient {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-primary);
  display: inline-block;
}

.case-tag-text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #a1a1aa;
  text-transform: uppercase;
  display: inline-block;
}

.case-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0;
}

/* Header Right Container & Description */
.case-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  max-width: 640px;
  text-align: right;
}

.case-header-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* Partner / Spec Tags Row (Single Line) */
.case-partners-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: flex-end;
  max-width: 100%;
}

.case-partner-logo {
  display: flex;
  align-items: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.case-partner-logo span {
  white-space: nowrap;
}

.case-partner-logo.logo-faint {
  opacity: 0.3;
}

/* Cards Grid */
.case-cards-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 24px;
  align-items: stretch;
  min-height: 490px;
}

/* Left Media Card */
.case-media-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #09090d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.case-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040507;
}

.case-media-video-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: blur(4px);
  transform: scale(1.03);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.case-media-video-item.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  pointer-events: auto;
}

/* Photorealistic 3D Dark Gold Hardware Illustration */
.case-video-base-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-media-video-item.active .case-video-base-img {
  transform: scale(1);
}

.case-media-video-item:not(.active) .case-video-base-img {
  transform: scale(1.04);
}

/* Live Animated Ambient Stream in Dark Gold Sepia */
.case-video-ambient-stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
  opacity: 0.38;
  mix-blend-mode: screen;
  filter: sepia(100%) hue-rotate(5deg) saturate(280%) brightness(0.9) contrast(1.3);
  pointer-events: none;
}

.case-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.case-overlay-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(6, 7, 10, 0.98) 0%,
      rgba(6, 7, 10, 0.88) 32%,
      rgba(6, 7, 10, 0.42) 60%,
      rgba(6, 7, 10, 0.12) 80%,
      rgba(6, 7, 10, 0.35) 100%);
  pointer-events: none;
  z-index: 3;
}

.case-overlay-content {
  position: relative;
  z-index: 4;
  padding: 36px 40px 32px;
}

.case-spec-chip-wrap {
  margin-bottom: 12px;
}

.case-spec-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(203, 163, 88, 0.12);
  border: 1px solid rgba(203, 163, 88, 0.28);
  padding: 3px 10px;
  border-radius: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-card-title {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  transition: opacity 0.3s ease;
}

.case-card-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

.case-card-details-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.case-card-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
  max-width: 500px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.case-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.case-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.case-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.case-arrow-btn:active {
  transform: translateY(0);
}

/* Right Stat Card */
.case-stat-card {
  position: relative;
  border-radius: 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(203, 163, 88, 0.16) 0%, rgba(203, 163, 88, 0.05) 45%, transparent 65%),
    linear-gradient(155deg, #16130d 0%, #0e0c08 55%, #070604 100%);
  border: 1px solid rgba(203, 163, 88, 0.35);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(237, 215, 155, 0.12);
  overflow: hidden;
}

/* Chamfered Cut-Corner Diagonal Border */
.case-stat-chamfer-border {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 5;
}

.case-stat-chamfer-border line {
  stroke: rgba(203, 163, 88, 0.35);
  stroke-width: 2;
}

/* Subtle dark gold ambient bloom inside stat card */
.case-stat-card::after {
  display: none;
}

.case-stat-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.case-stat-accent-bar {
  width: 28px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin-bottom: 16px;
  box-shadow: 0 0 10px rgba(203, 163, 88, 0.7);
}

.case-stat-badge-tier {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(203, 163, 88, 0.12);
  border: 1px solid rgba(203, 163, 88, 0.32);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}

.case-stat-subtitle {
  font-family: var(--font-heading, var(--font-serif));
  font-size: 24px;
  line-height: 1.35;
  color: #f8fafc;
  margin: 0 0 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.case-stat-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
}

/* Specification Detail List */
.case-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-spec-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.case-spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-spec-dot {
  display: none;
}

.case-spec-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.case-spec-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(203, 163, 88, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.case-spec-val {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: #f1f5f9;
  display: block;
}

.case-spec-val strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* Bottom Category Tabs */
.case-tabs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.case-tab-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
}

.case-tab-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.case-tab-fill {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px rgba(203, 163, 88, 0.7);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.case-tab-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #71717a;
  transition: color 0.25s ease;
}

.case-tab-item:hover .case-tab-label {
  color: #cbd5e1;
}

.case-tab-item.active .case-tab-label {
  color: #ffffff;
}

/* Fading transition */
.case-card-title.fading,
.case-card-desc.fading,
.case-spec-chip.fading,
.case-stat-subtitle.fading,
.case-media-img.fading,
.case-spec-list.fading {
  opacity: 0;
  transform: translateY(4px);
}

/* Responsive */
@media (max-width: 1080px) {
  .case-cards-grid {
    grid-template-columns: 1fr 340px;
    gap: 20px;
  }

  .case-stat-number {
    font-size: 80px;
  }
}

@media (max-width: 860px) {
  .case-study-section {
    padding: 80px 16px 100px;
  }

  .case-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .case-header-right {
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }

  .case-header-desc {
    text-align: left;
  }

  .case-partners-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .case-partners-row::-webkit-scrollbar {
    display: none;
  }

  .case-heading {
    font-size: 32px;
  }

  .case-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-media-card {
    min-height: 420px;
  }

  .case-stat-card {
    min-height: 260px;
  }

  .case-tabs-row {
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   14. Sovereign Cloud OS Perspective Section
   -------------------------------------------------------------------------- */
.os-section {
  position: relative;
  background: #000000;
  color: #ffffff;
  overflow-x: clip;
}

/* 09 Header Wrapper: Scrolls naturally above sticky stage */
.os-header-wrapper {
  position: relative;
  z-index: 2;
  padding: 100px 0 45px;
  background: #000000;
}

.os-header {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.os-header .section-tag-group {
  justify-content: center;
  margin-bottom: 14px;
}

.os-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
  padding: 2px 0;
}

.os-subheading {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto;
}

.os-subheading strong {
  color: #ffffff;
  font-weight: 500;
}

/* Scroll Track & Dedicated Sticky Perspective Showcase */
.os-scroll-track {
  position: relative;
  height: 250vh;
  touch-action: pan-y;
}

.os-sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
  touch-action: pan-y;
  padding: calc(64px + clamp(8px, 1.5vh, 18px)) clamp(16px, 2.5vw, 32px) clamp(12px, 1.8vh, 22px);
  box-sizing: border-box;
}

.os-container {
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 100%;
  justify-content: center;
}

/* 3D Perspective Stage: Centers mockup in viewport with maximum scale */
.os-perspective-stage {
  --os-mockup-width: min(1360px, 94vw, calc((100vh - 164px) * 1.839));
  position: relative;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1400px;
  -webkit-perspective: 1400px;
  flex: 0 1 auto;
  min-height: 0;
  justify-content: center;
}

/* Ambient Backlight Glow */
.os-ambient-glow {
  position: absolute;
  inset: -60px -80px -100px;
  pointer-events: none;
  z-index: 0;
  filter: blur(55px);
  opacity: 0.85;
  transition: background 0.6s ease, opacity 0.6s ease;
}

.os-ambient-glow.glow-amber {
  background: radial-gradient(ellipse 85% 55% at 50% 40%, rgba(245, 158, 11, 0.42) 0%, rgba(217, 119, 6, 0.22) 45%, transparent 75%);
}

.os-ambient-glow.glow-emerald {
  background: radial-gradient(ellipse 85% 55% at 50% 40%, rgba(34, 197, 94, 0.42) 0%, rgba(22, 163, 74, 0.22) 45%, transparent 75%);
}

.os-ambient-glow.glow-blue {
  background: radial-gradient(ellipse 85% 55% at 50% 40%, rgba(56, 189, 248, 0.45) 0%, rgba(37, 99, 235, 0.22) 45%, transparent 75%);
}

/* Screen Frame: Expanded to maximum size with dedicated viewport height */
.os-screen-frame {
  position: relative;
  z-index: 1;
  width: var(--os-mockup-width);
  max-width: 1360px;
  max-height: calc(100vh - 164px);
  transform-origin: center top;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(42deg) scale(0.88);
  transition: transform 0.1s linear;
}

.os-screen-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 2880 / 1566;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: #000000;
}

/* Image layers: Cinematic Zero-Dip Cross-Dissolve */
.os-slide-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

.os-slide-layer.prev {
  opacity: 1;
  z-index: 2;
  transition: none;
  pointer-events: none;
}

.os-slide-layer.active {
  opacity: 1;
  z-index: 3;
  pointer-events: none;
}

.os-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

/* Interactive Floating App Switcher Navigation */
.os-pills-nav-wrapper {
  margin-top: clamp(8px, 1.3vh, 14px);
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  width: var(--os-mockup-width);
  max-width: 1360px;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.os-app-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 28px, black calc(100% - 28px), transparent);
}

.os-app-pills::-webkit-scrollbar {
  display: none;
}

.os-pill-btn {
  padding: clamp(5px, 0.8vh, 7px) clamp(10px, 1.2vw, 15px);
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: #a1a1aa;
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.15vh, 12.5px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.os-pill-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.os-pill-btn.active {
  color: #ffd875;
  background: rgba(212, 160, 23, 0.18);
  border-color: rgba(212, 160, 23, 0.65);
  box-shadow: 0 0 14px rgba(212, 160, 23, 0.22);
}

.os-pill-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.os-pill-arrow:hover {
  background: rgba(212, 160, 23, 0.2);
  border-color: rgba(212, 160, 23, 0.6);
  color: #ffd875;
  transform: scale(1.05);
}

.os-pill-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 9999px;
  flex-shrink: 0;
  white-space: nowrap;
}

.os-pill-counter .os-counter-current {
  color: #f59e0b;
  font-weight: 700;
}

/* Responsive OS Section */
@media (max-height: 850px) {
  .os-sticky-frame {
    padding: calc(64px + 8px) 18px 12px;
  }

  .os-perspective-stage {
    --os-mockup-width: min(1280px, 94vw, calc((100vh - 146px) * 1.839));
  }

  .os-screen-frame {
    max-height: calc(100vh - 146px);
  }

  .os-pills-nav-wrapper {
    margin-top: 8px;
  }
}

@media (max-height: 720px) {
  .os-sticky-frame {
    padding: calc(64px + 6px) 14px 10px;
  }

  .os-perspective-stage {
    --os-mockup-width: min(1120px, 94vw, calc((100vh - 130px) * 1.839));
  }

  .os-screen-frame {
    max-height: calc(100vh - 130px);
  }

  .os-pills-nav-wrapper {
    margin-top: 6px;
  }

  .os-pill-btn {
    padding: 4px 10px;
    font-size: 11px;
  }

  .os-pill-arrow {
    width: 28px;
    height: 28px;
  }

  .os-pill-counter {
    padding: 4px 8px;
    font-size: 10px;
  }
}

/* Tablet & Touch Optimization for Sovereign OS Section (Smooth effortless scrolling without pin traps) */
@media (max-width: 1024px),
(hover: none) and (pointer: coarse) {
  .os-section {
    overflow-x: clip;
    touch-action: pan-y;
  }

  .os-scroll-track {
    height: 135vh;
    touch-action: pan-y;
  }

  .os-sticky-frame {
    overflow: visible !important;
    touch-action: pan-y;
    padding: calc(64px + 8px) clamp(14px, 2vw, 24px) 12px;
  }

  .os-container {
    touch-action: pan-y;
  }

  .os-perspective-stage {
    touch-action: pan-y;
    --os-mockup-width: min(1200px, 94vw, calc((100vh - 146px) * 1.839));
  }

  .os-screen-frame {
    touch-action: pan-y;
    max-height: calc(100vh - 146px);
  }

  .os-screen-inner {
    touch-action: pan-y;
  }

  .os-slide-layer,
  .os-slide-layer.active {
    pointer-events: none !important;
    touch-action: pan-y;
  }

  .os-screen-img {
    pointer-events: none !important;
    touch-action: pan-y;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
  }

  .os-pills-nav-wrapper {
    touch-action: pan-y;
    margin-top: 8px;
  }

  .os-app-pills {
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .os-pill-btn,
  .os-pill-arrow {
    touch-action: manipulation;
    pointer-events: auto !important;
  }

  .lifecycle-ipad-bg,
  .lifecycle-macbook-wrap,
  .lifecycle-ipad-canvas,
  .lifecycle-macbook-canvas {
    touch-action: pan-y !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 900px) {
  .os-header-wrapper {
    padding: 70px 0 30px;
  }

  .os-heading {
    font-size: 28px;
  }

  .os-screen-frame {
    transform: rotateX(25deg) scale(0.92);
  }

  .os-screen-inner {
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .os-header-wrapper {
    padding: 60px 0 24px;
  }

  .os-sticky-frame {
    padding: 16px 12px;
  }

  .os-heading {
    font-size: 24px;
  }

  .os-subheading {
    font-size: 13px;
  }

  .os-pill-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   CTA & Footer Wrapper with Continuous WebGL Background
   -------------------------------------------------------------------------- */
.cta-footer-wrap {
  position: relative;
  background: #000000;
  overflow: hidden;
  width: 100%;
}

.cta-bg-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: #000000;
}

.cta-webgl-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* Seamless natural edge blending to sections above */
.cta-bg-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.4) 6%, transparent 18%, transparent 88%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 2;
}

.cta-bg-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 2;
}

.cta-section {
  position: relative;
  padding: clamp(100px, 12vh, 140px) 0 clamp(70px, 9vh, 100px);
  background: transparent;
  overflow: visible;
  text-align: center;
  z-index: 2;
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--max-width);
  padding: 0 var(--container-padding);
  width: 100%;
  margin: 0 auto;
}

.cta-tag-group {
  margin-bottom: 20px;
  justify-content: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.2vw, 40px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.6px;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.15vw, 15px);
  line-height: 1.68;
  color: #94a3b8;
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vh, 56px);
}

.cta-desc em {
  color: #ffffff;
  font-style: normal;
  border-bottom: 1px solid rgba(203, 163, 88, 0.4);
}

/* 3 Executive Pillars Grid */
.cta-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  margin-bottom: clamp(36px, 4.5vh, 48px);
  text-align: left;
}

.cta-pillar-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-pillar-card:hover {
  border-color: rgba(203, 163, 88, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.cta-pillar-card.featured {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.cta-pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}

.cta-pillar-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.cta-pillar-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
}

.cta-pillar-status.gold {
  border-color: rgba(203, 163, 88, 0.4);
  color: #ffd875;
  background: rgba(203, 163, 88, 0.1);
}

.cta-pillar-title {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.cta-pillar-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.62;
  color: #94a3b8;
  flex-grow: 1;
  margin-bottom: 18px;
}

.cta-pillar-desc strong {
  color: #ffffff;
  font-weight: 500;
}

.cta-pillar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a1a1aa;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gold-bullet {
  color: var(--gold-primary);
  font-size: 8px;
}

/* Executive Action & Sign-off Box */
.cta-action-box {
  width: 100%;
  max-width: 960px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(28px, 4vh, 38px) clamp(20px, 3.5vw, 40px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.cta-action-box:hover {
  border-color: rgba(203, 163, 88, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.cta-action-content {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.cta-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.cta-btn-primary {
  background: var(--gold-gradient);
  color: #0b0905;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 14px 30px;
  border-radius: 8px 8px 0 8px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(203, 163, 88, 0.32);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cta-btn-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #edd79b 45%, #cba358 100%);
  box-shadow: 0 6px 30px rgba(203, 163, 88, 0.55);
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cta-btn-secondary:hover {
  background: rgba(203, 163, 88, 0.1);
  border-color: rgba(203, 163, 88, 0.5);
  color: #ffd875;
  transform: translateY(-2px);
}

.cta-btn-arrow {
  transition: transform 0.2s ease;
}

.cta-btn-primary:hover .cta-btn-arrow {
  transform: translateX(3px);
}

.cta-btn-secondary:hover .cta-btn-arrow {
  transform: translate(2px, -2px);
}

.cta-confidentiality-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.5;
  max-width: 800px;
  text-align: center;
}

.cta-shield-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.cta-confidentiality-text strong {
  color: #ffffff;
  font-weight: 600;
}

/* Sign-off Accreditation */
.cta-signoff-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  flex-wrap: wrap;
  text-align: center;
}

.cta-recipient,
.cta-association {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cta-recipient-label,
.cta-association-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
}

.cta-recipient-name,
.cta-association-name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #ffffff;
  font-weight: 500;
}

.cta-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

/* Responsive CTA */
@media (max-width: 992px) {
  .cta-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-action-box {
    padding: 28px 20px 20px;
  }

  .cta-buttons-wrap {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-divider {
    display: none;
  }

  .cta-signoff-footer {
    flex-direction: column;
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: transparent;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  padding: 25px 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow: visible;
  line-height: 1;
}

.footer-logo svg {
  height: 36px;
  width: auto;
  display: block;
  overflow: visible;
}

.footer-logo .logo-letter {
  fill: #ffffff;
}

.footer-logo .logo-amp {
  fill: #c6a46c;
  transition: fill 0.45s ease, filter 0.45s ease;
}

.footer-logo:hover .logo-amp {
  fill: #f3e2b8;
  filter:
    drop-shadow(0 0 2px rgba(243, 226, 184, 1)) drop-shadow(0 0 6px rgba(198, 164, 108, 0.95)) drop-shadow(0 0 14px rgba(198, 164, 108, 0.75)) drop-shadow(0 0 28px rgba(212, 175, 55, 0.5));
}

.footer-newsletter {
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #71717a;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 4px 6px 4px 18px;
  width: 320px;
}

.newsletter-form input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  flex: 1;
}

.newsletter-form input::placeholder {
  color: #71717a;
}

.newsletter-form button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s;
}

.newsletter-form button:hover {
  transform: translateX(2px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: -0.14px;
  color: #71717a;
  text-transform: uppercase;
}

.col-title.mt {
  margin-top: 16px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #9ca3af;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-size: 13px;
  color: #71717a;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.back-to-top:hover {
  color: #ffffff;
}

.back-to-top .btt-arrow {
  color: var(--gold-primary);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.2s ease;
}

.back-to-top:hover .btt-arrow {
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }

  .section-heading {
    font-size: 40px;
  }

  .hero-main-content {
    align-items: flex-end;
    text-align: right;
  }

  .hero-title,
  .hero-subtitle {
    text-align: right;
  }

  .hero-section .hero-title-flip-container {
    justify-content: flex-end;
  }

  .hero-section .hero-title-flip-word.flip-out,
  .hero-section .hero-title-flip-word.flip-in {
    right: 0;
    left: auto;
  }

  .hero-cta {
    justify-content: flex-end;
  }


  .services-layout,
  .benefit-card {
    grid-template-columns: 1fr;
  }

  .capabilities-stack {
    grid-template-columns: 1fr;
  }

  .platform-section {
    position: relative;
    height: 170vh;
    padding: 0;
    box-sizing: border-box;
  }

  .platform-sticky-wrapper {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px 0 16px;
  }

  .platform-grid {
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: center;
  }

  .platform-centerpiece {
    height: clamp(300px, 38vh, 400px);
  }

  .platform-centerpiece .platform-mockup-img {
    width: 100%;
    max-width: 680px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .section-heading {
    font-size: 32px;
  }

  .platform-features-row {
    grid-template-columns: 1fr;
  }


  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .newsletter-form {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   WPLAWS.AI — Rich Institutional Proposal Extensions
   ========================================================================== */


/* 2. 7-Stage M&A Lifecycle Engine Section */
.lifecycle-section {
  position: relative;
  min-height: 980px;
  padding: 100px 0 110px 0;
  background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.05) 0%, transparent 60%), #000000;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  overflow: hidden;
}

/* 3D Interactive iPad Pro Background Showcase */
.lifecycle-ipad-bg,
.lifecycle-macbook-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.lifecycle-ipad-bg:active,
.lifecycle-macbook-wrap:active {
  cursor: grabbing;
}

.lifecycle-ipad-glow,
.lifecycle-macbook-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(203, 163, 88, 0.18) 0%, rgba(203, 163, 88, 0.03) 50%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 2;
}

.lifecycle-ipad-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 18%, transparent 32%, transparent 74%, rgba(0, 0, 0, 0.7) 90%, rgba(0, 0, 0, 0.98) 100%);
}

.lifecycle-ipad-canvas,
.lifecycle-macbook-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  touch-action: pan-y;
}

.lifecycle-ipad-hint,
.lifecycle-macbook-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  background: rgba(12, 11, 16, 0.88);
  border: 1px solid rgba(203, 163, 88, 0.35);
  border-radius: 999px;
  padding: 7px 16px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(203, 163, 88, 0.15);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lifecycle-ipad-hint i,
.lifecycle-macbook-hint i {
  font-size: 13px;
  color: var(--gold-primary);
}

.lifecycle-ipad-bg.is-interacting .lifecycle-ipad-hint,
.lifecycle-macbook-wrap.is-interacting .lifecycle-macbook-hint {
  opacity: 0.25;
}

.container.lifecycle-container {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.lifecycle-header {
  pointer-events: auto;
  margin-bottom: 0;
  text-align: center;
}

.lifecycle-header .lifecycle-subtitle {
  max-width: 580px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  text-align: center;
}

.lifecycle-stage-spacer {
  height: 500px;
  pointer-events: none;
}

.lifecycle-grid {
  pointer-events: auto;
  position: relative;
  z-index: 12;
}

@media (max-width: 1024px) {
  .lifecycle-stage-spacer {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .lifecycle-stage-spacer {
    height: 300px;
  }
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 275px;
  gap: 12px;
  width: 100%;
  align-items: stretch;
  transition: grid-template-columns 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active and Hover States per Stage (7 Columns: Active 2fr, Others 1fr) */
.lifecycle-grid:has(.lifecycle-card:nth-child(1).active) {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(2).active) {
  grid-template-columns: 1fr 2fr 1fr 1fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(3).active) {
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(4).active) {
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(5).active) {
  grid-template-columns: 1fr 1fr 1fr 1fr 2fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(6).active) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 2fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(7).active) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 2fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(1):hover) {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(2):hover) {
  grid-template-columns: 1fr 2fr 1fr 1fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(3):hover) {
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(4):hover) {
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(5):hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 2fr 1fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(6):hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 2fr 1fr;
}

.lifecycle-grid:has(.lifecycle-card:nth-child(7):hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 2fr;
}

.lifecycle-card {
  position: relative;
  height: 275px;
  max-height: 275px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(12, 14, 20, 0.68) 0%, rgba(7, 8, 14, 0.78) 55%, rgba(4, 5, 9, 0.84) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 20px 14px;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  cursor: pointer;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
}

.lifecycle-card:hover,
.lifecycle-grid:not(:hover) .lifecycle-card.active {
  border-color: rgba(203, 163, 88, 0.55);
  background: linear-gradient(165deg, rgba(24, 21, 30, 0.82) 0%, rgba(13, 12, 18, 0.88) 55%, rgba(7, 6, 11, 0.92) 100%);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.75), 0 0 24px rgba(203, 163, 88, 0.14), inset 0 1px 0 rgba(203, 163, 88, 0.28);
}

/* Never put opacity on the card container itself as opacity < 1 cancels backdrop-filter in WebKit/Chrome */
.lifecycle-grid:hover .lifecycle-card:not(:hover) {
  background: linear-gradient(165deg, rgba(7, 8, 12, 0.76) 0%, rgba(3, 4, 7, 0.86) 100%);
  border-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.lifecycle-grid:hover .lifecycle-card:not(:hover) .lifecycle-title,
.lifecycle-grid:hover .lifecycle-card:not(:hover) .lifecycle-step-num,
.lifecycle-grid:hover .lifecycle-card:not(:hover) .lifecycle-icon {
  opacity: 0.5;
}

.lifecycle-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 6px;
}

.lifecycle-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.lifecycle-card:hover .lifecycle-step-num,
.lifecycle-grid:not(:hover) .lifecycle-card.active .lifecycle-step-num {
  background: rgba(203, 163, 88, 0.22);
  border-color: rgba(203, 163, 88, 0.45);
  color: #ffffff;
}

.lifecycle-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.lifecycle-card:hover .lifecycle-icon,
.lifecycle-grid:not(:hover) .lifecycle-card.active .lifecycle-icon {
  color: var(--gold-light);
  transform: scale(1.08);
}

.lifecycle-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgb(255 255 255 / 60%);
  line-height: 1.25;
  margin-bottom: 8px;
  word-break: break-word;
  transition: font-size 0.3s ease, color 0.3s ease;
}

.lifecycle-card:hover .lifecycle-title,
.lifecycle-grid:not(:hover) .lifecycle-card.active .lifecycle-title {
  font-size: 18px;
  color: #ffffff;
  font-weight: 700;
}

.lifecycle-desc {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 14px;
  width: 255px;
  max-width: 255px;
  display: none;
}

/* Show description ONLY on the hovered card, or on the active card when no card is hovered */
.lifecycle-card:hover .lifecycle-desc,
.lifecycle-grid:not(:hover) .lifecycle-card.active .lifecycle-desc {
  display: block;
  animation: fadeInLifecycleDesc 0.3s ease forwards;
}

/* Explicitly force description hidden on all other cards when hovering */
.lifecycle-grid:hover .lifecycle-card:not(:hover) .lifecycle-desc {
  display: none !important;
}

@keyframes fadeInLifecycleDesc {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lifecycle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.lifecycle-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.lifecycle-card:hover .lifecycle-tag,
.lifecycle-grid:not(:hover) .lifecycle-card.active .lifecycle-tag {
  background: rgba(203, 163, 88, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(203, 163, 88, 0.2);
}

.lifecycle-grid:hover .lifecycle-card:not(:hover) .lifecycle-tag {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid transparent !important;
}

@media (max-width: 1024px) {
  .lifecycle-grid {
    overflow-x: auto;
    padding-bottom: 12px;
    grid-template-columns: 280px repeat(6, 170px) !important;
    scroll-snap-type: x mandatory;
  }

  .lifecycle-card {
    scroll-snap-align: start;
  }
}

/* --------------------------------------------------------------------------
   Indonesian Positive Law Compliance Engine (Mirrored from Insights Layout)
   -------------------------------------------------------------------------- */
.compliance-section {
  position: relative;
  padding: 120px 0 160px;
  background: #000000;
  overflow-x: clip;
  display: flex;
  align-items: center;
  min-height: 640px;
}

.compliance-section.unified-compliance-cap {
  padding: 120px 0 140px;
  min-height: auto;
  display: block;
  overflow-x: clip;
}

.compliance-unified-container {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 5vh, 60px);
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Unified Capabilities Block inside Compliance */
.capabilities-unified-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  padding-top: 50px !important;
}

.capabilities-subheading {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0;
}

/* 3D WebGL Gold Particle Wave Background */
.compliance-ribbon-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: #000000;
}

.compliance-webgl-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* Seamless natural edge blending to sections above and below */
.compliance-ribbon-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.4) 10%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.45) 90%, #000000 100%);
  pointer-events: none;
  z-index: 2;
}

.compliance-ribbon-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 2;
}

.compliance-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.compliance-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.compliance-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.compliance-badge-num {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.compliance-badge-label {
  color: #71717a;
  font-weight: 500;
}

.compliance-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.2vw, 46px);
  font-weight: 500;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 24px 0;
}

.compliance-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #9ca3af;
  max-width: 440px;
  margin: 0 0 36px 0;
}

.compliance-cta {
  display: flex;
  align-items: center;
}

/* Right Glass Card */
.compliance-card-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.compliance-glass-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.65) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.compliance-glass-card:hover {
  border-color: rgba(203, 163, 88, 0.3);
  box-shadow: 0 35px 80px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(203, 163, 88, 0.2);
}

/* Card Topbar */
.compliance-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.compliance-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compliance-cmd-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(203, 163, 88, 0.08);
  border: 1px solid rgba(203, 163, 88, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.compliance-cmd-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #f3f4f6;
  letter-spacing: -0.2px;
}

.compliance-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compliance-pill-tag {
  background: rgba(203, 163, 88, 0.08);
  border: 1px solid rgba(203, 163, 88, 0.22);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #e0b369;
  letter-spacing: -0.1px;
}

.compliance-icon-dotbtn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compliance-icon-dotbtn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Metric / Statute Carousel Slide */
.compliance-metric-carousel {
  position: relative;
  min-height: 185px;
  margin-bottom: 28px;
}

.compliance-metric-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  pointer-events: none;
}

.compliance-metric-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.compliance-num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.compliance-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(34px, 3.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--gold-primary);
}

.compliance-trend-wrap {
  display: inline-flex;
  align-items: center;
}

.compliance-stat-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e0b369;
  background: rgba(224, 179, 105, 0.1);
  border: 1px solid rgba(224, 179, 105, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
}

.compliance-stat-title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

.compliance-stat-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 390px;
}

/* Continuous Progress Bar & Step Indicators (01-04) */
.compliance-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  margin-top: 6px;
}

.compliance-step-indicators {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 4px;
}

.compliance-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.compliance-step-btn .step-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.compliance-step-btn .step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #71717a;
  transition: all 0.25s ease;
}

.compliance-step-btn:hover .step-num {
  color: #ffffff;
}

.compliance-step-btn:hover .step-dot {
  background: #ffffff;
}

.compliance-step-btn.active .step-num {
  color: #edd79b;
  text-shadow: 0 0 8px rgba(237, 215, 155, 0.6);
}

.compliance-step-btn.active .step-dot {
  background: #edd79b;
  box-shadow: 0 0 8px #edd79b, 0 0 16px #cba358;
  transform: scale(1.3);
}

.compliance-step-btn.active {
  background: rgba(203, 163, 88, 0.12);
}

.compliance-step-btn.completed .step-num {
  color: #cba358;
}

.compliance-step-btn.completed .step-dot {
  background: #cba358;
}

.compliance-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.compliance-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #fcf4de 0%, #edd79b 40%, #cba358 80%, #91712a 100%);
  box-shadow: 0 0 14px rgba(203, 163, 88, 0.6), 0 0 24px rgba(145, 113, 42, 0.4);
  transition: width 0.06s linear;
}

@media (max-width: 991px) {
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .compliance-card-wrapper {
    justify-content: flex-start;
  }

  .compliance-heading {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .compliance-section {
    padding: 80px 0 100px;
  }

  .compliance-heading {
    font-size: 32px;
  }

  .compliance-glass-card {
    padding: 24px;
  }

  .compliance-stat-num {
    font-size: 30px;
  }
}

/* ==========================================================================
   04 / SENIOR LEGAL AI COPILOT (SOVEREIGN AI) STYLES
   ========================================================================== */
.copilot-section {
  padding: 120px 0 100px;
  position: relative;
  background: transparent;
}

.copilot-section::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(203, 163, 88, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.copilot-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: flex-end;
  margin-bottom: 48px;
}

.copilot-header .section-subheading {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 900px) {
  .copilot-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   04 / SENIOR LEGAL AI COPILOT: SPLIT SHOWCASE + COMPOSER STYLES
   ========================================================================== */
.copilot-split-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}

/* Left: Authentic Screen Capture Showcase */
.copilot-screen-showcase {
  background: #0f0e0c;
  border: 1px solid rgba(203, 163, 88, 0.24);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(203, 163, 88, 0.08);
  display: flex;
  flex-direction: column;
  height: auto;
}

.screen-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #141310;
  border-bottom: 1px solid rgba(203, 163, 88, 0.15);
  flex-shrink: 0;
}

.screen-header-dots {
  display: flex;
  gap: 6px;
}

.screen-header-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #f59e0b;
}

.dot-green {
  background: #10b981;
}

.screen-header-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

.screen-header-title i {
  color: var(--gold-primary);
}

.screen-header-badge {
  background: rgba(203, 163, 88, 0.12);
  border: 1px solid rgba(203, 163, 88, 0.25);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.screen-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2880 / 1566;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copilot-actual-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.copilot-screen-showcase:hover .copilot-actual-screen {
  transform: scale(1.008);
}

.screen-overlay-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 100%, rgba(203, 163, 88, 0.1) 0%, transparent 65%);
}

.screen-footer-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(203, 163, 88, 0.15);
  border-top: 1px solid rgba(203, 163, 88, 0.15);
  flex-shrink: 0;
}

.spec-cell {
  background: #0f0e0c;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-cell-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-cell-val {
  font-size: 11.5px;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right: Interactive Sovereign AI Composer */
.copilot-interactive-composer {
  background: linear-gradient(180deg, #13120f 0%, #090807 100%);
  border: 1px solid rgba(203, 163, 88, 0.28);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  height: auto;
}

.composer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.composer-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.composer-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.composer-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  margin: 2px 0 0;
}

.composer-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.composer-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

.composer-presets-row {
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.presets-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.composer-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.composer-chips-scroll::-webkit-scrollbar {
  height: 3px;
}

.composer-chips-scroll::-webkit-scrollbar-thumb {
  background: rgba(203, 163, 88, 0.3);
  border-radius: 2px;
}

.composer-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.composer-chip i {
  color: var(--gold-primary);
  font-size: 13px;
}

.composer-chip.active,
.composer-chip:hover {
  background: rgba(203, 163, 88, 0.15);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(203, 163, 88, 0.2);
}

/* Conversation Thread */
.composer-thread-display {
  flex: 1 1 0%;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #080706;
  scrollbar-width: thin;
  scrollbar-color: rgba(203, 163, 88, 0.45) rgba(255, 255, 255, 0.03);
}

.composer-thread-display::-webkit-scrollbar {
  width: 6px;
}

.composer-thread-display::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.composer-thread-display::-webkit-scrollbar-thumb {
  background: rgba(203, 163, 88, 0.45);
  border-radius: 4px;
}

.composer-thread-display::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

@media (min-width: 1081px) {
  .composer-thread-display {
    max-height: none;
  }
}

.composer-user-prompt-card {
  background: #151410;
  border: 1px solid rgba(203, 163, 88, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.user-prompt-sender {
  font-weight: 600;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-prompt-time {
  color: rgba(255, 255, 255, 0.35);
}

.user-prompt-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

.composer-ai-reply-card {
  background: linear-gradient(180deg, #12110e 0%, #0d0c0a 100%);
  border: 1px solid rgba(203, 163, 88, 0.28);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ai-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-reply-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.ai-reply-title img {
  width: 18px;
  height: 18px;
}

.ai-reply-badge-risk {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.ai-reply-badge-risk.high {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.ai-reply-badge-risk.medium {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.ai-reply-badge-risk.low {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.composer-reasoning-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reasoning-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.reasoning-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reasoning-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

.reasoning-statute-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(203, 163, 88, 0.08);
  border: 1px solid rgba(203, 163, 88, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  color: var(--gold-light);
  margin-top: 2px;
}

.reasoning-redline-box {
  background: rgba(203, 163, 88, 0.05);
  border-left: 3px solid var(--gold-primary);
  padding: 8px 12px;
  font-size: 12px;
  color: #edd79b;
  font-style: italic;
  line-height: 1.45;
  border-radius: 0 6px 6px 0;
}

/* Input Tray */
.composer-input-tray {
  padding: 12px 18px;
  background: #11100e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.composer-attached-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tray-doc-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tray-security-note {
  margin-left: auto;
  font-size: 10.5px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

.composer-input-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: #090807;
  border: 1px solid rgba(203, 163, 88, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
}

.composer-textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 12.5px;
  resize: none;
  outline: none;
  font-family: var(--font-body);
  line-height: 1.4;
}

.btn-composer-send {
  width: 34px;
  height: 34px;
  background: var(--gold-primary);
  border: none;
  border-radius: 8px;
  color: #0b0905;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-composer-send:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

.btn-composer-send i {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.composer-footer-note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.3;
}

.composer-footer-note i {
  color: #10b981;
  font-size: 12px;
}

@media (max-width: 1200px) {
  .copilot-split-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .screen-footer-specs {
    grid-template-columns: repeat(4, 1fr);
  }

  .spec-cell {
    padding: 10px 10px;
  }

  .spec-cell-val {
    font-size: 10.5px;
  }
}

@media (max-width: 900px) {
  .copilot-split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 3 Pillars Below */
.copilot-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.copilot-pillar-card {
  border: 0;
  background: transparent;
  padding: 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.copilot-pillar-card:hover {
  border-color: rgba(203, 163, 88, 0.4);
  box-shadow: 0 8px 24px rgba(203, 163, 88, 0.1);
  transform: translateY(-3px);
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(203, 163, 88, 0.1);
  border: 1px solid rgba(203, 163, 88, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 20px;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.pillar-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   05 / LEGAL FEE ENGINE & PROPOSAL SIMULATOR STYLES
   ========================================================================== */
.fee-section {
  padding: 100px 0;
  scroll-margin-top: 80px;
  background: #000000;
  position: relative;
}

.fee-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 48px;
}

.fee-header .section-title-wrap {
  align-items: center;
  text-align: center;
}

.fee-header .section-tag-group {
  justify-content: center;
}

.fee-header .section-heading {
  text-align: center;
}

.fee-header .section-subheading {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Legal Fee Showcase Mockup (70% viewport width with bottom fade) */
.fee-showcase-preview {
  width: 70vw;
  max-width: 100%;
  margin: 12px auto 0px;
  position: relative;
  display: flex;
  justify-content: center;
}

.fee-showcase-window {
  width: 100%;
  background: #0f0e0c;
  border: 1px solid rgba(203, 163, 88, 0.24);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 36px rgba(203, 163, 88, 0.09);
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%);
}

.fee-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #141310;
  border-bottom: 1px solid rgba(203, 163, 88, 0.15);
  position: relative;
  z-index: 2;
}

.fee-window-bar .window-dots {
  display: flex;
  gap: 6px;
}

.fee-window-bar .window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fee-window-bar .window-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

.fee-window-bar .window-title i {
  color: var(--gold-primary);
}

.fee-window-bar .window-badge {
  background: rgba(203, 163, 88, 0.12);
  border: 1px solid rgba(203, 163, 88, 0.25);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.fee-preview-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2880 / 1566;
  background: #000000;
  overflow: hidden;
}

.fee-preview-actual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fee-preview-fade-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.35) 60%,
      rgba(0, 0, 0, 0.82) 82%,
      #000000 100%);
}

@media (max-width: 900px) {
  .fee-showcase-preview {
    width: 100%;
    margin: 10px auto 32px;
  }
}

.fee-kpi-deck {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.fee-kpi-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 14, 22, 0.28) 45%, rgba(6, 8, 14, 0.35) 100%);
  backdrop-filter: blur(10px) saturate(190%);
  -webkit-backdrop-filter: blur(10px) saturate(190%);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fee-kpi-card:hover {
  border-color: rgba(203, 163, 88, 0.4);
  box-shadow: 0 8px 24px rgba(203, 163, 88, 0.1);
  transform: translateY(-3px);
}

.fee-kpi-card--gold {
  border-color: rgba(203, 163, 88, 0.35);
  background: linear-gradient(145deg, rgba(203, 163, 88, 0.18) 0%, rgba(20, 22, 32, 0.4) 45%, rgba(12, 14, 22, 0.45) 100%);
}

.fee-kpi-lbl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  min-height: 23px;
  line-height: 23px;
}

.fee-kpi-lbl i {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--gold-primary);
  font-size: 25px;
  line-height: 1;
}

.fee-kpi-val {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.fee-kpi-val small {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-light);
  margin-left: 2px;
}

.fee-kpi-trend {
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fee-kpi-trend.up {
  color: #10b981;
}

.fee-kpi-trend.neutral {
  color: var(--gold-light);
}

/* Console Card */
.fee-console-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 14, 22, 0.28) 45%, rgba(6, 8, 14, 0.35) 100%);
  backdrop-filter: blur(10px) saturate(190%);
  -webkit-backdrop-filter: blur(10px) saturate(190%);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 48px;
}

.fee-console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fee-console-title-group {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fee-console-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fee-console-title i {
  color: var(--gold-primary);
}

.fee-console-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

.fee-model-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.fee-model-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fee-model-tab.active {
  background: rgba(203, 163, 88, 0.18);
  color: #ffffff;
  border: 1px solid rgba(203, 163, 88, 0.3);
}

.fee-console-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 28px;
  align-items: stretch;
}

/* Sliders Col */
.fee-inputs-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.fee-deal-preset-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fee-field-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fee-preset-select-wrap {
  position: relative;
  width: 100%;
}

.fee-preset-select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cba358' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.fee-preset-select-wrap:hover::after {
  opacity: 1;
}

.fee-preset-select {
  width: 100%;
  background: #151410;
  border: 1px solid rgba(203, 163, 88, 0.25);
  color: #ffffff;
  padding: 10px 46px 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  outline: none;
  font-family: var(--font-body);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fee-preset-select:hover,
.fee-preset-select:focus {
  border-color: rgba(203, 163, 88, 0.55);
  box-shadow: 0 0 0 2px rgba(203, 163, 88, 0.12);
}

.fee-discount-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 14px;
}

.fee-discount-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fee-discount-pills {
  display: flex;
  gap: 6px;
}

.fee-disc-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fee-disc-btn.active,
.fee-disc-btn:hover {
  background: var(--gold-primary);
  color: #0b0905;
  border-color: var(--gold-primary);
  font-weight: 600;
}

.fee-sliders-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 18px;
}

.fee-policy-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(203, 163, 88, 0.16);
  border-radius: 10px;
}

.fee-policy-footer .policy-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.fee-policy-footer .policy-note i {
  color: var(--gold-primary);
  font-size: 13px;
  flex-shrink: 0;
}

.fee-policy-footer .policy-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fee-policy-footer .policy-pill {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(203, 163, 88, 0.08);
  border: 1px solid rgba(203, 163, 88, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fee-slider-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.lawyer-title {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.lawyer-title small {
  color: var(--gold-primary);
  margin-left: 4px;
}

.lawyer-hours {
  font-weight: 700;
  color: #ffffff;
}

.fee-range-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #22211d;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.fee-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid #000000;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(203, 163, 88, 0.6);
}

/* Output Col */
.fee-output-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.fee-audit-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.audit-card {
  background: #141310;
  border: 1px solid rgba(203, 163, 88, 0.18);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audit-card-lbl {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 5px;
}

.audit-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.audit-badge--ok {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.audit-badge--gold {
  color: var(--gold-light);
  background: rgba(203, 163, 88, 0.12);
  border: 1px solid rgba(203, 163, 88, 0.25);
}

.audit-badge--info {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.audit-card-val {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.audit-card-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* Banner */
.fee-total-banner {
  background: linear-gradient(135deg, rgba(203, 163, 88, 0.16) 0%, rgba(17, 16, 13, 0.95) 100%);
  border: 1px solid rgba(203, 163, 88, 0.35);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.total-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.total-val {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 4px 0 2px;
}

.total-usd {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.fee-total-actions {
  display: flex;
  gap: 10px;
}

.btn-export-proposal {
  flex: 1;
  background: var(--gold-primary);
  border: none;
  color: #0b0905;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-export-proposal:hover {
  background: var(--gold-light);
}

.btn-export-invoice {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-export-invoice:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Milestone Phased Box */
.milestone-phased-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-box-title {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.milestone-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.milestone-sub-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.milestone-pct {
  font-size: 10px;
  color: var(--gold-primary);
  font-weight: 600;
}

.milestone-name {
  font-size: 11px;
  color: #ffffff;
}

.milestone-amount {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 2px;
}



/* ==========================================================================
   06 / LAWYER KPI & PERFORMANCE INTELLIGENCE STYLES
   ========================================================================== */
.kpi-section {
  padding: 20px 0 20px;
  scroll-margin-top: 80px;
  background: radial-gradient(circle at 50% 100%, rgba(203, 163, 88, 0.06) 0%, transparent 70%), #000000;
  position: relative;
}

.kpi-header {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 36px;
}

.kpi-header .section-title-wrap {
  text-align: right;
  align-items: flex-end;
}

.kpi-header .section-tag-group {
  justify-content: flex-end;
}

.kpi-header .section-heading {
  text-align: right;
}

.kpi-header .section-subheading {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  text-align: left;
}

@media (max-width: 900px) {
  .kpi-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kpi-header .section-title-wrap {
    order: -1;
    text-align: left;
    align-items: flex-start;
  }

  .kpi-header .section-tag-group {
    justify-content: flex-start;
  }

  .kpi-header .section-heading {
    text-align: left;
  }
}

/* ==========================================================================
   WPLAWS BENTO EXECUTIVE KPI & SYSTEM STATUS DASHBOARD (REFERENCE REPLICATION)
   ========================================================================== */
.kpi-bento-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.bento-row {
  display: grid;
  gap: 16px;
  width: 100%;
}

.bento-row--top {
  grid-template-columns: 2fr 1fr 1.8fr;
}

.bento-row--top .bento-card {
  padding: 18px 20px;
}

.bento-row--bottom {
  grid-template-columns: 1.0fr 1.25fr 1.40fr 0.75fr;
  padding-top: 30px;
}

.bento-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 14, 22, 0.28) 45%, rgba(6, 8, 14, 0.35) 100%);
  backdrop-filter: blur(10px) saturate(190%);
  -webkit-backdrop-filter: blur(10px) saturate(190%);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.bento-card:hover {
  border-color: rgba(203, 163, 88, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(203, 163, 88, 0.12);
  transform: translateY(-3px);
}

.bento-card-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}

.bento-head-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
}

.bento-head-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* 1. Illustration / Header Bento Slot (No Card Style) */
.bento-card--illustration {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: visible;
  padding: 8px 16px 8px 0 !important;
  gap: 14px;
}

.bento-card--illustration:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.bento-card--illustration .section-title-wrap {
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.bento-card--illustration .section-tag-group {
  justify-content: flex-start;
  margin: 0;
}

.bento-card--illustration .section-heading {
  text-align: left;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
  font-size: 36px;
}

.bento-card--illustration .section-subheading {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  text-align: left;
}

/* 2. System Health Donut Card (No Card Style) */
.bento-card--health {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible;
  padding: 8px 12px !important;
}

.bento-card--health:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.bento-donut-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  height: 125px;
  position: relative;
}

.bento-donut-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
  overflow: visible;
}

.donut-slice {
  cursor: pointer;
  transition: stroke-dasharray 2.0s cubic-bezier(0.16, 1, 0.3, 1), stroke-dashoffset 2.0s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke-width 0.25s ease, filter 0.25s ease;
  transform-origin: 80px 80px;
}

.donut-slice:hover,
.donut-slice.active {
  stroke-width: 29px;
  filter: drop-shadow(0 0 10px rgba(203, 163, 88, 0.65));
}

.donut-slice.slice-review:hover,
.donut-slice.slice-review.active {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.bento-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  transition: all 0.25s ease;
}

.donut-center-num {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.donut-center-lbl {
  font-size: 7px;
  font-weight: 500;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.bento-donut-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-dstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.bento-dstat:hover,
.bento-dstat.active {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.bento-dstat.active .bento-dstat-num {
  color: var(--gold-primary);
}

.bento-dstat-num {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  transition: color 0.2s ease;
}

.bento-dstat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.bento-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
  display: inline-block;
}

.dot-orange {
  background: var(--gold-primary);
  box-shadow: 0 0 7px rgba(203, 163, 88, 0.7);
}

.dot-white {
  background: #e4e4e7;
}

.dot-grey {
  background: #71717a;
}

/* 3. Statutory & Notarial Governance Card (No Card Style) */
.bento-card--compliance {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  position: relative;
  overflow: visible;
  padding: 8px 0 !important;
}

.bento-card--compliance:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.bento-pill-status {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}

.bento-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  flex: 1;
  align-content: center;
}

.bento-comp-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  transition: all 0.25s ease;
  cursor: default;
}

.bento-comp-item:hover {
  background: rgba(203, 163, 88, 0.05);
  border-color: rgba(203, 163, 88, 0.35);
  transform: translateY(-1px);
}

.bento-comp-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(203, 163, 88, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  border: 1px solid rgba(203, 163, 88, 0.22);
}

.bento-comp-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.bento-comp-lbl {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-comp-val {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.bento-comp-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4. 30-Day Monitoring Card */
.bento-card--monitoring {
  justify-content: space-between;
}

.bento-spark-wrapper {
  position: relative;
  width: 100%;
}

.bento-spark-tooltip {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid rgba(203, 163, 88, 0.45);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 9.5px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, left 0.15s ease, visibility 0.2s ease;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.bento-spark-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.bento-spark-tooltip .bst-day {
  color: rgba(255, 255, 255, 0.6);
}

.bento-spark-tooltip .bst-hours {
  color: var(--gold-primary);
}

.bento-spark-tooltip .bst-note {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
}

.bento-spark-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 200px;
  padding-top: 30px;
  box-sizing: border-box;
  width: 100%;
}

.sbar {
  flex: 1;
  min-width: 3px;
  background: linear-gradient(to top, #91712a, #cba358, #edd79b);
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, height 0.3s ease;
  cursor: pointer;
  transform-origin: bottom center;
}

.sbar:hover,
.sbar.active {
  transform: scaleY(1.08) scaleX(1.35);
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(203, 163, 88, 0.9);
}

.sbar--grey {
  background: #33353e !important;
}

.bento-mon-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
}

.bento-mon-bottom {
  margin-top: auto;
  padding-top: 16px;
}

.bento-mon-val {
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1.5px;
  display: flex;
  align-items: baseline;
  transition: all 0.25s ease;
}

.bento-mon-val small {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 2px;
}

.bento-mon-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 4px;
  transition: all 0.25s ease;
}

/* 5. Performance Metrics Line Chart Card */
.bento-card--perf {
  justify-content: space-between;
}

.bento-perf-chart-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  margin: 8px 0;
}

.bento-line-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  cursor: crosshair;
}

.chart-curve {
  transition: opacity 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}

.chart-curve.dimmed {
  opacity: 0.25 !important;
}

.chart-curve.highlighted {
  stroke-width: 3.8 !important;
  filter: drop-shadow(0 0 8px rgba(203, 163, 88, 0.85));
}

.chart-curve.curve-market.highlighted {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85));
}

.vel-point {
  cursor: pointer;
  transition: r 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease, stroke-width 0.25s ease;
}

.vel-point.pt-wp {
  fill: var(--gold-primary);
  stroke: #111115;
  stroke-width: 1.5;
}

.vel-point.pt-mkt {
  fill: #ffffff;
  stroke: #111115;
  stroke-width: 1;
}

.vel-point.active,
.vel-point:hover {
  r: 5.5;
  filter: drop-shadow(0 0 8px rgba(203, 163, 88, 0.95));
}

.vel-point.pt-mkt.active,
.vel-point.pt-mkt:hover {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95));
}

.q-label {
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.q-label:hover,
.q-label.active {
  fill: var(--gold-primary) !important;
  font-weight: 700;
}

.q-hitbox {
  cursor: pointer;
}

#velocityScrubber {
  transition: x1 0.2s cubic-bezier(0.16, 1, 0.3, 1), x2 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.bento-chart-tooltip {
  position: absolute;
  top: 22px;
  left: 125px;
  background: rgba(22, 22, 28, 0.95);
  border: 1px solid rgba(203, 163, 88, 0.4);
  border-radius: 12px;
  font-size: 9.5px;
  font-weight: 600;
  color: #ffffff;
  padding: 3px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1), top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.bento-chart-tooltip .tt-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 6px rgba(203, 163, 88, 0.8);
}

.bento-perf-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.bento-pstat:hover,
.bento-pstat.active {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.bento-pstat.active .bento-pstat-num {
  color: var(--gold-primary);
}

.bento-pstat-num {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease;
}

.bento-pstat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* 6. System Evolution Progress Bars Card */
.bento-card--evolution {
  justify-content: space-between;
}

.bento-card-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.bento-evolution-score {
  text-align: right;
  transition: all 0.25s ease;
}

.score-lbl {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  display: block;
}

.score-val {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  line-height: 1.1;
}

.score-val strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: -0.5px;
  transition: color 0.2s ease;
}

.score-val small {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.bento-bars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  height: 155px;
  align-items: flex-end;
  margin-top: auto;
}

.bento-prog-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-prog-col:hover,
.bento-prog-col.active {
  transform: translateY(-4px);
}

.bento-prog-track {
  width: 100%;
  height: 125px;
  background: #1c1c22;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.bento-prog-col:hover .bento-prog-track,
.bento-prog-col.active .bento-prog-track {
  border-color: rgba(203, 163, 88, 0.55);
  box-shadow: 0 0 16px rgba(203, 163, 88, 0.3);
}

.bento-prog-fill {
  width: 100%;
  background: linear-gradient(to top, #91712a, #cba358);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.bento-prog-col:hover .bento-prog-fill,
.bento-prog-col.active .bento-prog-fill {
  background: linear-gradient(to top, #b28635, #ffd984);
}

.bento-prog-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.bento-prog-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.2s ease;
}

.bento-prog-col:hover .bento-prog-lbl,
.bento-prog-col.active .bento-prog-lbl {
  color: #ffffff;
  font-weight: 600;
}

.bento-sector-detail {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 10px;
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.25s ease;
}

.bento-sector-detail.highlighted {
  background: rgba(203, 163, 88, 0.1);
  border-color: rgba(203, 163, 88, 0.35);
  color: #ffffff;
}

/* 7. Stacked Mini Cards (Battery + Cube) */
.bento-stack-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-card--aml,
.bento-card--probono {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 16px;
  text-align: left;
}

.bento-stack-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.bento-stack-body {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.bento-stack-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(203, 163, 88, 0.1);
  border: 1px solid rgba(203, 163, 88, 0.25);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(203, 163, 88, 0.1);
}

.bento-stack-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bento-stack-val {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.bento-stack-state {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
}

.bento-stack-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

/* Responsive Adaptation for Bento Dashboard at max-width: 1200px (Matches 1280 Layout) */
@media (max-width: 1200px) {
  .kpi-bento-dashboard {
    gap: 12px;
  }

  .bento-row {
    gap: 12px;
  }

  /* Keep exact 1280 3-column top row layout */
  .bento-row--top {
    grid-template-columns: 1.85fr 1fr 1.75fr;
  }

  .bento-row--top .bento-card {
    padding: 14px 14px;
  }

  /* Keep exact 1280 4-column bottom row layout */
  .bento-row--bottom {
    grid-template-columns: 1fr 1.25fr 1.35fr 0.85fr;
    padding-top: 18px;
  }

  .bento-card {
    padding: 14px 12px;
  }

  .bento-head-title {
    font-size: 14px;
  }

  .bento-head-sub {
    font-size: 10.5px;
  }

  /* Card 1: Illustration / Section Title */
  .bento-card--illustration .section-heading {
    font-size: clamp(20px, 2.2vw, 26px);
  }

  .bento-card--illustration .section-subheading {
    font-size: 12.5px;
    line-height: 1.45;
  }

  /* Card 2: Health Donut */
  .bento-donut-wrap {
    height: 105px;
  }

  .bento-donut-svg {
    width: 100px;
    height: 100px;
  }

  .bento-donut-center .bdc-num {
    font-size: 22px;
  }

  .bento-donut-stats {
    gap: 8px;
  }

  .bento-dstat-num {
    font-size: 13px;
  }

  .bento-dstat-lbl {
    font-size: 9.5px;
  }

  /* Card 3: Compliance Grid */
  .bento-comp-grid {
    gap: 6px;
  }

  .bento-comp-item {
    padding: 4px 7px;
    gap: 7px;
    border-radius: 8px;
  }

  .bento-comp-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 6px;
  }

  .bento-comp-lbl {
    font-size: 9.5px;
  }

  .bento-comp-val {
    font-size: 11px;
  }

  .bento-comp-sub {
    font-size: 9px;
  }

  /* Card 4: Monitoring */
  .bento-mon-val {
    font-size: 24px;
  }

  .bento-mon-val small {
    font-size: 18px;
  }

  .bento-mon-sub {
    font-size: 11px;
  }

  .bento-spark-bars {
    gap: 2px;
  }

  /* Card 5: Performance Line Chart */
  .bento-perf-chart-wrap {
    height: 115px;
  }

  .bento-pstat-num {
    font-size: 14px;
  }

  .bento-pstat-lbl {
    font-size: 9.5px;
  }

  /* Card 6: Evolution Progress */
  .bento-prog-val {
    font-size: 11px;
  }

  .bento-prog-lbl {
    font-size: 8.5px;
  }

  .bento-sector-detail {
    font-size: 9px;
    padding: 3px 6px;
  }

  /* Card 7: Stack Mini Cards */
  .bento-stack-col {
    flex-direction: column;
    grid-column: auto;
    gap: 12px;
  }

  .bento-card--aml,
  .bento-card--probono {
    padding: 10px 10px;
  }

  .bento-stack-icon-wrap {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 8px;
  }

  .bento-stack-val {
    font-size: 16px;
  }

  .bento-stack-state {
    font-size: 9.5px;
  }

  .bento-stack-sub {
    font-size: 8.5px;
  }
}

@media (max-width: 768px) {

  .bento-row--top,
  .bento-row--bottom {
    grid-template-columns: 1fr;
  }

  .bento-card--compliance,
  .bento-stack-col {
    grid-column: auto;
  }

  .bento-stack-col {
    flex-direction: column;
  }
}

/* Compliance Block */
.kpi-compliance-block {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(12, 14, 22, 0.28) 45%, rgba(6, 8, 14, 0.35) 100%);
  backdrop-filter: blur(10px) saturate(190%);
  -webkit-backdrop-filter: blur(10px) saturate(190%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kpi-compliance-block:hover {
  border-color: rgba(203, 163, 88, 0.4);
  box-shadow: 0 8px 24px rgba(203, 163, 88, 0.1);
}

.compliance-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compliance-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compliance-title i {
  color: #10b981;
}

.compliance-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.compliance-badge-status {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.compliance-mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.comp-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.comp-mini-card:hover {
  border-color: rgba(203, 163, 88, 0.25);
  background: rgba(255, 255, 255, 0.035);
}

.comp-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.comp-icon.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.comp-icon.gold {
  background: rgba(203, 163, 88, 0.12);
  color: var(--gold-light);
}

.comp-icon.info {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
}

.comp-icon.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.comp-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comp-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.comp-val {
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
}

.comp-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
}

/* Responsive adjustments for Copilot, Fee, KPI */
@media (max-width: 1200px) {
  .copilot-workspace-grid {
    grid-template-columns: 220px 1fr 240px;
  }

  .fee-kpi-deck {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .fee-kpi-card {
    padding: 16px 12px;
    gap: 6px;
  }

  .fee-kpi-lbl {
    font-size: 11px;
  }

  .fee-kpi-lbl i {
    top: 14px;
    right: 12px;
    font-size: 20px;
  }

  .fee-kpi-val {
    font-size: 20px;
  }

  .fee-kpi-val small {
    font-size: 12px;
  }

  .fee-kpi-trend {
    font-size: 10px;
  }

  .compliance-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .os-perspective-stage {
    --os-mockup-width: min(100%, 94vw, calc((100vh - 164px) * 1.839));
    max-width: 100%;
  }

  .os-screen-frame {
    max-width: 100%;
  }

  .os-pills-nav-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .copilot-workspace-grid {
    grid-template-columns: 1fr;
  }

  .copilot-col-side,
  .copilot-col-insights {
    display: none;
  }

  .fee-console-body {
    grid-template-columns: 1fr;
  }


  .copilot-pillars-grid {
    grid-template-columns: 1fr;
  }

  .compliance-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   PERFORMANCE & SCROLL SMOOTHING OPTIMIZATIONS
   ========================================================================== */
/* Defer rendering of heavy off-screen sections (reduces initial paint & DOM work) */
.case-section,
.fee-section,
.kpi-section,
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 850px;
}

/* Hardware accelerate active animated scroll layers */
.platform-mockup-img,
.service-showcase-card,
.cap-card-item {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ==========================================================================
   DEVICE GATE: DESKTOP & TABLET ACCESS ONLY
   ========================================================================== */

.device-gate {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: #08080a;
  color: #f4f4f6;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  text-align: center;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.device-gate::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.device-gate::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background: url('assets/bg-team.jpg') center center / cover no-repeat;
  filter: brightness(0.2) blur(16px);
  pointer-events: none;
}

.device-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(12, 12, 16, 0.72) 0%, rgba(6, 6, 8, 0.95) 100%);
  pointer-events: none;
}

.device-gate-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
  opacity: 0.58;
}

.device-gate-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(320deg, #08080a 0%, rgba(8, 8, 10, 0.8) 55%, transparent 100%);
}

.device-gate-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 360px;
  width: 100%;
  box-sizing: border-box;
  margin: auto;
  padding: 32px 20px;
  background: transparent;
  border: transparent;
}

.device-gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.device-gate-logo {
  width: 108px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(198, 164, 108, 0.45));
}

.device-gate-title {
  font-family: var(--font-heading, 'Cinzel', serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  width: 100%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.device-gate-subtitle {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: var(--gold-primary, #cba358);
  text-transform: uppercase;
}

.device-gate-divider {
  width: 48px;
  height: 1px;
  background: var(--gold-gradient, linear-gradient(90deg, transparent, #cba358, transparent));
  margin: 2px 0;
}

.device-gate-message {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(244, 244, 246, 0.88);
  width: 100%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.device-gate-message strong {
  color: #f3e2b8;
  font-weight: 600;
}

.device-gate-hint {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: #a0a0a8;
  letter-spacing: 0.03em;
  padding: 10px 14px;
  background: rgba(14, 14, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

html.device-restricted,
html.device-restricted body,
body.device-restricted {
  overflow: hidden !important;
  height: 100vh !important;
  max-height: 100vh !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  touch-action: none !important;
}

html.device-restricted::-webkit-scrollbar,
body.device-restricted::-webkit-scrollbar,
html.device-restricted body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html.device-restricted body> :not(.device-gate),
body.device-restricted> :not(.device-gate) {
  display: none !important;
}

html.device-restricted .device-gate,
body.device-restricted .device-gate {
  display: flex !important;
}

/* Dynamic Fullscreen & Immersive Mode Styles */
:fullscreen,
::backdrop {
  background-color: #000000;
}

html.fullscreen-active,
body.fullscreen-active {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100dvh;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html.fullscreen-active::-webkit-scrollbar,
body.fullscreen-active::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html.fullscreen-active body> :not(.device-gate),
html:fullscreen body> :not(.device-gate) {
  display: block !important;
}

html.fullscreen-active .device-gate,
html:fullscreen .device-gate {
  display: none !important;
}

@media (orientation: portrait),
(max-width: 1023px) {

  html.device-restricted:not(.fullscreen-active):not(:fullscreen),
  body.device-restricted:not(.fullscreen-active):not(:fullscreen) {
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    touch-action: none !important;
  }

  html.device-restricted:not(.fullscreen-active):not(:fullscreen)::-webkit-scrollbar,
  body.device-restricted:not(.fullscreen-active):not(:fullscreen)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  html.device-restricted:not(.fullscreen-active):not(:fullscreen) body> :not(.device-gate),
  body.device-restricted:not(.fullscreen-active):not(:fullscreen)> :not(.device-gate) {
    display: none !important;
  }

  html.device-restricted:not(.fullscreen-active):not(:fullscreen) .device-gate,
  body.device-restricted:not(.fullscreen-active):not(:fullscreen) .device-gate {
    display: flex !important;
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  html.device-restricted:not(.fullscreen-active):not(:fullscreen) .device-gate::-webkit-scrollbar,
  body.device-restricted:not(.fullscreen-active):not(:fullscreen) .device-gate::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* ==========================================================================
   Scaled Stage Architecture (1440 x 800 Benchmark)
   Scales all sections uniformly for dimensions > 1440
   ========================================================================== */
.hero-stage {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  overflow: hidden;
}

@media (min-width: 1441px),
(min-height: 801px) and (min-width: 1200px) {
  .hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    flex-direction: column;
  }

  .hero-stage {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }

  .hero-stage .hero-bg-team {
    inset: -40px -20px -80px -20px;
    background: radial-gradient(ellipse 70% 50% at 50% 18%, rgba(224, 179, 105, 0.16), transparent 70%),
      url('assets/bg-team.jpg') center 34% / cover no-repeat;
  }

  .hero-stage .hero-container {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 86px var(--container-padding) 50px var(--container-padding);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
  }

  .header-wrapper {
    height: calc(64px * var(--hero-scale, 1));
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 var(--container-padding);
    transform: scale(var(--hero-scale, 1));
    transform-origin: center center;
  }
}

@media (min-width: 1441px) {

  main section>.container,
  main section .sect-main>.container,
  .hero-stage .hero-container,
  .platform-sticky-wrapper>.container,
  .os-header-wrapper>.container,
  .case-container,
  .os-container,
  .cta-container,
  footer .container {
    zoom: var(--site-scale, 1);
  }

  .hero-stage .hero-container {
    height: calc(100vh / var(--site-scale, 1));
    min-height: calc(100vh / var(--site-scale, 1));
  }
}