/* ========================================
   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: 32px 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: 14px;
}

.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);
}

.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;
  }
  
  .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;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   ADVANCED HERO SECTION
   ======================================== */

.hero-section-advanced {
  position: relative;
  padding: 120px 0 100px;
  background: 
    /* Subtle dot pattern */
    radial-gradient(circle at 20% 80%, rgba(246, 114, 20, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(246, 114, 20, 0.03) 0%, transparent 50%),
    /* Grid lines */
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    /* Main gradient */
    linear-gradient(135deg, #fffbf7 0%, #ffffff 50%, #fff8f3 100%);
  background-size: 
    800px 800px,
    800px 800px,
    60px 60px,
    60px 60px,
    100% 100%;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Animated gradient orb - top right */
.hero-section-advanced::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.08) 0%, rgba(255, 140, 66, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
  z-index: 0;
}

/* Secondary orb - bottom left */
.hero-section-advanced::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.05) 0%, rgba(255, 140, 66, 0.02) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes floatOrb {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% { 
    transform: translate(-30px, -30px) scale(1.05);
    opacity: 0.8;
  }
}


.hero-grid-advanced {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LEFT: Content */
.hero-content-advanced {
  max-width: 600px;
}

.hero-badge-advanced {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1), rgba(246, 114, 20, 0.05));
  border: 1px solid rgba(246, 114, 20, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title-advanced {
  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;
}

.title-line {
  display: block;
  color: #0f172a;
}

.title-accent-advanced {
  color: var(--color-accent);
}

.hero-subtitle-advanced {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: #475569;
  margin: 0 0 32px;
  max-width: 540px;
}

/* ========================================
   COMPACT ANIMATION STEPS
   ======================================== */

.animation-steps-compact {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.steps-title-compact {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Current Step Display */
.current-step-display {
  position: relative;
  min-height: 59px;
  margin-bottom: 12px;
}

.step-compact {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.step-compact.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.step-number-compact {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.step-info-compact {
  flex: 1;
}

.step-info-compact h4 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
}

.step-info-compact p {
  font-size: 14px;
  line-height: 1.4;
  color: #64748b;
  margin: 0;
}

/* Step Dots Only - Orange Theme */
.step-dots-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dot-compact {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot-compact:hover {
  background: #94a3b8;
  transform: scale(1.2);
}

.dot-compact.active {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(246, 114, 20, 0.4);
}

.dot-compact.completed {
  background: var(--color-accent);
}

/* ========================================
   CLICK TO PLAY/PAUSE OVERLAY
   ======================================== */

.animation-click-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);
  backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 50;
  cursor: pointer;
}

.hero-animation-container:hover .animation-click-overlay:not(.paused) {
  opacity: 0.6;
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(2px);
}

.animation-click-overlay.paused {
  opacity: 1 !important;
  pointer-events: auto !important;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.play-pause-indicator {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 114, 20, 0.9);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(246, 114, 20, 0.4);
  transition: all 0.3s ease;
}

.play-pause-indicator:hover {
  transform: scale(1.1);
  background: var(--color-accent);
  box-shadow: 0 12px 40px rgba(246, 114, 20, 0.6);
}

.play-icon,
.pause-icon {
  color: #ffffff;
  position: absolute;
  transition: all 0.3s ease;
}

.play-icon {
  opacity: 0;
  transform: scale(0.8);
}

.pause-icon {
  opacity: 1;
  transform: scale(1);
}

.animation-click-overlay.paused .play-icon {
  opacity: 1;
  transform: scale(1);
}

.animation-click-overlay.paused .pause-icon {
  opacity: 0;
  transform: scale(0.8);
}

.click-hint {
  margin-top: 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* ========================================
   PERMANENT CTA (ALWAYS VISIBLE)
   ======================================== */

.hero-cta-permanent {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-cta-permanent .btn-cta-hero {
  width: 100%;
  justify-content: center;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 12px 32px rgba(246, 114, 20, 0.3);
}

.btn-cta-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(246, 114, 20, 0.4);
}

/* RIGHT: Animation Container */
.hero-animation-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Custom Cursor */
.custom-cursor {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.4);
}

.custom-cursor.moving {
  opacity: 1;
}

.custom-cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: cursorPulse 1.5s ease-out infinite;
}

@keyframes cursorPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Dashboard Wrapper */
.dashboard-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

/* Dashboard Frame */
.dashboard-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  border: 2px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Browser Bar */
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 2px solid #e2e8f0;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot-red, .dot-yellow, .dot-green {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

.browser-status {
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dashboard Content */
.dashboard-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Sidebar */
.dashboard-sidebar {
  width: 200px;
  background: #f8fafc;
  border-right: 2px solid #e2e8f0;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-item:hover {
  background: #e2e8f0;
  color: #334155;
}

.sidebar-item.active {
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.1), rgba(246, 114, 20, 0.05));
  color: var(--color-accent);
  border: 1px solid rgba(246, 114, 20, 0.2);
}

.sidebar-item svg {
  flex-shrink: 0;
}

.badge-count {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

/* Main Content Area */
.dashboard-main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.view-specifications,
.view-submittals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
}

.view-specifications.active,
.view-submittals.active {
  opacity: 1;
  pointer-events: auto;
}

/* View Header */
.view-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.view-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.view-stats {
  display: flex;
  gap: 8px;
}

.stat-badge {
  padding: 6px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.submittals-count {
  padding: 3px 10px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

.btn-add-set {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
}

.btn-add-set:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(246, 114, 20, 0.3);
}

.btn-add-set.clicked {
  transform: scale(0.95);
}

/* Spec Files List */
.spec-files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.file-icon-small {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 114, 20, 0.1);
  border-radius: 6px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.file-name-small {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-badge {
  padding: 4px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.file-check {
  flex-shrink: 0;
}

.btn-generate-log {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.btn-generate-log:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-generate-log.clicked {
  transform: scale(0.95);
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.search-bar:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(246, 114, 20, 0.1);
}

.search-bar svg {
  color: #94a3b8;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #334155;
  background: transparent;
}

.search-bar input::placeholder {
  color: #94a3b8;
}

/* Submittals Table */
.submittals-table {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.table-header-row {
  display: grid;
  grid-template-columns: 50px 140px 1.5fr 100px 100px 100px;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
}

.th {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table-body {
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar for table */
.table-body::-webkit-scrollbar {
  width: 6px;
}

.table-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.table-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.table-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.table-row-data {
  display: grid;
  grid-template-columns: 50px 140px 1.5fr 100px 100px 100px;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
  animation: slideIn 0.3s ease;
  align-items: center;
}

.table-row-data:last-child {
  border-bottom: none;
}

.table-row-data:hover {
  background: linear-gradient(90deg, #fff8f3 0%, #ffffff 100%);
  border-left: 3px solid var(--color-accent);
  padding-left: 9px;
}

.td {
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td.td-id {
  font-weight: 700;
  color: #64748b;
  font-family: "Outfit", sans-serif;
}

.td.td-spec {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}

.td.td-title {
  font-weight: 600;
  color: #1e293b;
}

.td.td-date {
  font-size: 11px;
  color: #64748b;
  font-family: monospace;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 4px;
  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;
}

.status-approved {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-submitted {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* Upload Modal */
.upload-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 100;
}

.upload-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}

.modal-content-upload {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  border: 2px solid #e2e8f0;
  animation: modalSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 2px solid #e2e8f0;
}

.modal-header-upload h4 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #334155;
}

.modal-body-upload {
  padding: 24px;
}

.modal-upload-zone {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.modal-upload-zone:hover {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, #fff8f3 0%, #fff3ec 100%);
}

.modal-upload-zone svg {
  color: var(--color-accent);
  margin-bottom: 16px;
}

.upload-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.upload-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px;
}

.btn-choose-files {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-choose-files:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(246, 114, 20, 0.3);
}

.upload-progress {
  display: none;
}

.upload-progress.active {
  display: block;
}

.progress-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
}

.progress-file svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.file-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-name-upload {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.file-size-upload {
  font-size: 12px;
  color: #64748b;
}

.progress-bar-upload {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill-upload {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #ff8c42);
  border-radius: 100px;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-status {
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.progress-percent {
  font-weight: 700;
  color: var(--color-accent);
}

/* AI Processing Overlay */
.ai-processing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 200;
}

.ai-processing-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.processing-content {
  text-align: center;
  padding: 40px;
}

.processing-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border: 4px solid rgba(246, 114, 20, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.processing-content h4 {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.processing-status {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
}

.processing-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.keyword {
  padding: 8px 16px;
  background: rgba(246, 114, 20, 0.2);
  border: 1px solid rgba(246, 114, 20, 0.4);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  animation: keywordPop 0.6s ease infinite alternate;
}

.keyword:nth-child(2) {
  animation-delay: 0.2s;
}

.keyword:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes keywordPop {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ========================================
   FILE BROWSER MODAL (OS-STYLE)
   ======================================== */

.file-browser-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.file-browser-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.browser-window {
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: browserSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes browserSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Browser Title Bar */
.browser-titlebar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid #cbd5e1;
}

.titlebar-buttons {
  display: flex;
  gap: 8px;
  margin-right: 16px;
}

.btn-minimize,
.btn-maximize,
.btn-close-browser {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
}

.btn-minimize {
  background: #fbbf24;
}

.btn-maximize {
  background: #10b981;
}

.btn-close-browser {
  background: #ef4444;
}

.titlebar-text {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

/* Browser Navigation */
.browser-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.nav-buttons {
  display: flex;
  gap: 4px;
}

.nav-back,
.nav-forward {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 16px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-back:hover,
.nav-forward:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.nav-path {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
}

.nav-path svg {
  color: #94a3b8;
  flex-shrink: 0;
}

/* File List */
.browser-content {
  padding: 16px;
  background: #ffffff;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-row:hover {
  background: #f8fafc;
}

.file-row.selected {
  background: rgba(246, 114, 20, 0.1);
  border: 2px solid rgba(246, 114, 20, 0.3);
}

.file-icon-browser {
  width: 40px;
  height: 40px;
  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-radius: 8px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.file-info-browser {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-name-browser {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.file-meta {
  font-size: 12px;
  color: #94a3b8;
}

/* Browser Footer */
.browser-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.selected-file {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.selected-input {
  flex: 1;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  color: #334155;
}

.browser-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cancel-browser,
.btn-open-browser {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-browser {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.btn-cancel-browser:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-open-browser {
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.btn-open-browser:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(246, 114, 20, 0.4);
}

.btn-open-browser:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Responsive Advanced Hero */
@media (max-width: 1200px) {
  .hero-grid-advanced {
    grid-template-columns: 45% 55%;
    gap: 60px;
  }
  
  .dashboard-wrapper {
    height: 500px;
  }
}

@media (max-width: 991px) {
  .hero-grid-advanced {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .hero-content-advanced {
    max-width: 100%;
    text-align: center;
  }
  
  .animation-steps-compact {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-permanent {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .dashboard-wrapper {
    max-width: 700px;
    height: 500px;
  }
  
  .table-header-row,
  .table-row-data {
    grid-template-columns: 45px 120px 1.5fr 90px 90px 90px;
    gap: 6px;
    padding: 8px 10px;
  }
  
  .th {
    font-size: 10px;
  }
  
  .td {
    font-size: 11px;
  }
  
  .status-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
  
  .browser-window {
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .hero-section-advanced {
    padding: 40px 0 60px;
    min-height: auto;
  }
  
  .hero-grid-advanced {
    gap: 40px;
  }
  
  .hero-badge-advanced {
    font-size: 11px;
    padding: 8px 16px;
  }
  
  .hero-title-advanced {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .hero-subtitle-advanced {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  /* Redesigned Compact Steps for Mobile */
  .animation-steps-compact {
    padding: 24px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1.5px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  
  .steps-title-compact {
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #64748b;
  }
  
  .current-step-display {
    min-height: 85px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .step-compact {
    gap: 16px;
    align-items: center;
  }
  
  .step-number-compact {
    width: 56px;
    height: 56px;
    font-size: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(246, 114, 20, 0.25);
    flex-shrink: 0;
  }
  
  .step-info-compact {
    flex: 1;
    text-align: left;
  }
  
  .step-info-compact h4 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
  }
  
  .step-info-compact p {
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
    font-weight: 500;
  }
  
  .step-dots-compact {
    gap: 10px;
    padding: 0;
    justify-content: center;
  }
  
  .dot-compact {
    width: 10px;
    height: 10px;
    background: #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .dot-compact.active {
    width: 28px;
    height: 10px;
    border-radius: 5px;
    background: var(--color-accent);
    box-shadow: 0 2px 8px rgba(246, 114, 20, 0.3);
  }
  
  .dot-compact.completed {
    background: var(--color-accent);
    opacity: 0.6;
  }
  
  .btn-cta-hero {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 17px;
  }
  
  .custom-cursor {
    display: none !important;
  }
  
  /* Dashboard Animation Box - COMPACT & FIXED */
  .dashboard-wrapper {
    height: 480px;
    max-width: 100%;
  }
  
  .dashboard-frame {
    height: 100%;
    border-radius: 12px;
  }
  
  .browser-bar {
    padding: 8px 10px;
    min-height: 36px;
  }
  
  .browser-dots {
    gap: 4px;
  }
  
  .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);
  }
  
  /* Compact Sidebar */
  .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;
    text-align: center;
    line-height: 1.1;
  }
  
  .badge-count {
    position: absolute;
    top: 4px;
    right: 4px;
    margin: 0;
    padding: 1px 4px;
    font-size: 8px;
    min-width: 16px;
  }
  
  /* Compact Views */
  .view-specifications,
  .view-submittals {
    padding: 12px;
    height: 100%;
    overflow-y: auto;
  }
  
  .view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .view-header h3 {
    font-size: 16px;
    margin: 0;
  }
  
  .view-stats {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .stat-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .submittals-count {
    font-size: 11px;
    padding: 2px 8px;
  }
  
  .btn-add-set {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
    gap: 6px;
  }
  
  .btn-add-set svg {
    width: 14px;
    height: 14px;
  }
  
  /* Compact File List */
  .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;
  }
  
  /* Compact Search */
  .search-bar {
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
  }
  
  .search-bar svg {
    width: 14px;
    height: 14px;
  }
  
  .search-bar input {
    font-size: 11px;
  }
  
  /* Compact Table */
  .submittals-table {
    border-radius: 6px;
  }
  
  .table-header-row {
    display: none;
  }
  
  .table-body {
    max-height: 300px;
  }
  
  .table-row-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-left: 2px solid #e2e8f0;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
  }
  
  .table-row-data:hover {
    border-left-color: var(--color-accent);
    padding-left: 10px;
  }
  
  .td {
    font-size: 11px;
    justify-content: flex-start;
    line-height: 1.4;
  }
  
  .td.td-id {
    font-size: 12px;
    font-weight: 700;
  }
  
  .td.td-id::before {
    content: '#';
    font-weight: 700;
    color: #94a3b8;
    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;
    color: #1e293b;
  }
  
  .status-badge {
    font-size: 8px;
    padding: 3px 8px;
  }
  
  .mobile-hide {
    display: none;
  }
  
  /* Upload Modal Mobile */
  .modal-content-upload {
    width: 95%;
    max-width: none;
  }
  
  .modal-header-upload {
    padding: 16px;
  }
  
  .modal-header-upload h4 {
    font-size: 16px;
  }
  
  .modal-body-upload {
    padding: 16px;
  }
  
  .modal-upload-zone {
    padding: 32px 16px;
  }
  
  .modal-upload-zone svg {
    width: 40px;
    height: 40px;
  }
  
  .upload-title {
    font-size: 15px;
  }
  
  .upload-subtitle {
    font-size: 12px;
  }
  
  .btn-choose-files {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  /* File Browser Mobile */
  .browser-window {
    width: 95%;
    max-width: none;
  }
  
  .browser-titlebar {
    padding: 10px 12px;
  }
  
  .titlebar-text {
    font-size: 12px;
  }
  
  .browser-nav {
    padding: 10px 12px;
  }
  
  .nav-path {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .nav-path span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .browser-content {
    min-height: 280px;
    max-height: 320px;
    padding: 12px;
  }
  
  .file-row {
    padding: 12px;
  }
  
  .file-icon-browser {
    width: 36px;
    height: 36px;
  }
  
  .file-name-browser {
    font-size: 13px;
  }
  
  .file-meta {
    font-size: 11px;
  }
  
  .browser-footer {
    padding: 12px;
    flex-direction: column;
    gap: 12px;
  }
  
  .selected-file {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .selected-input {
    width: 100%;
    font-size: 12px;
  }
  
  .browser-actions {
    width: 100%;
    gap: 10px;
  }
  
  .btn-cancel-browser,
  .btn-open-browser {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* AI Processing Overlay Mobile */
  .processing-content h4 {
    font-size: 18px;
  }
  
  .processing-status {
    font-size: 13px;
  }
  
  .processing-keywords {
    gap: 8px;
  }
  
  .keyword {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .hero-section-advanced {
    padding: 40px 0 50px;
  }
  
  .hero-grid-advanced {
    gap: 32px;
  }
  
  .hero-title-advanced {
    font-size: 2rem;
  }
  
  .hero-subtitle-advanced {
    font-size: 0.95rem;
  }
  
  /* Compact Steps for Smaller Mobile */
  .animation-steps-compact {
    padding: 7px 16px;
    border-radius: 14px;
  }
  
  .steps-title-compact {
    font-size: 12px;
    margin-bottom: 18px;
    letter-spacing: 1px;
  }
  
  .current-step-display {
    min-height: 80px;
    margin-bottom: 18px;
  }
  
  .step-compact {
    gap: 14px;
  }
  
  .step-number-compact {
    width: 52px;
    height: 52px;
    font-size: 18px;
    border-radius: 12px;
  }
  
  .step-info-compact h4 {
    font-size: 17px;
  }
  
  .step-info-compact p {
    font-size: 13px;
  }
  
  .step-dots-compact {
    gap: 8px;
  }
  
  .dot-compact {
    width: 9px;
    height: 9px;
  }
  
  .dot-compact.active {
    width: 24px;
    height: 9px;
  }
  
  .btn-cta-hero {
    padding: 16px 28px;
    font-size: 16px;
  }
  
  /* Dashboard Animation Box - FIXED HEIGHT */
  .dashboard-wrapper {
    height: 450px;
  }
  
  .browser-bar {
    padding: 8px 10px;
  }
  
  .browser-title {
    font-size: 10px;
  }
  
  .browser-dots span {
    width: 10px;
    height: 10px;
  }
  
  .status-badge {
    font-size: 8px;
    padding: 2px 6px;
  }
  
  .dashboard-sidebar {
    width: 60px;
    padding: 10px 4px;
  }
  
  .sidebar-item {
    padding: 8px 4px;
    font-size: 10px;
  }
  
  .sidebar-item svg {
    width: 18px;
    height: 18px;
  }
  
  .sidebar-item span {
    font-size: 9px;
  }
  
  .badge-count {
    font-size: 8px;
    padding: 1px 4px;
  }
  
  .view-specifications,
  .view-submittals {
    padding: 12px;
  }
  
  .view-header h3 {
    font-size: 16px;
  }
  
  .stat-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .btn-add-set {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .spec-file-row {
    padding: 8px;
  }
  
  .file-icon-small {
    width: 26px;
    height: 26px;
  }
  
  .file-name-small {
    font-size: 11px;
  }
  
  .btn-generate-log {
    padding: 12px 18px;
    font-size: 13px;
  }
  
  .search-bar {
    padding: 8px 10px;
  }
  
  .search-bar input {
    font-size: 11px;
  }
  
  .table-body {
    max-height: 280px;
  }
  
  .table-row-data {
    padding: 10px;
  }
  
  .td {
    font-size: 11px;
  }
  
  .td.td-title {
    font-size: 13px;
  }
  
  .status-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
  
  /* Modals */
  .modal-content-upload {
    width: 98%;
  }
  
  .modal-header-upload h4 {
    font-size: 15px;
  }
  
  .modal-upload-zone {
    padding: 28px 12px;
  }
  
  .modal-upload-zone svg {
    width: 36px;
    height: 36px;
  }
  
  .upload-title {
    font-size: 14px;
  }
  
  .upload-subtitle {
    font-size: 11px;
  }
  
  .browser-window {
    width: 98%;
    border-radius: 8px;
  }
  
  .browser-content {
    min-height: 240px;
    max-height: 280px;
  }
  
  .file-row {
    padding: 10px;
  }
  
  .file-icon-browser {
    width: 32px;
    height: 32px;
  }
  
  .file-name-browser {
    font-size: 12px;
  }
  
  .file-meta {
    font-size: 10px;
  }
  
  .btn-cancel-browser,
  .btn-open-browser {
    padding: 11px 14px;
    font-size: 13px;
  }
}

/* Old hero styles removed - using advanced hero section instead */

/* ========================================
   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;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.15);
}

@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: 6px 16px;
  }
  
  /* 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: 5px 14px;
  }
  
  /* 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 3 — WHY IT BREAKS
   ======================================== */

.why-breaks-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}

.why-breaks-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: center;
}

/* LEFT SIDE: STORYTELLING */
.why-breaks-content {
  padding-right: 30px;
}

.why-breaks-content .section-badge {
  margin-bottom: 20px;
}

.why-breaks-content .section-title {
  margin-bottom: 20px;
}

.why-breaks-description {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 14px 0;
  font-weight: 600;
}

.why-breaks-no-list {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 28px 0;
  font-weight: 600;
  padding-left: 16px;
  border-left: 3px solid rgba(246, 114, 20, 0.3);
}

.why-breaks-manual-process {
  margin-bottom: 28px;
}

.process-intro {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.why-breaks-manual-process p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 6px 0;
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}

.why-breaks-manual-process p:not(.process-intro)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.why-breaks-after {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 14px 0;
  font-weight: 600;
}

.why-breaks-question {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(246, 114, 20, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.08);
  transition: all 0.3s ease;
}

.why-breaks-question:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 114, 20, 0.12);
  border-color: rgba(246, 114, 20, 0.3);
}

.why-breaks-question svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.why-breaks-question p {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* RIGHT SIDE: VISUAL */
.why-breaks-visual {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.why-breaks-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.spec-grid-system {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 600px;
  position: relative;
  padding: 20px;
  transition: gap 1s cubic-bezier(0.25, 1, 0.5, 1);
  animation: gridFloat 8s ease-in-out infinite;
}

.why-breaks-section:hover .spec-grid-system {
  gap: 16px;
}

@keyframes gridFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.spec-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  min-height: 120px;
}

.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.sc-tag {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
  background: #f1f5f9;
  padding: 5px 10px;
  border-radius: 6px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}

.sc-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.sc-count {
  font-size: 11px;
  color: #94a3b8;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.sc-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  margin-left: auto;
}

.sc-status.complete {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.sc-pulse {
  animation: cardSoftPulse 4s ease-in-out infinite 1s;
}

.sc-pulse-slow {
  animation: cardSoftPulse 6s ease-in-out infinite 2s;
}

@keyframes cardSoftPulse {
  0%, 100% { border-color: #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,0.02); transform: translateY(0); }
  50% { border-color: rgba(246, 114, 20, 0.3); box-shadow: 0 8px 24px rgba(246, 114, 20, 0.08); transform: translateY(-3px); }
}

/* THE ORPHAN CARD */
.sc-orphan {
  transform: translate(10px, 14px) rotate(2.5deg);
  border-color: rgba(246, 114, 20, 0.7);
  border-width: 2.5px;
  box-shadow: 
    0 16px 40px rgba(246, 114, 20, 0.25),
    0 8px 16px rgba(246, 114, 20, 0.15);
  background: #ffffff;
  z-index: 10;
  position: relative;
  animation: orphanDrift 6s ease-in-out infinite;
}

@keyframes orphanDrift {
  0%, 100% { 
    transform: translate(10px, 14px) rotate(2.5deg); 
    box-shadow: 
      0 16px 40px rgba(246, 114, 20, 0.25),
      0 8px 16px rgba(246, 114, 20, 0.15);
  }
  50% { 
    transform: translate(14px, 18px) rotate(3.5deg); 
    box-shadow: 
      0 20px 48px rgba(246, 114, 20, 0.32),
      0 10px 20px rgba(246, 114, 20, 0.2);
  }
}

.sc-tag-warn {
  background: rgba(246, 114, 20, 0.15);
  color: var(--color-accent);
  font-weight: 800;
}

.sc-missing {
  color: var(--color-accent);
  font-weight: 800;
}

.sc-status-warn {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--color-accent);
  animation: warnBlink 2s infinite;
}

@keyframes warnBlink {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.sc-faded {
  opacity: 0.5;
  border-style: dashed;
  border-width: 1.5px;
  border-color: rgba(246, 114, 20, 0.3);
  background: rgba(255, 255, 255, 0.7);
}

.grid-warning-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(246, 114, 20, 0.4);
  padding: 14px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 12px 32px rgba(246, 114, 20, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}

.why-breaks-section:hover .grid-warning-badge {
  transform: translateY(0);
  opacity: 1;
}

.grid-warning-badge svg {
  color: var(--color-accent);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.grid-warning-badge span {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* RESPONSIVENESS */
@media (max-width: 991px) {
  .why-breaks-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .why-breaks-content {
    padding-right: 0;
    text-align: left;
    max-width: 650px;
    margin: 0 auto;
  }

  .why-breaks-description {
    text-align: left;
  }

  .why-breaks-no-list {
    text-align: left;
    max-width: 100%;
    margin: 0 0 28px 0;
  }

  .why-breaks-manual-process {
    max-width: 100%;
    margin: 0 0 28px 0;
  }

  .process-intro {
    text-align: left;
  }

  .why-breaks-manual-process p {
    text-align: left;
  }

  .why-breaks-after {
    text-align: left;
    max-width: 100%;
    margin: 0 0 28px 0;
  }

  .why-breaks-question {
    margin: 0;
  }

  .why-breaks-visual {
    min-height: auto;
    padding: 40px 20px;
  }

  .spec-grid-system {
    max-width: 550px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .why-breaks-section {
    padding: 60px 0;
  }

  .why-breaks-grid {
    gap: 50px;
  }

  .why-breaks-content {
    max-width: 100%;
    padding: 0 24px;
  }

  .why-breaks-content .section-badge {
    margin-bottom: 20px;
  }

  .why-breaks-content .section-title {
    margin-bottom: 20px;
    font-size: 1.625rem;
    line-height: 1.25;
  }

  .why-breaks-description {
    font-size: 1.0625rem;
    margin-bottom: 14px;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.7;
  }

  .why-breaks-no-list {
    font-size: 1.0625rem;
    margin-bottom: 20px;
    padding-left: 16px;
    max-width: 100%;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.7;
  }

  .why-breaks-manual-process {
    margin-bottom: 28px;
    max-width: 100%;
  }

  .process-intro {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #94a3b8;
    font-weight: 500;
  }

  .why-breaks-manual-process p {
    font-size: 1rem;
    margin-bottom: 8px;
    padding-left: 20px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.7;
  }

  .why-breaks-manual-process p:not(.process-intro)::before {
    top: 10px;
    width: 6px;
    height: 6px;
  }

  .why-breaks-after {
    font-size: 1rem;
    margin-bottom: 16px;
    max-width: 100%;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.7;
  }

  .why-breaks-question {
    padding: 16px 24px;
    gap: 14px;
    max-width: 100%;
  }

  .why-breaks-question svg {
    width: 20px;
    height: 20px;
  }

  .why-breaks-question p {
    font-size: 1.0625rem;
    line-height: 1.5;
  }

  .why-breaks-visual {
    padding: 30px 20px;
  }

  .spec-grid-system {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 15px;
    max-width: 100%;
  }

  .spec-card {
    padding: 16px;
    min-height: 115px;
  }

  .sc-tag {
    font-size: 10px;
    padding: 4px 9px;
  }

  .sc-title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .sc-count {
    font-size: 10px;
  }

  .sc-status {
    width: 7px;
    height: 7px;
  }

  .sc-orphan {
    transform: translate(5px, 7px) rotate(2deg);
  }

  @keyframes orphanDrift {
    0%, 100% { 
      transform: translate(5px, 7px) rotate(2deg); 
      box-shadow: 
        0 12px 32px rgba(246, 114, 20, 0.25),
        0 6px 12px rgba(246, 114, 20, 0.15);
    }
    50% { 
      transform: translate(7px, 9px) rotate(3deg); 
      box-shadow: 
        0 16px 40px rgba(246, 114, 20, 0.32),
        0 8px 16px rgba(246, 114, 20, 0.2);
    }
  }

  .grid-warning-badge {
    bottom: 15px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 22px;
    max-width: calc(100% - 40px);
  }

  .grid-warning-badge svg {
    width: 18px;
    height: 18px;
  }

  .grid-warning-badge span {
    font-size: 14px;
  }

  .why-breaks-section:hover .grid-warning-badge {
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 480px) {
  .why-breaks-section {
    padding: 50px 0;
  }

  .why-breaks-grid {
    gap: 40px;
  }

  .why-breaks-content {
    padding: 0 20px;
  }

  .why-breaks-content .section-badge {
    margin-bottom: 18px;
    font-size: 11px;
    padding: 7px 18px;
  }

  .why-breaks-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 18px;
    line-height: 1.3;
  }

  .why-breaks-description {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.7;
  }

  .why-breaks-no-list {
    font-size: 1rem;
    margin-bottom: 24px;
    padding-left: 14px;
    border-left-width: 2.5px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.7;
  }

  .why-breaks-manual-process {
    margin-bottom: 24px;
  }

  .process-intro {
    font-size: 0.9375rem;
    margin-bottom: 10px;
    color: #94a3b8;
    font-weight: 500;
  }

  .why-breaks-manual-process p {
    font-size: 0.9375rem;
    padding-left: 18px;
    margin-bottom: 7px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.7;
  }

  .why-breaks-manual-process p:not(.process-intro)::before {
    top: 9px;
    width: 5px;
    height: 5px;
  }

  .why-breaks-after {
    font-size: 0.9375rem;
    margin-bottom: 14px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.7;
  }

  .why-breaks-question {
    padding: 14px 20px;
    gap: 12px;
  }

  .why-breaks-question svg {
    width: 18px;
    height: 18px;
  }

  .why-breaks-question p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .why-breaks-visual {
    padding: 0px 15px;
  }

  .spec-grid-system {
    gap: 12px;
    padding: 12px;
  }

  .spec-card {
    padding: 14px;
    min-height: 105px;
    border-radius: 12px;
  }

  .sc-tag {
    font-size: 10px;
    padding: 4px 8px;
    margin-bottom: 8px;
  }

  .sc-title {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .sc-count {
    font-size: 10px;
  }

  .sc-status {
    width: 6px;
    height: 6px;
  }

  .sc-orphan {
    transform: translate(4px, 6px) rotate(1.5deg);
    border-width: 2px;
  }

  @keyframes orphanDrift {
    0%, 100% { 
      transform: translate(4px, 6px) rotate(1.5deg); 
      box-shadow: 
        0 10px 28px rgba(246, 114, 20, 0.25),
        0 5px 10px rgba(246, 114, 20, 0.15);
    }
    50% { 
      transform: translate(6px, 8px) rotate(2.5deg); 
      box-shadow: 
        0 14px 36px rgba(246, 114, 20, 0.32),
        0 7px 14px rgba(246, 114, 20, 0.2);
    }
  }

  .grid-warning-badge {
    bottom: 12px;
    padding: 12px 18px;
    max-width: calc(100% - 30px);
  }

  .grid-warning-badge::before {
    width: 3px;
  }

  .grid-warning-badge svg {
    width: 17px;
    height: 17px;
  }

  .grid-warning-badge span {
    font-size: 13px;
  }
}

/* ========================================
   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;
}

/* 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 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 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: 6px 14px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.25);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.badge-dot-orange {
  width: 6px;
  height: 6px;
  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: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  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: 12px;
  height: 12px;
}

/* 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;
  }
  
  .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;
  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: 10px;
  padding: 10px 24px;
  background: rgba(246, 114, 20, 0.1);
  border: 2px solid rgba(246, 114, 20, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  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: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
}

@keyframes pulseDot {
  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 4px 20px rgba(0, 0, 0, 0.5);
}

/* 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;
  }
  
  .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;
  }
  
  .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;
  }
  
  .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;
  }
}
