/* ========================================
   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(246, 114, 20, 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%;
  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: 24px;
    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;
  }
}

/* ========================================
   SUBMITTAL COMPLIANCE REVIEW - HERO SECTION
   Ultra-Modern Dashboard UI with Cinematic Animations
   ======================================== */

/* Hero Section Container */
.hero-compliance-section {
  position: relative;
  padding: 120px 0 100px;
  background:
    radial-gradient(circle at 16% 18%, rgba(246, 114, 20, 0.1), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(246, 114, 20, 0.08), transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f3f6fb 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Grid Background Pattern */
.hero-compliance-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  opacity: 0.8;
}

/* Subtle animated background glow */
.hero-compliance-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatSlow 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -50px) scale(1.1); }
}

/* Grid Layout */
.hero-compliance-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ========================================
   LEFT SIDE - Content
   ======================================== */

.hero-compliance-content {
  max-width: 600px;
}

.hero-compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.08), rgba(246, 114, 20, 0.04));
  border: 1px solid rgba(246, 114, 20, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f67214;
  margin-bottom: 24px;
}

.hero-compliance-badge .badge-dot-pulse {
  width: 6px;
  height: 6px;
  background: #f67214;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-compliance-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #0f172a;
}

.hero-compliance-title .title-line {
  color: #0f172a;
  white-space: nowrap;
  display: inline-block;
}

.hero-compliance-title .title-accent {
  color: #f67214;
  display: inline-block;
}

.hero-compliance-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: #475569;
  margin: 0 0 32px;
  max-width: 540px;
}

/* Process Steps - Single Step Display with Progress Dots */
.hero-compliance-steps {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
}

.steps-header {
  margin-bottom: 28px;
  text-align: center;
}

.steps-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.step-display-container {
  position: relative;
  min-height: 78px;
  margin-bottom: 6px;
}

.step-display-item {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.step-display-item.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.step-display-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  border-radius: 18px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(246, 114, 20, 0.3);
}

.step-display-icon svg {
  width: 32px;
  height: 32px;
}

.step-display-content {
  flex: 1;
}

.step-display-content h4 {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.3;
}

.step-display-content p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Progress Dots */
.step-progress-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}

.progress-dot {
  width: 10px;
  height: 10px;
  background: #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: linear-gradient(135deg, #f67214, #ff8c42);
  width: 10px;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.4);
  transform: scale(1.2);
}

.progress-dot:hover {
  background: #cbd5e1;
  transform: scale(1.1);
}

/* CTA Button */
.hero-compliance-cta {
  display: flex;
  gap: 12px;
}

.btn-compliance-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(246, 114, 20, 0.25);
  text-decoration: none;
}

.btn-compliance-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(246, 114, 20, 0.35);
  color: #ffffff;
}

.btn-compliance-cta svg {
  transition: transform 0.3s ease;
}

.btn-compliance-cta:hover svg {
  transform: translateX(3px);
}

/* ========================================
   RIGHT SIDE - Ultra-Modern Dashboard
   ======================================== */

.hero-compliance-animation {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Custom Cursor */
.compliance-cursor {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.compliance-cursor.moving {
  opacity: 1;
}

/* Cursor Design - Orange Arrow */
.compliance-cursor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 14px solid #f67214;
  border-right: 14px solid transparent;
  border-top: 14px solid #f67214;
  border-bottom: 14px solid transparent;
  filter: drop-shadow(0 4px 12px rgba(246, 114, 20, 0.5));
}

/* Cursor Inner Glow */
.compliance-cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: cursorGlow 1.5s ease-out infinite;
}

@keyframes cursorGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Click/Tap Effect */
.compliance-cursor.clicking::before {
  animation: cursorClick 0.3s ease;
}

@keyframes cursorClick {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.85);
  }
}

/* Ripple Effect on Click */
.cursor-ripple {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid #f67214;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Mobile Tap Indicator */
.mobile-tap-indicator {
  position: absolute;
  width: 50px;
  height: 50px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
}

.mobile-tap-indicator.active {
  opacity: 1;
  animation: tapPulse 0.5s ease-out;
}

@keyframes tapPulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.mobile-tap-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.4) 0%, rgba(246, 114, 20, 0.1) 50%, transparent 70%);
  border: 3px solid #f67214;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.4);
}

/* Dashboard Wrapper */
.compliance-dashboard-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  perspective: 1000px;
}

/* Play/Pause Overlay */
.compliance-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
  cursor: pointer;
  border-radius: 16px;
}

.compliance-dashboard-wrapper:hover .compliance-play-overlay:not(.paused) {
  opacity: 0.5;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.2);
}

.compliance-play-overlay.paused {
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(15, 23, 42, 0.8);
}

.compliance-play-indicator {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 114, 20, 0.95);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(246, 114, 20, 0.5);
  transition: all 0.3s ease;
}

.compliance-play-indicator:hover {
  transform: scale(1.1);
}

.compliance-play-icon,
.compliance-pause-icon {
  color: #ffffff;
  position: absolute;
  transition: all 0.3s ease;
}

.compliance-play-icon {
  opacity: 0;
  transform: scale(0.8);
}

.compliance-pause-icon {
  opacity: 1;
  transform: scale(1);
}

.compliance-play-overlay.paused .compliance-play-icon {
  opacity: 1;
  transform: scale(1);
}

.compliance-play-overlay.paused .compliance-pause-icon {
  opacity: 0;
  transform: scale(0.8);
}

.compliance-click-hint {
  margin-top: 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Dashboard Frame - Modern macOS Style */
.compliance-dashboard-frame {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
}

/* Browser Bar - macOS Style */
.compliance-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border-bottom: 1px solid #e2e8f0;
}

.compliance-browser-dots {
  display: flex;
  gap: 8px;
}

.compliance-dot-red,
.compliance-dot-yellow,
.compliance-dot-green {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.compliance-dot-red { background: linear-gradient(135deg, #ff5f57, #ff3b30); }
.compliance-dot-yellow { background: linear-gradient(135deg, #ffbd2e, #ffa500); }
.compliance-dot-green { background: linear-gradient(135deg, #28ca42, #22c55e); }

.compliance-browser-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

.compliance-status-badge {
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dashboard Content */
.compliance-dashboard-content {
  flex: 1;
  padding: 24px;
  overflow: hidden;
  position: relative;
  background: #fafbfc;
}

/* View States */
.compliance-view {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
}

.compliance-view.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   STEP 1: DASHBOARD WITH UPLOAD
   ======================================== */

.compliance-dashboard-view {
  justify-content: flex-start;
  padding: 0 !important;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-title-section {
  flex: 1;
}

.dashboard-title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px;
}

.dashboard-subtitle {
  font-size: 11px;
  color: #64748b;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ai-review-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
  white-space: nowrap;
}

.btn-ai-review-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.btn-ai-review-header.clicked {
  transform: scale(0.95);
}

.btn-upload-submittal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.2);
  white-space: nowrap;
}

.btn-upload-submittal:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.btn-upload-submittal.clicked {
  transform: scale(0.95);
}

/* Search Bar */
.dashboard-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-search svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.dashboard-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #1e293b;
  outline: none;
}

.dashboard-search input::placeholder {
  color: #94a3b8;
}

.btn-reset {
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset:hover {
  background: #f8f9fa;
  border-color: #cbd5e1;
}

/* Table Container */
.dashboard-table-container {
  flex: 1;
  overflow: hidden;
  background: #ffffff;
}

.dashboard-table {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Table Header */
.table-header {
  display: grid;
  grid-template-columns: 40px 50px 140px 2fr 100px 140px 100px 100px 80px 80px;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
}

.th {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.th-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Table Body */
.table-body {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.table-body::-webkit-scrollbar {
  width: 6px;
}

.table-body::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.table-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Empty State */
.empty-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 40px;
}

.empty-state svg {
  color: #cbd5e1;
  margin-bottom: 16px;
}

.empty-title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 6px;
}

.empty-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* Table Row (for when data is added) */
.table-row {
  display: grid;
  grid-template-columns: 40px 50px 140px 2fr 100px 140px 100px 100px 80px 80px;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f3f5;
  align-items: center;
  transition: all 0.2s ease;
  animation: slideInRow 0.4s ease;
}

.table-row:hover {
  background: linear-gradient(90deg, #fff8f3 0%, #ffffff 100%);
}

.table-row .td {
  font-size: 12px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-row .td-id {
  font-weight: 700;
  color: #1e293b;
}

.table-row .td-title {
  font-weight: 600;
  color: #1e293b;
}

.table-row .status-badge {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.table-row .status-open {
  background: #fef3c7;
  color: #92400e;
}

.table-row .status-closed {
  background: #fee2e2;
  color: #991b1b;
}

.table-row .status-submitted {
  background: #dbeafe;
  color: #1e40af;
}

/* AI Review Button */
.btn-ai-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(246, 114, 20, 0.25);
  white-space: nowrap;
  width: 100%;
  max-width: 70px;
}

.btn-ai-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(246, 114, 20, 0.35);
}

.btn-ai-review svg {
  flex-shrink: 0;
}

.btn-ai-review:active {
  transform: scale(0.95);
}


/* File Browser Modal */
.file-browser-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.file-browser-modal.active {
  display: flex;
}

.file-browser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.file-browser-window {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* File Browser Titlebar */
.file-browser-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border-bottom: 1px solid #e2e8f0;
}

.titlebar-dots {
  display: flex;
  gap: 8px;
}

.dot-close,
.dot-minimize,
.dot-maximize {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-close { background: linear-gradient(135deg, #ff5f57, #ff3b30); }
.dot-minimize { background: linear-gradient(135deg, #ffbd2e, #ffa500); }
.dot-maximize { background: linear-gradient(135deg, #28ca42, #22c55e); }

.titlebar-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

/* File Browser Toolbar */
.file-browser-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.toolbar-nav {
  display: flex;
  gap: 6px;
}

.nav-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #f1f3f5;
  border-color: #cbd5e1;
}

.toolbar-path {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 12px;
  color: #64748b;
}

.toolbar-path svg {
  flex-shrink: 0;
  color: #94a3b8;
}

/* File Browser Content */
.file-browser-content {
  padding: 12px;
  max-height: 280px;
  overflow-y: auto;
  background: #fafbfc;
}

.file-browser-content::-webkit-scrollbar {
  width: 6px;
}

.file-browser-content::-webkit-scrollbar-track {
  background: #f1f3f5;
}

.file-browser-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-item:hover {
  background: #f8f9fa;
  border-color: #cbd5e1;
}

.file-item.selected {
  background: rgba(246, 114, 20, 0.08);
  border-color: rgba(246, 114, 20, 0.3);
}

.file-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 6px;
  color: #64748b;
  flex-shrink: 0;
}

.file-item.selected .file-item-icon {
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
}

.file-item-info {
  flex: 1;
  min-width: 0;
}

.file-item-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.file-item-meta {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

/* File Browser Footer */
.file-browser-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-top: 1px solid #e2e8f0;
}

.footer-selected {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.footer-input {
  flex: 1;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  color: #1e293b;
  outline: none;
}

.footer-actions {
  display: flex;
  gap: 8px;
}

.btn-cancel,
.btn-open {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.btn-cancel:hover {
  background: #f8f9fa;
  border-color: #cbd5e1;
}

.btn-open {
  background: linear-gradient(135deg, #f67214, #ff8c42);
  border: none;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.2);
}

.btn-open:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.btn-open:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Upload Progress Overlay */
.upload-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 150;
}

.upload-progress-overlay.active {
  display: flex;
}

.upload-progress-card {
  width: 90%;
  max-width: 400px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.upload-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.upload-file-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 114, 20, 0.1);
  border-radius: 10px;
  color: #f67214;
  flex-shrink: 0;
}

.upload-file-details {
  flex: 1;
  min-width: 0;
}

.upload-file-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.upload-file-size {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: #f1f3f5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f67214, #ff8c42);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

.upload-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upload-status {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.upload-percent {
  font-size: 13px;
  font-weight: 700;
  color: #f67214;
  font-family: "Outfit", sans-serif;
}

/* ========================================
   STEP 1: FILE UPLOAD VIEW (OLD - REMOVE)
   ======================================== */


/* ========================================
   STEP 2: AI PROCESSING VIEW
   ======================================== */

.compliance-processing-view {
  justify-content: center;
  align-items: center;
}

/* AI Logo Container */
.compliance-ai-logo-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 28px;
}

.compliance-ai-logo {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(246, 114, 20, 0.3);
  animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(246, 114, 20, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(246, 114, 20, 0.5);
  }
}

/* Orbiting Dots */
.compliance-ai-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border: 2px solid rgba(246, 114, 20, 0.1);
  border-radius: 50%;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.compliance-orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f67214;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.4);
}

.compliance-orbit-dot:nth-child(1) {
  top: 0;
  left: 50%;
  margin-left: -5px;
}

.compliance-orbit-dot:nth-child(2) {
  top: 50%;
  right: 0;
  margin-top: -5px;
}

.compliance-orbit-dot:nth-child(3) {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
}

.compliance-processing-title {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
  text-align: center;
}

.compliance-processing-status {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  text-align: center;
}

.compliance-processing-keywords {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.compliance-keyword {
  padding: 6px 14px;
  background: rgba(246, 114, 20, 0.08);
  border: 1px solid rgba(246, 114, 20, 0.15);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #f67214;
  animation: fadeInKeyword 0.4s ease;
}

@keyframes fadeInKeyword {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   STEP 3: COMPLIANCE REPORT VIEW
   ======================================== */

.compliance-report-view {
  justify-content: flex-start;
}

.compliance-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.compliance-report-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.report-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compliance-report-count {
  padding: 4px 12px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.2);
  color: #f67214;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

.btn-download-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.2);
  white-space: nowrap;
}

.btn-download-report:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.btn-download-report svg {
  flex-shrink: 0;
}

/* Compliance Table - Ultra Clean */
.compliance-table {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.compliance-table-header {
  display: grid;
  grid-template-columns: 2fr 1.2fr 110px;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border-bottom: 1px solid #e2e8f0;
}

.compliance-th {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compliance-table-body {
  max-height: 380px;
  overflow-y: auto;
}

.compliance-table-body::-webkit-scrollbar {
  width: 5px;
}

.compliance-table-body::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.compliance-table-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.compliance-table-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.compliance-table-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 110px;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f3f5;
  transition: all 0.2s ease;
  animation: slideInRow 0.3s ease;
}

@keyframes slideInRow {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.compliance-table-row:last-child {
  border-bottom: none;
}

.compliance-table-row:hover {
  background: linear-gradient(90deg, #fff8f3 0%, #ffffff 100%);
}

.compliance-td {
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.compliance-td-requirement {
  font-weight: 600;
  color: #1e293b;
}

.compliance-td-response {
  font-size: 11px;
  color: #64748b;
}

.compliance-status {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compliance-status.compliant {
  background: #d1fae5;
  color: #065f46;
}

.compliance-status.partial {
  background: #fef3c7;
  color: #92400e;
}

.compliance-status.non-compliant {
  background: #fee2e2;
  color: #991b1b;
}

/* Summary Section - Overall Compliance & Status */
.compliance-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.summary-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.summary-value {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.compliance-percentage {
  color: #f67214;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.status-text {
  font-size: 18px;
  font-weight: 700;
  color: #dc2626;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large Tablet: 992px - 1200px */
@media (max-width: 1200px) {
  .hero-compliance-grid {
    grid-template-columns: 45% 55%;
    gap: 70px;
  }
}

/* Tablet: 768px - 991px */
@media (max-width: 991px) {
  .hero-compliance-section {
    padding: 40px 0 60px;
    min-height: auto;
  }

  .hero-compliance-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-compliance-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-compliance-steps {
    max-width: 100%;
    padding: 24px;
  }

  .hero-compliance-cta {
    justify-content: center;
  }
  
  .step-display-container {
    min-height: 90px;
  }
  
  .step-display-icon {
    width: 56px;
    height: 56px;
  }
  
  .step-display-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .step-display-content h4 {
    font-size: 18px;
  }
  
  .step-display-content p {
    font-size: 14px;
  }

  .compliance-dashboard-wrapper {
    height: 500px;
  }
}

/* Mobile: 480px - 767px */
@media (max-width: 767px) {
  .hero-compliance-section {
    padding: 40px 0 50px;
  }

  .hero-compliance-grid {
    gap: 40px;
  }

  .hero-compliance-badge {
    font-size: 11px;
    padding: 8px 16px;
  }

  .hero-compliance-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .hero-compliance-title .title-line {
    white-space: nowrap;
  }
  
  .hero-compliance-title .title-accent {
    display: block;
    margin-top: 4px;
  }

  .hero-compliance-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-compliance-steps {
    padding: 20px;
  }

  .step-display-container {
    min-height: 80px;
    margin-bottom: 20px;
  }

  .step-display-item {
    gap: 16px;
  }

  .step-display-icon {
    width: 52px;
    height: 52px;
  }
  
  .step-display-icon svg {
    width: 22px;
    height: 22px;
  }

  .step-display-content h4 {
    font-size: 16px;
  }
  
  .step-display-content p {
    font-size: 13px;
  }
  
  .steps-header {
    margin-bottom: 20px;
  }
  
  .steps-header h3 {
    font-size: 12px;
  }
  
  .step-progress-dots {
    gap: 8px;
  }
  
  .progress-dot {
    width: 8px;
    height: 8px;
  }
  
  .progress-dot.active {
    width: 8px;
  }

  .btn-compliance-cta {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
    justify-content: center;
  }

  .compliance-dashboard-wrapper {
    height: 450px;
  }

  .compliance-cursor {
    display: none;
  }

  .compliance-dashboard-content {
    padding: 16px;
  }
  
  .compliance-dashboard-frame {
    transform: scale(0.95);
    transform-origin: top center;
  }

  /* Dashboard responsive */
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
  }
  
  .dashboard-title {
    font-size: 14px;
  }
  
  .dashboard-subtitle {
    font-size: 10px;
  }

  .dashboard-actions {
    width: 100%;
    flex-direction: row;
    gap: 8px;
  }

  .btn-ai-review-header,
  .btn-upload-submittal {
    width: 50%;
    justify-content: center;
    padding: 8px 14px;
    font-size: 11px;
  }
  
  .btn-ai-review-header svg,
  .btn-upload-submittal svg {
    width: 12px;
    height: 12px;
  }

  .dashboard-search {
    padding: 8px 14px;
  }
  
  .dashboard-search input {
    font-size: 10px;
  }
  
  .btn-reset {
    font-size: 10px;
    padding: 5px 10px;
  }

  .table-header {
    grid-template-columns: 35px 45px 110px 1.5fr 85px 65px;
    padding: 8px 14px;
    font-size: 8px;
    gap: 6px;
  }

  .th-submitted,
  .th-issue,
  .th-due,
  .th-assign {
    display: none;
  }

  .table-row {
    grid-template-columns: 35px 45px 110px 1.5fr 85px 65px;
    padding: 9px 14px;
    gap: 6px;
  }
  
  .table-row .td {
    font-size: 10px;
  }

  .table-row .td-submitted,
  .table-row .td-issue,
  .table-row .td-due,
  .table-row .td-assign {
    display: none;
  }
  
  .table-row .status-badge {
    font-size: 8px;
    padding: 3px 7px;
  }
  
  .btn-ai-review {
    padding: 5px 7px;
    font-size: 9px;
    max-width: 55px;
  }
  
  .btn-ai-review svg {
    width: 9px;
    height: 9px;
  }
  
  .empty-state {
    padding: 30px;
  }
  
  .empty-state svg {
    width: 48px;
    height: 48px;
  }
  
  .empty-title {
    font-size: 14px;
  }
  
  .empty-subtitle {
    font-size: 11px;
  }

  .file-browser-window {
    width: 95%;
    max-width: none;
  }
  
  .file-browser-titlebar {
    padding: 10px 14px;
  }
  
  .titlebar-title {
    font-size: 11px;
  }
  
  .file-browser-toolbar {
    padding: 8px 14px;
  }
  
  .toolbar-path {
    font-size: 10px;
    padding: 5px 10px;
  }
  
  .file-browser-content {
    padding: 10px;
    max-height: 220px;
  }
  
  .file-item {
    padding: 8px 10px;
  }
  
  .file-item-name {
    font-size: 11px;
  }
  
  .file-item-meta {
    font-size: 9px;
  }
  
  .file-browser-footer {
    padding: 10px 14px;
  }
  
  .footer-input {
    font-size: 10px;
    padding: 5px 8px;
  }
  
  .btn-cancel,
  .btn-open {
    font-size: 11px;
    padding: 7px 14px;
  }
  
  .upload-progress-card {
    padding: 20px;
  }
  
  .upload-file-name {
    font-size: 12px;
  }
  
  .upload-file-size {
    font-size: 10px;
  }
  
  .upload-status,
  .upload-percent {
    font-size: 11px;
  }
  
  .compliance-processing-title {
    font-size: 18px;
  }
  
  .compliance-processing-status {
    font-size: 12px;
  }
  
  .compliance-keyword {
    font-size: 10px;
    padding: 5px 11px;
  }

  .compliance-table-header,
  .compliance-table-row {
    grid-template-columns: 1.5fr 1fr 85px;
    gap: 8px;
    padding: 9px 11px;
  }

  .compliance-th {
    font-size: 8px;
  }

  .compliance-td {
    font-size: 10px;
  }

  .compliance-td-response {
    font-size: 9px;
  }
  
  .compliance-status {
    font-size: 8px;
    padding: 4px 8px;
  }
  
  .compliance-report-title {
    font-size: 15px;
  }
  
  .compliance-report-count {
    font-size: 10px;
    padding: 3px 9px;
  }
  
  .compliance-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }
  
  .summary-card {
    padding: 14px;
  }
  
  .summary-label {
    font-size: 9px;
  }
  
  .summary-value {
    font-size: 24px;
  }
  
  .status-text {
    font-size: 14px;
  }
  
  .btn-download-report {
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .btn-download-report svg {
    width: 11px;
    height: 11px;
  }
  
  .report-header-actions {
    gap: 8px;
  }
}

/* Small Mobile: <480px */
@media (max-width: 480px) {
  .hero-compliance-grid {
    gap: 32px;
  }

  .hero-compliance-subtitle {
    font-size: 0.95rem;
  }

  .hero-compliance-steps {
    padding: 18px;
  }

  .step-display-container {
    min-height: 75px;
    margin-bottom: 18px;
  }

  .step-display-item {
    gap: 14px;
  }

  .step-display-icon {
    width: 48px;
    height: 48px;
  }
  
  .step-display-icon svg {
    width: 20px;
    height: 20px;
  }

  .step-display-content h4 {
    font-size: 15px;
  }
  
  .step-display-content p {
    font-size: 12px;
  }
  
  .steps-header {
    margin-bottom: 18px;
  }
  
  .steps-header h3 {
    font-size: 11px;
  }
  
  .step-progress-dots {
    gap: 7px;
  }
  
  .progress-dot {
    width: 7px;
    height: 7px;
  }
  
  .progress-dot.active {
    width: 7px;
  }

  .btn-compliance-cta {
    padding: 13px 24px;
    font-size: 14px;
  }

  .compliance-dashboard-wrapper {
    height: 400px;
  }

  .compliance-dashboard-content {
    padding: 12px;
  }
  
  .compliance-dashboard-frame {
    transform: scale(0.9);
    transform-origin: top center;
  }
  
  .compliance-browser-bar {
    padding: 10px 12px;
  }
  
  .compliance-browser-title {
    font-size: 11px;
  }
  
  .compliance-status-badge {
    font-size: 8px;
    padding: 3px 7px;
  }

  .compliance-upload-zone {
    padding: 32px 20px;
  }

  .compliance-upload-title {
    font-size: 15px;
  }

  .compliance-upload-subtitle {
    font-size: 11px;
  }

  .compliance-table-header,
  .compliance-table-row {
    grid-template-columns: 1fr 75px;
    gap: 6px;
    padding: 8px 10px;
  }

  .compliance-td-response {
    display: none;
  }
  
  .compliance-th {
    font-size: 7px;
  }
  
  .compliance-td {
    font-size: 9px;
  }
  
  .compliance-status {
    font-size: 7px;
    padding: 3px 6px;
  }

  .compliance-ai-logo-container {
    width: 80px;
    height: 80px;
  }

  .compliance-ai-logo {
    font-size: 28px;
    border-radius: 20px;
  }

  .compliance-ai-orbit {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
  }
  
  .compliance-processing-title {
    font-size: 16px;
  }
  
  .compliance-processing-status {
    font-size: 11px;
  }
  
  .compliance-keyword {
    font-size: 9px;
    padding: 4px 9px;
  }
  
  .compliance-report-title {
    font-size: 14px;
  }
  
  .compliance-report-count {
    font-size: 9px;
    padding: 3px 8px;
  }
  
  .compliance-summary {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  
  .summary-card {
    padding: 12px;
  }
  
  .summary-label {
    font-size: 8px;
    margin-bottom: 8px;
  }
  
  .summary-value {
    font-size: 22px;
  }
  
  .status-text {
    font-size: 13px;
  }
  
  .btn-download-report {
    padding: 5px 10px;
    font-size: 9px;
  }
  
  .btn-download-report svg {
    width: 10px;
    height: 10px;
  }
  
  .report-header-actions {
    gap: 6px;
  }
}


/* ========================================
   SECTION 2 — REALITY (COMPLIANCE REVIEW WORKFLOW)
   New Card-Based UI Design
   ======================================== */

/* Section Container */
.reality-compliance-section {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f8f9fa 100%);
  overflow: hidden;
}

/* Header */
.reality-compliance-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Main Grid */
.reality-compliance-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 60px;
  align-items: start;
}

/* ========================================
   LEFT SIDE - Animation Container
   ======================================== */

.reality-compliance-animation {
  position: relative;
  min-height: 500px;
  max-height: 500px;
}

.compliance-stage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.compliance-stage.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.stage-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
}

/* ========================================
   STAGE 1: File Manager UI
   ======================================== */

.file-manager-ui {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
}

.file-manager-header {
  padding: 20px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 2px solid #f1f3f5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.fm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

.fm-breadcrumb span:first-child {
  color: #1e293b;
  font-weight: 700;
}

.fm-separator {
  color: #cbd5e1;
  font-size: 16px;
}

.file-manager-content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Subtle background pattern */
.file-manager-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(246, 114, 20, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(246, 114, 20, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.file-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  z-index: 1;
}

.file-item.opening {
  border-color: #f67214;
  background: linear-gradient(135deg, #ffffff 0%, rgba(246, 114, 20, 0.02) 100%);
  box-shadow: 
    0 8px 24px rgba(246, 114, 20, 0.12),
    0 0 0 4px rgba(246, 114, 20, 0.08);
  animation: fileOpening 2s ease-in-out infinite;
}

@keyframes fileOpening {
  0%, 100% { 
    transform: scale(1) translateY(0);
  }
  50% { 
    transform: scale(1.01) translateY(-2px);
  }
}

.file-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f67214 0%, #ff8c42 100%);
  border-radius: 16px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 
    0 8px 16px rgba(246, 114, 20, 0.25),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Shine effect on icon */
.file-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% { transform: translateX(-100%) translateY(-100%); }
  50% { transform: translateX(100%) translateY(100%); }
}

.file-icon svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 1;
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.file-meta {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-meta::before {
  content: '•';
  color: #cbd5e1;
}

.file-status {
  font-size: 16px;
  font-weight: 700;
  color: #f67214;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 1.5s ease-in-out infinite;
  white-space: nowrap;
}

/* Animated dots after "Opening..." */
.file-status::after {
  content: '';
  width: 4px;
  height: 4px;
  background: #f67214;
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes dotPulse {
  0%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.5);
  }
}

/* ========================================
   STAGE 2: Specification Document Viewer UI
   ======================================== */

.spec-document-ui {
  min-height: 500px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  overflow: hidden;
}

/* Document Header */
.spec-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 2px solid #f1f3f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.spec-doc-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.doc-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 3px;
  line-height: 1.2;
}

.doc-meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.spec-doc-tools {
  display: flex;
  gap: 6px;
}

.spec-tool-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
}

.spec-tool-btn:hover {
  border-color: #f67214;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(246, 114, 20, 0.15);
}

/* Document Content Area */
.spec-doc-content {
  flex: 1;
  padding: 20px 28px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.spec-doc-scroll {
  height: 100%;
  animation: specScroll 6s ease-in-out infinite;
  position: relative;
}

@keyframes specScroll {
  0%, 15% {
    transform: translateY(0);
  }
  45%, 55% {
    transform: translateY(-80px);
  }
  85%, 100% {
    transform: translateY(-160px);
  }
}

/* Section Header */
.spec-section-header {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1e293b;
}

.spec-section-number {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.spec-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.3px;
}

/* Part Titles */
.spec-part {
  margin-bottom: 16px;
}

.spec-part-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #f1f3f5;
  border-left: 3px solid #64748b;
}

/* Articles */
.spec-article {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.spec-article-number {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  min-width: 32px;
  flex-shrink: 0;
}

.spec-article-content {
  flex: 1;
}

.spec-article-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Paragraphs */
.spec-paragraph {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.4s ease;
  line-height: 1.6;
}

.spec-para-label {
  font-weight: 700;
  color: #64748b;
  min-width: 18px;
  flex-shrink: 0;
  font-size: 12px;
}

.spec-para-text {
  color: #475569;
  font-size: 13px;
}

/* Reading Animation */
.spec-paragraph.reading-line {
  background: rgba(246, 114, 20, 0.04);
  border-left: 2px solid rgba(246, 114, 20, 0.3);
  animation: readingPulse 2s ease-in-out infinite;
}

@keyframes readingPulse {
  0%, 100% {
    background: rgba(246, 114, 20, 0.04);
    border-left-color: rgba(246, 114, 20, 0.3);
  }
  50% {
    background: rgba(246, 114, 20, 0.08);
    border-left-color: rgba(246, 114, 20, 0.5);
  }
}

/* Highlighted Reading (Main Focus) */
.spec-paragraph.highlight-reading {
  background: linear-gradient(90deg, rgba(246, 114, 20, 0.15) 0%, rgba(246, 114, 20, 0.05) 100%);
  border-left: 3px solid #f67214;
  box-shadow: 
    0 3px 10px rgba(246, 114, 20, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: highlightReading 2s ease-in-out infinite;
  position: relative;
}

.spec-paragraph.highlight-reading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #f67214, #ff8c42);
  box-shadow: 0 0 10px rgba(246, 114, 20, 0.6);
}

@keyframes highlightReading {
  0%, 100% {
    transform: translateX(0);
    box-shadow: 
      0 3px 10px rgba(246, 114, 20, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: translateX(2px);
    box-shadow: 
      0 5px 14px rgba(246, 114, 20, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

.spec-paragraph.highlight-reading .spec-para-text {
  color: #1e293b;
  font-weight: 600;
}

/* Scroll Indicator */
.spec-scroll-indicator {
  position: absolute;
  right: 6px;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #f1f3f5;
  border-radius: 3px;
}

.scroll-progress {
  width: 100%;
  height: 25%;
  background: linear-gradient(180deg, #f67214, #ff8c42);
  border-radius: 3px;
  animation: scrollProgress 6s ease-in-out infinite;
  box-shadow: 0 2px 6px rgba(246, 114, 20, 0.4);
}

@keyframes scrollProgress {
  0%, 15% {
    transform: translateY(0);
  }
  45%, 55% {
    transform: translateY(150%);
  }
  85%, 100% {
    transform: translateY(300%);
  }
}

/* Reading Progress Bar */
.spec-reading-bar {
  height: 3px;
  background: #f1f3f5;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.reading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f67214, #ff8c42);
  animation: readingProgress 6s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(246, 114, 20, 0.6);
}

@keyframes readingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.item-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.item-value {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

/* ========================================
   STAGE 3: Mechanical Drawing Viewer UI
   ======================================== */

.blueprint-viewer-ui {
  min-height: 500px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

/* Blueprint Header */
.blueprint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #2c3e50;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  z-index: 10;
}

.blueprint-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blueprint-icon {
  font-size: 20px;
}

.blueprint-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 2px;
  line-height: 1.2;
}

.blueprint-meta {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

.blueprint-tools {
  display: flex;
  gap: 6px;
}

.bp-tool-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
}

.bp-tool-btn:hover,
.bp-tool-btn.active {
  background: #f67214;
  border-color: #f67214;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.3);
}

/* Blueprint Canvas */
.blueprint-canvas {
  flex: 1;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  min-height: 0;
}

.blueprint-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Blueprint Background - Real Drawing Image */
.blueprint-bg {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: url('assets/drawings/Mech-desk.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: blur(2px);
  animation: drawingFadeIn 1s ease-out 0.5s forwards;
}

@keyframes drawingFadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(2px);
  }
}

/* Building Structure - Overlay for markers */
.building-structure {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Hide walls and room labels since we're using real image */
.wall {
  display: none;
}

.room-label {
  display: none;
}

/* Hide the SVG plumbing lines since the image has them */
.plumbing-lines {
  display: none;
}

/* Measurement & Annotation Lines */
.measurement-line {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: annotationFade 0.5s ease-out forwards;
  z-index: 4;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid #2c3e50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.meas-1 {
  top: 20%;
  left: 15%;
  animation-delay: 2s;
}

.meas-2 {
  bottom: 25%;
  right: 18%;
  animation-delay: 2.5s;
}

@keyframes annotationFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.meas-line {
  display: none;
}

.meas-label {
  font-size: 10px;
  font-weight: 700;
  color: #2c3e50;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
  box-shadow: none;
}

.meas-arrow {
  display: none;
}

/* Compliance Check Markers - Manual Review Style */
.check-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 
    0 0 0 3px #22c55e,
    0 3px 12px rgba(0, 0, 0, 0.15);
  animation: markerPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 5;
  border: 3px solid #ffffff;
}

@keyframes markerPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.marker-1 {
  top: 22%;
  left: 18%;
  animation-delay: 1.8s;
}

.marker-2 {
  top: 48%;
  left: 50%;
  animation-delay: 2.5s;
}

.marker-3 {
  bottom: 30%;
  right: 22%;
  animation-delay: 3.2s;
}

/* Manual Review - Thinking/Reviewing State */
.check-marker.checking {
  background: #ffffff;
  box-shadow: 
    0 0 0 3px #f67214,
    0 3px 12px rgba(246, 114, 20, 0.4);
  animation: markerPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), manualReview 2s ease-in-out infinite;
}

@keyframes manualReview {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.marker-pulse {
  display: none; /* Remove pulse for manual review */
}

.marker-icon {
  color: #22c55e;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.check-marker.checking .marker-icon {
  color: #f67214;
}

/* Manual Review Spinner - Pencil/Pen Icon */
.marker-spinner {
  width: 20px;
  height: 20px;
  color: #f67214;
  animation: none; /* Remove spinning */
}

/* Add hand-drawn circle effect for manual review */
.check-marker.checking::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed #f67214;
  opacity: 0.5;
  animation: dashRotate 8s linear infinite;
}

@keyframes dashRotate {
  to {
    transform: rotate(360deg);
  }
}

/* Detail Callouts - Engineering Style */
.detail-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: calloutSlideIn 0.6s ease-out forwards;
  z-index: 4;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid #2c3e50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes calloutSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.callout-a {
  top: 16%;
  left: 8%;
  animation-delay: 2.8s;
}

.callout-b {
  bottom: 20%;
  right: 12%;
  animation-delay: 3.5s;
}

.callout-circle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.callout-line {
  display: none;
}

.callout-info {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.callout-title {
  font-size: 10px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2px;
  font-family: 'Courier New', monospace;
}

.callout-desc {
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
}

/* Verification Overlay */
.verification-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: overlaySlideUp 0.6s ease-out 4s forwards;
  z-index: 6;
}

@keyframes overlaySlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.verify-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.5);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.verify-badge svg {
  animation: verifyCheckSpin 2.5s ease-in-out infinite;
}

@keyframes verifyCheckSpin {
  0%, 80% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Blueprint Footer */
.blueprint-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #f8f9fa;
  border-top: 2px solid #2c3e50;
  flex-shrink: 0;
  z-index: 10;
}

.blueprint-stamp {
  display: flex;
  gap: 18px;
}

.stamp-item {
  display: flex;
  gap: 5px;
  font-size: 9px;
  font-family: 'Courier New', monospace;
}

.stamp-label {
  color: #64748b;
  font-weight: 600;
}

.stamp-value {
  color: #2c3e50;
  font-weight: 700;
}

.verification-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.status-indicator.checking {
  background: #f67214;
  box-shadow: 0 0 8px rgba(246, 114, 20, 0.5);
  animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* ========================================
   STAGE 4: Cross-Reference Standards UI
   ======================================== */

.standards-browser-ui {
  min-height: 500px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  overflow: hidden;
}

/* Split View Layout */
.browser-tabs {
  display: none; /* Hide old tabs */
}

.browser-content {
  flex: 1;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  background: #e8edf2;
  overflow: hidden;
}

/* Left Panel - Submittal Document */
.standard-doc {
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-right: 3px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.submittal-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-bottom: 2px solid #1e293b;
  flex-shrink: 0;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
}

.panel-title-icon {
  font-size: 16px;
}

.panel-title h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.panel-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 500;
}

.panel-content {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  background: #ffffff;
}

.submittal-section {
  margin-bottom: 18px;
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.submittal-item {
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 2px solid #e2e8f0;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.submittal-item.highlight {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.08) 0%, rgba(246, 114, 20, 0.04) 100%);
  border-color: #f67214;
  box-shadow: 0 0 0 3px rgba(246, 114, 20, 0.1);
  animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(246, 114, 20, 0.1);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(246, 114, 20, 0.15);
  }
}

.item-title {
  font-size: 12px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
}

.item-detail {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* Right Panel - Standards Reference */
.standards-panel {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.standards-tabs {
  display: flex;
  gap: 3px;
  padding: 10px 14px 0;
  background: #f1f3f5;
  border-bottom: 2px solid #cbd5e1;
  flex-shrink: 0;
}

.standard-tab {
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-radius: 5px 5px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  border-bottom: none;
  font-family: 'Courier New', monospace;
}

.standard-tab:hover {
  color: #2c3e50;
  background: rgba(255, 255, 255, 0.5);
}

.standard-tab.active {
  background: #ffffff;
  color: #2c3e50;
  border: 2px solid #cbd5e1;
  border-bottom: none;
  position: relative;
}

.standard-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
}

.standards-content {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  background: #ffffff;
}

.standard-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.standard-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Courier New', monospace;
}

.standard-header h4::before {
  content: '📋';
  font-size: 16px;
}

.standard-header p {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

.standard-requirements {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 2px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.req-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #22c55e;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.req-item.checking::before {
  background: #f67214;
  opacity: 1;
}

.req-item.checking {
  border: 2px solid #f67214;
  background: linear-gradient(135deg, #ffffff 0%, rgba(246, 114, 20, 0.05) 100%);
  box-shadow: 
    0 4px 12px rgba(246, 114, 20, 0.15),
    0 0 0 3px rgba(246, 114, 20, 0.08);
  animation: reqShake 0.5s ease-in-out;
}

@keyframes reqShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.req-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 
    0 2px 6px rgba(34, 197, 94, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.req-check::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 8px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

.req-item.checking .req-check {
  background: linear-gradient(135deg, #f67214, #ff8c42);
  box-shadow: 
    0 2px 8px rgba(246, 114, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: checkingSpin 2s linear infinite;
}

@keyframes checkingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.req-text {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  line-height: 1.5;
  padding-top: 1px;
}

/* Connection Line Animation */
.connection-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #f67214, #ff8c42);
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
  0%, 100% {
    opacity: 0;
    width: 60px;
  }
  50% {
    opacity: 0.8;
    width: 80px;
  }
}

/* Standards Progress Footer */
.standards-progress {
  padding: 10px 16px;
  background: #f8f9fa;
  border-top: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.progress-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #e2e8f0;
  border-top-color: #f67214;
  border-radius: 50%;
  animation: progressSpin 0.8s linear infinite;
}

@keyframes progressSpin {
  to { transform: rotate(360deg); }
}

.progress-bar-container {
  flex: 1;
  max-width: 180px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-left: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f67214, #ff8c42);
  border-radius: 3px;
  animation: progressFill 3s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(246, 114, 20, 0.4);
}

@keyframes progressFill {
  0% { width: 25%; }
  50% { width: 65%; }
  100% { width: 25%; }
}

/* ========================================
   STAGE 5: Decision Matrix UI - Redesigned
   ======================================== */

.decision-matrix-ui {
  padding: 30px 24px;
  min-height: 500px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle radial gradient background */
.decision-matrix-ui::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.decision-header {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.question-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.15) 0%, rgba(246, 114, 20, 0.08) 100%);
  border-radius: 50%;
  color: #f67214;
  animation: questionPulse 2s ease-in-out infinite;
  box-shadow: 
    0 6px 20px rgba(246, 114, 20, 0.2),
    0 0 0 10px rgba(246, 114, 20, 0.05),
    0 0 0 20px rgba(246, 114, 20, 0.03);
  position: relative;
}

.question-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(246, 114, 20, 0.25);
  animation: ripple 2s ease-in-out infinite;
}

@keyframes ripple {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.question-icon svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 6px rgba(246, 114, 20, 0.3));
}

@keyframes questionPulse {
  0%, 100% { 
    transform: scale(1);
  }
  50% { 
    transform: scale(1.08);
  }
}

.decision-question {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.decision-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 450px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 2px solid #e2e8f0;
}

.check-item.uncertain {
  border: 2px dashed #cbd5e1;
  animation: uncertainShake 3s ease-in-out infinite;
}

@keyframes uncertainShake {
  0%, 100% { 
    transform: translateX(0);
  }
  25% { 
    transform: translateX(-2px);
  }
  75% { 
    transform: translateX(2px);
  }
}

.check-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #64748b;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.1),
    inset 0 -2px 3px rgba(0, 0, 0, 0.1);
  animation: questionMarkBounce 2s ease-in-out infinite;
}

@keyframes questionMarkBounce {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
  }
  25% { 
    transform: translateY(-2px) rotate(-3deg);
  }
  75% { 
    transform: translateY(-2px) rotate(3deg);
  }
}

.check-label {
  flex: 1;
  text-align: left;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  line-height: 1.4;
}

.decision-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.12) 0%, rgba(246, 114, 20, 0.06) 100%);
  border-radius: 10px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(246, 114, 20, 0.12);
  position: relative;
  z-index: 1;
}

.decision-footer svg {
  color: #f67214;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  animation: clockTick 2s linear infinite;
}

@keyframes clockTick {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(90deg); }
  50% { transform: rotate(180deg); }
  75% { transform: rotate(270deg); }
}

/* ========================================
   RIGHT SIDE - Progress Timeline
   ======================================== */

.reality-compliance-timeline {
  position: sticky;
  top: 100px;
}

.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 12px;
  margin: -12px;
  border-radius: 12px;
}

.timeline-item:hover {
  background: rgba(246, 114, 20, 0.04);
  transform: translateX(4px);
}

.timeline-item:hover .marker-dot {
  transform: scale(1.15);
  background: linear-gradient(135deg, #f67214, #ff8c42);
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.3);
}

.timeline-item:hover .timeline-content h4 {
  color: #f67214;
}

.timeline-item:active {
  transform: translateX(2px) scale(0.98);
}

.timeline-item:last-child {
  padding-bottom: 12px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.marker-dot {
  width: 16px;
  height: 16px;
  background: #e2e8f0;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.timeline-item.active .marker-dot {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.4);
}

.marker-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, #e2e8f0 0%, transparent 100%);
  margin-top: 8px;
}

.timeline-content {
  flex: 1;
  padding-top: 0;
}

.timeline-number {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f3f5;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
}

.timeline-item.active .timeline-number {
  background: linear-gradient(135deg, #f67214, #ff8c42);
  color: #ffffff;
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.3;
}

.timeline-item.active .timeline-content h4 {
  color: #f67214;
}

.timeline-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.timeline-question {
  color: #f67214 !important;
  font-style: italic;
}

.timeline-pain {
  color: #475569;
  font-weight: 600;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
  .reality-compliance-section {
    padding: 80px 0 60px;
  }

  .reality-compliance-header {
    margin-bottom: 50px;
  }

  .reality-compliance-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .reality-compliance-timeline {
    position: relative;
    top: 0;
  }

  .split-viewer-ui {
    grid-template-columns: 1fr;
  }

  .split-pane.spec-pane {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 767px) {
  .reality-compliance-section {
    padding: 60px 0 50px;
  }

  .reality-compliance-header {
    margin-bottom: 40px;
  }

  .reality-compliance-grid {
    gap: 40px;
  }

  .reality-compliance-animation {
    min-height: 450px;
  }

  .stage-card {
    border-radius: 12px;
  }

  .file-manager-content {
    padding: 40px 24px;
  }

  .file-item {
    padding: 20px 16px;
    gap: 14px;
  }

  .file-icon {
    width: 56px;
    height: 56px;
  }

  .file-icon svg {
    width: 28px;
    height: 28px;
  }

  .file-name {
    font-size: 15px;
  }

  .file-meta {
    font-size: 12px;
  }

  .file-status {
    font-size: 14px;
  }

  .pane-content {
    padding: 28px 20px;
  }

  /* Stage 2: Spec Document */
  .spec-doc-content {
    padding: 24px 20px;
  }

  .spec-section-title {
    font-size: 16px;
  }

  .spec-part-title {
    font-size: 13px;
    padding: 8px 12px;
  }

  .spec-article-title {
    font-size: 13px;
  }

  .spec-paragraph {
    padding: 8px 12px;
  }

  .spec-para-text {
    font-size: 13px;
  }

  .spec-paragraph.highlight-reading {
    border-left-width: 3px;
  }

  /* Stage 3: Drawing */

  .item-value {
    font-size: 15px;
  }

  .drawing-canvas {
    padding: 40px 24px;
  }

  .drawing-placeholder {
    height: 260px;
  }

  .callout-label {
    font-size: 12px;
    padding: 6px 12px;
  }

  .callout-dot {
    width: 14px;
    height: 14px;
  }

  .drawing-note {
    padding: 14px 16px;
  }

  .drawing-note span {
    font-size: 13px;
  }

  /* Stage 4: Cross-Reference Standards - Mobile Optimized */
  .browser-content {
    grid-template-columns: 1fr;
    gap: 0;
    max-height: none;
  }

  .standard-doc {
    border-right: none;
    border-bottom: 1px solid #cbd5e1;
    max-height: none;
  }

  .submittal-panel {
    max-height: none;
  }

  .panel-header {
    padding: 6px 10px;
    min-height: auto;
  }

  .panel-title {
    gap: 6px;
  }

  .panel-title h4 {
    font-size: 10px;
    font-weight: 600;
  }

  .panel-subtitle {
    font-size: 8px;
    margin-top: 2px;
  }

  .panel-title-icon {
    font-size: 12px;
  }

  .panel-content {
    padding: 10px;
    max-height: none;
    overflow: visible;
  }

  .section-label {
    font-size: 8px;
    margin-bottom: 4px;
    padding: 2px 0;
  }

  .submittal-section {
    margin-bottom: 8px;
  }

  .submittal-section:last-child {
    margin-bottom: 0;
  }

  .submittal-item {
    padding: 6px 8px;
    margin-bottom: 4px;
  }

  .submittal-item:last-child {
    margin-bottom: 0;
  }

  .item-title {
    font-size: 10px;
    margin-bottom: 2px;
    font-weight: 600;
  }

  .item-detail {
    font-size: 9px;
    line-height: 1.3;
  }

  .standards-panel {
    max-height: none;
  }

  .standards-tabs {
    padding: 6px 8px 0;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .standard-tab {
    padding: 5px 8px;
    font-size: 9px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .standards-content {
    padding: 10px;
    max-height: none;
    overflow: visible;
  }

  .standard-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .standard-header h4 {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .standard-header h4::before {
    font-size: 12px;
    margin-right: 4px;
  }

  .standard-header p {
    font-size: 9px;
    line-height: 1.3;
  }

  .standard-requirements {
    gap: 5px;
  }

  .req-item {
    padding: 6px 8px;
    gap: 6px;
  }

  .req-check {
    width: 20px;
    height: 20px;
    font-size: 10px;
    flex-shrink: 0;
  }

  .req-text {
    font-size: 10px;
    line-height: 1.3;
  }

  .connection-line {
    display: none;
  }

  .standards-progress {
    padding: 6px 10px;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .progress-bar-container {
    flex: 1;
    max-width: none;
    margin-left: 0;
  }

  .progress-info {
    font-size: 9px;
    gap: 6px;
    white-space: nowrap;
  }

  .progress-spinner {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }

  .decision-matrix-ui {
    padding: 40px 28px;
  }

  .question-icon {
    width: 72px;
    height: 72px;
  }

  .question-icon svg {
    width: 40px;
    height: 40px;
  }

  .decision-question {
    font-size: 22px;
  }

  .decision-checklist {
    max-width: 100%;
  }

  .check-item {
    padding: 14px 16px;
  }

  .check-box {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .check-label {
    font-size: 14px;
  }

  .decision-footer {
    padding: 12px 18px;
  }

  .decision-footer svg {
    width: 20px;
    height: 20px;
  }

  .timeline-item {
    gap: 16px;
    padding-bottom: 28px;
  }

  .timeline-content h4 {
    font-size: 15px;
  }

  .timeline-content p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .reality-compliance-section {
    padding: 50px 0 40px;
  }

  .file-manager-content {
    padding: 20px;
  }

  .file-item {
    flex-direction: column;
    text-align: center;
  }

  .browser-tabs {
    flex-wrap: wrap;
  }

  .browser-tab {
    padding: 8px 14px;
    font-size: 12px;
  }

  .decision-question {
    font-size: 18px;
  }

  .check-item {
    padding: 12px 14px;
  }

  .check-label {
    font-size: 13px;
  }
}


/* ========================================
   SECTION 2 — REALITY (CURRENT REALITY - LIGHT THEME)
   ======================================== */

.reality-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.reality-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.reality-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
}

/* TOP CENTER: Badge + Heading */
.reality-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  animation: fadeInUp 0.8s ease;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.15), rgba(246, 114, 20, 0.08));
  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: var(--color-accent);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.15);
}

/* Badge dot with pulse animation */
.badge-dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.95; }
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.title-highlight {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SPLIT SECTION */
.reality-split {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 40px;
  align-items: start;
}

/* LEFT: ANIMATION BOX (GLASS PANEL) */
.reality-animation-box {
  position: relative;
}

.animation-glass-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(246, 114, 20, 0.15);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(246, 114, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animation-glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.3), transparent);
}

/* PAIN STAGES */
.pain-stage {
  display: none;
  opacity: 0;
  animation: stageIn 0.6s ease forwards;
  width: 100%;
  height: 500px;
}

.pain-stage.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* STAGE 1: Spec Document Viewer */
.spec-document-viewer {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 2px solid rgba(246, 114, 20, 0.2);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doc-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.3px;
}

.doc-pages {
  font-size: 13px;
  color: #0f172a;
  font-family: 'Courier New', monospace;
  background: rgba(246, 114, 20, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(246, 114, 20, 0.2);
}

.doc-content {
  padding: 36px 32px;
  flex: 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to bottom, #fafafa 0%, #f8fafc 100%);
  font-family: 'Georgia', serif;
}

.doc-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #f8fafc 70%);
  pointer-events: none;
  z-index: 2;
}

.doc-line {
  padding: 6px 0;
  font-size: 15px;
  line-height: 2;
  color: #0f172a;
  font-weight: 400;
}

.doc-line strong {
  color: #020617;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  margin: 8px 0;
}

.doc-line.highlight-flicker {
  background: linear-gradient(90deg, 
    rgba(246, 114, 20, 0.12), 
    rgba(246, 114, 20, 0.2), 
    rgba(246, 114, 20, 0.12));
  padding: 8px 20px;
  margin: 4px -20px;
  border-left: 5px solid var(--color-accent);
  border-radius: 6px;
  animation: flicker 3s ease-in-out infinite;
  color: #020617;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.1);
}

/* Scrolling container for doc lines */
.doc-content-scroll {
  animation: docScroll 15s linear infinite;
}

@keyframes docScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200px); }
}

@keyframes flicker {
  0%, 100% { 
    opacity: 1; 
    background: linear-gradient(90deg, 
      rgba(246, 114, 20, 0.12), 
      rgba(246, 114, 20, 0.2), 
      rgba(246, 114, 20, 0.12));
    border-left-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(246, 114, 20, 0.1);
  }
  50% { 
    opacity: 0.9; 
    background: linear-gradient(90deg, 
      rgba(246, 114, 20, 0.08), 
      rgba(246, 114, 20, 0.15), 
      rgba(246, 114, 20, 0.08));
    border-left-color: rgba(246, 114, 20, 0.7);
    box-shadow: 0 2px 12px rgba(246, 114, 20, 0.2);
  }
}

.scroll-indicator {
  padding: 14px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 2px solid rgba(246, 114, 20, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.scroll-indicator::before {
  content: '📖';
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.scroll-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.scroll-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #ff8c42);
  border-radius: 4px;
  width: 15%;
  animation: scrollProgress 15s linear infinite;
  box-shadow: 0 0 12px rgba(246, 114, 20, 0.4);
}

@keyframes scrollProgress {
  0% { width: 15%; }
  100% { width: 90%; }
}

/* STAGE 2: Search Viewer */
.spec-search-viewer {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 2px solid rgba(246, 114, 20, 0.2);
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  background: #fafafa;
  font-weight: 500;
}

.search-results {
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
  font-weight: 600;
}

.search-content {
  padding: 24px;
  flex: 1;
  overflow: hidden;
  background: #fafafa;
}

.search-line {
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  color: #475569;
  animation: jumpLine 3s ease-in-out infinite;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@keyframes jumpLine {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-10px); opacity: 0.7; }
}

.keyword-highlight {
  background: rgba(246, 114, 20, 0.15);
  padding: 3px 8px;
  border-radius: 5px;
  color: var(--color-accent);
  font-weight: 700;
  border: 1px solid rgba(246, 114, 20, 0.2);
}

.jump-indicator {
  padding: 14px 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-top: 2px solid #fed7aa;
  text-align: center;
  font-size: 13px;
  color: #9a3412;
  font-weight: 700;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* STAGE 3: Entry Creation Split - ADVANCED */
.entry-creation-split {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  padding: 0 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.split-left,
.split-right {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.split-left {
  max-height: 180px;
}

.split-right {
  flex: 1;
}

.split-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.split-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.spec-excerpt {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.spec-excerpt p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.spec-section-number {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #0f172a;
  font-size: 13px;
  padding: 5px 10px;
  background: #f1f5f9;
  border-radius: 6px;
  display: inline-block;
}

.highlight-text {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.15), rgba(246, 114, 20, 0.08));
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--color-accent);
  font-weight: 700;
  border: 2px solid rgba(246, 114, 20, 0.2);
  display: block;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Excel Sheet - Advanced */
.excel-sheet {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.excel-row {
  display: grid;
  grid-template-columns: 60px 90px 1fr;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.excel-row.header-row {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 700;
  color: #0f172a;
  border-radius: 6px 6px 0 0;
  border-bottom: 2px solid #e2e8f0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.excel-row.typing-row {
  background: rgba(246, 114, 20, 0.03);
  border-left: 3px solid var(--color-accent);
  animation: rowHighlight 2s ease-in-out infinite;
}

@keyframes rowHighlight {
  0%, 100% { background: rgba(246, 114, 20, 0.03); }
  50% { background: rgba(246, 114, 20, 0.08); }
}

.typing-text {
  color: #0f172a;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.typing-text-content {
  display: inline-block;
  color: #0f172a;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--color-accent);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Copy Arrow Animation */
.copy-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: var(--color-accent);
  animation: copyPulse 2s ease-in-out infinite;
  z-index: 10;
  filter: drop-shadow(0 4px 12px rgba(246, 114, 20, 0.3));
  pointer-events: none;
}

@keyframes copyPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* STAGE 4: Compile Table - Advanced UI */
.compile-container {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.compile-header {
  padding: 16px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 2px solid rgba(246, 114, 20, 0.15);
}

.compile-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
  margin-bottom: 12px;
}

.compile-icon {
  font-size: 20px;
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.compile-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, #fb923c 100%);
  border-radius: 10px;
  animation: progressFill 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(246, 114, 20, 0.4);
}

@keyframes progressFill {
  0% { width: 0%; }
  50% { width: 75%; }
  100% { width: 0%; }
}

.progress-text {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  min-width: 120px;
  animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.compile-table-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 16px 24px;
  background: #fafafa;
}

.compile-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.compile-row {
  display: grid;
  grid-template-columns: 60px 100px 1fr 120px;
  gap: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 8px;
  font-size: 13px;
  align-items: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.compile-row.header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  border: 1px solid #cbd5e1;
}

/* Row animations - staggered appearance */
.compile-row.row-1 {
  animation: rowSlideIn 0.5s ease-out 0.2s both;
}

.compile-row.row-2 {
  animation: rowSlideIn 0.5s ease-out 0.4s both;
}

.compile-row.row-3 {
  animation: rowSlideIn 0.5s ease-out 0.6s both;
}

.compile-row.row-4 {
  animation: rowSlideIn 0.5s ease-out 0.8s both;
}

.compile-row.row-5 {
  animation: rowSlideIn 0.5s ease-out 1s both;
}

@keyframes rowSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.compile-row.building-row {
  background: rgba(246, 114, 20, 0.05);
  border: 1px solid rgba(246, 114, 20, 0.2);
  animation: rowPulse 2s ease-in-out infinite;
}

@keyframes rowPulse {
  0%, 100% { 
    background: rgba(246, 114, 20, 0.05);
    box-shadow: 0 0 0 rgba(246, 114, 20, 0.2);
  }
  50% { 
    background: rgba(246, 114, 20, 0.1);
    box-shadow: 0 4px 12px rgba(246, 114, 20, 0.15);
  }
}

.compile-row.ghost-row {
  opacity: 0.3;
  border-style: dashed;
}

.building-cell {
  color: var(--color-accent);
  font-weight: 700;
  animation: cellBlink 1.5s ease-in-out infinite;
}

@keyframes cellBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.cell-id {
  color: #64748b;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.cell-section {
  color: #475569;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.cell-desc {
  color: #0f172a;
  font-weight: 500;
}

.cell-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12px;
}

.cell-status.incomplete {
  color: var(--color-accent);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { 
    opacity: 0.5;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.3);
  }
}

.incomplete-text {
  color: var(--color-accent);
  font-weight: 700;
}

.compile-footer {
  padding: 12px 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-top: 2px solid rgba(246, 114, 20, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.warning-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c2410c;
  font-weight: 700;
  font-size: 13px;
  animation: warningShake 3s ease-in-out infinite;
}

@keyframes warningShake {
  0%, 90%, 100% { transform: translateX(0); }
  92%, 96% { transform: translateX(-2px); }
  94%, 98% { transform: translateX(2px); }
}

.warning-badge svg {
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.time-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.8;
}

.time-indicator svg {
  stroke: #9a3412;
  flex-shrink: 0;
}

/* STAGE 5: Miss Something - Simple & Clean */
.miss-container-simple {
  background: rgba(246, 114, 20, 0.08);
  border-radius: 20px;
  border: 2px solid rgba(246, 114, 20, 0.2);
  padding: 40px;
  text-align: center;
  animation: shake 0.5s ease-out;
  height: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.miss-header-simple {
  margin-bottom: 32px;
}

.warning-icon-simple {
  margin-bottom: 20px;
  animation: warningPulse 2s ease-in-out infinite;
}

.warning-icon-simple svg {
  stroke: var(--color-accent);
  filter: drop-shadow(0 4px 12px rgba(246, 114, 20, 0.3));
}

@keyframes warningPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.miss-title-simple {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(246, 114, 20, 0.2);
}

.miss-subtitle-simple {
  font-size: 13px;
  color: #9a3412;
  margin: 0;
  font-weight: 600;
}

.comparison-simple {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  text-align: left;
  margin-bottom: 24px;
}

.comparison-card-simple {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.card-label-simple {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.spec-section-simple {
  display: inline-block;
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  font-family: 'Courier New', monospace;
  margin-bottom: 12px;
}

.spec-text-simple {
  background: rgba(246, 114, 20, 0.1);
  padding: 12px;
  border-left: 4px solid var(--color-accent);
  border-radius: 6px;
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 12px;
}

.spec-tags-simple {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-tags-simple span {
  padding: 4px 10px;
  background: rgba(246, 114, 20, 0.15);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #c2410c;
  letter-spacing: 0.5px;
}

.arrow-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.arrow-simple svg {
  stroke: var(--color-accent);
  filter: drop-shadow(0 2px 8px rgba(246, 114, 20, 0.3));
}

.arrow-simple span {
  font-size: 9px;
  font-weight: 700;
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.log-card-simple {
  text-align: center;
  border-color: rgba(246, 114, 20, 0.3);
  animation: cardPulse 2s ease-in-out infinite;
}

@keyframes cardPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(246, 114, 20, 0.15); }
  50% { box-shadow: 0 12px 32px rgba(246, 114, 20, 0.25); }
}

.missing-icon-simple {
  margin: 16px 0;
}

.missing-icon-simple svg {
  stroke: var(--color-accent);
  animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.missing-text-simple {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.missing-desc-simple {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.miss-footer-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  color: #c2410c;
  font-weight: 700;
  font-size: 13px;
}

.miss-footer-simple svg {
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* RIGHT: STEPS PANEL */
.reality-steps-panel {
  position: sticky;
  top: 100px;
  height: 500px;
  display: flex;
  align-items: center;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.timeline-step {
  display: flex;
  gap: 16px;
  opacity: 0.35;
  transition: all 0.4s ease;
  cursor: pointer;
}

.timeline-step:hover {
  opacity: 0.7;
}

.timeline-step.active {
  opacity: 1;
  cursor: default;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-dot {
  width: 16px;
  height: 16px;
  background: #cbd5e1;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  transition: all 0.4s ease;
}

.timeline-step.active .step-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 24px rgba(246, 114, 20, 0.4);
}

.step-line {
  width: 2px;
  height: 55px;
  background: #e2e8f0;
  margin-top: 6px;
}

.step-content-panel {
  flex: 1;
}

.step-number-panel {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-right: 10px;
  border: 1px solid #e2e8f0;
}

.timeline-step.active .step-number-panel {
  background: rgba(246, 114, 20, 0.15);
  color: var(--color-accent);
  border-color: rgba(246, 114, 20, 0.3);
}

.step-content-panel h3 {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  display: inline;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-content-panel p {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.pain-message {
  background: rgba(246, 114, 20, 0.08);
  padding: 17px;
  border-radius: 16px;
  border: 2px solid rgba(246, 114, 20, 0.2);
}

.pain-text-final {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .reality-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* MOBILE: Steps on top, animation on bottom */
  .reality-steps-panel {
    order: 1;
    position: relative;
    top: 0;
    height: auto;
  }
  
  .reality-animation-box {
    order: 2;
  }
}

@media (max-width: 767px) {
  .reality-section {
    padding: 60px 0;
  }
  
  .reality-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-badge {
    font-size: 11px;
    padding: 7px 18px;
    gap: 7px;
  }
  
  .badge-dot-pulse,
  .badge-dot-orange,
  .badge-pulse-dot {
    width: 7px;
    height: 7px;
  }
  
  /* Fixed height for animation box */
  .animation-glass-panel {
    padding: 20px;
    min-height: 450px;
    max-height: 450px;
  }
  
  /* Fixed height for all pain stages */
  .pain-stage {
    height: 410px;
  }
  
  /* Stage 1: Spec Document - More compact */
  .spec-document-viewer {
    height: 410px;
  }
  
  .doc-header {
    padding: 12px 16px;
  }
  
  .doc-title {
    font-size: 12px;
    gap: 6px;
  }
  
  .doc-pages {
    font-size: 10px;
    padding: 4px 10px;
  }
  
  .doc-content {
    padding: 20px 16px;
  }
  
  .doc-line {
    font-size: 12px;
    line-height: 1.6;
    padding: 4px 0;
  }
  
  .doc-line strong {
    font-size: 13px;
    margin: 6px 0;
  }
  
  .doc-line.highlight-flicker {
    padding: 6px 12px;
    margin: 3px -12px;
    border-left-width: 3px;
  }
  
  /* Stage 2: Search - More compact */
  .spec-search-viewer {
    height: 410px;
  }
  
  .search-header {
    padding: 16px;
    flex-direction: column;
    gap: 12px;
  }
  
  .search-input {
    font-size: 14px;
    padding: 10px 14px;
  }
  
  .search-results {
    font-size: 11px;
    padding: 6px 12px;
  }
  
  .search-content {
    padding: 16px;
  }
  
  .search-line {
    font-size: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
  }
  
  .jump-indicator {
    font-size: 11px;
    padding: 10px;
  }
  
  /* Stage 3: Entry Creation - HORIZONTAL STACKED LAYOUT */
  .entry-creation-split {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .split-left {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid rgba(246, 114, 20, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 0 0 auto;
    max-height: 35%;
  }
  
  .split-right {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
  }
  
  .split-title {
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .spec-section-number {
    font-size: 12px;
    padding: 5px 10px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
    background: rgba(246, 114, 20, 0.1);
    border-radius: 6px;
    color: #f67214;
  }
  
  .spec-excerpt p {
    font-size: 11px;
    margin-bottom: 6px;
    color: #64748b;
  }
  
  .highlight-text {
    font-size: 10px;
    padding: 8px;
    line-height: 1.4;
    border-left: 3px solid #f67214;
    font-weight: 600;
    background: rgba(246, 114, 20, 0.1);
    border-radius: 6px;
    color: #1e293b;
  }
  
  .excel-sheet {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
  }
  
  .excel-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    padding: 10px;
    font-size: 11px;
    min-height: 38px;
    background: #fafafa;
    border-radius: 6px;
    margin-bottom: 6px;
    align-items: center;
  }
  
  .excel-row span:nth-child(2) {
    display: none;
  }
  
  .excel-row.header-row {
    font-size: 10px;
    padding: 8px 10px;
    font-weight: 800;
    background: #f1f5f9;
    margin-bottom: 8px;
    color: #475569;
  }
  
  .excel-row.typing-row {
    background: rgba(246, 114, 20, 0.05);
    border-left: 3px solid #f67214;
  }
  
  .excel-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .typing-text {
    display: flex;
    align-items: center;
    gap: 3px;
  }
  
  .typing-text-content {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
  }
  
  .cursor-blink {
    height: 13px;
    width: 2px;
    background: #f67214;
  }
  
  .copy-arrow {
    display: none;
  }
  
  /* Stage 4: Compile - More compact */
  .compile-container {
    padding: 16px;
    height: 410px;
  }
  
  .compile-header {
    margin-bottom: 16px;
  }
  
  .compile-title {
    font-size: 13px;
    gap: 8px;
  }
  
  .compile-icon {
    font-size: 18px;
  }
  
  .progress-bar {
    height: 6px;
  }
  
  .progress-text {
    font-size: 10px;
  }
  
  .compile-table-wrapper {
    max-height: 240px;
  }
  
  .compile-row {
    grid-template-columns: 40px 70px 1fr 70px;
    font-size: 11px;
    padding: 10px 8px;
    gap: 8px;
  }
  
  .compile-row.header {
    font-size: 10px;
    padding: 8px;
  }
  
  .compile-footer {
    padding: 12px;
    gap: 10px;
  }
  
  .warning-badge,
  .time-indicator {
    font-size: 10px;
    gap: 6px;
  }
  
  .warning-badge svg,
  .time-indicator svg {
    width: 12px;
    height: 12px;
  }
  
  /* Stage 5: Miss Something - Clean & Simple Mobile Layout */
  .miss-container-simple {
    padding: 16px;
    height: 410px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .miss-header-simple {
    text-align: center;
    margin-bottom: 0;
  }
  
  .warning-icon-simple svg {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
  
  .miss-title-simple {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
  }
  
  .miss-subtitle-simple {
    font-size: 11px;
    line-height: 1.4;
    opacity: 0.8;
  }
  
  .comparison-simple {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    justify-content: center;
  }
  
  .comparison-card-simple {
    padding: 12px;
    border-radius: 8px;
  }
  
  .spec-card-simple {
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }
  
  .log-card-simple {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-align: center;
  }
  
  .arrow-simple {
    display: none;
  }
  
  .card-label-simple {
    font-size: 9px;
    padding: 4px 8px;
    margin-bottom: 8px;
    display: inline-block;
  }
  
  .spec-section-simple {
    font-size: 11px;
    padding: 4px 8px;
    margin-bottom: 8px;
    display: inline-block;
  }
  
  .spec-text-simple {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 600;
  }
  
  .spec-tags-simple {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .spec-tags-simple span {
    font-size: 8px;
    padding: 3px 8px;
  }
  
  .missing-icon-simple {
    margin-bottom: 8px;
  }
  
  .missing-icon-simple svg {
    width: 40px;
    height: 40px;
  }
  
  .missing-text-simple {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 700;
  }
  
  .missing-desc-simple {
    font-size: 10px;
    line-height: 1.4;
    opacity: 0.7;
  }
  
  .miss-footer-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding: 10px;
    gap: 8px;
    text-align: center;
    margin-top: 0;
  }
  
  .miss-footer-simple svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  
  /* Steps panel - More compact */
  .reality-steps-panel {
    height: auto;
  }
  
  .steps-timeline {
    gap: 20px;
  }
  
  .step-line {
    height: 40px;
  }
  
  .step-content-panel h3 {
    font-size: 15px;
  }
  
  .step-content-panel p {
    font-size: 12px;
    line-height: 1.5;
  }
  
  .step-number-panel {
    font-size: 13px;
    padding: 4px 12px;
  }
}

@media (max-width: 575px) {
  .reality-section {
    padding: 50px 0;
  }
  
  .reality-header {
    margin-bottom: 30px;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .section-badge {
    font-size: 10px;
    padding: 6px 16px;
    gap: 6px;
  }
  
  .section-badge-dark,
  .cta-badge-dark {
    font-size: 10px;
    padding: 6px 16px;
    gap: 6px;
  }
  
  .badge-dot-pulse,
  .badge-dot-orange,
  .badge-pulse-dot {
    width: 6px;
    height: 6px;
  }
  
  /* Fixed height for animation box - smaller screens */
  .animation-glass-panel {
    padding: 16px;
    min-height: 400px;
    max-height: 400px;
  }
  
  /* Fixed height for all pain stages */
  .pain-stage {
    height: 368px;
  }
  
  /* Stage 1: Spec Document - Extra compact */
  .spec-document-viewer {
    height: 368px;
  }
  
  .doc-header {
    padding: 10px 12px;
  }
  
  .doc-title {
    font-size: 11px;
    gap: 4px;
  }
  
  .doc-pages {
    font-size: 9px;
    padding: 3px 8px;
  }
  
  .doc-content {
    padding: 16px 12px;
  }
  
  .doc-line {
    font-size: 11px;
    line-height: 1.5;
    padding: 3px 0;
  }
  
  .doc-line strong {
    font-size: 12px;
    margin: 4px 0;
  }
  
  .doc-line.highlight-flicker {
    padding: 5px 10px;
    margin: 2px -10px;
    border-left-width: 3px;
  }
  
  /* Stage 2: Search - Extra compact */
  .spec-search-viewer {
    height: 368px;
  }
  
  .search-header {
    padding: 12px;
    gap: 10px;
  }
  
  .search-input {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .search-results {
    font-size: 10px;
    padding: 5px 10px;
  }
  
  .search-content {
    padding: 12px;
  }
  
  .search-line {
    font-size: 11px;
    padding: 8px 10px;
    margin-bottom: 6px;
  }
  
  .jump-indicator {
    font-size: 10px;
    padding: 8px;
  }
  
  /* Stage 3: Entry Creation - HORIZONTAL STACKED LAYOUT */
  .entry-creation-split {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .split-left {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid rgba(246, 114, 20, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 0 0 auto;
    max-height: 35%;
  }
  
  .split-right {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
  }
  
  .split-title {
    font-size: 10px;
    margin-bottom: 6px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .spec-section-number {
    font-size: 10px;
    padding: 4px 8px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 5px;
    background: rgba(246, 114, 20, 0.1);
    border-radius: 5px;
    color: #f67214;
  }
  
  .spec-excerpt p {
    font-size: 9px;
    margin-bottom: 5px;
    color: #64748b;
  }
  
  .highlight-text {
    font-size: 9px;
    padding: 7px;
    line-height: 1.4;
    border-left: 2px solid #f67214;
    font-weight: 600;
    background: rgba(246, 114, 20, 0.1);
    border-radius: 5px;
    color: #1e293b;
  }
  
  .excel-sheet {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
  }
  
  .excel-row {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 8px;
    padding: 8px;
    font-size: 10px;
    min-height: 34px;
    background: #fafafa;
    border-radius: 5px;
    margin-bottom: 5px;
    align-items: center;
  }
  
  .excel-row span:nth-child(2) {
    display: none;
  }
  
  .excel-row.header-row {
    font-size: 9px;
    padding: 7px 8px;
    font-weight: 800;
    background: #f1f5f9;
    margin-bottom: 6px;
    color: #475569;
  }
  
  .excel-row.typing-row {
    background: rgba(246, 114, 20, 0.05);
    border-left: 2px solid #f67214;
  }
  
  .excel-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .typing-text {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  
  .typing-text-content {
    font-size: 10px;
    font-weight: 700;
    color: #0f172a;
  }
  
  .cursor-blink {
    height: 11px;
    width: 2px;
    background: #f67214;
  }
  
  .copy-arrow {
    display: none;
  }
  
  
  /* Stage 4: Compile - Extra compact */
  .compile-container {
    padding: 12px;
    height: 368px;
  }
  
  .compile-header {
    margin-bottom: 12px;
  }
  
  .compile-title {
    font-size: 12px;
    gap: 6px;
  }
  
  .compile-icon {
    font-size: 16px;
  }
  
  .progress-bar {
    height: 5px;
  }
  
  .progress-text {
    font-size: 9px;
  }
  
  .compile-table-wrapper {
    max-height: 200px;
  }
  
  .compile-row {
    grid-template-columns: 35px 60px 1fr 60px;
    font-size: 10px;
    padding: 8px 6px;
    gap: 6px;
  }
  
  .compile-row.header {
    font-size: 9px;
    padding: 6px;
  }
  
  .compile-footer {
    padding: 10px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .warning-badge,
  .time-indicator {
    font-size: 9px;
    gap: 5px;
  }
  
  .warning-badge svg,
  .time-indicator svg {
    width: 11px;
    height: 11px;
  }
  
  /* Stage 5: Miss Something - Clean & Simple Small Mobile Layout */
  .miss-container-simple {
    padding: 14px;
    height: 368px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .miss-header-simple {
    text-align: center;
    margin-bottom: 0;
  }
  
  .warning-icon-simple svg {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
  
  .miss-title-simple {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 700;
  }
  
  .miss-subtitle-simple {
    font-size: 10px;
    line-height: 1.4;
    opacity: 0.8;
  }
  
  .comparison-simple {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: center;
  }
  
  .comparison-card-simple {
    padding: 10px;
    border-radius: 8px;
  }
  
  .spec-card-simple {
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }
  
  .log-card-simple {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-align: center;
  }
  
  .arrow-simple {
    display: none;
  }
  
  .card-label-simple {
    font-size: 8px;
    padding: 3px 7px;
    margin-bottom: 6px;
    display: inline-block;
  }
  
  .spec-section-simple {
    font-size: 10px;
    padding: 3px 7px;
    margin-bottom: 6px;
    display: inline-block;
  }
  
  .spec-text-simple {
    font-size: 11px;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 600;
  }
  
  .spec-tags-simple {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
  }
  
  .spec-tags-simple span {
    font-size: 7px;
    padding: 3px 6px;
  }
  
  .missing-icon-simple {
    margin-bottom: 6px;
  }
  
  .missing-icon-simple svg {
    width: 36px;
    height: 36px;
  }
  
  .missing-text-simple {
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: 700;
  }
  
  .missing-desc-simple {
    font-size: 9px;
    line-height: 1.4;
    opacity: 0.7;
  }
  
  .miss-footer-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    padding: 8px;
    gap: 6px;
    text-align: center;
    margin-top: 0;
  }
  
  .miss-footer-simple svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
  
  /* Steps panel - Extra compact */
  .steps-timeline {
    gap: 16px;
  }
  
  .step-line {
    height: 32px;
  }
  
  .step-content-panel h3 {
    font-size: 14px;
  }
  
  .step-content-panel p {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .step-number-panel {
    font-size: 12px;
    padding: 3px 10px;
  }
  
  .step-dot {
    width: 12px;
    height: 12px;
  }
}

/* ========================================
   SECTION 4 — INTRODUCING THE SKILL (PREMIUM REDESIGN)
   ======================================== */

.introducing-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
  position: relative;
  overflow: hidden;
}

/* Ambient Background Glow */
.introducing-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

.introducing-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes ambientPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Header */
.introducing-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.introducing-section .section-badge {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.2), rgba(246, 114, 20, 0.1));
  border-color: rgba(246, 114, 20, 0.4);
  margin-bottom: 20px;
}

.introducing-section .section-title {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.5vw, 3rem);
}

.title-highlight-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8c42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.introducing-section .section-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto;
}

/* Premium Glass Container */
.premium-demo-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* Floating Glow Lines */
.glow-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%);
}

.glow-line {
  position: absolute;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.3), transparent);
  opacity: 0;
  animation: glowFlow 4s ease-in-out infinite;
}

.glow-line-1 {
  animation-delay: 0s;
}

.glow-line-2 {
  animation-delay: 2s;
}

@keyframes glowFlow {
  0%, 100% {
    opacity: 0;
    transform: translateX(-50%);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Flow Container */
.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.flow-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.5), transparent);
}

.flow-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 50% 0%, rgba(246, 114, 20, 0.03), transparent 50%);
  pointer-events: none;
}

/* Flow Blocks */
.flow-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 280px;
  opacity: 0;
  animation: blockFadeIn 0.6s ease-out forwards;
}

.flow-block:nth-child(1) {
  animation-delay: 0.1s;
}

.flow-block:nth-child(3) {
  animation-delay: 0.3s;
}

.flow-block:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes blockFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.block-inner {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.block-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top, rgba(246, 114, 20, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.block-inner:hover::before {
  opacity: 1;
}

.block-inner:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(246, 114, 20, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(246, 114, 20, 0.15);
}

.block-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  line-height: 1.4;
}

/* Upload Block */
.upload-block .block-inner {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(246, 114, 20, 0.25);
}

.upload-block .block-inner:hover {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(246, 114, 20, 0.4);
}

.upload-zone {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.upload-icon {
  color: var(--color-accent);
  animation: floatUpload 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-icon svg {
  width: 48px;
  height: 48px;
}

@keyframes floatUpload {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.upload-text {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.upload-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.file-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(246, 114, 20, 0.15);
  border: 1px solid rgba(246, 114, 20, 0.35);
  border-radius: 10px;
  margin-top: 16px;
  animation: chipBounce 0.6s ease-out;
}

@keyframes chipBounce {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  60% {
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.file-chip svg {
  color: var(--color-accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.file-chip span:first-of-type {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

/* AI Process Block */
.ai-process-block .block-inner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.05));
  border-color: rgba(59, 130, 246, 0.15);
}

.ai-process-block .block-inner:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0.08));
  border-color: rgba(59, 130, 246, 0.35);
}

.ai-brain-icon {
  color: #3b82f6;
  margin-bottom: 10px;
  animation: brainPulse 2s ease-in-out infinite;
}

.ai-brain-icon svg {
  width: 32px;
  height: 32px;
}

@keyframes brainPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.ai-pipeline {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.pipeline-step.active {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  opacity: 1;
}

.pipeline-dot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pipeline-step.active .pipeline-dot {
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.pipeline-step span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
}

.pipeline-step.active span {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* Generate Block */
.generate-block .block-inner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.05));
  border-color: rgba(16, 185, 129, 0.15);
  justify-content: space-between;
}

.generate-block .block-inner:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.08));
  border-color: rgba(16, 185, 129, 0.35);
}

.generate-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 23px 13px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8c42 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    0 8px 24px rgba(246, 114, 20, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 240px;
}

.generate-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.generate-cta:hover::before {
  left: 100%;
}

.generate-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 12px 32px rgba(246, 114, 20, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.generate-cta:active {
  transform: translateY(0) scale(0.98);
}

.generate-cta svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  margin-top: 0;
  width: 100%;
  max-width: 240px;
  justify-content: center;
}

.status-indicator {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.8);
  }
}

.status-pill span {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

/* Compliance Review UI - Section 4 */
.review-upload-zone {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.review-upload-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.review-file-chip {
  width: 100%;
  max-width: 235px;
  justify-content: center;
}

.submittal-meta-row {
  width: 100%;
  max-width: 235px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.submittal-meta-row span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.25;
}

.review-cta {
  max-width: 210px;
  padding: 18px 18px;
  font-size: 18px;
  letter-spacing: 0;
}

.reference-check-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reference-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.reference-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.7);
  animation: dotPulse 1.8s ease-in-out infinite;
}

.review-scan-line {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.review-scan-line span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0), #3b82f6, rgba(246, 114, 20, 0.95));
  animation: reviewScan 2.4s ease-in-out infinite;
}

@keyframes reviewScan {
  0%, 100% {
    transform: translateX(-110%);
  }
  50% {
    transform: translateX(260%);
  }
}

.report-preview-card {
  width: 100%;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(5, 12, 20, 0.48);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.report-preview-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.report-preview-header span {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
}

.report-preview-header strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: 10px;
  text-transform: uppercase;
}

.report-score-ring {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, #111827 55%, transparent 56%),
    conic-gradient(var(--color-accent) 0 95%, #fed7aa 95% 100%);
}

.report-score-ring span {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.report-score-ring small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
}

.report-findings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.finding-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.finding-row span {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 999px;
}

.finding-row p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finding-row.compliant span {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.finding-row.partial span {
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.55);
}

.finding-row.missing span {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.55);
}

/* Flow Arrows */
.flow-arrow {
  color: rgba(246, 114, 20, 0.5);
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

.flow-arrow svg {
  width: 28px;
  height: 28px;
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

/* ========================================
   SECTION 5 — TRANSFORMATION (REFERENCE DESIGN)
   ======================================== */

.transformation-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.transformation-section .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: center;
}

/* Right Side Content */
.transformation-content {
  order: 2;
}

.transformation-content .section-badge {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.15), rgba(246, 114, 20, 0.08));
  border-color: rgba(246, 114, 20, 0.3);
  color: var(--color-accent);
  margin-bottom: 20px;
}

.transformation-content .section-title {
  color: #1e293b;
  margin-bottom: 32px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
}

.process-steps-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.step-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-text svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.highlight-word {
  font-weight: 700;
  color: #1e293b;
}

.conversion-statement {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.conversion-statement svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.conversion-statement p {
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.conversion-statement strong {
  color: #10b981;
  font-weight: 700;
}

.trust-statements {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item svg {
  flex-shrink: 0;
}

.trust-item:nth-child(1) svg,
.trust-item:nth-child(2) svg {
  color: #ef4444;
}

.trust-item:nth-child(3) svg {
  color: #10b981;
}

.trust-item span {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
}

/* Left Side Visual */
.transformation-visual {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0;
}

/* Enhanced Demo Cards */
.demo-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.05);
  flex: 1;
  max-width: 420px;
  min-height: 360px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #ff8c42 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.input-demo::before {
  background: linear-gradient(90deg, var(--color-accent) 0%, #ff8c42 100%);
}

.output-demo::before {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.demo-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(246, 114, 20, 0.3);
}

.demo-card:hover::before {
  opacity: 1;
}

.output-demo:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 16px;
  position: relative;
}

.demo-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.output-demo .demo-header::after {
  background: #10b981;
}

.demo-card:hover .demo-header::after {
  width: 80px;
}

.input-demo .demo-header svg {
  color: var(--color-accent);
  filter: drop-shadow(0 2px 4px rgba(246, 114, 20, 0.2));
}

.output-demo .demo-header svg {
  color: #10b981;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
}

.demo-header span {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.5px;
}

.demo-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.03) 0%, rgba(246, 114, 20, 0.01) 100%);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
}

.demo-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: "Outfit", sans-serif;
}

.demo-section-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  font-family: "Outfit", sans-serif;
}

.demo-requirements {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-req {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.06) 0%, rgba(246, 114, 20, 0.02) 100%);
  border-left: 3px solid var(--color-accent);
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  transition: all 0.2s ease;
}

.demo-req:hover {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1) 0%, rgba(246, 114, 20, 0.04) 100%);
  transform: translateX(4px);
}

.demo-table-header {
  display: grid;
  grid-template-columns: 70px 1fr 35px;
  gap: 12px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
}

.demo-table-header span {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: "Outfit", sans-serif;
}

.demo-table-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 14px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.demo-row:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.demo-spec {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: "Outfit", sans-serif;
}

.demo-desc {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  font-family: "Outfit", sans-serif;
}

.demo-div {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-align: right;
  font-family: "Outfit", sans-serif;
}

.demo-more {
  font-size: 9px;
  color: #94a3b8;
  font-style: italic;
  text-align: center;
  margin-top: 8px;
  font-family: "Outfit", sans-serif;
  padding: 8px;
  background: rgba(148, 163, 184, 0.05);
  border-radius: 6px;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  animation: arrowPulse 2.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(246, 114, 20, 0.2));
}

@keyframes arrowPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.7; 
    color: var(--color-accent);
  }
  50% { 
    transform: scale(1.15); 
    opacity: 1; 
    color: #ff8c42;
  }
}

.spec-section-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.spec-section-num {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Outfit", sans-serif;
}

.spec-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  font-family: "Outfit", sans-serif;
  margin-bottom: 4px;
}

.spec-req-item {
  display: flex;
  align-items: flex-start;
  padding: 8px 10px;
  background: rgba(246, 114, 20, 0.05);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px;
  transition: all 0.2s ease;
  margin: 2px 0;
}

.spec-req-item:hover {
  background: rgba(246, 114, 20, 0.1);
  transform: translateX(2px);
}

.spec-req-item span {
  font-size: 10px;
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  font-family: "Outfit", sans-serif;
}

.spec-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 8px 0;
}

.spec-more-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 6px;
  margin-top: 8px;
}

.spec-more-indicator svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.spec-more-indicator span {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  font-style: italic;
  font-family: "Outfit", sans-serif;
}

/* Responsive Styles for Section 4 - The Solution */
@media (max-width: 991px) {
  .introducing-section {
    padding: 60px 0;
  }
  
  .flow-container {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }
  
  .flow-block {
    max-width: 100%;
    width: 100%;
  }
  
  .block-inner {
    min-height: 200px;
    padding: 28px 20px;
  }
  
  .flow-arrow {
    transform: rotate(90deg) !important;
  }
  
  .flow-arrow svg {
    transform: rotate(0deg);
  }
  
  @keyframes arrowPulse {
    0%, 100% { 
      transform: rotate(90deg) scale(1); 
      opacity: 0.7; 
    }
    50% { 
      transform: rotate(90deg) scale(1.15); 
      opacity: 1; 
    }
  }
  
  .generate-cta {
    max-width: 100%;
    padding: 18px 24px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .introducing-section {
    padding: 50px 0;
  }
  
  .introducing-header {
    margin-bottom: 36px;
  }
  
  .flow-container {
    gap: 24px;
    padding: 24px 16px;
  }
  
  .block-inner {
    min-height: 180px;
    padding: 24px 16px;
    gap: 14px;
  }
  
  .upload-icon svg {
    width: 44px;
    height: 44px;
  }
  
  .upload-text {
    font-size: 16px;
  }
  
  .upload-subtext {
    font-size: 14px;
  }
  
  .file-chip {
    padding: 10px 14px;
    flex-wrap: wrap;
  }
  
  .file-chip span:first-of-type {
    font-size: 14px;
  }
  
  .file-size {
    font-size: 12px;
  }
  
  .ai-brain-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .pipeline-step {
    padding: 10px 12px;
  }
  
  .pipeline-step span {
    font-size: 13px;
  }
  
  .generate-cta {
    padding: 18px 24px;
    font-size: 16px;
  }
  
  .generate-cta svg {
    width: 18px;
    height: 18px;
  }
  
  .status-pill {
    padding: 10px 14px;
  }
  
  .status-pill span {
    font-size: 13px;
  }
  
  .block-label {
    font-size: 14px;
  }
  
  .flow-arrow svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 575px) {
  .introducing-section {
    padding: 40px 0;
  }
  
  .flow-container {
    gap: 20px;
    padding: 20px 12px;
  }
  
  .block-inner {
    min-height: 170px;
    padding: 22px 16px;
    gap: 12px;
  }
  
  .upload-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .upload-text {
    font-size: 15px;
  }
  
  .upload-subtext {
    font-size: 13px;
  }
  
  .file-chip {
    padding: 9px 12px;
  }
  
  .file-chip span:first-of-type {
    font-size: 13px;
  }
  
  .file-size {
    font-size: 11px;
  }
  
  .ai-brain-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .pipeline-step {
    padding: 9px 10px;
    gap: 8px;
  }
  
  .pipeline-step span {
    font-size: 12px;
  }
  
  .pipeline-dot {
    width: 7px;
    height: 7px;
  }
  
  .generate-cta {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .generate-cta svg {
    width: 17px;
    height: 17px;
  }
  
  .status-pill {
    padding: 9px 12px;
  }
  
  .status-pill span {
    font-size: 12px;
  }
  
  .block-label {
    font-size: 13px;
  }
}

/* Responsive Styles for Section 5 */
@media (max-width: 1200px) {
  .transformation-section .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .transformation-content {
    order: 1;
    text-align: center;
  }
  
  .transformation-visual {
    order: 2;
    flex-direction: column;
    gap: 24px;
  }
  
  .demo-card {
    max-width: 100%;
    width: 100%;
    max-width: 500px;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .transformation-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .process-steps-text {
    gap: 16px;
  }
  
  .step-text p {
    font-size: 15px;
  }
  
  .conversion-statement p {
    font-size: 15px;
  }
  
  .trust-item span {
    font-size: 14px;
  }
  
  .transformation-visual {
    gap: 20px;
  }
  
  .demo-card {
    padding: 20px;
    min-height: 240px;
    max-width: 100%;
  }
  
  .demo-header span {
    font-size: 12px;
  }
  
  .demo-section-title {
    font-size: 9px;
  }
  
  .demo-section-subtitle {
    font-size: 11px;
  }
  
  .demo-req {
    font-size: 9px;
    padding: 6px 10px;
  }
  
  .demo-table-header {
    grid-template-columns: 60px 1fr 30px;
    gap: 8px;
    padding: 6px 10px;
  }
  
  .demo-table-header span {
    font-size: 8px;
  }
  
  .demo-row {
    grid-template-columns: 60px 1fr 30px;
    gap: 8px;
    padding: 6px 10px;
  }
  
  .demo-spec,
  .demo-desc,
  .demo-div {
    font-size: 9px;
  }
  
  .demo-more {
    font-size: 8px;
  }
  
  .flow-arrow svg {
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   SECTION 5 - COMPLIANCE COMPARISON REDESIGN
   ======================================== */

.transformation-section {
  padding: 92px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(246, 114, 20, 0.12), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(16, 185, 129, 0.12), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 48%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.transformation-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  pointer-events: none;
}

.transformation-section .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 64px;
  align-items: center;
}

.transformation-content {
  order: 1;
}

.transformation-visual {
  order: 2;
  min-width: 0;
}

.transformation-content .section-badge {
  background: rgba(246, 114, 20, 0.12);
  border-color: rgba(246, 114, 20, 0.28);
  color: var(--color-accent);
  margin-bottom: 20px;
}

.transformation-content .section-title {
  color: #0f172a;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.transformation-content .section-description {
  font-size: 18px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 28px;
  max-width: 620px;
}

.reference-list {
  display: grid;
  gap: 14px;
}

.reference-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  min-height: 96px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.reference-item:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 114, 20, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.reference-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--color-accent);
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.18);
}

.reference-item h4 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #111827;
  font-weight: 800;
}

.reference-item p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.comparison-orbit {
  position: relative;
  width: min(100%, 620px);
  min-height: 560px;
  margin: 0 auto;
  perspective: 1200px;
}

.comparison-orbit::before {
  content: '';
  position: absolute;
  inset: 50px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.36)),
    radial-gradient(circle at center, rgba(246, 114, 20, 0.1), transparent 58%);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.13);
  transform: rotateX(5deg) rotateY(-7deg);
}

.comparison-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-rings {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(246, 114, 20, 0.18) 0 31%, transparent 32%),
    conic-gradient(from 90deg, rgba(246, 114, 20, 0.15), rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.18), rgba(246, 114, 20, 0.15));
  animation: complianceSpin 16s linear infinite;
  filter: drop-shadow(0 20px 40px rgba(246, 114, 20, 0.15));
}

.core-rings::before,
.core-rings::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  border: 1px dashed rgba(15, 23, 42, 0.14);
}

.core-rings::before {
  inset: 34px;
}

.core-rings::after {
  inset: 78px;
}

@keyframes complianceSpin {
  to {
    transform: rotate(360deg);
  }
}

.core-card {
  position: relative;
  z-index: 3;
  width: 210px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 22px;
  border-radius: 26px;
  background: linear-gradient(145deg, #101827, #172033);
  color: #ffffff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.core-label {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.15);
  color: #fb923c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.core-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
}

.core-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.source-node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  animation: nodeFloat 4.5s ease-in-out infinite;
}

.source-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 13px;
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
}

.source-node span {
  font-size: 14px;
  font-weight: 800;
  color: #172033;
}

.source-specs {
  top: 48px;
  left: 42px;
}

.source-drawings {
  top: 76px;
  right: 20px;
  animation-delay: 0.4s;
}

.source-standards {
  bottom: 122px;
  left: 10px;
  animation-delay: 0.8s;
}

.source-codes {
  bottom: 72px;
  right: 32px;
  animation-delay: 1.2s;
}

@keyframes nodeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.connector-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  width: 180px;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.65), transparent);
  transform-origin: center;
  opacity: 0.72;
}

.line-specs {
  top: 172px;
  left: 160px;
  transform: rotate(28deg);
}

.line-drawings {
  top: 184px;
  right: 150px;
  transform: rotate(-28deg);
}

.line-standards {
  bottom: 212px;
  left: 144px;
  transform: rotate(-24deg);
}

.line-codes {
  bottom: 192px;
  right: 140px;
  transform: rotate(24deg);
}

.verification-panel {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  width: min(88%, 360px);
  transform: translateX(-50%);
  padding: 16px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.verification-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.verification-panel-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.verification-panel-header strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  font-size: 11px;
}

.verification-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.verification-row + .verification-row {
  margin-top: 8px;
}

.verification-row span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.verification-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 650;
}

.verification-row.complete span {
  background: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.verification-row.warning span {
  background: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

@media (max-width: 1100px) {
  .transformation-section .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .transformation-content {
    text-align: center;
  }

  .transformation-content .section-description {
    margin-left: auto;
    margin-right: auto;
  }

  .reference-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}

@media (max-width: 767px) {
  .transformation-section {
    padding: 58px 0;
  }

  .transformation-section .container {
    gap: 34px;
  }

  .transformation-content .section-title {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .transformation-content .section-description {
    font-size: 15px;
  }

  .reference-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reference-item {
    grid-template-columns: 42px 1fr;
    min-height: 84px;
    padding: 13px;
    border-radius: 12px;
  }

  .reference-icon {
    width: 42px;
    height: 42px;
  }

  .reference-item h4 {
    font-size: 15px;
  }

  .reference-item p {
    font-size: 12px;
  }

  .comparison-orbit {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .comparison-orbit::before,
  .core-rings,
  .connector-line {
    display: none;
  }

  .comparison-core,
  .source-node,
  .verification-panel {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .comparison-core {
    order: 1;
  }

  .source-node {
    min-width: 0;
    width: 100%;
    animation: none;
    border-radius: 14px;
  }

  .source-specs {
    order: 2;
  }

  .source-drawings {
    order: 3;
  }

  .source-standards {
    order: 4;
  }

  .source-codes {
    order: 5;
  }

  .verification-panel {
    order: 6;
    width: 100%;
  }

  .core-card {
    width: 100%;
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .source-node {
    padding: 12px;
  }

  .source-icon {
    width: 38px;
    height: 38px;
  }

  .source-node span {
    font-size: 13px;
  }

  .core-card strong {
    font-size: 24px;
  }
}

/* Section 5 visual refinement: orange-only, no hidden overlap */
.transformation-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(246, 114, 20, 0.1), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(246, 114, 20, 0.08), transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f3f6fb 100%);
}

.comparison-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: auto;
  padding: 22px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78)),
    radial-gradient(circle at 50% 38%, rgba(246, 114, 20, 0.08), transparent 46%);
  border: 1px solid rgba(203, 213, 225, 0.92);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  perspective: none;
}

.comparison-orbit::before {
  inset: 14px;
  border-radius: 28px;
  background:
    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: 34px 34px;
  border: 1px solid rgba(246, 114, 20, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: none;
  pointer-events: none;
}

.comparison-core,
.source-node,
.verification-panel {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
}

.source-node {
  min-width: 0;
  width: 100%;
  z-index: 2;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  animation: none;
}

.source-node::after {
  content: 'checked';
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-icon {
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.18);
}

.source-node span {
  white-space: nowrap;
}

.source-specs,
.source-drawings,
.source-standards,
.source-codes {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  animation-delay: 0s;
}

.source-specs {
  order: 1;
}

.source-drawings {
  order: 2;
}

.comparison-core {
  order: 3;
  grid-column: 1 / -1;
  z-index: 3;
  min-height: 230px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 114, 20, 0.18), transparent 42%),
    linear-gradient(145deg, #101827, #172033);
  border: 1px solid rgba(15, 23, 42, 0.24);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.comparison-core::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(246, 114, 20, 0.34);
  pointer-events: none;
}

.core-rings {
  width: 310px;
  height: 310px;
  background:
    radial-gradient(circle, rgba(246, 114, 20, 0.22) 0 30%, transparent 31%),
    conic-gradient(from 90deg, rgba(246, 114, 20, 0.04), rgba(246, 114, 20, 0.45), rgba(246, 114, 20, 0.08), rgba(246, 114, 20, 0.45), rgba(246, 114, 20, 0.04));
  opacity: 0.8;
}

.core-rings::before,
.core-rings::after {
  border-color: rgba(246, 114, 20, 0.22);
}

.core-card {
  width: min(100%, 330px);
  min-height: 170px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.86));
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.32);
}

.connector-line {
  display: none;
}

.source-standards {
  order: 4;
}

.source-codes {
  order: 5;
}

.verification-panel {
  order: 6;
  grid-column: 1 / -1;
  width: 100%;
  z-index: 4;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, #101827, #182236);
  border: 1px solid rgba(246, 114, 20, 0.18);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.22);
}

.verification-panel-header strong {
  background: rgba(246, 114, 20, 0.14);
  color: #fb923c;
}

.verification-row {
  background: rgba(255, 255, 255, 0.07);
}

.verification-row.complete span,
.verification-row.warning span {
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(246, 114, 20, 0.68);
}

@media (max-width: 767px) {
  .comparison-orbit {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 22px;
  }

  .comparison-orbit::before {
    inset: 8px;
    border-radius: 18px;
  }

  .comparison-core {
    min-height: 190px;
    padding: 16px;
  }

  .source-node::after {
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .source-node {
    gap: 8px;
  }

  .source-node::after {
    display: none;
  }

  .verification-row p {
    font-size: 12px;
  }
}

/* ========================================
   SECTION 6 — OUTPUT (VERY IMPORTANT)
   ======================================== */

.output-row:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: #f0fdf4;
}

.row-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  font-family: "Outfit", sans-serif;
}

.row-desc {
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  font-family: "Outfit", sans-serif;
}

.row-div {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-align: right;
  font-family: "Outfit", sans-serif;
}

.output-more {
  font-size: 9px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 6px;
  text-align: center;
}

/* Bottom Labels */
.transform-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.label-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.label-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  flex-shrink: 0;
}

.label-badge.orange {
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
}

.label-badge.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.label-item span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  font-family: "Outfit", sans-serif;
}

/* ========================================
   SECTION 6 — OUTPUT (VERY IMPORTANT) - NEW DESIGN
   ======================================== */

.output-section-new {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.output-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: flex-start;
  min-height: 650px;
}

/* ========================================
   LEFT CONTENT (40%)
   ======================================== */

.output-content {
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.output-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.15), rgba(246, 114, 20, 0.08));
  border: 2px solid rgba(246, 114, 20, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(246, 114, 20, 0);
  }
}

.output-title {
  font-family: "Outfit", sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #1e293b;
  margin: 0 0 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-accent {
  color: var(--color-accent);
}

.output-subtitle {
  font-size: 17px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 40px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Feature List */
.feature-list {
  margin-bottom: -5px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.feature-item[data-animate="1"] { animation-delay: 0.6s; }
.feature-item[data-animate="2"] { animation-delay: 0.8s; }
.feature-item[data-animate="3"] { animation-delay: 1.0s; }

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1), rgba(246, 114, 20, 0.05));
  border: 2px solid rgba(246, 114, 20, 0.2);
  border-radius: 12px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(246, 114, 20, 0.4);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.2);
}

.feature-content {
  flex: 1;
}

.feature-content h4 {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}

.feature-content p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Ready For Section */
.ready-for-section {
  margin-bottom: 40px;
}

.ready-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  animation: fadeInUp 0.6s ease-out 1.2s both;
}

.ready-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ready-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

.ready-tag[data-animate="4"] { animation-delay: 1.4s; }
.ready-tag[data-animate="5"] { animation-delay: 1.6s; }
.ready-tag[data-animate="6"] { animation-delay: 1.8s; }

.ready-tag:hover {
  border-color: rgba(246, 114, 20, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(246, 114, 20, 0.15);
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.02), #ffffff);
}

.ready-tag svg {
  color: var(--color-accent);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Export CTA */
.export-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.08), rgba(246, 114, 20, 0.03));
  border: 2px solid rgba(246, 114, 20, 0.25);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out 2.0s both;
  position: relative;
  overflow: hidden;
}

.export-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.1), transparent);
  transition: left 0.5s ease;
}

.export-cta:hover::before {
  left: 100%;
}

.export-cta:hover {
  border-color: rgba(246, 114, 20, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(246, 114, 20, 0.2);
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.12), rgba(246, 114, 20, 0.05));
}

.excel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
  transition: all 0.3s ease;
}

.export-cta:hover .excel-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(246, 114, 20, 0.4);
}

.export-content {
  flex: 1;
}

.export-content h4 {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
}

.export-content p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   RIGHT VISUAL UI (60%)
   ======================================== */

.output-visual {
  position: relative;
  height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.6s both;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-logo {
  height: 28px;
  width: auto;
}

.project-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.project-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.project-badge {
  padding: 3px 6px;
  background: #10b981;
  color: #ffffff;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.export-btn-dashboard {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.export-btn-dashboard:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  padding: 0 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-tab.active {
  color: #1e293b;
  border-bottom-color: var(--color-accent);
}

.tab-badge {
  padding: 2px 6px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

/* Search Section */
.search-section {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.search-bar svg {
  color: #64748b;
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #1e293b;
  outline: none;
}

.search-bar input::placeholder {
  color: #94a3b8;
}

.reset-btn {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* Table Header */
.table-header-new {
  display: grid;
  grid-template-columns: 50px 110px 2fr 90px 130px 90px;
  gap: 12px;
  padding: 10px 20px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Table Body */
.table-body-new {
  height: 240px;
  overflow: hidden;
  overflow-y: auto;
  flex: 1;
  min-height: 240px;
}

/* Custom scrollbar for table body */
.table-body-new::-webkit-scrollbar {
  width: 6px;
}

.table-body-new::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.table-body-new::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.table-body-new::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.table-row-new {
  display: grid;
  grid-template-columns: 50px 110px 2fr 90px 130px 90px;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 0.5s ease-out forwards;
}

.table-row-new[data-animate-row="1"] { animation-delay: 1.0s; }
.table-row-new[data-animate-row="2"] { animation-delay: 1.1s; }
.table-row-new[data-animate-row="3"] { animation-delay: 1.2s; }
.table-row-new[data-animate-row="4"] { animation-delay: 1.3s; }
.table-row-new[data-animate-row="5"] { animation-delay: 1.4s; }
.table-row-new[data-animate-row="6"] { animation-delay: 1.5s; }
.table-row-new[data-animate-row="7"] { animation-delay: 1.6s; }
.table-row-new[data-animate-row="8"] { animation-delay: 1.7s; }

.table-row-new:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.td-new {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.td-id {
  font-weight: 700;
  color: #1e293b;
}

.spec-badge {
  padding: 3px 6px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.td-title {
  font-weight: 600;
  color: #1e293b;
}

.status-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.status-badge.submitted {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.review {
  background: #fef3c7;
  color: #92400e;
}

.td-submitted {
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  font-size: 10px;
}

.td-date {
  font-weight: 500;
  color: #64748b;
}

/* Stats Footer */
.stats-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
  position: relative;
  z-index: 10;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-item:first-child {
  border-bottom-left-radius: 16px;
}

.stat-item:last-child {
  border-bottom-right-radius: 16px;
}

.stat-item:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.stat-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.stat-icon.approved {
  background: #dcfce7;
  color: #166534;
}

.stat-icon.review {
  background: #fef3c7;
  color: #92400e;
}

.stat-icon.submitted {
  background: #dbeafe;
  color: #1e40af;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-item:hover .stat-icon.approved {
  background: #bbf7d0;
}

.stat-item:hover .stat-icon.review {
  background: #fde047;
}

.stat-item:hover .stat-icon.submitted {
  background: #93c5fd;
}

.stat-number {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
  font-family: "Outfit", sans-serif;
}

.stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
  .output-grid {
    gap: 50px;
    min-height: 600px;
  }
  
  .output-content {
    padding-right: 15px;
  }
  
  .output-title {
    font-size: 38px;
  }
  
  .output-visual {
    height: 600px;
  }
}

@media (max-width: 991px) {
  .output-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
  }
  
  .output-content {
    padding-right: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .output-badge {
    margin-left: 0;
  }
  
  .ready-tags {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .output-visual {
    height: 550px;
  }
  
  .table-header-new {
    grid-template-columns: 45px 90px 2fr 70px 110px 70px;
    gap: 10px;
    padding: 10px 16px;
  }
  
  .table-row-new {
    grid-template-columns: 45px 90px 2fr 70px 110px 70px;
    gap: 10px;
    padding: 12px 16px;
  }
  
  .table-body-new {
    height: 200px;
  }
  
  .stats-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  
  .stat-item {
    padding: 14px 16px;
  }
  
  .stat-item:nth-child(3) {
    border-bottom-left-radius: 16px;
  }
  
  .stat-item:nth-child(4) {
    border-bottom-right-radius: 16px;
  }
}

@media (max-width: 767px) {
  .output-section-new {
    padding: 60px 0;
  }
  
  /* ONLY COMPACT EXPORT BUTTON */
  .export-cta {
    padding: 12px 16px;
    gap: 10px;
    border-radius: 12px;
  }
  
  .excel-icon {
    width: 36px;
    height: 36px;
  }
  
  .export-content h4 {
    font-size: 13px;
  }
  
  .export-content p {
    font-size: 10px;
  }
  
  .output-visual {
    height: auto;
  }
  
  .dashboard-container {
    border-radius: 12px;
  }
  
  /* COMPACT DASHBOARD HEADER */
  .dashboard-header {
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .header-left {
    width: auto;
    flex: 1;
  }
  
  .dashboard-logo {
    height: 20px;
  }
  
  .project-info {
    gap: 4px;
  }
  
  .project-label {
    font-size: 8px;
  }
  
  .project-name {
    font-size: 10px;
  }
  
  .project-badge {
    padding: 2px 4px;
    font-size: 7px;
  }
  
  .export-btn-dashboard {
    padding: 5px 10px;
    font-size: 10px;
  }
  
  .export-btn-dashboard svg {
    width: 12px;
    height: 12px;
  }
  
  /* COMPACT NAV TABS */
  .nav-tabs {
    padding: 0 12px;
  }
  
  .nav-tab {
    padding: 8px 10px;
    font-size: 10px;
  }
  
  .nav-tab svg {
    width: 12px;
    height: 12px;
  }
  
  .tab-badge {
    padding: 2px 4px;
    font-size: 8px;
  }
  
  /* COMPACT SEARCH SECTION */
  .search-section {
    flex-direction: row;
    gap: 6px;
    padding: 10px 12px;
  }
  
  .search-bar {
    padding: 6px 8px;
  }
  
  .search-bar svg {
    width: 12px;
    height: 12px;
  }
  
  .search-bar input {
    font-size: 10px;
  }
  
  .reset-btn {
    width: auto;
    padding: 6px 10px;
    font-size: 10px;
    white-space: nowrap;
  }
  
  .table-header-new {
    display: none;
  }
  
  .table-body-new {
    height: auto;
    max-height: 400px;
  }
  
  .table-row-new {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  
  .td-new {
    justify-content: space-between;
    font-size: 11px;
  }
  
  .td-new::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
  }
  
  .spec-badge {
    font-size: 8px;
    padding: 2px 5px;
  }
  
  .status-badge {
    font-size: 9px;
    padding: 2px 8px;
  }
  
  .stats-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  
  .stat-item {
    padding: 12px 14px;
    justify-content: flex-start;
    gap: 8px;
  }
  
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  
  .stat-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .stat-number {
    font-size: 16px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .stat-item:first-child {
    border-bottom-left-radius: 0;
  }
  
  .stat-item:nth-child(3) {
    border-bottom-left-radius: 12px;
  }
  
  .stat-item:last-child {
    border-bottom-right-radius: 12px;
  }
}

@media (max-width: 575px) {
  .output-section-new {
    padding: 50px 0;
  }
  
  /* ONLY COMPACT EXPORT BUTTON */
  .export-cta {
    padding: 10px 14px;
    gap: 8px;
    border-radius: 10px;
  }
  
  .excel-icon {
    width: 32px;
    height: 32px;
  }
  
  .export-content h4 {
    font-size: 12px;
  }
  
  .export-content p {
    font-size: 9px;
  }
  
  /* COMPACT DASHBOARD HEADER */
  .dashboard-logo {
    height: 18px;
  }
  
  .project-label {
    font-size: 7px;
  }
  
  .project-name {
    font-size: 9px;
  }
  
  .project-badge {
    padding: 1px 3px;
    font-size: 6px;
  }
  
  .export-btn-dashboard {
    padding: 4px 8px;
    font-size: 9px;
  }
  
  .export-btn-dashboard svg {
    width: 10px;
    height: 10px;
  }
  
  /* COMPACT NAV TABS */
  .nav-tab {
    padding: 6px 8px;
    font-size: 9px;
  }
  
  .nav-tab svg {
    width: 10px;
    height: 10px;
  }
  
  .tab-badge {
    padding: 1px 3px;
    font-size: 7px;
  }
  
  /* COMPACT SEARCH SECTION */
  .search-section {
    padding: 8px 10px;
    gap: 5px;
  }
  
  .search-bar {
    padding: 5px 7px;
  }
  
  .search-bar svg {
    width: 10px;
    height: 10px;
  }
  
  .search-bar input {
    font-size: 9px;
  }
  
  .reset-btn {
    padding: 5px 8px;
    font-size: 9px;
  }
  
  .export-arrow {
    margin-left: 0;
  }
  
  .ready-tags {
    gap: 8px;
  }
  
  .export-cta {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .export-arrow {
    margin-left: 0;
  }
}

/* Section 6 - Compliance report output redesign */
.output-section-new {
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 114, 20, 0.1), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 48%, #f3f6fb 100%);
  overflow: hidden;
}

.output-section-new .dashboard-container {
  display: none;
}

.report-output-list {
  display: grid;
  gap: 16px;
  margin: 32px 0 26px;
}

.report-output-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.report-output-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--color-accent);
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.2);
}

.report-output-item h4 {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 850;
  color: #111827;
}

.report-output-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

.output-proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.output-proof-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.18);
  font-weight: 800;
  font-size: 13px;
}

.output-report-stage {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 42px 20px 34px;
  perspective: 1200px;
}

.report-depth-card {
  position: absolute;
  left: 50%;
  width: 82%;
  height: 78%;
  border-radius: 28px;
  transform: translateX(-50%) rotateX(58deg) rotateZ(-2deg);
  transform-origin: center bottom;
  border: 1px solid rgba(246, 114, 20, 0.12);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.report-depth-back {
  top: 8px;
  opacity: 0.34;
}

.report-depth-mid {
  top: 26px;
  opacity: 0.52;
}

.compliance-report-ui {
  position: relative;
  z-index: 2;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.95);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18);
  transform: rotateX(4deg) rotateY(-5deg);
}

.report-ui-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #101827, #1f2937);
  color: #ffffff;
}

.report-ui-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #fb923c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-ui-topbar h3 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
}

.report-status-chip {
  flex-shrink: 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.16);
  color: #fdba74;
  border: 1px solid rgba(246, 114, 20, 0.28);
  font-size: 12px;
  font-weight: 850;
}

.report-summary-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  padding: 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.report-score-card,
.summary-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.score-ring-large {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 57%, transparent 58%),
    conic-gradient(var(--color-accent) 0 95%, #fed7aa 95% 100%);
}

.score-ring-large span,
.summary-metric strong {
  color: #111827;
  font-size: 24px;
  font-weight: 900;
}

.report-score-card p,
.summary-metric span {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.35;
}

.summary-metric {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.report-tabs-modern {
  display: flex;
  gap: 10px;
  padding: 16px 18px 0;
}

.report-tabs-modern span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.report-tabs-modern .active {
  background: rgba(246, 114, 20, 0.12);
  color: var(--color-accent);
}

.requirement-matrix {
  padding: 16px 18px 18px;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 0.78fr 1.25fr;
  gap: 10px;
  align-items: center;
}

.matrix-head {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.matrix-row {
  margin-top: 10px;
  padding: 13px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
}

.matrix-row div {
  min-width: 0;
}

.matrix-row span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.matrix-row.partial span,
.matrix-row.missing span,
.matrix-row.compliant span {
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
}

.standards-mini-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 20px;
}

.standard-pill {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(246, 114, 20, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.16);
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .output-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .output-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .output-proof-tags {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .output-report-stage {
    padding: 8px 0 0;
    perspective: none;
  }

  .report-depth-card {
    display: none;
  }

  .compliance-report-ui {
    transform: none;
    border-radius: 20px;
  }

  .report-ui-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .report-summary-strip {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .report-score-card,
  .summary-metric {
    min-height: auto;
  }

  .report-tabs-modern {
    overflow-x: auto;
    padding: 14px 14px 0;
  }

  .requirement-matrix {
    padding: 14px;
  }

  .matrix-head {
    display: none;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }

  .matrix-row div::before {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .matrix-row div:nth-child(1)::before { content: 'Required'; }
  .matrix-row div:nth-child(2)::before { content: 'Submitted'; }
  .matrix-row div:nth-child(3)::before { content: 'Status'; }
  .matrix-row div:nth-child(4)::before { content: 'Correction'; }

  .standards-mini-panel {
    padding: 0 14px 16px;
  }
}

/* Section 6 final polish - match real dashboard output */
.output-section-new .output-grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(620px, 1.18fr);
  gap: 58px;
  align-items: center;
}

.output-section-new .output-content {
  max-width: 520px;
}

.output-section-new .output-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.16;
  margin-bottom: 18px;
}

.output-section-new .output-subtitle {
  font-size: 16px;
  line-height: 1.6;
  max-width: 470px;
  margin-bottom: 24px;
}

.report-output-list {
  gap: 13px;
  margin: 24px 0 20px;
}

.report-output-item {
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 13px;
}

.report-output-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.report-output-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.report-output-item p {
  font-size: 13px;
}

.output-proof-tags span {
  padding: 8px 12px;
  font-size: 12px;
}

.output-report-stage {
  padding: 18px 0;
}

.report-depth-card {
  display: none;
}

.compliance-report-ui {
  border-radius: 16px;
  font-family: "Instrument Sans", "Outfit", sans-serif;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  transform: rotateX(2deg) rotateY(-2deg);
}

.report-ui-topbar {
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #172033;
  border-bottom: 1px solid #fed7aa;
}

.report-ui-eyebrow {
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.report-ui-topbar h3 {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 850;
  color: #1f2354;
}

.report-status-chip {
  padding: 8px 12px;
  border-radius: 9px;
  background: #ffffff;
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.42);
  font-size: 12px;
  font-weight: 800;
}

.report-summary-strip {
  gap: 10px;
  padding: 14px 18px;
  background: #ffffff;
}

.report-score-card,
.summary-metric {
  gap: 10px;
  min-height: 76px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.score-ring-large {
  width: 56px;
  height: 56px;
}

.score-ring-large span,
.summary-metric strong {
  font-size: 21px;
}

.report-score-card p,
.summary-metric span {
  font-size: 10px;
}

.report-tabs-modern {
  gap: 8px;
  padding: 14px 18px 0;
}

.report-tabs-modern span {
  padding: 8px 11px;
}

.requirement-matrix {
  padding: 14px 18px 16px;
}

.matrix-head {
  padding: 9px 12px;
  border-radius: 8px;
}

.matrix-row {
  margin-top: 8px;
  padding: 11px 12px;
  border-radius: 8px;
}

.standards-mini-panel {
  gap: 8px;
  padding: 0 18px 16px;
}

.standard-pill {
  padding: 8px 10px;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .output-section-new .output-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .output-section-new .output-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .output-section-new .output-content {
    text-align: left;
  }

  .output-section-new .output-title {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
  }

  .report-output-item {
    grid-template-columns: 42px 1fr;
    padding: 13px;
  }

  .report-output-icon {
    width: 42px;
    height: 42px;
  }

  .output-proof-tags {
    justify-content: flex-start;
  }

  .output-report-stage {
    padding: 8px 0 0;
  }

  .compliance-report-ui {
    transform: none;
    border-radius: 14px;
  }

  .report-ui-topbar {
    padding: 18px;
  }

  .report-summary-strip {
    padding: 12px;
  }

  .requirement-matrix {
    padding: 12px;
  }

  .standards-mini-panel {
    padding: 0 12px 14px;
  }
}

/* ========================================
   SECTION 7 - REAL OUTPUT
   ======================================== */

.real-output-section {
  position: relative;
  padding: 96px 0;
  background: #ffffff;
  overflow: hidden;
}

.real-output-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 46% 44%, #000 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.real-output-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(320px, 0.9fr);
  gap: 68px;
  align-items: center;
}

.real-output-visual {
  min-width: 0;
}

.review-breakdown-ui {
  position: relative;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.94);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

.review-breakdown-ui::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px dashed rgba(246, 114, 20, 0.2);
  pointer-events: none;
}

.breakdown-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
}

.breakdown-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breakdown-topbar h3 {
  margin: 0;
  color: #1f2354;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
}

.breakdown-badge {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.34);
  font-size: 12px;
  font-weight: 850;
}

.breakdown-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 0.9fr);
  gap: 14px;
  align-items: center;
  margin: 18px 0;
}

.manual-comment-card,
.structured-result-card {
  min-height: 130px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.manual-comment-card span,
.structured-result-card span {
  display: block;
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manual-comment-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.structured-result-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #101827, #1f2937);
  border-color: rgba(246, 114, 20, 0.2);
}

.structured-result-card span {
  color: #fb923c;
}

.structured-result-card strong {
  color: #ffffff;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.1;
}

.breakdown-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  border-radius: 14px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.18);
}

.decision-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.decision-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.decision-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.2);
  font-weight: 900;
}

.decision-copy h4 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.decision-copy p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.decision-status {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.16);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.real-output-content .section-badge {
  background: rgba(246, 114, 20, 0.12);
  border-color: rgba(246, 114, 20, 0.28);
  color: var(--color-accent);
  margin-bottom: 20px;
}

.real-output-content .section-title {
  color: #0f172a;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.real-output-content .section-description {
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.real-output-points {
  display: grid;
  gap: 12px;
}

.real-output-point {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.real-output-point span {
  color: #1f2937;
  font-weight: 800;
}

.real-output-point strong {
  color: var(--color-accent);
  font-size: 13px;
  white-space: nowrap;
}

.decision-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.decision-cta-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.18);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .real-output-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    display: flex;
    flex-direction: column;
  }

  .real-output-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    order: 1;
  }

  .real-output-visual {
    order: 2;
  }

  .decision-cta-strip {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .real-output-section {
    padding: 58px 0;
  }

  .review-breakdown-ui {
    padding: 12px;
    border-radius: 20px;
  }

  .breakdown-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .breakdown-flow {
    grid-template-columns: 1fr;
  }

  .breakdown-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .decision-row {
    grid-template-columns: 38px 1fr;
  }

  .decision-status {
    grid-column: 2;
    justify-self: start;
  }

  .real-output-content {
    text-align: left;
  }

  .real-output-point {
    align-items: flex-start;
    flex-direction: column;
  }

  .decision-cta-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .manual-comment-card,
  .structured-result-card {
    min-height: auto;
  }

  .decision-copy h4 {
    font-size: 14px;
  }

  .decision-copy p {
    font-size: 12px;
  }
}

/* ========================================
   SECTION 9 — WHY IT MATTERS (REDESIGNED)
   ======================================== */

/* ── Base Section ── */
.wim-section {
  position: relative;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(246,114,20,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(220,38,38,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(5,150,105,0.04) 0%, transparent 50%),
    linear-gradient(180deg, #fffbf7 0%, #ffffff 50%, #fafcfb 100%);
  overflow: hidden;
}

/* ── Floating Particles ── */
.wim-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.wim-p {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: wimParticleFloat 10s ease-in-out infinite;
}
.wim-p1 { width: 8px;  height: 8px;  background: rgba(246,114,20,0.2);  top: 12%; left: 18%; animation-delay: 0s;   animation-duration: 11s; }
.wim-p2 { width: 5px;  height: 5px;  background: rgba(246,114,20,0.15); top: 70%; left: 8%;  animation-delay: 2s;   animation-duration: 13s; }
.wim-p3 { width: 10px; height: 10px; background: rgba(246,114,20,0.1);  top: 30%; left: 85%; animation-delay: 1s;   animation-duration: 9s;  }
.wim-p4 { width: 6px;  height: 6px;  background: rgba(220,38,38,0.18);  top: 80%; left: 72%; animation-delay: 3s;   animation-duration: 12s; }
.wim-p5 { width: 4px;  height: 4px;  background: rgba(5,150,105,0.18);  top: 55%; left: 45%; animation-delay: 4s;   animation-duration: 8s;  }
.wim-p6 { width: 9px;  height: 9px;  background: rgba(246,114,20,0.12); top: 20%; left: 60%; animation-delay: 1.5s; animation-duration: 14s; }

@keyframes wimParticleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: 1; }
  80%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

/* Ambient glow blobs */
.wim-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(246,114,20,0.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: wimBlob1 12s ease-in-out infinite;
}
.wim-section::after {
  content: '';
  position: absolute;
  bottom: -180px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(246,114,20,0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: wimBlob1 15s ease-in-out infinite reverse;
}
@keyframes wimBlob1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(40px,-40px) scale(1.1); }
}

/* ── Header ── */
.wim-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.wim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(246,114,20,0.1);
  border: 1px solid rgba(246,114,20,0.3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f67214;
  margin-bottom: 20px;
}
.wim-badge-dot {
  width: 7px; height: 7px;
  background: #f67214;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(246,114,20,0.7);
  animation: wimPulse 2s ease-in-out infinite;
}
@keyframes wimPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246,114,20,0.7); }
  50%       { box-shadow: 0 0 0 8px rgba(246,114,20,0); }
}

.wim-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.wim-title-risk { color: #dc2626; }
.wim-title-sep  { color: #94a3b8; font-weight: 300; font-style: italic; }
.wim-title-stop { color: #059669; }

.wim-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* ── Two-Column Grid ── */
.wim-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

/* ── Panel Shared ── */
.wim-risk-panel,
.wim-solution-panel {
  padding: 36px 30px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease;
}
.wim-risk-panel:hover,
.wim-solution-panel:hover {
  transform: translateY(-8px);
}

/* Risk panel — light */
.wim-risk-panel {
  background: #ffffff;
  border: 1.5px solid rgba(220,38,38,0.15);
  box-shadow:
    0 4px 6px rgba(220,38,38,0.04),
    0 20px 60px rgba(220,38,38,0.08);
}
.wim-risk-panel:hover {
  box-shadow: 0 8px 16px rgba(220,38,38,0.08), 0 32px 80px rgba(220,38,38,0.14);
}
.wim-risk-panel::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(220,38,38,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.wim-risk-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #ef4444, #fca5a5, transparent);
  border-radius: 24px 24px 0 0;
}

/* Solution panel — light */
.wim-solution-panel {
  background: #ffffff;
  border: 1.5px solid rgba(5,150,105,0.15);
  box-shadow:
    0 4px 6px rgba(5,150,105,0.04),
    0 20px 60px rgba(5,150,105,0.08);
}
.wim-solution-panel:hover {
  box-shadow: 0 8px 16px rgba(5,150,105,0.08), 0 32px 80px rgba(5,150,105,0.14);
}
.wim-solution-panel::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(5,150,105,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.wim-solution-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #10b981, #6ee7b7, transparent);
  border-radius: 24px 24px 0 0;
}

/* ── Panel Labels ── */
.wim-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.wim-label-danger {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444;
}
.wim-label-success {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: #10b981;
}

/* ── Panel Titles ── */
.wim-risk-title,
.wim-solution-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
}
.wim-risk-title     { color: #dc2626; }
.wim-solution-title { color: #059669; }

/* ── Risk Items ── */
.wim-risk-list,
.wim-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wim-risk-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff5f5 0%, #fffafa 100%);
  border: 1px solid rgba(220,38,38,0.1);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  animation: wimSlideIn 0.5s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--delay, 0ms);
  transform: perspective(800px) rotateX(2deg);
  transform-style: preserve-3d;
}
.wim-risk-item:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fff5f5 100%);
  border-color: rgba(220,38,38,0.25);
  transform: perspective(800px) rotateX(0deg) translateX(5px);
  box-shadow: 0 6px 20px rgba(220,38,38,0.1), -3px 0 0 #dc2626;
}

@keyframes wimSlideIn {
  from { opacity: 0; transform: translateX(-24px) perspective(800px) rotateX(5deg); }
  to   { opacity: 1; transform: translateX(0)      perspective(800px) rotateX(2deg); }
}

.wim-risk-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.18);
  border-radius: 10px;
  color: #dc2626;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.wim-risk-item:hover .wim-risk-icon {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220,38,38,0.35);
}
.wim-risk-icon svg { width: 17px; height: 17px; }

.wim-risk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wim-risk-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.wim-risk-text span {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
}

.wim-risk-tag {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #dc2626;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.18);
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

/* ── Benefit Items ── */
.wim-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f0fdf9 0%, #f8fffc 100%);
  border: 1px solid rgba(5,150,105,0.1);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
  animation: wimSlideInRight 0.5s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: var(--delay, 0ms);
  transform: perspective(800px) rotateX(2deg);
  transform-style: preserve-3d;
}
.wim-benefit-item:hover {
  background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
  border-color: rgba(5,150,105,0.25);
  transform: perspective(800px) rotateX(0deg) translateX(-5px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.1), 3px 0 0 #059669;
}

@keyframes wimSlideInRight {
  from { opacity: 0; transform: translateX(24px) perspective(800px) rotateX(5deg); }
  to   { opacity: 1; transform: translateX(0)     perspective(800px) rotateX(2deg); }
}

.wim-benefit-num {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: rgba(5,150,105,0.2);
  line-height: 1;
  min-width: 30px;
  padding-top: 2px;
  transition: color 0.3s ease;
}
.wim-benefit-item:hover .wim-benefit-num { color: rgba(5,150,105,0.45); }

.wim-benefit-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.wim-benefit-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.18);
  border-radius: 10px;
  color: #059669;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.wim-benefit-item:hover .wim-benefit-icon {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5,150,105,0.35);
}
.wim-benefit-icon svg { width: 17px; height: 17px; }

.wim-benefit-body > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wim-benefit-body strong {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.wim-benefit-body span {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
}

/* ── Center Axis ── */
.wim-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
  position: relative;
}
.wim-axis-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(246,114,20,0.3), transparent);
  min-height: 60px;
}
.wim-axis-orb {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  border-radius: 50%;
  color: #ffffff;
  box-shadow:
    0 0 0 8px rgba(246,114,20,0.1),
    0 0 0 16px rgba(246,114,20,0.05),
    0 8px 28px rgba(246,114,20,0.35);
  animation: wimAxisPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes wimAxisPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 8px rgba(246,114,20,0.1), 0 0 0 16px rgba(246,114,20,0.05), 0 8px 28px rgba(246,114,20,0.35); }
  50%       { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(246,114,20,0.15), 0 0 0 24px rgba(246,114,20,0.06), 0 12px 36px rgba(246,114,20,0.45); }
}

/* ── Bottom Callout ── */
.wim-callout {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 30px 40px;
  background: linear-gradient(135deg, #fff8f2 0%, #ffffff 100%);
  border: 1.5px solid rgba(246,114,20,0.2);
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(246,114,20,0.04),
    0 20px 60px rgba(246,114,20,0.1);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22,1,0.36,1);
}
.wim-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f67214, #ff8c42, #fbbf24);
  border-radius: 20px 20px 0 0;
}
.wim-callout:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(246,114,20,0.08), 0 32px 80px rgba(246,114,20,0.15);
  border-color: rgba(246,114,20,0.35);
}

.wim-callout-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f67214, #ff8c42);
  border-radius: 14px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(246,114,20,0.4);
  animation: wimIconPulse 2.5s ease-in-out infinite;
}
@keyframes wimIconPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

.wim-callout-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wim-callout-text strong {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.wim-callout-text span {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.wim-callout-pill {
  padding: 8px 20px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.wim-callout:hover .wim-callout-pill {
  background: rgba(246, 114, 20, 0.15);
  border-color: rgba(246, 114, 20, 0.4);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .wim-grid {
    grid-template-columns: 1fr 48px 1fr;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .wim-section { padding: 70px 0 60px; }

  .wim-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wim-axis {
    flex-direction: row;
    padding: 0;
    height: 48px;
  }
  .wim-axis-line {
    height: 1px;
    width: auto;
    flex: 1;
    min-height: unset;
    background: linear-gradient(to right, transparent, rgba(246,114,20,0.3), transparent);
  }

  .wim-risk-panel,
  .wim-solution-panel { padding: 24px 20px; }

  .wim-risk-item { transform: none; }
  .wim-risk-item:hover { transform: translateX(4px); }
  .wim-benefit-item { transform: none; }
  .wim-benefit-item:hover { transform: translateX(-4px); }

  .wim-callout {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .wim-callout-text strong { font-size: 16px; }
  .wim-callout-text span   { font-size: 13px; }
  .wim-callout-pill { align-self: center; }
}

@media (max-width: 480px) {
  .wim-section { padding: 56px 0 48px; }
  .wim-header { margin-bottom: 40px; }

  .wim-risk-item {
    grid-template-columns: 32px 1fr;
    row-gap: 6px;
  }
  .wim-risk-tag {
    grid-column: 2;
    justify-self: start;
  }

  .wim-benefit-num { font-size: 18px; }
  .wim-callout-icon { width: 48px; height: 48px; border-radius: 12px; }
}

/* ── Motion Safety ── */
@media (prefers-reduced-motion: reduce) {
  .wim-p, .wim-badge-dot, .wim-axis-orb, .wim-callout-icon,
  .wim-section::before, .wim-section::after,
  .wim-risk-item, .wim-benefit-item { animation: none; }
}

/* ========================================
   SECTION 7 — WORKFLOW SHIFT (DARK THEME)
   ======================================== */

.workflow-shift-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
  position: relative;
  overflow: hidden;
}

.workflow-shift-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(246, 114, 20, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(246, 114, 20, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Header */
.shift-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.section-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.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.badge-dot-orange {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.section-title-dark {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 12px;
}

.arrow-orange {
  color: var(--color-accent);
  font-weight: 400;
}

.title-highlight-orange {
  color: var(--color-accent);
}

.section-subtitle-dark {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Comparison Grid */
.comparison-grid-dark {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Cards - Dark */
.comparison-card-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.comparison-card-glass:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.before-card-dark {
  border-left: 3px solid rgba(239, 68, 68, 0.4);
}

.now-card-dark {
  border-left: 3px solid rgba(16, 185, 129, 0.6);
}

/* Card Labels */
.card-label-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  width: fit-content;
}

.before-label {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.now-label {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-label-dark svg {
  width: 14px;
  height: 14px;
}

/* Card Description */
.card-description-dark {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  font-style: italic;
}

/* Workflow Steps */
.workflow-steps-dark {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  flex: 1;
}

.workflow-item-dark {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.workflow-item-dark:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.item-icon-dark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.success-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.workflow-item-dark:hover .item-icon-dark {
  transform: scale(1.08);
}

.item-content-dark {
  flex: 1;
}

.item-content-dark h4 {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
}

.item-content-dark p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

/* Card Footer */
.card-footer-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
}

.negative-footer {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.positive-footer {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.card-footer-dark svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* VS Divider */
.vs-divider-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vs-circle-dark {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 
    0 8px 24px rgba(246, 114, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: vsFloat 3s ease-in-out infinite;
}

@keyframes vsFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .comparison-grid-dark {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .vs-divider-dark {
    display: none;
  }
  
  .comparison-card-glass {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .workflow-shift-section {
    padding: 60px 0;
  }
  
  .section-title-dark {
    font-size: 30px;
  }
  
  .section-subtitle-dark {
    font-size: 14px;
  }
  
  .comparison-card-glass {
    padding: 20px 18px;
    min-height: auto;
  }
  
  .card-label-dark {
    font-size: 10px;
    padding: 5px 12px;
    gap: 7px;
  }
  
  .card-label-dark svg {
    width: 13px;
    height: 13px;
  }
  
  .workflow-item-dark {
    padding: 10px 12px;
  }
  
  .item-icon-dark {
    width: 32px;
    height: 32px;
  }
  
  .item-content-dark h4 {
    font-size: 13px;
  }
  
  .item-content-dark p {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .workflow-shift-section {
    padding: 50px 0;
  }
  
  .section-title-dark {
    font-size: 24px;
  }
  
  .section-subtitle-dark {
    font-size: 13px;
  }
  
  .comparison-card-glass {
    padding: 18px 16px;
  }
  
  .workflow-steps-dark {
    gap: 10px;
  }
  
  .workflow-item-dark {
    flex-direction: row;
    padding: 10px;
  }
  
  .item-icon-dark {
    width: 30px;
    height: 30px;
  }
  
  .item-icon-dark svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   SECTION 8 — WHY IT MATTERS (COMPACT)
   ======================================== */

.why-matters-section {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(135deg, #fffbf7 0%, #ffffff 50%, #fff8f3 100%);
  overflow: hidden;
}

.why-matters-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 8s ease-in-out infinite;
}

.why-matters-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -30px) scale(1.05); }
}

/* Header */
.matters-header {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  z-index: 1;
}

.matters-header[data-animate="header"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.matters-header[data-animate="header"].animated {
  opacity: 1;
  transform: translateY(0);
}

.section-badge-impact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.12), rgba(246, 114, 20, 0.06));
  border: 2px solid rgba(246, 114, 20, 0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.15);
}

.badge-dot-glow {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(246, 114, 20, 0);
  }
}

.section-title-impact {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 16px;
}

.title-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8c42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.section-subtitle-impact {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 650px;
  margin: 0 auto;
}

/* Benefits Grid - Compact Glass Cards */
.benefits-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.benefit-card-glass {
  position: relative;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.benefit-card-glass[data-animate="card"].animated {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card-glass[data-delay="0"].animated {
  transition-delay: 0ms;
}

.benefit-card-glass[data-delay="100"].animated {
  transition-delay: 100ms;
}

.benefit-card-glass[data-delay="200"].animated {
  transition-delay: 200ms;
}

/* Animated Glow Border */
.card-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.benefit-card-glass:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 48px rgba(246, 114, 20, 0.18);
  border-color: rgba(246, 114, 20, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.benefit-card-glass:hover .card-glow-border {
  opacity: 1;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42, var(--color-accent));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Icon with Float Animation */
.benefit-icon-modern {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.12), rgba(246, 114, 20, 0.06));
  border: 2px solid rgba(246, 114, 20, 0.2);
  border-radius: 16px;
  color: var(--color-accent);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: iconFloat 3s ease-in-out infinite;
}

.benefit-icon-modern svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.benefit-card-glass:hover .benefit-icon-modern {
  transform: translateY(-3px) rotate(5deg) scale(1.08);
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.2), rgba(246, 114, 20, 0.1));
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(246, 114, 20, 0.3);
  animation: none;
}

.benefit-card-glass:hover .benefit-icon-modern svg {
  transform: scale(1.1);
}

.benefit-title {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.benefit-card-glass:hover .benefit-title {
  color: var(--color-accent);
}

.benefit-description {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.benefit-card-glass:hover .benefit-description {
  color: #475569;
}

/* Impact Statement - Compact Callout */
.impact-statement-modern {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1), rgba(246, 114, 20, 0.05));
  border: 2px solid rgba(246, 114, 20, 0.25);
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(246, 114, 20, 0.15);
  z-index: 1;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.impact-statement-modern[data-animate="statement"].animated {
  opacity: 1;
  transform: scale(1);
}

.impact-statement-modern::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.impact-statement-modern:hover::before {
  opacity: 0.12;
}

.statement-icon-modern {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  border-radius: 14px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(246, 114, 20, 0.35);
  animation: iconPulse 2s ease-in-out infinite;
}

.statement-icon-modern svg {
  width: 28px;
  height: 28px;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(246, 114, 20, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(246, 114, 20, 0.45);
  }
}

.statement-content {
  flex: 1;
}

.statement-main-text {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
}

.statement-sub-text {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .benefit-card-glass,
  .matters-header,
  .impact-statement-modern {
    animation: none;
    transition: none;
  }
  
  .benefit-icon-modern,
  .statement-icon-modern,
  .badge-dot-glow {
    animation: none;
  }
}

/* Tablet Responsive */
@media (max-width: 991px) {
  .why-matters-section {
    padding: 60px 0 50px;
  }
  
  .matters-header {
    margin-bottom: 40px;
  }
  
  .benefits-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .benefit-card-glass:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .benefit-card-glass {
    padding: 28px 20px;
  }
  
  .impact-statement-modern {
    padding: 28px 28px;
    gap: 20px;
  }
  
  .statement-icon-modern {
    width: 52px;
    height: 52px;
  }
  
  .statement-icon-modern svg {
    width: 26px;
    height: 26px;
  }
  
  .statement-main-text {
    font-size: 18px;
  }
  
  .statement-sub-text {
    font-size: 15px;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .why-matters-section {
    padding: 40px 0 35px;
  }
  
  .matters-header {
    margin-bottom: 28px;
  }
  
  .section-badge-impact {
    padding: 6px 14px;
    font-size: 9px;
    margin-bottom: 12px;
  }
  
  .section-title-impact {
    margin-bottom: 10px;
  }
  
  .benefits-grid-modern {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  
  .benefit-card-glass:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }
  
  .benefit-card-glass {
    padding: 20px 16px;
  }
  
  .benefit-icon-modern {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  
  .benefit-icon-modern svg {
    width: 24px;
    height: 24px;
  }
  
  .benefit-title {
    font-size: 17px;
    margin-bottom: 8px;
  }
  
  .benefit-description {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .impact-statement-modern {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 12px;
  }
  
  .statement-icon-modern {
    width: 44px;
    height: 44px;
  }
  
  .statement-icon-modern svg {
    width: 22px;
    height: 22px;
  }
  
  .statement-main-text {
    font-size: 16px;
  }
  
  .statement-sub-text {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .why-matters-section {
    padding: 35px 0 30px;
  }
  
  .benefit-card-glass {
    padding: 18px 14px;
  }
  
  .benefit-icon-modern {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }
  
  .benefit-icon-modern svg {
    width: 22px;
    height: 22px;
  }
  
  .benefit-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .benefit-description {
    font-size: 12px;
  }
  
  .impact-statement-modern {
    padding: 18px 14px;
    gap: 10px;
  }
  
  .statement-icon-modern {
    width: 40px;
    height: 40px;
  }
  
  .statement-icon-modern svg {
    width: 20px;
    height: 20px;
  }
  
  .statement-main-text {
    font-size: 15px;
  }
  
  .statement-sub-text {
    font-size: 12px;
  }
  
  .impact-statement-modern {
    padding: 20px 18px;
  }
}

/* ========================================
   SECTION 9 — FINAL CTA (DARK THEME)
   ======================================== */

.final-cta-dark {
  position: relative;
  padding: 100px 0 0 0;
  background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
  overflow: hidden;
}

/* Animated Stars Background */
.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;
}

@keyframes starsMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Glowing Orbs */
.cta-glow-orb {
  position: absolute;
  border-radius: 50%;
  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;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Content */
.cta-content-dark {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

/* Badge */
.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: var(--color-accent);
  margin-bottom: 32px;
  box-shadow: 0 0 30px rgba(246, 114, 20, 0.2);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(246, 114, 20, 0.2);
  }
  50% {
    box-shadow: 0 0 50px rgba(246, 114, 20, 0.4);
  }
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(246, 114, 20, 0);
  }
}

/* Title */
.cta-title-dark {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Subtitle */
.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, var(--color-accent), #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

/* Button Group */
.cta-button-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* Primary Button with Shine Effect */
.btn-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--color-accent), #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;
}

/* Shine Effect */
.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);
}

/* Note */
.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: var(--color-accent);
  flex-shrink: 0;
}

/* Responsive */
@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-badge-dark {
    padding: 8px 20px;
    font-size: 11px;
    margin-bottom: 24px;
  }
  
  .cta-title-dark {
    margin-bottom: 18px;
  }
  
  .cta-subtitle-dark {
    margin-bottom: 36px;
  }
  
  .btn-cta-primary {
    padding: 18px 40px;
    font-size: 17px;
  }
  
  .cta-button-group {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575px) {
  .final-cta-dark {
    padding: 60px 0 0 0;
  }
  
  .cta-badge-dark {
    padding: 7px 18px;
    font-size: 10px;
  }
  
  .btn-cta-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 36px;
    font-size: 16px;
  }
  
  .cta-note-dark {
    font-size: 13px;
  }
  
  .cta-glow-1,
  .cta-glow-2,
  .cta-glow-3 {
    filter: blur(60px);
  }
}

/* Responsive Sections 6-9 */
@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vs-divider {
    transform: rotate(90deg);
  }
}

@media (max-width: 767px) {
  .workflow-shift-section,
  .why-matters-section {
    padding: 60px 0;
  }
}

@media (max-width: 575px) {
  .comparison-card {
    padding: 24px;
  }

  .impact-statement {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}


/* ========================================
   COMPACT MOBILE HERO STYLES
   Mobile-optimized compact layout for hero section
   ======================================== */

@media (max-width: 767px) {
  /* Dashboard - More Compact */
  .dashboard-wrapper {
    height: 480px;
  }
  
  .dashboard-frame {
    border-radius: 12px;
  }
  
  .browser-bar {
    padding: 8px 10px;
    min-height: 36px;
  }
  
  .browser-dots span {
    width: 9px;
    height: 9px;
  }
  
  .browser-title {
    font-size: 10px;
  }
  
  .status-badge {
    font-size: 8px;
    padding: 2px 6px;
  }
  
  .dashboard-content {
    height: calc(100% - 36px);
  }
  
  /* Sidebar - More Compact */
  .dashboard-sidebar {
    width: 64px;
    padding: 8px 4px;
    gap: 6px;
  }
  
  .sidebar-item {
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px;
    font-size: 9px;
    border-radius: 8px;
  }
  
  .sidebar-item svg {
    width: 18px;
    height: 18px;
  }
  
  .sidebar-item span {
    font-size: 9px;
    line-height: 1.1;
  }
  
  .badge-count {
    top: 4px;
    right: 4px;
    padding: 1px 4px;
    font-size: 8px;
    min-width: 16px;
  }
  
  /* Views - More Compact */
  .view-specifications,
  .view-submittals {
    padding: 12px;
  }
  
  .view-header {
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .view-header h3 {
    font-size: 16px;
  }
  
  .stat-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .submittals-count {
    font-size: 11px;
    padding: 2px 8px;
  }
  
  .btn-add-set {
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
  }
  
  .btn-add-set svg {
    width: 14px;
    height: 14px;
  }
  
  /* Files - More Compact */
  .spec-files-list {
    gap: 6px;
    margin-bottom: 12px;
  }
  
  .spec-file-row {
    padding: 8px;
    gap: 8px;
    border-radius: 6px;
  }
  
  .file-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 4px;
  }
  
  .file-icon-small svg {
    width: 12px;
    height: 12px;
  }
  
  .file-name-small {
    font-size: 11px;
    line-height: 1.3;
  }
  
  .file-badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  
  .file-check svg {
    width: 12px;
    height: 12px;
  }
  
  .btn-generate-log {
    padding: 11px 16px;
    font-size: 13px;
    gap: 8px;
    border-radius: 8px;
  }
  
  .btn-generate-log svg {
    width: 16px;
    height: 16px;
  }
  
  /* Search - More Compact */
  .search-bar {
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
  }
  
  .search-bar svg {
    width: 14px;
    height: 14px;
  }
  
  .search-bar input {
    font-size: 11px;
  }
  
  /* Table - More Compact */
  .table-body {
    max-height: 300px;
  }
  
  .table-row-data {
    gap: 6px;
    padding: 10px;
    border-left: 2px solid #e2e8f0;
  }
  
  .td {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .td.td-id {
    font-size: 12px;
  }
  
  .td.td-id::before {
    content: '#';
    margin-right: 2px;
  }
  
  .td.td-spec {
    font-size: 10px;
  }
  
  .td.td-spec::before {
    content: '📄 ';
    margin-right: 4px;
  }
  
  .td.td-title {
    font-size: 12px;
    font-weight: 600;
  }
  
  .status-badge {
    font-size: 8px;
    padding: 3px 8px;
  }
  
  /* Upload Modal - More Compact */
  .modal-content-upload {
    border-radius: 12px;
  }
  
  .modal-header-upload {
    padding: 12px;
  }
  
  .modal-header-upload h4 {
    font-size: 15px;
  }
  
  .modal-close {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
  
  .modal-body-upload {
    padding: 12px;
  }
  
  .upload-zone {
    padding: 24px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  
  .upload-zone svg {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }
  
  .upload-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .upload-subtitle {
    font-size: 11px;
    margin-bottom: 12px;
  }
  
  .btn-choose-files {
    padding: 9px 18px;
    font-size: 12px;
  }
  
  .upload-progress {
    padding: 10px;
  }
  
  .progress-file {
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .progress-file svg {
    width: 18px;
    height: 18px;
  }
  
  .file-name-upload {
    font-size: 11px;
  }
  
  .file-size-upload {
    font-size: 10px;
  }
  
  .progress-bar-upload {
    height: 6px;
    margin-bottom: 6px;
  }
  
  .progress-status {
    font-size: 10px;
  }
  
  /* File Browser - More Compact */
  .browser-window {
    border-radius: 12px;
  }
  
  .browser-titlebar {
    padding: 8px 10px;
    min-height: 32px;
  }
  
  .titlebar-buttons span {
    width: 10px;
    height: 10px;
  }
  
  .titlebar-text {
    font-size: 11px;
  }
  
  .browser-nav {
    padding: 8px 10px;
  }
  
  .nav-back,
  .nav-forward {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .nav-path {
    font-size: 10px;
    padding: 5px 8px;
    gap: 6px;
  }
  
  .nav-path svg {
    width: 12px;
    height: 12px;
  }
  
  .browser-content {
    min-height: 240px;
    max-height: 280px;
    padding: 10px;
  }
  
  .file-row {
    padding: 10px;
    gap: 10px;
    border-radius: 6px;
  }
  
  .file-icon-browser {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }
  
  .file-icon-browser svg {
    width: 16px;
    height: 16px;
  }
  
  .file-name-browser {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .file-meta {
    font-size: 10px;
  }
  
  .browser-footer {
    padding: 10px;
    flex-direction: column;
    gap: 10px;
  }
  
  .selected-label {
    font-size: 11px;
  }
  
  .selected-input {
    font-size: 11px;
    padding: 8px 10px;
  }
  
  .browser-actions {
    gap: 8px;
  }
  
  .btn-cancel-browser,
  .btn-open-browser {
    padding: 11px 14px;
    font-size: 13px;
    border-radius: 6px;
  }
  
  /* AI Processing - More Compact */
  .processing-content {
    padding: 20px;
  }
  
  .processing-spinner {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }
  
  .processing-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .processing-status {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .processing-keywords {
    gap: 6px;
  }
  
  .keyword {
    font-size: 10px;
    padding: 5px 10px;
  }
}


/* ========================================
   SECTION 3 — WHY IT BREAKS (BALANCED DESIGN)
   Clean & Professional - Orange Theme Only
   Version: 3.1
   ======================================== */

.why-breaks-section-new {
  padding: 70px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  position: relative;
  border-top: 1px solid #e2e8f0;
}

.why-breaks-grid-new {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 50px;
  align-items: center;
}

/* ========================================
   LEFT SIDE - BALANCED TEXT CONTENT
   ======================================== */

.why-breaks-content-new {
  padding-right: 30px;
}

.why-breaks-text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 14px 0;
  font-weight: 500;
}

/* Simple Bullet List */
.simple-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.simple-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
  font-weight: 500;
}

.simple-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.7;
}

/* Reality Box - Subtle Orange Accent */
.reality-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(246, 114, 20, 0.03);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
}

.reality-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
}

.reality-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.reality-list li {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
  font-weight: 500;
}

.reality-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
}

.reality-final {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0;
  font-style: italic;
}

/* ========================================
   RIGHT SIDE - VERIFICATION VISUAL
   ======================================== */

.why-breaks-visual-new {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-visual {
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Document Sources Row */
.doc-sources-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 2px solid #f1f5f9;
}

.mini-doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: #fafafa;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  flex: 1;
  transition: all 0.3s ease;
}

.mini-doc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 114, 20, 0.3);
  background: rgba(246, 114, 20, 0.02);
}

.mini-doc-card svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.mini-doc-card span {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

/* Verification Checklist */
.verification-checklist-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: #fafafa;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.check-row:hover {
  transform: translateX(2px);
  border-color: rgba(246, 114, 20, 0.2);
}

.check-status {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
}

.check-label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Complete Check - Orange only */
.check-complete .check-status {
  background: var(--color-accent);
  color: #ffffff;
}

/* Gap Check - Orange only */
.check-gap {
  background: rgba(246, 114, 20, 0.02);
}

.check-gap .check-status {
  background: rgba(246, 114, 20, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.25);
}

.gap-tag {
  padding: 3px 8px;
  background: rgba(246, 114, 20, 0.1);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Gap Warning Badge */
.gap-warning-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  background: rgba(246, 114, 20, 0.06);
  border: 1.5px solid rgba(246, 114, 20, 0.25);
  border-radius: 10px;
}

.gap-warning-badge svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.gap-warning-badge span {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
  .why-breaks-section-new {
    padding: 60px 0;
  }

  .why-breaks-grid-new {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .why-breaks-content-new {
    padding-right: 0;
    max-width: 650px;
    margin: 0 auto;
  }

  .verification-visual {
    max-width: 650px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .why-breaks-section-new {
    padding: 50px 0;
  }

  .why-breaks-grid-new {
    gap: 40px;
  }

  .why-breaks-content-new {
    max-width: 100%;
  }

  .why-breaks-text {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .simple-list li {
    font-size: 14px;
    margin-bottom: 7px;
    padding-left: 22px;
  }

  .simple-list li::before {
    font-size: 18px;
  }

  .reality-box {
    margin-top: 20px;
    padding: 16px 18px;
  }

  .reality-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .reality-list li {
    font-size: 13px;
    margin-bottom: 5px;
    padding-left: 16px;
  }

  .reality-list li::before {
    font-size: 14px;
  }

  .reality-final {
    font-size: 13px;
  }

  .verification-visual {
    max-width: 100%;
    padding: 28px 22px;
  }

  .doc-sources-row {
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .mini-doc-card {
    padding: 12px 8px;
    gap: 6px;
  }

  .mini-doc-card svg {
    width: 15px;
    height: 15px;
  }

  .mini-doc-card span {
    font-size: 10px;
  }

  .verification-checklist-visual {
    gap: 9px;
    margin-bottom: 18px;
  }

  .check-row {
    padding: 12px 14px;
    gap: 12px;
  }

  .check-status {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .check-label {
    font-size: 12px;
  }

  .gap-tag {
    padding: 3px 7px;
    font-size: 9px;
  }

  .gap-warning-badge {
    padding: 13px 18px;
    gap: 9px;
  }

  .gap-warning-badge svg {
    width: 16px;
    height: 16px;
  }

  .gap-warning-badge span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .why-breaks-section-new {
    padding: 45px 0;
  }

  .why-breaks-grid-new {
    gap: 35px;
  }

  .why-breaks-text {
    font-size: 0.9375rem;
    margin-bottom: 10px;
  }

  .simple-list li {
    font-size: 13px;
    margin-bottom: 6px;
    padding-left: 20px;
  }

  .simple-list li::before {
    font-size: 16px;
  }

  .reality-box {
    margin-top: 18px;
    padding: 14px 16px;
  }

  .reality-title {
    font-size: 13px;
    margin-bottom: 7px;
  }

  .reality-list li {
    font-size: 12px;
    margin-bottom: 4px;
    padding-left: 14px;
  }

  .reality-list li::before {
    font-size: 13px;
  }

  .reality-final {
    font-size: 12px;
  }

  .verification-visual {
    padding: 24px 18px;
  }

  .doc-sources-row {
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .mini-doc-card {
    padding: 10px 6px;
    gap: 5px;
  }

  .mini-doc-card svg {
    width: 13px;
    height: 13px;
  }

  .mini-doc-card span {
    font-size: 9px;
  }

  .verification-checklist-visual {
    gap: 8px;
    margin-bottom: 16px;
  }

  .check-row {
    padding: 11px 12px;
    gap: 10px;
  }

  .check-status {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .check-label {
    font-size: 11px;
  }

  .gap-tag {
    padding: 2px 6px;
    font-size: 8px;
  }

  .gap-warning-badge {
    padding: 12px 16px;
    gap: 8px;
  }

  .gap-warning-badge svg {
    width: 14px;
    height: 14px;
  }

  .gap-warning-badge span {
    font-size: 12px;
  }
}


/* ========================================
   SECTION 10 — WORKFLOW INTEGRATION
   Light Theme, Compact, Fully Responsive
   Version: 1.1
   ======================================== */

.workflow-integration-section {
  padding: 70px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  position: relative;
  border-top: 1px solid #e2e8f0;
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.breadcrumb-nav {
  margin-bottom: 40px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.breadcrumb-link:hover {
  color: var(--color-accent);
}

.breadcrumb-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  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: 600;
  color: #0f172a;
}

.breadcrumb-link-current {
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
}

.breadcrumb-link-current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}

/* ========================================
   BREADCRUMB IN CTA SECTION (DARK THEME)
   ======================================== */

.breadcrumb-cta {
  margin-top: 48px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.breadcrumb-cta .breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-cta .breadcrumb-link:hover {
  color: var(--color-accent);
}

.breadcrumb-cta .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-cta .breadcrumb-link-current {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-cta .breadcrumb-link-current::after {
  display: none;
}

/* Responsive styles for breadcrumb in CTA */
@media (max-width: 767px) {
  .breadcrumb-cta {
    margin-top: 36px;
  }
  
  .breadcrumb-cta .breadcrumb-link,
  .breadcrumb-cta .breadcrumb-link-current {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .breadcrumb-cta {
    margin-top: 32px;
  }
  
  .breadcrumb-cta .breadcrumb-link,
  .breadcrumb-cta .breadcrumb-link-current {
    font-size: 12px;
  }
}

/* ========================================
   SECTION HEADER
   ======================================== */

.workflow-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* ========================================
   INTEGRATION FLOW (3 STEPS)
   ======================================== */

.integration-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ========================================
   FLOW STEP
   ======================================== */

.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 280px;
}

.step-visual {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step:hover .step-visual {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(246, 114, 20, 0.08);
  border-color: rgba(246, 114, 20, 0.2);
}

/* Step Icon */
.step-icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.08), rgba(246, 114, 20, 0.04));
  border: 2px solid rgba(246, 114, 20, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.flow-step:hover .step-icon-wrapper {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.12), rgba(246, 114, 20, 0.06));
  border-color: rgba(246, 114, 20, 0.25);
  transform: scale(1.05);
}

.step-icon-wrapper svg {
  color: var(--color-accent);
}

.step-icon-wrapper.procore {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1), rgba(246, 114, 20, 0.05));
}

.step-icon-wrapper.success {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1), rgba(246, 114, 20, 0.05));
}

/* Step Preview Card */
.step-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.preview-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.preview-badge {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-badge.connected {
  color: var(--color-accent);
  background: rgba(246, 114, 20, 0.08);
  font-weight: 800;
}

.preview-badge.unchanged {
  color: var(--color-accent);
  background: rgba(246, 114, 20, 0.08);
  font-weight: 800;
}

/* Preview Items (Submittal Log) */
.preview-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fafafa;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.preview-item.active {
  background: rgba(246, 114, 20, 0.04);
  border-color: rgba(246, 114, 20, 0.2);
}

.item-number {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  font-family: 'Courier New', monospace;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.preview-item.active .item-number {
  color: var(--color-accent);
  border-color: rgba(246, 114, 20, 0.2);
  font-weight: 800;
}

.item-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  flex: 1;
}

/* Integration Status (Procore) */
.integration-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(246, 114, 20, 0.04);
  border-radius: 8px;
}

.status-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.status-item span {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

/* Workflow Benefits (No Process Change) */
.workflow-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(246, 114, 20, 0.04);
  border-radius: 8px;
}

.benefit-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.benefit-item span {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

/* Step Content (Text Below) */
.step-content {
  text-align: center;
}

.step-content h3 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.step-content p {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   FLOW ARROWS
   ======================================== */

.flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -80px;
}

.flow-arrow svg {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.integration-flow:hover .flow-arrow svg {
  opacity: 1;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
  .workflow-integration-section {
    padding: 60px 0;
  }

  .breadcrumb-nav {
    margin-bottom: 35px;
  }

  .breadcrumb-link,
  .breadcrumb-separator,
  .breadcrumb-current {
    font-size: 13px;
  }

  .workflow-header {
    margin-bottom: 50px;
  }

  .integration-flow {
    flex-direction: column;
    gap: 40px;
    max-width: 400px;
  }

  .flow-step {
    max-width: 100%;
  }

  .flow-arrow {
    margin-top: 0;
    transform: rotate(90deg);
  }

  .step-visual {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .workflow-integration-section {
    padding: 50px 0;
  }

  .breadcrumb-nav {
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .breadcrumb-link,
  .breadcrumb-separator,
  .breadcrumb-current {
    font-size: 12px;
  }

  .workflow-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .integration-flow {
    gap: 35px;
    max-width: 100%;
    padding: 0 20px;
  }

  .step-visual {
    padding: 20px;
    min-height: 200px;
  }

  .step-icon-wrapper {
    width: 52px;
    height: 52px;
  }

  .step-icon-wrapper svg {
    width: 26px;
    height: 26px;
  }

  .preview-title {
    font-size: 12px;
  }

  .preview-badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .preview-item {
    padding: 7px 9px;
    gap: 8px;
  }

  .item-number {
    font-size: 10px;
    padding: 3px 7px;
  }

  .item-name {
    font-size: 11px;
  }

  .status-item,
  .benefit-item {
    padding: 7px 9px;
    gap: 7px;
  }

  .status-item svg,
  .benefit-item svg {
    width: 13px;
    height: 13px;
  }

  .status-item span,
  .benefit-item span {
    font-size: 11px;
  }

  .step-content h3 {
    font-size: 17px;
    margin-bottom: 7px;
  }

  .step-content p {
    font-size: 14px;
  }

  .flow-arrow svg {
    width: 36px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .workflow-integration-section {
    padding: 45px 0;
  }

  .breadcrumb-nav {
    margin-bottom: 25px;
    padding: 0 16px;
  }

  .breadcrumb-list {
    gap: 6px;
  }

  .breadcrumb-link,
  .breadcrumb-separator,
  .breadcrumb-current {
    font-size: 11px;
  }

  .workflow-header {
    margin-bottom: 35px;
    padding: 0 16px;
  }

  .integration-flow {
    gap: 30px;
    padding: 0 16px;
  }

  .step-visual {
    padding: 18px;
    min-height: 190px;
    gap: 14px;
  }

  .step-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .step-icon-wrapper svg {
    width: 24px;
    height: 24px;
  }

  .preview-header {
    padding-bottom: 8px;
  }

  .preview-title {
    font-size: 11px;
  }

  .preview-badge {
    font-size: 8px;
    padding: 3px 7px;
  }

  .preview-items {
    gap: 7px;
  }

  .preview-item {
    padding: 6px 8px;
    gap: 7px;
  }

  .item-number {
    font-size: 9px;
    padding: 3px 6px;
  }

  .item-name {
    font-size: 10px;
  }

  .integration-status,
  .workflow-benefits {
    gap: 7px;
  }

  .status-item,
  .benefit-item {
    padding: 6px 8px;
    gap: 6px;
  }

  .status-item svg,
  .benefit-item svg {
    width: 12px;
    height: 12px;
  }

  .status-item span,
  .benefit-item span {
    font-size: 10px;
  }

  .step-content {
    gap: 16px;
  }

  .step-content h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .step-content p {
    font-size: 13px;
  }

  .flow-arrow svg {
    width: 32px;
    height: 18px;
  }
}
