/* ========================================
   BASE TEMPLATE STYLES
   Only global components - NO section-specific styles
   ======================================== */

/* ========================================
   GLOBAL SECTION STYLES
   ======================================== */

/* Section Badge - Universal */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.28);
  color: #f67214;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: flex-start; /* Prevent stretching in flex columns */
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  z-index: 3;
  background: #f67214;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12);
  animation: badgePulse 2s ease-in-out infinite;
}

/* Section Title - Universal */
.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-weight: 800;
  margin: 0 0 16px;
}

.title-highlight {
  color: #f67214;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

/* Responsive Section Badge Styles */
@media (max-width: 768px) {
  .section-badge {
    font-size: 10px;
    padding: 7px 16px;
    gap: 7px;
  }

  .badge-dot-pulse {
    width: 7px;
    height: 7px;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
}

@media (max-width: 480px) {
  .section-badge {
    font-size: 9px;
    padding: 6px 14px;
    gap: 6px;
  }

  .badge-dot-pulse {
    width: 6px;
    height: 6px;
  }

  .section-title {
    font-size: clamp(2rem, 4.5vw, 1.75rem);
  }
}

/* ========================================
   CSS VARIABLES & BASE STYLES
   ======================================== */

:root {
  --color-accent: #f67214;
  --color-accent-deep: #d85f0f;
  --color-bg: #fffdf9;
  --color-bg-dark: #0b1118;
  --color-bg-warm: #fff3ec;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-text-muted: #555b63;
  --color-text-inverse: #f5efe8;
  --color-border: rgba(17, 17, 17, 0.08);
  --shadow-xl: 0 32px 70px rgba(12, 18, 28, 0.12);
  --shadow-lg: 0 18px 45px rgba(12, 18, 28, 0.1);
  --container-max: 1180px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 620ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fffdfa;
  color: var(--color-text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.5;
  padding-top: 74.6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 991px) {
  body {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 64px;
  }
}

@media (max-width: 575px) {
  body {
    padding-top: 60px;
  }
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container-max));
  margin: 0 auto;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 74.6px;
  padding: 12px 3vw;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.site-header.is-scrolled,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-container img {
  display: block;
  width: auto;
}

.site-logo {
  display: block;
  height: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  position: relative;
  color: #1f2a3b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #ea6d13;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ea6d13;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-menu li a.active {
  color: #ea6d13;
}

.login-btn {
  background: #ea6d13;
  color: #fff;
  border: none;
  padding: 12px 50px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(234, 109, 19, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 109, 19, 0.35);
  color: #fff;
  filter: brightness(1.05);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #172033;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
  position: absolute;
}

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 18px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.active span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 74.6px;
  left: 0;
  width: 100%;
  height: calc(100vh - 74.6px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 32px 20px;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  color: #172033;
  font-weight: 600;
  font-size: 18px;
  border-bottom: none;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  color: #ea6d13;
  text-decoration: none;
}

.mobile-menu .login-btn {
  width: 100% !important;
  margin-top: 48px !important;
  display: block !important;
  padding: 16px 32px !important;
  background: #f67214 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.2) !important;
  transition: all 0.3s ease !important;
}

.mobile-menu .login-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3) !important;
  background: #ea6d13 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background: #f8f9fa;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 0;
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
}

.footer-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-accent-deep);
  text-decoration: underline;
}

/* ========================================
   WAITLIST MODAL STYLES
   ======================================== */

.modal-content-premium {
  border-radius: 24px;
  border: none;
  padding: 40px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.modal-title {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

.text-orange {
  color: var(--color-accent);
}

.modal-subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.premium-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.premium-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(246, 114, 20, 0.1);
}

/* Minimal intl-tel-input styling to match form design */
.iti {
  width: 100%;
  display: block;
}

.iti__input {
  width: 100%;
  padding: 14px 16px;
  padding-left: 52px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.iti__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(246, 114, 20, 0.1);
}

.btn-waitlist {
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(246, 114, 20, 0.25);
}

.btn-waitlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
}

.waitlist-modal-message {
  font-size: 14px;
  font-weight: 500;
}

.modal-footer-text {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

.btn-close {
  background: transparent;
  border: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.btn-close:hover {
  opacity: 1;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(246, 114, 20, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(246, 114, 20, 0.4);
}

.back-to-top.show {
  display: flex;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
  .header-nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .site-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 16px 24px !important;
    min-height: 70px !important;
  }

  .logo-container {
    flex-shrink: 0;
    max-width: 70%;
  }

  .site-logo {
    max-width: 100%;
    height: 36px !important;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 14px 20px !important;
    min-height: 64px !important;
  }

  .site-logo {
    height: 32px !important;
    width: auto !important;
  }

  .logo-container {
    max-width: 70%;
  }

  .hamburger {
    margin-left: auto;
    flex-shrink: 0;
  }

  .modal-content-premium {
    padding: 28px 20px;
  }

  .modal-title {
    font-size: 22px;
  }

  /* Ensure form inputs stack properly on tablet */
  .row.g-3>.col-md-6 {
    width: 100%;
  }

  .premium-input,
  .iti__input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .iti__input {
    padding-left: 50px;
  }

  .btn-waitlist {
    padding: 14px 28px;
    font-size: 14px;
  }

  .mobile-menu {
    top: 64px !important;
    height: calc(100vh - 64px) !important;
  }
}

@media (max-width: 575px) {
  .site-header {
    padding: 12px 16px !important;
    min-height: 60px !important;
  }

  .site-logo {
    height: 28px !important;
    width: auto !important;
  }

  .logo-container {
    max-width: 65%;
  }

  .hamburger {
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .hamburger span {
    width: 28px;
    height: 2.5px;
  }

  .hamburger span:nth-child(1) {
    top: 12px;
  }

  .hamburger span:nth-child(2) {
    top: 19px;
  }

  .hamburger span:nth-child(3) {
    top: 26px;
  }

  .mobile-menu {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
    padding: 24px 16px;
  }

  .modal-content-premium {
    padding: 24px 16px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-subtitle {
    font-size: 14px;
  }

  .form-label {
    font-size: 13px;
  }

  .premium-input,
  .iti__input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .iti__input {
    padding-left: 48px;
  }

  .btn-waitlist {
    padding: 14px 24px;
    font-size: 14px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ================================================
   CUSTOM SECTIONS - CHANGE MANAGEMENT AI
   ================================================ */

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 0;
  background: linear-gradient(135deg, #fffdfa 0%, #fff7ef 42%, #f8fbff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Grid Pattern */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 66% 42%, #000 0, transparent 68%);
  opacity: 0.75;
  pointer-events: none;
}

/* ===== HERO LAYOUT ===== */
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(86px, 8vw, 118px) 32px clamp(54px, 6vw, 84px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 16px;
}

.hero-description {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: #334155;
  font-weight: 500;
  margin: 0 0 28px;
  max-width: 95%;
}

/* Step tracker */
.hero-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
}

.hero-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.6;
}

.hero-step.active {
  opacity: 1;
  border-color: rgba(246, 114, 20, 0.4);
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 16px 36px rgba(246, 114, 20, 0.1);
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff3ec;
  color: #f67214;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.hero-step.active .step-icon {
  background: linear-gradient(135deg, #f67214, #ff914d);
  color: #fff;
  box-shadow: 0 8px 20px rgba(246, 114, 20, 0.3);
}

.step-icon svg {
  width: 16px;
  height: 16px;
}

.step-body {
  flex: 1;
}

.step-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.step-body h3 {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 3px;
}

.step-body p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.step-status {
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: background 0.4s;
}

.hero-step.active .status-dot {
  background: #f67214;
  animation: pulse 2s infinite;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-button-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f67214, #ff914d);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(246, 114, 20, 0.28);
  transition: all 0.3s ease;
}

.cta-button-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(246, 114, 20, 0.36);
  color: #fff;
}

/* Also expose old .cta-button class for other sections */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f67214, #ff914d);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(246, 114, 20, 0.28);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(246, 114, 20, 0.36);
  color: #fff;
}

/* ===== AI DASHBOARD RIGHT SIDE ===== */
.hero-visual {
  position: relative;
}

.ai-dashboard {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: 0 32px 86px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  transform: rotateX(1.5deg) rotateY(-2deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  width: 100%;
  position: relative;
}

.ai-dashboard:hover {
  transform: translateY(-4px) rotateX(0) rotateY(0);
  box-shadow: 0 42px 104px rgba(15, 23, 42, 0.18);
}

/* Top bar */
.db-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-bottom: 1px solid #e8edf2;
}

.db-dots {
  display: flex;
  gap: 6px;
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.db-dot.red {
  background: #ff5f56;
}

.db-dot.yellow {
  background: #ffbd2e;
}

.db-dot.green {
  background: #27c93f;
}

.db-breadcrumb {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-sep {
  color: #cbd5e1;
}

.db-active-crumb {
  color: #0f172a;
  font-weight: 700;
}

.db-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
}

.db-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

/* Body */
.db-body {
  display: flex;
  height: 460px;
}

/* Sidebar */
.db-sidebar {
  width: 160px;
  flex-shrink: 0;
  padding: 12px 10px;
  border-right: 1px solid #e8edf2;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.db-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  background: #f67214;
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Outfit", sans-serif;
  position: relative;
  white-space: nowrap;
}

.db-upload-btn:hover {
  background: #d85f0f;
}

.db-upload-btn.glow {
  box-shadow: 0 0 0 4px rgba(246, 114, 20, 0.25);
  animation: btn-glow 1.5s ease-in-out infinite;
}

@keyframes btn-glow {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(246, 114, 20, 0.15);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.3);
  }
}

.db-sidebar-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 8px;
}

.db-rev-item {
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.db-rev-name {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.db-rev-meta {
  font-size: 9px;
  color: #94a3b8;
  margin: 2px 0;
}

.db-rev-tag {
  font-size: 9px;
  color: #22c55e;
  font-weight: 700;
}

.db-ver {
  font-size: 10px;
  color: #64748b;
  padding: 3px 0;
  border-bottom: 1px solid #f1f5f9;
}

.db-ver.active-ver {
  color: #f59e0b;
  font-weight: 700;
}

.db-ver.highlight-ver {
  color: #f67214;
  font-weight: 700;
}

.db-chk {
  font-size: 10px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-chk input {
  width: 10px;
  height: 10px;
  accent-color: #f67214;
}

.db-chk span {
  margin-left: auto;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9px;
}

.db-disciplines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Canvas area */
.db-canvas-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.db-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.db-scene.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Scene 1 */
.scene1-idle {
  position: relative;
  width: 100%;
  height: 100%;
}

.canvas-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.blueprint-svg {
  width: 100%;
  max-width: 340px;
  opacity: 0.5;
}

.canvas-label {
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

.ai-cursor {
  position: absolute;
  top: 30%;
  left: 50%;
  pointer-events: none;
  z-index: 100;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Upload Modal */
.upload-modal {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 20;
}

.upload-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-inner {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 88%;
  max-width: 300px;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.2);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.upload-modal.visible .modal-inner {
  transform: scale(1);
}

.modal-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff3ec;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.modal-title-text {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.modal-subtitle-text {
  font-size: 11px;
  color: #94a3b8;
}

.modal-dropzone {
  border: 2px dashed #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 10px;
  transition: border-color 0.3s;
}

.modal-dropzone.has-file {
  border-color: #f67214;
  background: #fffaf7;
}

.modal-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.4s;
}

.modal-file-item.visible {
  opacity: 1;
}

.modal-file-icon {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #dc2626;
  padding: 3px 6px;
  border-radius: 4px;
}

.modal-file-name {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.modal-file-size {
  font-size: 10px;
  color: #94a3b8;
}

.modal-file-check {
  font-size: 14px;
  color: #22c55e;
  margin-left: auto;
}

.modal-progress {
  margin-bottom: 12px;
  display: none;
}

.modal-progress.active {
  display: block;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-track {
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f67214, #ff914d);
  border-radius: 999px;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-steps {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prog-step {
  font-size: 10px;
  color: #94a3b8;
  transition: color 0.3s;
}

.prog-step.done {
  color: #22c55e;
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.modal-btn-cancel {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.modal-btn-upload {
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  background: #f67214;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
}

/* Scene 2 */
.scene2-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.overlay-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  flex-shrink: 0;
}

.ov-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.ov-btn.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.ov-legend {
  margin-left: auto;
  display: flex;
  gap: 10px;
  font-size: 10px;
}

.ov-leg-old {
  color: #7090b0;
  font-weight: 600;
}

.ov-leg-new {
  color: #f67214;
  font-weight: 600;
}

.drawing-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #e8ecf1;
}

.real-drawing-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawing-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.dash-anim {
  animation: dash-flow 15s linear infinite;
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -1000;
  }
}

.canvas-footer-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 3;
}

.intel-panel {
  width: 170px;
  flex-shrink: 0;
  padding: 10px 8px;
  border-left: 1px solid #e8edf2;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.06);
  z-index: 5;
}

.intel-panel.open {
  transform: translateX(0);
}

.intel-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.intel-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.ic-tag {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-block;
  margin-bottom: 4px;
}

.ic-tag.scope {
  background: #fef3c7;
  color: #b45309;
}

.ic-tag.design {
  background: #dbeafe;
  color: #1d4ed8;
}

.ic-tag.coord {
  background: #dcfce7;
  color: #15803d;
}

.ic-id {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 2px;
}

.ic-title {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.ic-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ic-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}

.ic-badge.arch {
  background: #f3e8ff;
  color: #7c3aed;
}

.ic-badge.elec {
  background: #dcfce7;
  color: #15803d;
}

.ic-badge.struct {
  background: #fee2e2;
  color: #b91c1c;
}

.ic-time {
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
}

.ic-status {
  font-size: 8px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
}

.ic-status.pending {
  background: #fef3c7;
  color: #b45309;
}

.ic-status.approved {
  background: #dcfce7;
  color: #15803d;
}

/* Scene 3 AI Insight Layout */
.scene3-inner.ai-insight-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 16px;
  justify-content: center;
  background: #f8fafc;
}

.insight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(-10px);
}

.insight-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f67214;
  background: #fff3ec;
  padding: 4px 10px;
  border-radius: 20px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #f67214;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.insight-meta {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
}

.insight-summary-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
}

.isc-title {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.isc-desc {
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

.insight-details {
  margin-bottom: 12px;
}

.id-header {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
}

.id-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.id-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8edf2;
  padding: 8px 12px;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.4s ease;
}

.id-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.id-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.id-icon.struct {
  background: #fee2e2;
}

.id-icon.mep {
  background: #fef3c7;
}

.id-icon.arch {
  background: #e0e7ff;
}

.id-info {
  flex: 1;
}

.id-name {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.id-sub {
  font-size: 9px;
  color: #64748b;
}

.id-status {
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.id-status.action {
  background: #fee2e2;
  color: #ef4444;
}

.id-status.resolved {
  background: #dcfce7;
  color: #10b981;
}

.insight-actions {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
}

.insight-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.insight-btn.primary {
  background: #0f172a;
  color: #fff;
  border: none;
}

.insight-btn.primary:hover {
  background: #1e293b;
}

.insight-btn.secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.insight-btn.secondary:hover {
  background: #f8fafc;
}

/* Bottom bar */
.db-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-top: 1px solid #e8edf2;
  background: linear-gradient(180deg, #f8fafc, #fff);
  flex-shrink: 0;
}

.db-bottom-left,
.db-bottom-right {
  display: flex;
  gap: 5px;
}

.db-action-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.db-action-btn.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.db-action-btn.narrative.active {
  background: #f67214;
  border-color: #f67214;
}

/* Mobile steps */
.mobile-steps {
  display: none;
  padding: 20px 16px;
}

.mob-step-card {
  display: none;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e8edf2;
}

.mob-step-card.active {
  display: block;
}

.mob-step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f67214;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mob-step-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.mob-step-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.mob-visual-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mob-upload-icon {
  width: 40px;
  height: 40px;
  background: #fff3ec;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #f67214;
}

.mob-upload-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.mob-upload-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.mob-bar-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, #f67214, #ff914d);
  border-radius: 999px;
  animation: mob-bar 2.5s ease-in-out infinite;
}

@keyframes mob-bar {
  0% {
    width: 0%
  }

  70% {
    width: 90%
  }

  100% {
    width: 65%
  }
}

.mob-visual-compare {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mob-old-strip,
.mob-new-strip {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.mob-old-strip {
  background: #f0f6ff;
  color: #4a6a8a;
  border: 1px solid #7090b0;
}

.mob-new-strip {
  background: #fff3ec;
  color: #c2410c;
  border: 1px solid #f67214;
}

.mob-vs {
  font-size: 20px;
  color: #94a3b8;
}

.mob-impact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mob-impact-chips span {
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.mob-step-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.mob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: background 0.3s;
}

.mob-dot.active {
  background: #f67214;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-steps {
    max-width: 500px;
    width: 100%;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .ai-dashboard {
    max-width: 680px;
    margin: 0 auto;
    transform: none;
  }

  .hero-description {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
  }

  .hero-steps {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
  }

  .ai-dashboard {
    width: 680px;
    min-width: 680px;
    transform-origin: top center;
    transform: scale(0.9);
    margin-bottom: -50px;
  }
}

@media (max-width: 650px) {
  .ai-dashboard {
    transform: scale(0.8);
    margin-bottom: -100px;
  }
}

@media (max-width: 575px) {
  .hero-container {
    padding: 80px 16px 24px;
  }

  .hero-title {
    font-size: 32px;
  }

  .ai-dashboard {
    transform: scale(0.7);
    margin-bottom: -151px;
  }
}

@media (max-width: 500px) {
  .ai-dashboard {
    transform: scale(0.6);
    margin-bottom: -201px;
  }
}

@media (max-width: 400px) {
  .ai-dashboard {
    transform: scale(0.52);
    margin-bottom: -242px;
  }
}


/* Reality Section */
/* ===== SECTION 2: CINEMATIC REALITY ===== */
.cinematic-reality {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff8f2 0%, #fefefe 60%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
}

.reality-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Side: Narrative */
.reality-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.reality-headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 24px;
  margin-top: 16px;
}

.reality-body {
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  font-weight: 600;
}

.carousel-card-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 210px;
  margin-bottom: 48px;
}

.carousel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-card.active {
  opacity: 1;
  transform: translateY(0);
}

.carousel-card.exit {
  opacity: 0;
  transform: translateY(-20px);
}

.carousel-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pill-icon.blue {
  background: #eff6ff;
  color: #3b82f6;
}

.pill-icon.purple {
  background: #f5f3ff;
  color: #8b5cf6;
}

.pill-icon.green {
  background: #ecfdf5;
  color: #10b981;
}

.pill-icon.red {
  background: #fef2f2;
  color: #ef4444;
}

.carousel-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
}

.carousel-badge.blue {
  background: #eff6ff;
  color: #3b82f6;
}

.carousel-badge.purple {
  background: #f5f3ff;
  color: #8b5cf6;
}

.carousel-badge.green {
  background: #ecfdf5;
  color: #10b981;
}

.carousel-badge.red {
  background: #fef2f2;
  color: #ef4444;
}

.carousel-title {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.carousel-desc {
  font-size: 15px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.carousel-progress-bar {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.carousel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f67214, #dc2626);
  transition: width 0.4s linear;
}

.carousel-card.final-card {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

.reality-final-statement p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reality-final-statement h3.gradient-text {
  font-size: clamp(32px, 4vw, 48px);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #f67214 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: 0;
}

/* Right Side: Visual Stack */
.reality-right {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.revision-visual-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 600px;
}

.stack-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  margin-top: -37.5%;
  margin-left: -50%;
  border-radius: 12px;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(60px) scale(0.9);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
  background: #fff;
  border: 1px solid #e2e8f0;
}

.stack-layer.visible {
  opacity: 1;
}

/* Specific Layer Transformations */
.layer-base.visible {
  transform: translateY(-40px) scale(0.9);
  opacity: 0.3;
}

.layer-bulletin.visible {
  transform: translateY(-20px) scale(0.93);
  opacity: 0.5;
}

.layer-rfi.visible {
  transform: translateY(0px) scale(0.96);
  opacity: 0.7;
}

.layer-coord.visible {
  transform: translateY(20px) scale(0.99);
  opacity: 0.9;
}

.layer-directive.visible {
  transform: translateY(40px) scale(1.02);
  opacity: 0.95;
}

.layer-final-state.visible {
  transform: translateY(60px) scale(1.05);
  opacity: 1;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.2);
}

/* Final cinematic dimming state */
.revision-visual-stack.final-state .stack-layer {
  opacity: 0.15 !important;
  transform: translateY(0) scale(0.95) !important;
}

.revision-visual-stack.final-state .layer-final-state {
  opacity: 1 !important;
  transform: translateY(40px) scale(1.05) !important;
  box-shadow: 0 0 0 3px #f67214, 0 24px 60px rgba(246, 114, 20, 0.25) !important;
}

/* Layer Content */
.layer-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.blueprint-sheet {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.layer-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #0f172a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.layer-tag.bulletin {
  background: #3b82f6;
}

.layer-tag.rfi {
  background: #8b5cf6;
}

.layer-tag.coord {
  background: #10b981;
}

.layer-tag.directive {
  background: #ef4444;
}

.layer-tag.compiled {
  background: #f67214;
}

/* Detail elements */
.revision-cloud-box {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 40%;
  height: 30%;
  border: 2px dashed #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  animation: pulse-border 2s infinite;
}

.revision-sticky {
  position: absolute;
  bottom: 20%;
  right: 20%;
  background: #fef08a;
  color: #854d0e;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  transform: rotate(-5deg);
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.coord-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 14px;
  animation: pulse 1.5s infinite;
}

.coord-marker.m1 {
  top: 40%;
  left: 40%;
}

.coord-marker.m2 {
  bottom: 30%;
  left: 60%;
}

@keyframes pulse-border {
  0% {
    border-color: rgba(59, 130, 246, 0.5);
  }

  50% {
    border-color: rgba(59, 130, 246, 1);
  }

  100% {
    border-color: rgba(59, 130, 246, 0.5);
  }
}

@media (max-width: 992px) {
  .reality-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reality-left {
    align-items: center;
    text-align: center;
  }

  .reality-body {
    text-align: center;
  }

  .carousel-card-container {
    max-width: 100%;
  }

  .carousel-card {
    max-width: 100%;
  }

  .reality-right {
    height: 440px;
  }

  .revision-visual-stack {
    max-width: 100%;
    height: 440px;
  }
}

@media (max-width: 575px) {
  .carousel-card-container {
    height: 230px;
  }

  .reality-right {
    height: 380px;
  }

  .revision-visual-stack {
    max-width: 100%;
    height: 380px;
  }

  .stack-layer {
    margin-left: -50%;
    width: 100%;
  }
}

/* Breaks Section */
/* ===== SECTION 3: WHY IT BREAKS (Cinematic Chaos) ===== */
.cinematic-chaos {
  padding: 120px 0;
  background: #fdfbf9;
  position: relative;
  overflow: hidden;
}

.breaks-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.chaos-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 64px;
}

/* --- LEFT SIDE: VISUAL WORKSPACE --- */
.chaos-visual-panel {
  position: relative;
  perspective: 1200px;
}

.chaos-workspace {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  height: 680px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
}

/* Workspace Chrome (Topbar) */
.workspace-chrome {
  background: #0f172a;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 50;
}

.chrome-dots {
  display: flex;
  gap: 8px;
}

.chrome-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.chrome-dots .red {
  background: #ef4444;
}

.chrome-dots .yellow {
  background: #eab308;
}

.chrome-dots .green {
  background: #22c55e;
}

.chrome-title {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chrome-badge.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.chrome-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 12px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* Workspace Inner Structure */
.workspace-inner {
  display: flex;
  flex: 1;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}

/* Sidebar */
.bulletin-sidebar {
  width: 200px;
  background: #1e293b;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  color: #e2e8f0;
  z-index: 40;
}

.sidebar-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0 20px 16px;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow: hidden;
}

.sidebar-item {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.sidebar-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #f67214;
}

.sidebar-item .item-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}

.sidebar-item .item-dot.red {
  background: #ef4444;
}

.sidebar-item .item-dot.green {
  background: #22c55e;
}

.sidebar-item .item-dot.blue {
  background: #3b82f6;
}

.sidebar-item .item-dot.gray {
  background: #64748b;
}

.sidebar-item .item-time {
  font-size: 11px;
  color: #64748b;
  padding-left: 12px;
}

.sidebar-footer {
  padding: 16px 20px 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Canvas Area */
.drawing-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.compare-toolbar {
  height: 52px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 30;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-group.tabs {
  background: #f1f5f9;
  padding: 4px;
  border-radius: 8px;
}

.tool-tab {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  border-radius: 6px;
  cursor: pointer;
}

.tool-tab.active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toolbar-group.zoom {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.tool-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  color: #475569;
}

.canvas-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(15, 23, 42, 0.03) 50px), repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(15, 23, 42, 0.03) 50px);
}

.split-headers {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  z-index: 20;
  pointer-events: none;
}

.split-label {
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.split-label.new {
  color: #ef4444;
}

.split-divider {
  position: absolute;
  left: 50%;
  top: -16px;
  bottom: -600px;
  width: 2px;
  background: rgba(15, 23, 42, 0.1);
  display: flex;
  justify-content: center;
  z-index: 25;
}

.divider-handle {
  position: absolute;
  top: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Drawings */
.drawing-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  z-index: 10;
}

.chaos-drawing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.chaos-drawing.base {
  z-index: 1;
}

.chaos-drawing.overlay-layer {
  z-index: 2;
  opacity: 0;
  transform: translateY(40px) scale(0.8) rotate(-4deg);
}

.chaos-mini-window {
  position: absolute;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  z-index: 30;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chaos-mini-window img {
  width: 100%;
  height: auto;
  display: block;
  border-top: 1px solid #e2e8f0;
}

.mini-header {
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mini window placements */
.w-arch {
  width: 200px;
  bottom: 20%;
  left: -5%;
}

.w-mech {
  width: 180px;
  bottom: 10%;
  left: 30%;
}

.w-elec {
  width: 220px;
  bottom: -5%;
  right: 25%;
}

/* Floating Elements */
.chaos-alerts-container {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chaos-alert {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  color: #475569;
  border-left: 4px solid #ef4444;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.chaos-alert.warning {
  border-left-color: #eab308;
}

.chaos-alert strong {
  color: #0f172a;
  font-size: 13px;
}

.chaos-window {
  position: absolute;
  top: 40px;
  right: 20px;
  width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  border: 1px solid #e2e8f0;
  z-index: 35;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s ease;
}

.window-header {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
}

.window-body {
  padding: 8px 0;
}

.change-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.change-log-list li {
  padding: 8px 16px;
  font-size: 12px;
  color: #475569;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.log-footer {
  padding: 12px 16px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}

/* Final Dark Overlay */
.chaos-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.overlay-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 24px 40px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(20px);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.overlay-text h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 4px;
  font-weight: 600;
}

.overlay-text p {
  color: #ef4444;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* Animation States applied by JS */
.chaos-workspace.animating .overlay-layer {
  opacity: 0.9;
  transform: translateY(0) scale(1) rotate(0);
  mix-blend-mode: multiply;
}

.chaos-workspace.animating .chrome-status .status-indicator {
  background: #ef4444;
  animation: pulseRed 1s infinite;
}

.chaos-workspace.animating .chrome-status .status-text {
  color: #ef4444;
  font-weight: 700;
}

.chaos-workspace.animating .chaos-alert {
  opacity: 1;
  transform: translateX(0);
}

.chaos-workspace.animating .chaos-alert:nth-child(2) {
  transition-delay: 0.2s;
}

.chaos-workspace.animating .chaos-alert:nth-child(3) {
  transition-delay: 0.4s;
}

.chaos-workspace.animating .chaos-alert:nth-child(4) {
  transition-delay: 0.6s;
}

.chaos-workspace.animating .chaos-window {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chaos-workspace.animating .chaos-mini-window {
  opacity: 1;
  transform: scale(1);
}

.chaos-workspace.animating #chaosMini1 {
  transition-delay: 0.3s;
}

.chaos-workspace.animating #chaosMini2 {
  transition-delay: 0.6s;
}

.chaos-workspace.animating #chaosMini3 {
  transition-delay: 0.9s;
}

.chaos-workspace.final-state .chaos-dark-overlay {
  opacity: 1;
  pointer-events: auto;
}

.chaos-workspace.final-state .overlay-content {
  transform: translateY(0);
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.chaos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 0;
}

/* --- LEFT SIDE: VISUAL WORKSPACE --- */
.chaos-visual-panel {
  position: relative;
  perspective: 1200px;
}

.chaos-workspace {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.9);
  height: 580px;
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
}

/* --- RIGHT SIDE: CONTENT STRUCTURE --- */
.chaos-content-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chaos-headline {
  width: 100%;
  font-size: clamp(38px, 4vw, 52px);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  margin: 0 0 24px 0;
  letter-spacing: -1px;
}

.gradient-text.orange {
  background: linear-gradient(135deg, #f67214 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chaos-body {
  width: 100%;
  font-size: 18px;
  color: #475569;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 48px;
}

/* Pain Stack UI */
.pain-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  border-color: rgba(234, 88, 12, 0.2);
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: #fffdfa;
  color: #f56314;
  border: 1px solid rgba(234, 88, 12, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-text h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #0f172a;
}

.pain-text p {
  margin: 0;
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}

/* Clean Reality Consequence (Neutral & Compact) */
.reality-consequence {
  margin-top: 24px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.consequence-header {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ea580c;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consequence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.consequence-item {
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.02);
}

.consequence-item svg {
  flex-shrink: 0;
}

.consequence-footer {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 10px 14px;
  font-size: 13px;
  color: #451a03;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  line-height: 1.4;
}

.consequence-footer strong {
  color: #0f172a;
  font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .chaos-grid {
    gap: 40px;
  }

  .chaos-workspace {
    height: 500px;
  }
}

@media (max-width: 991px) {
  .chaos-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .chaos-content-panel {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
  }

  .chaos-visual-panel {
    order: 2;
  }

  .chaos-workspace {
    height: 480px;
  }
}

@media (max-width: 768px) {
  .chaos-workspace {
    height: 500px;
  }

  .bulletin-sidebar {
    display: none;
  }

  .pain-card {
    padding: 16px;
    flex-direction: column;
    gap: 12px;
  }

  .impact-panel {
    padding: 24px;
  }

  .overlay-content {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .cinematic-chaos {
    padding: 64px 0;
  }

  .chaos-workspace {
    height: 400px;
    border-radius: 16px;
  }

  .chrome-title {
    font-size: 10px;
  }

  .chaos-headline {
    font-size: 32px;
  }

  .chaos-metrics-footer {
    grid-template-columns: 1fr;
  }

  .compare-toolbar {
    padding: 0 12px;
  }

  .tool-tab:not(.active) {
    display: none;
  }

  /* Simplified toolbar for mobile */
  .chaos-window {
    display: none;
  }

  /* Hide complex overlays on mobile to prevent clutter */
  .chaos-alerts-container {
    left: 12px;
    bottom: 12px;
    right: 12px;
  }

  .chaos-alert {
    padding: 8px 12px;
    font-size: 11px;
  }

  /* Scale down floating drawing windows for mobile */
  .chaos-mini-window {
    transform-origin: center bottom;
  }

  .chaos-workspace.animating .chaos-mini-window {
    transform: scale(0.65) !important;
  }

  .w-arch {
    bottom: 10%;
    left: -10%;
  }

  .w-mech {
    bottom: 5%;
    left: 20%;
  }

  .w-elec {
    bottom: -10%;
    right: 10%;
  }
}

/* ============================================================
   SECTION 4 - SKILL INTRO  (dark glassmorphism)
   ============================================================ */

.skill-intro-section {
  position: relative;
  padding: clamp(80px, 9vw, 120px) 0 clamp(80px, 9vw, 120px);
  background: #060d1a;
  overflow: hidden;
  isolation: isolate;
}

/* ---- Ambient Background ---- */
.intro-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.intro-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  animation: intro-blob-drift 14s ease-in-out infinite alternate;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #f67214 0%, transparent 70%);
  top: -140px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  animation-delay: -5s;
}

.blob-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: -100px;
  left: 40%;
  animation-delay: -9s;
}

@keyframes intro-blob-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.06);
  }

  66% {
    transform: translate(-15px, 25px) scale(0.97);
  }

  100% {
    transform: translate(20px, -10px) scale(1.03);
  }
}

.blob-2 {
  animation-name: intro-blob-drift-2;
}

@keyframes intro-blob-drift-2 {
  0% {
    transform: translateY(-50%) translate(0, 0) scale(1);
  }

  50% {
    transform: translateY(-50%) translate(-25px, 20px) scale(1.08);
  }

  100% {
    transform: translateY(-50%) translate(10px, -15px) scale(0.96);
  }
}

.intro-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* ---- Header ---- */
.intro-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 2;
}

.intro-dark-badge {
  background: rgba(246, 114, 20, 0.12) !important;
  border: 1px solid rgba(246, 114, 20, 0.3) !important;
  color: #f67214 !important;
  margin-bottom: 24px;
}

.intro-dark-badge .badge-dot-pulse {
  background: #f67214;
}

.intro-dark-badge .badge-dot-pulse::after {
  border-color: #f67214;
}

.intro-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(38px, 4.8vw, 57px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.8px;
  color: #ffffff;
  margin: 0 0 20px;
}

.intro-gradient-text {
  background: linear-gradient(135deg, #f67214 0%, #ff914d 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.intro-subtext {
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-weight: 500;
  margin: 0 auto;
  max-width: 680px;
}

/* ---- Cards Grid ---- */
.intro-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-bottom: 52px;
}

/* ---- Individual Card ---- */
.intro-step-card {
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  /* Initial hidden state for JS animation */
  opacity: 0;
  transform: translateY(48px);
}

.intro-step-card.si-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.intro-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

/* ---- Card Glow Orb ---- */
.step-card-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -60px;
  right: -40px;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.intro-step-card:hover .step-card-glow {
  opacity: 0.55;
}

.glow-orange {
  background: #f67214;
}

.glow-blue {
  background: #3b82f6;
}

.glow-purple {
  background: #8b5cf6;
}

/* ---- Card Inner ---- */
.step-card-inner {
  padding: 32px 28px 28px;
  position: relative;
  z-index: 2;
}

/* ---- Card Header Block ---- */
.step-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* ---- Step Icon ---- */
.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.intro-step-card:hover .step-icon-wrap {
  transform: scale(1.08);
}

.icon-orange {
  background: rgba(246, 114, 20, 0.12);
  border: 1px solid rgba(246, 114, 20, 0.2);
  color: #f67214;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

/* ---- Card Typography ---- */
.step-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.step-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  font-weight: 500;
  margin: 0 0 20px;
}

/* ---- Step Tag Pill ---- */
.step-card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, 0.2);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.2);
}

.tag-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.2);
}

/* ---- Card Connector Arrow ---- */
.step-connector-wrap {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.step-connector-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.2));
}

.step-connector-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.step-connector-dot::after {
  content: "\203A";
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

/* ---- Footer Note ---- */
.intro-footer-note {
  text-align: center;
  position: relative;
  z-index: 2;
}

.intro-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(246, 114, 20, 0.08);
  border: 1px solid rgba(246, 114, 20, 0.2);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  line-height: 1.4;
}

/* ---- Reveal animation helpers ---- */
.si-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.si-reveal.si-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .intro-headline {
    font-size: clamp(20px, 4.5vw, 36px);
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .intro-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .step-connector-wrap {
    display: none;
  }
}

@media (max-width: 575px) {
  .skill-intro-section {
    padding: 72px 0 64px;
  }

  .intro-header {
    margin-bottom: 44px;
  }

  .intro-headline {
    font-size: clamp(16px, 6.2vw, 24px);
    line-height: 1.2;
    letter-spacing: -0.6px;
  }

  .step-card-inner {
    padding: 24px 20px;
  }

  .intro-footer-pill {
    font-size: 13px;
    padding: 10px 18px;
  }
}


/* ============================================================
   SECTION 5 - WHAT HAPPENS (Light Premium Design)
   ============================================================ */

.wh-section {
  position: relative;
  padding: clamp(80px, 9vw, 120px) 0;
  background: #fffdfa;
  overflow: hidden;
}

.wh-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

.wh-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #111111;
  margin: 0 0 16px;
}

.wh-highlight {
  background: linear-gradient(135deg, #f67214 0%, #ff8b3d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wh-subtext {
  font-size: clamp(15px, 1.2vw, 17px);
  color: #555b63;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

/* ---- Body Grid ---- */
.wh-body-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

/* ---- Panel Container ---- */
.wh-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 10px 40px rgba(17, 17, 17, 0.015);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wh-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.035);
}

.wh-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 28px;
  width: fit-content;
}

.label-analysis,
.label-output {
  background: rgba(246, 114, 20, 0.07);
  border: 1px solid rgba(246, 114, 20, 0.16);
  color: #f67214;
}

/* ---- Step Cards (Left Panel) ---- */
.wh-step-cards-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.wh-step-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.045);
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.008);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wh-step-card:hover {
  background: #ffffff;
  border-color: rgba(246, 114, 20, 0.28);
  box-shadow: 0 12px 32px rgba(246, 114, 20, 0.075), 0 0 0 1px rgba(246, 114, 20, 0.12);
  transform: translateY(-3px) scale(1.012);
}

.wh-step-card:hover .wh-step-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: #f67214;
  color: #ffffff;
}

.wh-step-card-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(17, 17, 17, 0.18);
  font-family: "Outfit", sans-serif;
}

.wh-step-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 114, 20, 0.08);
  color: #f67214;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wh-step-card-icon-accent {
  background: rgba(246, 114, 20, 0.15);
  color: #d85f0f;
}

.wh-step-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 20px;
}

.wh-step-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  transition: color 0.3s ease;
}

.wh-step-card:hover .wh-step-card-title {
  color: #f67214;
}

.wh-step-card-desc {
  font-size: 12.5px;
  color: #555b63;
  line-height: 1.4;
}

/* ---- Output Cards (Right Panel) ---- */
.wh-outputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.wh-output-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.045);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.008);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wh-output-card:hover {
  background: #ffffff;
  border-color: rgba(246, 114, 20, 0.28);
  box-shadow: 0 12px 32px rgba(246, 114, 20, 0.075), 0 0 0 1px rgba(246, 114, 20, 0.12);
  transform: translateY(-3px) scale(1.012);
}

.wh-output-card:hover .wh-out-icon {
  transform: scale(1.1) rotate(5deg);
}

.wh-output-card:hover .wh-out-icon:not(.wh-icon-blue):not(.wh-icon-purple):not(.wh-icon-green) {
  background: #f67214;
  color: #ffffff;
}

.wh-output-card:hover .wh-icon-blue { background: #3b82f6; color: #ffffff; }
.wh-output-card:hover .wh-icon-purple { background: #8b5cf6; color: #ffffff; }
.wh-output-card:hover .wh-icon-green { background: #22c55e; color: #ffffff; }

.wh-out-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 114, 20, 0.08);
  color: #f67214;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wh-icon-blue {
  background: rgba(59, 130, 246, 0.08);
  color: #3b82f6;
}

.wh-icon-purple {
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
}

.wh-icon-green {
  background: rgba(34, 197, 94, 0.08);
  color: #22c55e;
}

.wh-out-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wh-out-title {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  transition: color 0.3s ease;
}

.wh-output-card:hover .wh-out-title {
  color: #f67214;
}

.wh-out-desc {
  font-size: 12.5px;
  color: #555b63;
  line-height: 1.4;
}

/* ---- Statement / Footer ---- */
.wh-statement {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  padding: 14px 28px;
  background: rgba(246, 114, 20, 0.05);
  border: 1px solid rgba(246, 114, 20, 0.12);
  border-radius: 999px;
  font-size: 14px;
  color: #111111;
  font-weight: 600;
}

/* ---- Animation Reveals ---- */
.wh-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.wh-fade.wh-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .wh-body-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .wh-section {
    padding: 72px 0;
  }
  
  .wh-panel {
    padding: 28px 20px;
    border-radius: 20px;
  }
  
  .wh-statement {
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 16px;
    line-height: 1.4;
  }
}

/* Review Section */
.review-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #ffffff;
}

.interface-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .interface-grid {
    grid-template-columns: 1fr;
  }
}

.viewer-mockup {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.mockup-content {
  text-align: center;
}

.panel-mockup {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.085);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}

.panel-mockup h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
}

.change-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.change-item:last-child {
  border-bottom: none;
}

.change-item h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  margin: 5px 0;
}

.change-item p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.change-tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.change-tag.arch {
  background: #e0f2fe;
  color: #0369a1;
}

.change-tag.mech {
  background: #fef3c7;
  color: #b45309;
}

.change-tag.elec {
  background: #dcfce7;
  color: #15803d;
}

/* Output Section */
.output-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #fffdf9;
  text-align: center;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.output-section .standard-card {
  text-align: left;
}

.output-section .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Shift Section */
.shift-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #ffffff;
  text-align: center;
}

.shift-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .shift-cards {
    flex-direction: column;
  }

  .shift-arrow {
    transform: rotate(90deg);
  }
}

.shift-card {
  padding: 30px;
  background: #fffdfa;
  border: 1px solid rgba(15, 23, 42, 0.085);
  border-radius: 20px;
  width: 320px;
  text-align: left;
}

.shift-card h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  margin-bottom: 15px;
}

.shift-card.before {
  border-color: #fca5a5;
}

.shift-card.after {
  border-color: #86efac;
  background: #f0fdf4;
}

.shift-arrow {
  font-size: 2.5rem;
  color: #94a3b8;
  font-weight: 700;
}

/* Matters Section */
.matters-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #fff3ec;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-item {
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-2px);
}

/* Teams Section */
.teams-section {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #ffffff;
}

.teams-section h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
}

.users-list,
.workflows-list {
  list-style: none;
  padding: 0;
}

.users-list li,
.workflows-list li {
  padding: 10px 0;
  color: #64748b;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.users-list li::before,
.workflows-list li::before {
  content: "\2022";
  color: #f67214;
  margin-right: 10px;
  font-weight: 700;
}

/* Section 10 - Construction Team Matrix */
.teams-matrix-section {
  padding: 92px 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fffdfa 58%, #ffffff 100%);
  background-size: 42px 42px, 42px 42px, auto;
  position: relative;
  overflow: hidden;
}

.teams-matrix-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.teams-matrix-heading {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
}

.teams-matrix-heading .section-badge {
  margin-left: auto;
  margin-right: auto;
}

.teams-matrix-title {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  color: #0f172a;
  margin: 0 0 16px;
}

.teams-matrix-copy {
  margin: 0 auto;
  max-width: 680px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 560;
}

.team-matrix {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.94fr) minmax(260px, 0.82fr) minmax(250px, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 520px;
}

.team-matrix-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.team-connection {
  opacity: 0;
  transition: opacity 520ms ease var(--line-delay, 0ms);
}

.teams-matrix-section.is-active .team-connection {
  opacity: 1;
}

.team-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-line-glow {
  stroke: rgba(246, 114, 20, 0.24);
  stroke-width: 9;
  opacity: 0.4;
  filter: url(#teamLineGlow);
}

.team-line-core {
  stroke-width: 1.65;
  stroke-dasharray: 10 10;
  filter: url(#teamLineGlow);
}

.team-connection.is-left .team-line-core {
  stroke: url(#teamLineLeftGradient);
}

.team-connection.is-right .team-line-core {
  stroke: url(#teamLineRightGradient);
}

.team-line-spark {
  stroke: #f67214;
  stroke-width: 2.4;
  stroke-dasharray: 1 136;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: url(#teamLineGlow);
}

.team-line-node {
  fill: #ffffff;
  stroke: rgba(246, 114, 20, 0.72);
  stroke-width: 1.6;
  opacity: 0;
  filter: url(#teamLineGlow);
  transform-box: fill-box;
  transform-origin: center;
}

.teams-matrix-section.is-active .team-line-core {
  animation: teamLineFlow 2.8s linear infinite;
}

.teams-matrix-section.is-active .team-line-spark {
  opacity: 0.95;
  animation: teamLineSpark 3.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: var(--line-delay, 0ms);
}

.teams-matrix-section.is-active .team-line-node {
  opacity: 1;
  animation: teamNodePulse 2.6s ease-in-out infinite;
  animation-delay: var(--line-delay, 0ms);
}

@keyframes teamLineFlow {
  to { stroke-dashoffset: -36; }
}

@keyframes teamLineSpark {
  0% { stroke-dashoffset: 140; opacity: 0; }
  14% { opacity: 0.95; }
  62% { opacity: 0.95; }
  100% { stroke-dashoffset: -140; opacity: 0; }
}

@keyframes teamNodePulse {
  0%, 100% {
    transform: scale(1);
    stroke-width: 1.6;
    opacity: 0.74;
  }
  50% {
    transform: scale(1.45);
    stroke-width: 2.1;
    opacity: 1;
  }
}

.team-matrix-column,
.team-matrix-hub {
  position: relative;
  z-index: 1;
}

.team-matrix-column {
  display: grid;
  gap: 12px;
}

.team-matrix-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.team-tile,
.workflow-tile {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 248, 0.96) 100%);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 18px;
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.team-tile::before,
.workflow-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(246, 114, 20, 0.92) 0%, rgba(255, 167, 74, 0.65) 100%);
  opacity: 0.22;
  transition: opacity 220ms ease;
}

.team-tile::after,
.workflow-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(246, 114, 20, 0.06), transparent 34%, transparent 72%, rgba(246, 114, 20, 0.04));
  opacity: 0.65;
  pointer-events: none;
}

.teams-matrix-section.is-active .team-tile,
.teams-matrix-section.is-active .workflow-tile {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--tm-delay, 0ms);
}

.team-tile:hover,
.workflow-tile:hover {
  border-color: rgba(246, 114, 20, 0.2);
  box-shadow:
    0 22px 44px rgba(246, 114, 20, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 248, 241, 0.98) 100%);
  transform: translateY(-3px);
}

.team-tile:hover::before,
.workflow-tile:hover::before {
  opacity: 0.9;
}

.team-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(246, 114, 20, 0.18);
  color: #f67214;
  box-shadow: 0 10px 20px rgba(246, 114, 20, 0.12);
  font-size: 11px;
  font-weight: 900;
}

.workflow-tile {
  justify-content: flex-start;
}

.team-tile-text,
.workflow-tile span:last-child {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.workflow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #f67214;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  z-index: 3;
  background: #f67214;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

.team-matrix-hub {
  align-self: center;
  justify-self: center;
  width: min(100%, 280px);
  text-align: center;
  padding: 24px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(246, 114, 20, 0.22);
  box-shadow: 0 0 0 8px rgba(246, 114, 20, 0.05), 0 28px 70px rgba(15, 23, 42, 0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.teams-matrix-section.is-active .team-matrix-hub {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hub-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f67214;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.hub-title {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.hub-subtitle {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.team-matrix-strip {
  margin: 34px auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.team-matrix-strip span {
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 10px 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .teams-matrix-section {
    padding: 76px 0;
  }

  .teams-matrix-title {
    font-size: 34px;
  }

  .team-matrix {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  .team-matrix-lines {
    display: none;
  }

  .team-matrix-hub {
    order: 2;
    margin: 4px auto;
  }

  .team-matrix-hub .hub-kicker,
  .team-matrix-hub .hub-subtitle {
    position: relative;
  }

  .team-matrix-roles {
    order: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .team-matrix-workflows {
    order: 3;
    gap: 14px;
  }

  .team-matrix-label {
    grid-column: 1 / -1;
    text-align: center;
  }

  .team-matrix-hub::before,
  .team-matrix-hub::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    border-left: 1.5px dashed rgba(246, 114, 20, 0.42);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .team-matrix-hub::before {
    bottom: 100%;
    height: 26px;
  }

  .team-matrix-hub::after {
    top: 100%;
    height: 26px;
  }

  .team-matrix-hub .hub-kicker::before,
  .team-matrix-hub .hub-subtitle::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff7ed;
    border: 1.5px solid rgba(246, 114, 20, 0.5);
    box-shadow: 0 0 0 6px rgba(246, 114, 20, 0.08);
    transform: translateX(-50%);
  }

  .team-matrix-hub .hub-kicker::before {
    top: -22px;
  }

  .team-matrix-hub .hub-subtitle::after {
    bottom: -24px;
  }
}

@media (max-width: 640px) {
  .teams-matrix-container {
    padding: 0 18px;
  }

  .teams-matrix-title {
    font-size: 28px;
  }

  .teams-matrix-copy {
    font-size: 15px;
  }

  .team-matrix-roles {
    grid-template-columns: 1fr;
  }

  .team-tile,
  .workflow-tile {
    min-height: 60px;
    gap: 12px;
    border-radius: 16px;
    padding: 13px 14px;
    font-size: 13.5px;
  }

  .team-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .team-matrix-hub {
    width: min(100%, 340px);
    padding: 22px 18px;
  }

  .hub-title {
    font-size: 20px;
  }

  .hub-subtitle {
    font-size: 12.5px;
  }

  .team-matrix-strip {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}

/* Final CTA Section */
.final-cta-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: linear-gradient(135deg, #f67214, #ff9f45);
  color: #ffffff;
  text-align: center;
}

.final-cta-section .section-title {
  color: #ffffff;
}

.final-cta-section .section-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.final-cta-section .cta-button {
  background: #ffffff;
  color: #f67214;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.final-cta-section .cta-button:hover {
  background: #fffdfa;
  color: #d85f0f;
}

/* ============================================================
   SECTION 6 - INTERACTIVE CHANGE REVIEW (SPLIT VIEWER)
   ============================================================ */
.interactive-review-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #ffffff;
  overflow: hidden;
}

.ir-container {
  display: grid;
  grid-template-columns: 42fr 58fr; /* Balanced columns: narrows the animation and gives content more room */
  gap: 48px;
  align-items: center;
}

/* LEFT CONTENT */
.ir-content {
  display: flex;
  flex-direction: column;
}



.ir-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 16px;
}
.ir-highlight {
  color: #f67214;
}

.ir-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 32px;
}

.ir-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.ir-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 0;
}

.ir-feature:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(246, 114, 20, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(246, 114, 20, 0.08);
}

.ir-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, 0.2);
  transition: all 0.3s ease;
}

.ir-feature:hover .ir-feature-icon {
  background: #f67214;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.ir-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ir-feature-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.01em;
}

.ir-feature-desc {
  font-size: 13.5px;
  color: #475569;
  margin-top: 0;
  line-height: 1.5;
}

/* RIGHT VISUAL WORKSPACE (APP MOCKUP) */
.ir-app-window {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  height: 550px; /* Reduced from 600px to maintain standard aspect ratio at narrower width */
  display: flex;
  flex-direction: column;
}

/* Header */
.ir-app-header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  z-index: 10;
  background: #ffffff;
}
.ir-app-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  width: 180px;
}
.ir-app-label:first-child { justify-content: flex-end; }
.ir-app-label:last-child { justify-content: flex-start; }
.ir-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-blue { background: #3b82f6; }
.dot-orange { background: #f67214; }

.ir-vs-badge {
  background: #f1f5f9;
  color: #3b82f6;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 12px;
  margin: 0 16px;
}

/* Split Viewer */
.ir-split-viewer {
  flex: 1;
  position: relative;
  background: #fafafa;
  overflow: hidden;
  user-select: none;
}

.ir-split-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}
.ir-old-panel {
  z-index: 1;
}
.ir-new-panel {
  z-index: 2;
}

.ir-blueprint-pattern {
  position: absolute;
  top: 0; bottom: 0;
  width: 100%; /* Clipped beautifully to the split viewer container bounds */
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pattern-blue {
  background: #ffffff;
}
.pattern-orange {
  background: #ffffff;
}

/* Real Drawing Wrapper */
.ir-drawing-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 800px;
  margin-top: -400px;
  margin-left: -600px;
  background: #ffffff;
  overflow: hidden;
}

.ir-real-drawing {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: contrast(1.1) brightness(0.95);
}

/* Tint Layers (Screen Blend Mode turns black lines into color!) */
.ir-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.ir-tint-blue { background: #3b82f6; }
.ir-tint-orange { background: #f67214; }

/* Dynamic Grid */
.ir-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
}
.pattern-blue .ir-grid-overlay {
  background-image: 
    linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pattern-orange .ir-grid-overlay {
  background-image: 
    linear-gradient(rgba(246,114,20,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,114,20,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Overlays SVG */
.ir-drawing-overlays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Clouds with Pulse Effect */
.ir-pulse-cloud {
  animation: pulseCloud 3s infinite alternate;
}
@keyframes pulseCloud {
  0% { fill: rgba(246,114,20,0.05); filter: drop-shadow(0 0 4px rgba(246,114,20,0.2)); }
  100% { fill: rgba(246,114,20,0.15); filter: drop-shadow(0 0 12px rgba(246,114,20,0.6)); }
}

/* Splitter Handle */
.ir-splitter-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(246, 114, 20, 0.4); /* Divider dividing line between blueprints */
  cursor: ew-resize;
  z-index: 20;
  transform: translateX(-50%);
}
.ir-splitter-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform 0.2s;
}
.ir-splitter-handle:hover .ir-splitter-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Advanced Markers inside drawing */
.ir-marker {
  position: absolute;
  width: 28px;
  height: 28px;
  background: #f67214;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  z-index: 10;
}
.ir-marker-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(246,114,20,0.4);
  animation: markerPulse 2s infinite;
  pointer-events: none;
}
@keyframes markerPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.ir-marker:hover {
  transform: scale(1.2);
  background: #ffffff;
  color: #f67214;
}


/* Detected Changes Log (Floating Panel) */
.ir-detected-log {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 16px;
  width: 250px;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
  z-index: 30;
  transition: all 0.3s ease;
}
.ir-detected-log:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.12);
}
.ir-log-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.ir-log-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: logPulse 2s infinite;
}
@keyframes logPulse {
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.ir-log-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ir-log-list li {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.ir-log-icon {
  margin-top: 2px;
  color: #f67214;
  flex-shrink: 0;
}
.ir-log-footer {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ir-footer-svg {
  color: #f67214;
  flex-shrink: 0;
}

/* Minimap */
.ir-minimap {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 120px;
  height: 80px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 4px;
  z-index: 30;
}
.ir-minimap-img {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 2px, #fff 2px, #fff 4px);
  position: relative;
  border: 1px solid #e2e8f0;
}
.ir-minimap-viewport {
  position: absolute;
  top: 20%; left: 30%;
  width: 40%; height: 60%;
  border: 2px solid #f67214;
  background: rgba(246, 114, 20, 0.1);
}

/* Zoom Controls */
.ir-zoom-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  padding: 6px 12px;
  gap: 8px;
  z-index: 30;
}
.ir-zoom-controls button {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
}
.ir-zoom-controls button:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.ir-zoom-controls span {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  width: 40px;
  text-align: center;
}
.ir-zoom-divider {
  width: 1px;
  height: 16px;
  background: #e2e8f0;
}

/* AI Panel */
.ir-ai-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: 250px; /* Slimmed down from 280px to preserve drawing comparison real estate */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
  padding: 16px; /* Optimized internal layout padding */
  display: flex;
  flex-direction: column;
  z-index: 30;
  transition: all 0.3s ease;
}
.ir-ai-panel:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.12);
}
.ir-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ir-ai-count {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.ir-ai-nav button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  color: #64748b;
  font-size: 10px;
}
.ir-ai-tag {
  font-size: 10px;
  font-weight: 700;
  color: #f67214;
  background: rgba(246, 114, 20, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 8px;
}
.ir-ai-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}
.ir-ai-impact-badge {
  font-size: 10px;
  font-weight: 600;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px; /* Reduced from 20px for a more compact vertical footprint */
}

.ir-ai-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.ir-ai-meta-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.ir-ai-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}
.ir-ai-meta-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(246, 114, 20, 0.3);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.05);
  transform: translateY(-1px);
}
.ir-ai-meta-item.align-top {
  align-items: flex-start;
}
.ir-meta-icon {
  width: 20px;
  display: flex;
  justify-content: center;
  color: #f67214;
  margin-top: 2px;
  flex-shrink: 0;
}
.ir-meta-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ir-meta-key {
  font-size: 10px;
  font-weight: 800;
  color: #0f172a;
  min-width: 70px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ir-meta-val, .ir-meta-text {
  font-size: 12px;
  color: #334155;
  margin: 0;
  line-height: 1.4;
  font-weight: 600;
}

.ir-ai-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px; /* Reduced from 20px for clean layout in shorter containers */
}
.ir-ai-actions button {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.ir-btn-primary {
  background: #f67214;
  color: #fff;
  border: none;
}
.ir-btn-primary:hover {
  background: #d85f0f;
}
.ir-btn-secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.ir-btn-secondary:hover {
  background: #f8fafc;
}

/* Animations */
.ir-cloud-svg {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawCloud 2s ease-out forwards;
  animation-delay: 0.5s;
}
@keyframes drawCloud {
  to { stroke-dashoffset: 0; }
}

.ir-animated-element {
  animation: pulseHighlight 2.5s infinite alternate ease-in-out;
}
@keyframes pulseHighlight {
  0% { opacity: 0.6; filter: drop-shadow(0 0 0px rgba(246, 114, 20, 0)); }
  100% { opacity: 1; filter: drop-shadow(0 0 12px rgba(246, 114, 20, 0.6)); }
}

/* Responsive */
@media (max-width: 1024px) {
  .ir-container {
    grid-template-columns: 1fr;
  }
  .ir-content {
    max-width: 700px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .ir-app-window {
    height: 500px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
  }

  .ir-app-header {
    height: 44px;
    padding: 0 12px;
    gap: 8px;
  }

  .ir-app-label {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    gap: 6px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .ir-vs-badge {
    margin: 0;
    padding: 3px 7px;
    font-size: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
  }

  .ir-drawing-wrapper {
    width: 1040px;
    height: 694px;
    margin-top: -347px;
    margin-left: -520px;
  }

  .ir-splitter-handle {
    width: 1px;
  }

  .ir-splitter-btn {
    width: 34px;
    height: 34px;
    gap: 2px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  }

  .ir-splitter-btn svg {
    width: 12px;
    height: 12px;
  }

  .ir-marker {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .ir-detected-log {
    top: 12px;
    left: 12px;
    width: min(230px, calc(100% - 96px));
    padding: 12px 12px 11px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
  }

  .ir-log-header {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .ir-log-list {
    margin-bottom: 12px;
    gap: 7px;
  }

  .ir-log-list li {
    font-size: 12px;
    line-height: 1.35;
  }

  .ir-log-footer {
    padding-top: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .ir-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ir-ai-panel {
    display: none; /* Hide complex panel on mobile to avoid clutter */
  }
  .ir-zoom-controls {
    display: none;
  }
  .ir-minimap {
    display: none;
  }
}

@media (max-width: 560px) {
  .ir-app-window {
    height: 440px;
    border-radius: 12px;
  }

  .ir-app-header {
    height: 40px;
    padding: 0 10px;
    gap: 6px;
  }

  .ir-app-label {
    font-size: 10px;
    letter-spacing: 0;
  }

  .ir-dot {
    width: 7px;
    height: 7px;
  }

  .ir-vs-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  .ir-drawing-wrapper {
    width: 900px;
    height: 600px;
    margin-top: -300px;
    margin-left: -450px;
  }

  .ir-detected-log {
    top: 10px;
    left: 10px;
    width: min(195px, calc(100% - 88px));
    padding: 10px 10px 9px;
    border-radius: 10px;
  }

  .ir-log-header {
    gap: 6px;
    margin-bottom: 8px;
    font-size: 9px;
  }

  .ir-log-list {
    margin-bottom: 10px;
    gap: 6px;
  }

  .ir-log-list li {
    font-size: 11px;
    gap: 6px;
  }

  .ir-log-icon {
    width: 12px;
    height: 12px;
  }

  .ir-log-footer {
    font-size: 10px;
    gap: 6px;
  }

  .ir-footer-svg {
    width: 14px;
    height: 14px;
  }

  .ir-splitter-btn {
    width: 30px;
    height: 30px;
  }

  .ir-splitter-btn svg {
    width: 11px;
    height: 11px;
  }

  .ir-marker {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}

/* ============================================================
   SECTION 7 - AI OUTPUT DESK
   ============================================================ */
.ai-desk-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #f8fafc;
  overflow: hidden;
}

.desk-container {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 48px;
  align-items: center;
}

/* LEFT CONTENT */
.desk-content {
  display: flex;
  flex-direction: column;
}

.desk-headline {
  font-family: "Outfit", sans-serif;
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.desk-highlight {
  color: #f67214;
}

.desk-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 40px;
}

/* Feature List */
.desk-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.desk-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  position: relative;
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.desk-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  border-color: rgba(246, 114, 20, 0.3);
}
.desk-feature-item:last-child {
  margin-bottom: 0;
}

.desk-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.icon-brand { background: rgba(246, 114, 20, 0.1); color: #f67214; }

.desk-feature-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desk-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.desk-feature-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.desk-feature-sublist li {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.desk-feature-item:hover .desk-feature-sublist li {
  background: rgba(246, 114, 20, 0.06);
  color: #c05a10;
  border-color: rgba(246, 114, 20, 0.25);
}



.desk-callout-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 8px;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}
.desk-callout-bottom svg {
  color: #0f172a;
}

/* RIGHT WORKSPACE */
.desk-workspace {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.02) inset;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.desk-module {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.desk-module-header {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: #ffffff;
}

.desk-module-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* Top Viewer Module */
.desk-viewer-module {
  flex-shrink: 0;
}

.desk-viewer-toolbar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.desk-toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.desk-toolbar-group button {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.desk-toolbar-group button:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.desk-toolbar-group button.active {
  background: #0f172a;
  color: #ffffff;
}
.desk-toolbar-group.main-toggles {
  background: #f8fafc;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.desk-toolbar-group.main-toggles button {
  padding: 6px 12px;
}

.desk-viewer-canvas {
  position: relative;
  background: #f8fafc;
  height: 360px;
  overflow: hidden;
}

.desk-canvas-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.desk-canvas-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: grayscale(100%) contrast(1.2);
}

.desk-tint-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.desk-tint-green {
  left: 0;
  width: 50%;
  background: rgba(34, 197, 94, 0.1);
  border-right: 2px dashed rgba(34, 197, 94, 0.4);
}
.desk-tint-orange {
  left: 50%;
  width: 50%;
  background: rgba(246, 114, 20, 0.05);
}

.desk-legend {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}
.desk-legend .legend-item {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.desk-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.desk-legend .dot.green { background: #22c55e; }
.desk-legend .dot.orange { background: #f67214; }

.desk-drawing-overlays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.desk-cloud-pulse {
  animation: cloudPulse 3s infinite alternate ease-in-out;
}
@keyframes cloudPulse {
  0% { fill: rgba(246, 114, 20, 0.05); }
  100% { fill: rgba(246, 114, 20, 0.15); }
}

.desk-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #f67214;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(246, 114, 20, 0.3);
  transform: translate(-50%, -50%);
  animation: markerBounce 2s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
}
@keyframes markerBounce {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 6px 12px rgba(246, 114, 20, 0.4); }
}

.desk-canvas-zoom {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  z-index: 10;
}
.desk-canvas-zoom button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
}
.desk-canvas-zoom button:hover { background: #f1f5f9; color: #0f172a; }
.desk-canvas-zoom span {
  font-size: 12px;
  font-weight: 600;
  padding: 0 8px;
  color: #0f172a;
}

.desk-viewer-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 220px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  z-index: 20;
}
.vp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.vp-count { font-size: 11px; font-weight: 600; color: #64748b; }
.vp-nav button {
  width: 20px; height: 20px; border-radius: 4px; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 10px; margin-left: 4px; cursor: pointer;
}
.vp-tag {
  display: inline-block;
  padding: 2px 4px;
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
  font-size: 9px;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 6px;
}
.vp-title { font-size: 12px; font-weight: 700; color: #0f172a; margin: 0 0 8px; line-height: 1.2; }
.vp-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.vp-meta-item { display: flex; align-items: center; gap: 8px; }
.vp-meta-item svg { color: #3b82f6; }
.vp-lbl { font-size: 10px; color: #0f172a; font-weight: 600; width: 60px; }
.vp-val { font-size: 11px; color: #475569; }
.vp-desc { display: flex; gap: 6px; margin-bottom: 8px; align-items: flex-start; }
.vp-desc svg { color: #3b82f6; margin-top: 2px; }
.vp-desc p { font-size: 10px; color: #475569; margin: 2px 0 0; line-height: 1.3; }
.vp-impact-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.vp-impact-row svg { color: #3b82f6; }
.vp-badge.high { background: rgba(239, 68, 68, 0.1); color: #ef4444; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.vp-btn { width: 100%; padding: 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 12px; font-weight: 600; color: #0f172a; display: flex; justify-content: center; align-items: center; gap: 6px; cursor: pointer; }

/* BOTTOM MODULES STRIP */
.desk-modules-strip {
  display: grid;
  grid-template-columns: 35fr 30fr 35fr;
  gap: 12px;
}

/* Module 1: Change Log Table */
.desk-log-table {
  display: flex;
  flex-direction: column;
  padding: 8px;
}
.desk-log-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 60px;
  gap: 6px;
  padding: 4px 8px;
  align-items: center;
  border-radius: 6px;
  font-size: 11px;
}
.desk-log-row:hover:not(.header-row) { background: #f8fafc; cursor: pointer; }
.desk-log-row.active { background: rgba(246, 114, 20, 0.05); }
.desk-log-row.header-row {
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 4px;
}
.desk-log-row:not(.header-row) .col-id { font-weight: 700; color: #475569; }
.desk-log-row.active .col-id { color: #f67214; }
.desk-log-row:not(.header-row) .col-desc { color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-log-row.active .col-desc { color: #f67214; }
.desk-log-row:not(.header-row) .col-disc { color: #64748b; }
.desk-log-row.active .col-disc { color: #f67214; }

.badge.high { color: #ef4444; background: rgba(239, 68, 68, 0.1); padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.badge.medium { color: #f67214; background: rgba(246, 114, 20, 0.1); padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.badge.low { color: #10b981; background: rgba(16, 185, 129, 0.1); padding: 2px 6px; border-radius: 4px; font-weight: 600; }

.desk-log-footer {
  padding: 8px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-top: auto;
}
.desk-log-footer a { font-size: 11px; font-weight: 600; color: #2563eb; text-decoration: none; }

/* Module 2: AI Narrative */
.desk-narrative-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.typing-line {
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  margin: 0;
  position: relative;
}

.desk-narrative-footer {
  padding: 8px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.desk-narrative-footer .lbl { font-size: 11px; color: #64748b; font-weight: 600; }
.conf-bar { flex: 1; height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.conf-fill { height: 100%; background: #2563eb; border-radius: 3px; }
.desk-narrative-footer .val { font-size: 11px; color: #0f172a; font-weight: 700; }

/* Module 3: Impact Support */
.desk-impact-metrics {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.impact-metric {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.met-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.met-icon.green { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.met-icon.blue { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.met-icon.orange { background: rgba(246, 114, 20, 0.1); color: #f67214; }
.met-data { display: flex; flex-direction: column; }
.met-lbl { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.met-val { font-size: 16px; font-weight: 800; color: #0f172a; margin: 2px 0; }
.met-sub { font-size: 11px; color: #475569; }
.impact-divider { height: 1px; background: #e2e8f0; width: 100%; }

.desk-impact-footer {
  padding: 8px 12px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-top: auto;
}
.desk-impact-footer a { font-size: 12px; font-weight: 600; color: #2563eb; text-decoration: none; }

.desk-verification-note {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .desk-modules-strip {
    grid-template-columns: 1fr 1fr;
  }
  .desk-impact-module {
    grid-column: span 2;
  }
}
@media (max-width: 1024px) {
  .desk-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .desk-content {
    max-width: 700px;
  }
  .desk-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .desk-feature-item {
    margin-bottom: 0;
  }
  .desk-feature-connector {
    display: none;
  }
  .desk-modules-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .desk-impact-module {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .desk-feature-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .desk-modules-strip {
    grid-template-columns: 1fr;
  }
  .desk-viewer-panel {
    display: none;
  }
  .desk-viewer-canvas {
    height: 300px;
  }
  .desk-log-row {
    grid-template-columns: 60px 1fr 60px;
  }
  .col-cat, .col-disc { display: none; }
}

/* 8. SHIFT SECTION (DARK GLASSMORPHISM - COMPACT & PREMIUM) */
.shift-section.shift-dark {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #080c17;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.shift-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.shift-main-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.title-arrow {
  color: #f67214;
  display: inline-block;
  padding: 0 8px;
}

.shift-sub-title {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.shift-panels-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.shift-panel-box {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-box-before {
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(239, 68, 68, 0.08);
}

.panel-box-before:hover {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 45px rgba(239, 68, 68, 0.15);
  transform: translateY(-4px);
}

.panel-box-after {
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(16, 185, 129, 0.08);
}

.panel-box-after:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 45px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

.panel-box-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: fit-content;
}

.pill-before {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pill-after {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.panel-flow-path {
  font-size: 0.95rem;
  font-style: italic;
  color: #94a3b8;
  line-height: 1.4;
}

.panel-box-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shift-step-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.step-before:hover {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.2);
  transform: translateX(4px);
}

.step-after:hover {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(4px);
}

.step-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon-box svg {
  width: 18px;
  height: 18px;
}

.icon-before {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.icon-after {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.step-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.step-text-col h4 {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  width: 100%;
  line-height: 1.2;
  text-align: left;
}

.step-text-col p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  width: 100%;
  line-height: 1.42;
  text-align: left;
}

.panel-box-footer {
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-before {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.footer-after {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.shift-vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f67214, #d85f0f);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(246, 114, 20, 0.6);
  z-index: 10;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .shift-panels-container {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 680px;
  }

  .shift-vs-badge {
    margin: 8px auto;
  }
}

@media (max-width: 575px) {
  .shift-section.shift-dark {
    padding: 50px 0;
  }

  .panel-box-header {
    padding: 20px 20px 16px;
  }

  .panel-box-body {
    padding: 20px;
    gap: 12px;
  }

  .shift-step-card {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px 16px;
    gap: 14px;
  }

  .step-icon-box {
    width: 36px;
    height: 36px;
  }

  .step-icon-box svg {
    width: 16px;
    height: 16px;
  }

  .step-text-col h4 {
    font-size: 0.95rem;
    line-height: 1.18;
  }

  .step-text-col p {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .panel-box-footer {
    padding: 14px 20px;
    font-size: 0.8rem;
  }

  .shift-main-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }
}

/* 9. BREADCRUMB & FINAL CTA SECTIONS (DARK THEME - HIGHEST END GLASSMORPHISM) */
.breadcrumb-nav {
  margin-bottom: 40px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  position: relative;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #f67214;
}

.breadcrumb-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f67214;
  transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
  width: 100%;
}

.breadcrumb-separator {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
  user-select: none;
}

.breadcrumb-current {
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb-link-current {
  position: relative;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
}

.breadcrumb-link-current::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f67214;
}

.breadcrumb-cta {
  margin-top: 48px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.breadcrumb-cta.breadcrumb-left {
  justify-content: flex-start;
}

.breadcrumb-cta .breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-cta .breadcrumb-link:hover {
  color: #f67214;
}

.breadcrumb-cta .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-cta .breadcrumb-link-current {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-cta .breadcrumb-link-current::after {
  background: #f67214;
}

.breadcrumb-cta .breadcrumb-link-current-plain {
  position: relative;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.final-cta-dark {
  position: relative;
  padding: 100px 0 0 0;
  background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
  overflow: hidden;
}

.cta-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 200%;
  animation: starsMove 60s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

.cta-glow-orb {
  position: absolute;
  z-index: 3;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.cta-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.4), transparent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.cta-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.3), transparent);
  bottom: -150px;
  left: -100px;
  animation-delay: 2s;
}

.cta-glow-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.25), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

.cta-content-dark {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.cta-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(246, 114, 20, 0.1);
  border: 2px solid rgba(246, 114, 20, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f67214;
  margin-bottom: 32px;
  box-shadow: 0 0 30px rgba(246, 114, 20, 0.2);
  animation: badgeGlow 3s ease-in-out infinite;
}

.cta-title-dark {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-subtitle-dark {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 48px;
  line-height: 1.6;
  font-weight: 500;
}

.cta-accent-text {
  background: linear-gradient(135deg, #f67214, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.cta-button-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 0 0 0 rgba(246, 114, 20, 0.4),
    0 12px 40px rgba(246, 114, 20, 0.4),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-cta-primary:hover .btn-shine {
  left: 100%;
}

.btn-cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 8px rgba(246, 114, 20, 0.2),
    0 20px 60px rgba(246, 114, 20, 0.6),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:active {
  transform: translateY(-2px) scale(1);
}

.btn-cta-primary svg {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover svg {
  transform: translateX(5px);
}

.cta-note-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 500;
}

.cta-note-dark svg {
  color: #f67214;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .final-cta-dark {
    padding: 80px 0 0 0;
  }

  .cta-badge-dark {
    margin-bottom: 28px;
  }

  .cta-title-dark {
    margin-bottom: 20px;
  }

  .cta-subtitle-dark {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .final-cta-dark {
    padding: 70px 0 0 0;
  }

  .cta-content-dark {
    max-width: none;
    width: 100%;
    padding: 0 20px;
    text-align: left;
  }

  .cta-badge-dark {
    padding: 8px 20px;
    font-size: 11px;
    margin-bottom: 24px;
  }

  .cta-title-dark {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: pretty;
    margin-bottom: 18px;
  }

  .cta-subtitle-dark {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.14rem;
    line-height: 1.55;
    margin-bottom: 36px;
  }

  .btn-cta-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 18px 40px;
    font-size: 17px;
    line-height: 1.2;
  }

  .cta-button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .breadcrumb-cta {
    margin-top: 36px;
  }

  .breadcrumb-cta .breadcrumb-link,
  .breadcrumb-cta .breadcrumb-link-current,
  .breadcrumb-cta .breadcrumb-link-current-plain {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .final-cta-dark {
    padding: 60px 0 0 0;
  }

  .cta-content-dark {
    padding: 0 16px;
  }

  .cta-badge-dark {
    padding: 7px 18px;
    font-size: 10px;
    margin-bottom: 20px;
  }

  .cta-title-dark {
    max-width: none;
    font-size: 1.92rem;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .cta-subtitle-dark {
    max-width: none;
    font-size: 1.06rem;
    line-height: 1.5;
    margin-bottom: 32px;
  }

  .cta-accent-text {
    display: inline;
  }

  .btn-cta-primary {
    gap: 10px;
    padding: 16px 22px;
    font-size: 15.5px;
    border-radius: 12px;
  }

  .btn-cta-primary svg {
    width: 18px;
    height: 18px;
  }

  .cta-note-dark {
    justify-content: flex-start;
    text-align: left;
    line-height: 1.45;
    padding: 0;
  }

  .breadcrumb-cta {
    justify-content: center;
    padding: 0 16px;
  }

  .breadcrumb-cta.breadcrumb-left {
    justify-content: center;
  }

  .breadcrumb-cta .breadcrumb-list {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

/* ===========================================
   SECTION 9 - WHY IT MATTERS (PREMIUM EDITORIAL)
   =========================================== */
.wim-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background: radial-gradient(circle at 10% 20%, rgba(246, 114, 20, 0.02) 0%, transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.wim-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.04) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.wim-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.wim-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.wim-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 16px 0 0;
  letter-spacing: -0.03em;
}

/* IMPACT CHIPS BLOCK */
.wim-impact-block {
  text-align: center;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.wim-impact-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 24px;
}

.wim-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wim-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.wim-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f67214;
  background: rgba(246, 114, 20, 0.08);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.28s ease;
}

.wim-chip:hover {
  border-color: #f67214;
  background: rgba(246, 114, 20, 0.03);
  color: #f67214;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(246, 114, 20, 0.12);
}

.wim-chip:hover .wim-chip-icon {
  background: #f67214;
  color: #ffffff;
  transform: scale(1.1);
}

.wim-chip-arrow {
  font-size: 1.1rem;
  color: #94a3b8;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  margin: 0 4px;
}

/* ESCALATION BANNER */
.wim-escalation {
  margin: 0 auto 64px;
  display: flex;
  justify-content: center;
  max-width: 900px;
}

.wim-escalation-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(246, 114, 20, 0.08) 0%, rgba(239, 68, 68, 0.08) 100%);
  border: 1px solid rgba(246, 114, 20, 0.25);
  font-size: 0.95rem;
  font-weight: 600;
  color: #9a3412;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 15px rgba(246, 114, 20, 0.05);
  transition: all 0.3s ease;
}

.wim-escalation-inner:hover {
  transform: scale(1.01);
  border-color: rgba(246, 114, 20, 0.4);
  box-shadow: 0 6px 20px rgba(246, 114, 20, 0.08);
}

.wim-escalation-inner svg {
  color: #ef4444;
  animation: pulse-warn 2s infinite ease-in-out;
  flex-shrink: 0;
}

.wim-escalation-highlight {
  font-weight: 800;
  color: #ea580c;
}

.wim-escalation-text {
  margin-left: 4px;
}

@keyframes pulse-warn {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

/* BENEFITS GRID */
.wim-benefits-wrap {
  border-top: 1px solid #e2e8f0;
  padding-top: 56px;
}

.wim-benefits-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 36px;
}

.wim-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.wim-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 24px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.wim-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f67214, #f97316);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wim-benefit-card:hover::before {
  opacity: 1;
}

.wim-benefit-card:hover {
  border-color: rgba(246, 114, 20, 0.2);
  box-shadow: 0 20px 40px rgba(246, 114, 20, 0.08);
  transform: translateY(-6px);
}

.wim-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(246, 114, 20, 0.08);
  border: 1px solid rgba(246, 114, 20, 0.18);
  color: #f67214;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.wim-benefit-card:hover .wim-benefit-icon {
  background: linear-gradient(135deg, #f67214 0%, #f97316 100%);
  border-color: #f67214;
  color: #ffffff;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 20px rgba(246, 114, 20, 0.3);
}

.wim-benefit-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.wim-benefit-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .wim-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .wim-chips-row {
    gap: 8px;
  }

  .wim-chip-arrow {
    display: none;
  }

  .wim-escalation-inner {
    flex-direction: column;
    text-align: center;
    border-radius: 20px;
    padding: 18px 24px;
    gap: 6px;
  }

  .wim-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wim-section {
    padding: 60px 0;
  }

  .wim-header {
    margin-bottom: 40px;
  }

  .wim-impact-block {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .wim-chip {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .wim-benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wim-benefit-card {
    padding: 24px 20px;
  }
}

/* ===========================================
   SECTION 9 - WHY IT MATTERS (IMPACT RIPPLE SYSTEM)
   Overrides the older editorial layout above.
   =========================================== */
.wim-section.wim-ripple {
  padding: clamp(76px, 9vw, 118px) 0;
  background: radial-gradient(circle at 12% 20%, rgba(246, 114, 20, 0.06) 0%, transparent 55%),
              radial-gradient(circle at 90% 8%, rgba(15, 23, 42, 0.04) 0%, transparent 55%),
              linear-gradient(180deg, #fffdfa 0%, #ffffff 70%, #fffdfa 100%);
  position: relative;
  overflow: hidden;
}

.wim-ripple-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.wim-ripple-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(22px, 3.2vw, 44px);
  align-items: center;
}

/* Left visual */
.wim-visual-card {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 60px rgba(12, 18, 28, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(18px, 2.2vw, 22px);
  position: relative;
}

.wim-visual-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 4px 14px;
}

.wim-visual-title {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: 14px;
}

.wim-visual-subtitle {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wim-network {
  position: relative;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  min-height: 430px;
}

.wim-network::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 45%, rgba(246, 114, 20, 0.08) 0%, transparent 55%);
  pointer-events: none;
  filter: blur(22px);
  opacity: 0.65;
}

.wim-network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wim-line {
  fill: none;
  stroke: url(#wimLineGrad);
  stroke-width: 2;
  opacity: 0;
  filter: url(#wimLineGlow);
  stroke-linecap: round;
}

.wim-line#wimLineCoord,
.wim-line#wimLineSched {
  stroke: rgba(246, 114, 20, 0.55);
  filter: none;
  stroke-width: 2.2;
}

.wim-line.is-active {
  opacity: 1 !important;
  stroke-width: 2.6;
}

.wim-section.wim-ripple.wim-lines .wim-line {
  opacity: 1;
}

.wim-rev-node {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%) scale(0.98);
  width: min(320px, 78%);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 0 40px rgba(246, 114, 20, 0.18), 0 18px 42px rgba(12, 18, 28, 0.08);
  padding: 16px 16px 14px;
  z-index: 3;
  opacity: 0;
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.wim-section.wim-ripple.wim-show .wim-rev-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.wim-rev-node::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 50%, rgba(246, 114, 20, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.wim-section.wim-ripple.wim-idle .wim-rev-node::after {
  animation: wimPulse 2.6s ease-in-out infinite;
}

@keyframes wimPulse {
  0%, 100% { opacity: 0.18; transform: scale(0.98); }
  50% { opacity: 0.42; transform: scale(1.02); }
}

.wim-rev-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wim-rev-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.22);
  color: #f67214;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.wim-rev-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 0 0 0 6px rgba(246, 114, 20, 0.14);
}

.wim-rev-tag {
  font-size: 12px;
  font-weight: 750;
  color: rgba(15, 23, 42, 0.7);
}

.wim-rev-title {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.15;
}

.wim-rev-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(15, 23, 42, 0.65);
  font-weight: 600;
}

.wim-impact-node {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 13px;
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(12, 18, 28, 0.06);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}

.wim-impact-node:focus-visible {
  outline: 3px solid rgba(246, 114, 20, 0.24);
  outline-offset: 2px;
}

.wim-section.wim-ripple.wim-nodes .wim-impact-node {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wim-impact-node:hover {
  border-color: rgba(246, 114, 20, 0.36);
  box-shadow: 0 20px 44px rgba(246, 114, 20, 0.12);
}

.wim-risk-mid {
  border-color: rgba(245, 158, 11, 0.35);
}

.wim-risk-high {
  border-color: rgba(239, 68, 68, 0.3);
}

/* Node placements */
#wimNodeCoord { top: 7%; left: 50%; transform: translate(-50%, 8px) scale(0.98); }
#wimNodeProc  { top: 28%; left: 10%; }
#wimNodeFab   { top: 28%; right: 10%; }
#wimNodeInst  { bottom: 14%; left: 14%; }
#wimNodeSched { bottom: 10%; left: 50%; transform: translate(-50%, 8px) scale(0.98); }
#wimNodeScope { bottom: 14%; right: 14%; }

.wim-section.wim-ripple.wim-nodes #wimNodeCoord,
.wim-section.wim-ripple.wim-nodes #wimNodeSched {
  transform: translate(-50%, 0) scale(1);
}

/* Tooltip */
.wim-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 240px;
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 52px rgba(12, 18, 28, 0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.wim-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wim-tooltip-title {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 13px;
  margin-bottom: 6px;
  color: #fffdfa;
}

.wim-tooltip-body {
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.wim-visual-footer {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: rgba(15, 23, 42, 0.65);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.wim-footer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.14);
}

/* Right content */
.wim-content .section-badge {
  margin-bottom: 14px;
}

.wim-heading {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #0f172a;
  font-weight: 900;
  margin: 0 0 14px;
}

.wim-copy {
  color: rgba(15, 23, 42, 0.72);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 22px;
  font-weight: 560;
}

.wim-benefits-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(15, 23, 42, 0.62);
  text-transform: uppercase;
}

.wim-benefits {
  display: grid;
  gap: 10px;
}

.wim-benefit-row {
  display: grid;
  grid-template-columns: 34px 1fr 140px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 26px rgba(12, 18, 28, 0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms ease, border-color 220ms ease;
}

.wim-benefit-ic {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, 0.18);
  background: rgba(246, 114, 20, 0.08);
}

.wim-benefit-ic svg {
  width: 18px;
  height: 18px;
}

.wim-benefit-text {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  font-size: 14.5px;
}

.wim-benefit-bar {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.10);
  overflow: hidden;
  position: relative;
}

.wim-benefit-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(246, 114, 20, 0.85), rgba(246, 114, 20, 0.35));
  transition: width 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wim-section.wim-ripple.wim-benefits .wim-benefit-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--b-delay, 0ms);
}

.wim-section.wim-ripple.wim-benefits .wim-benefit-bar::after {
  width: 100%;
  transition-delay: var(--b-delay, 0ms);
}

.wim-benefit-row:hover {
  border-color: rgba(246, 114, 20, 0.16);
  box-shadow: 0 18px 44px rgba(246, 114, 20, 0.10);
}

.wim-benefit-row:hover .wim-benefit-ic {
  background: rgba(246, 114, 20, 0.12);
  box-shadow: 0 0 0 10px rgba(246, 114, 20, 0.06);
}

/* Responsive */
@media (max-width: 1024px) {
  .wim-ripple-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* On smaller screens: content first, visual second */
  .wim-content { order: 1; }
  .wim-visual { order: 2; }

  .wim-network {
    min-height: 420px;
  }

  .wim-benefit-row {
    grid-template-columns: 34px 1fr 120px;
  }
}

@media (max-width: 680px) {
  .wim-network {
    min-height: 390px;
  }

  /* Simplify: hide lines on small screens */
  .wim-network-svg {
    opacity: 0.35;
  }

  .wim-impact-node {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  #wimNodeProc  { top: 26%; left: 8%; }
  #wimNodeFab   { top: 26%; right: 8%; }
  #wimNodeInst  { bottom: 16%; left: 10%; }
  #wimNodeScope { bottom: 16%; right: 10%; }

  .wim-benefit-row {
    grid-template-columns: 34px 1fr;
  }

  .wim-benefit-bar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wim-rev-node,
  .wim-impact-node,
  .wim-benefit-row {
    transition: none !important;
  }

  .wim-section.wim-ripple.wim-idle .wim-rev-node::after {
    animation: none !important;
    opacity: 0.25;
  }
}


/* Ensure all badge dots are circles */
.badge-dot-pulse { border-radius: 50% !important; }
