/* ========================================
   GLOBAL SECTION STYLES
   ======================================== */

/* Section Badge - Universal */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.28);
  color: #f67214;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.badge-dot-pulse {
  width: 8px;
  height: 8px;
  z-index: 3;
  background: #f67214;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12);
  animation: badgePulse 2s ease-in-out infinite;
}

/* Section Title - Universal */
.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-weight: 800;
  margin: 0 0 16px;
}

.title-highlight {
  color: #f67214;
}

@keyframes badgePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

/* Responsive Section Badge Styles */
@media (max-width: 768px) {
  .section-badge {
    font-size: 10px;
    padding: 7px 16px;
    gap: 7px;
  }

  .badge-dot-pulse {
    width: 7px;
    height: 7px;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
}

@media (max-width: 480px) {
  .section-badge {
    font-size: 9px;
    padding: 6px 14px;
    gap: 6px;
  }

  .badge-dot-pulse {
    width: 6px;
    height: 6px;
  }

  .section-title {
    font-size: clamp(2rem, 4.5vw, 1.75rem);
  }
}

/* ========================================
   CSS VARIABLES & BASE STYLES
   ======================================== */

:root {
  --color-accent: #f67214;
  --color-accent-deep: #d85f0f;
  --color-bg: #fffdf9;
  --color-bg-dark: #0b1118;
  --color-bg-warm: #fff3ec;
  --color-surface: #ffffff;
  --color-text: #111111;
  --color-text-muted: #555b63;
  --color-text-inverse: #f5efe8;
  --color-border: rgba(17, 17, 17, 0.08);
  --shadow-xl: 0 32px 70px rgba(12, 18, 28, 0.12);
  --shadow-lg: 0 18px 45px rgba(12, 18, 28, 0.1);
  --container-max: 1180px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 620ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fffdfa;
  color: var(--color-text);
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.5;
  padding-top: 74.6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 991px) {
  body {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 64px;
  }
}

@media (max-width: 575px) {
  body {
    padding-top: 60px;
  }
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container-max));
  margin: 0 auto;
}

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 74.6px;
  padding: 12px 3vw;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.site-header.is-scrolled,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-container img {
  display: block;
  width: auto;
}

.site-logo {
  display: block;
  height: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  position: relative;
  color: #1f2a3b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #ea6d13;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ea6d13;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-menu li a.active {
  color: #ea6d13;
}

.login-btn {
  background: #ea6d13;
  color: #fff;
  border: none;
  padding: 12px 50px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(234, 109, 19, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 109, 19, 0.35);
  color: #fff;
  filter: brightness(1.05);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #172033;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
  position: absolute;
}

.hamburger span:nth-child(1) {
  top: 10px;
}

.hamburger span:nth-child(2) {
  top: 18px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger.active span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 74.6px;
  left: 0;
  width: 100%;
  height: calc(100vh - 74.6px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 32px 20px;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  color: #172033;
  font-weight: 600;
  font-size: 18px;
  border-bottom: none;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  color: #ea6d13;
  text-decoration: none;
}

.mobile-menu .login-btn {
  width: 100% !important;
  margin-top: 48px !important;
  display: block !important;
  padding: 16px 32px !important;
  background: #f67214 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.2) !important;
  transition: all 0.3s ease !important;
}

.mobile-menu .login-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3) !important;
  background: #ea6d13 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background: #f8f9fa;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 0;
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
}

.footer-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-accent-deep);
  text-decoration: underline;
}

/* ========================================
   WAITLIST MODAL STYLES
   ======================================== */

.modal-content-premium {
  border-radius: 24px;
  border: none;
  padding: 40px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.modal-title {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

.text-orange {
  color: var(--color-accent);
}

.modal-subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.premium-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.premium-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(246, 114, 20, 0.1);
}

/* Minimal intl-tel-input styling to match form design */
.iti {
  width: 100%;
  display: block;
}

.iti__input {
  width: 100%;
  padding: 14px 16px;
  padding-left: 52px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.iti__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(246, 114, 20, 0.1);
}

.btn-waitlist {
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(246, 114, 20, 0.25);
}

.btn-waitlist:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
}

.waitlist-modal-message {
  font-size: 14px;
  font-weight: 500;
}

.modal-footer-text {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
}

.btn-close {
  background: transparent;
  border: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.btn-close:hover {
  opacity: 1;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(246, 114, 20, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(246, 114, 20, 0.4);
}

.back-to-top.show {
  display: flex;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 991px) {
  .header-nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .site-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 16px 24px !important;
    min-height: 70px !important;
  }

  .logo-container {
    flex-shrink: 0;
    max-width: 70%;
  }

  .site-logo {
    max-width: 100%;
    height: 36px !important;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 14px 20px !important;
    min-height: 64px !important;
  }

  .site-logo {
    height: 32px !important;
    width: auto !important;
  }

  .logo-container {
    max-width: 70%;
  }

  .hamburger {
    margin-left: auto;
    flex-shrink: 0;
  }

  .modal-content-premium {
    padding: 28px 20px;
  }

  .modal-title {
    font-size: 22px;
  }

  /* Ensure form inputs stack properly on tablet */
  .row.g-3>.col-md-6 {
    width: 100%;
  }

  .premium-input,
  .iti__input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .iti__input {
    padding-left: 50px;
  }

  .btn-waitlist {
    padding: 14px 28px;
    font-size: 14px;
  }

  .mobile-menu {
    top: 64px !important;
    height: calc(100vh - 64px) !important;
  }
}

@media (max-width: 575px) {
  .site-header {
    padding: 12px 16px !important;
    min-height: 60px !important;
  }

  .site-logo {
    height: 28px !important;
    width: auto !important;
  }

  .logo-container {
    max-width: 65%;
  }

  .hamburger {
    width: 40px;
    height: 40px;
    margin-left: auto;
  }

  .hamburger span {
    width: 28px;
    height: 2.5px;
  }

  .hamburger span:nth-child(1) {
    top: 12px;
  }

  .hamburger span:nth-child(2) {
    top: 19px;
  }

  .hamburger span:nth-child(3) {
    top: 26px;
  }

  .mobile-menu {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
    padding: 24px 16px;
  }

  .modal-content-premium {
    padding: 24px 16px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-subtitle {
    font-size: 14px;
  }

  .form-label {
    font-size: 13px;
  }

  .premium-input,
  .iti__input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .iti__input {
    padding-left: 48px;
  }

  .btn-waitlist {
    padding: 14px 24px;
    font-size: 14px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   SECTION 6 OUTPUT - PREMIUM DASHBOARD FINAL
   ======================================== */

/* Base output section class */
.output-section-new {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

/* Premium redesign overrides */
.output-section-new.output-redesign {
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ef 52%, #ffffff 100%);
  padding: clamp(64px, 7vw, 92px) 0;
}

.output-redesign-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.output-redesign .output-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.output-redesign .output-subtitle {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
}

.output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.output-value-stack {
  gap: 11px;
  margin-bottom: 20px;
}

.output-value-card {
  padding: 13px 14px;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}

.value-index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 12px;
}

.output-value-card h4 {
  font-size: 15.5px;
}

.output-value-card p {
  font-size: 13px;
  line-height: 1.48;
}

.output-redesign-visual {
  min-height: 0;
  place-items: center;
  perspective: 1200px;
}

.output-dashboard-pro {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: 60px 1fr;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .14);
  transform: rotateX(2deg) rotateY(-3deg);
  overflow: hidden;
}

.output-dashboard-pro::before {
  display: none;
}

.report-side-nav {
  background: linear-gradient(180deg, #111827, #1f2937);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.report-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #f67214, #ff9f45);
  color: #fff;
  font: 900 13px/1 "Outfit", sans-serif;
  box-shadow: 0 12px 24px rgba(246, 114, 20, .28);
  margin-bottom: 6px;
}

.side-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
}

.side-dot.active {
  background: rgba(246, 114, 20, .22);
  border-color: rgba(246, 114, 20, .34);
}

.report-main-ui {
  min-width: 0;
  background: #f8fafc;
}

.report-topbar-pro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.report-kicker {
  display: block;
  color: #f67214;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.report-topbar-pro strong {
  color: #111827;
  font: 850 17px/1.15 "Outfit", sans-serif;
}

.report-ready-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.report-summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 16px 8px;
}

.report-stat {
  padding: 13px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.report-stat.primary {
  background: linear-gradient(135deg, #f67214, #ff9f45);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(246, 114, 20, .22);
}

.report-stat strong {
  display: block;
  color: inherit;
  font: 900 27px/1 "Outfit", sans-serif;
}

.report-stat:not(.primary) strong {
  color: #111827;
}

.report-stat span {
  display: block;
  margin-top: 4px;
  color: inherit;
  opacity: .76;
  font-size: 11px;
  font-weight: 800;
}

.report-body-grid {
  display: grid;
  grid-template-columns: 1.32fr .78fr;
  gap: 12px;
  padding: 8px 16px 12px;
}

.report-table-card,
.report-detail-card,
.mini-drawing-card,
.report-export-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .055);
}

.report-table-card {
  overflow: hidden;
}

.report-card-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid #eef2f7;
}

.report-card-title strong {
  color: #111827;
  font: 850 14px/1.2 "Outfit", sans-serif;
}

.report-card-title span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.report-table-head,
.report-table-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.25fr) 82px 58px;
  gap: 8px;
  align-items: center;
}

.report-table-head {
  padding: 10px 14px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.report-table-row {
  padding: 11px 14px;
  border-top: 1px solid #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}

.report-table-row.active {
  background: linear-gradient(90deg, rgba(246, 114, 20, .10), transparent);
}

.report-detail-card {
  padding: 15px;
}

.report-detail-card h3 {
  margin: 9px 0 8px;
  color: #111827;
  font: 900 19px/1.12 "Outfit", sans-serif;
}

.report-detail-card p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.52;
}

.detail-mini-grid {
  display: grid;
  gap: 8px;
}

.detail-mini-grid div {
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.detail-mini-grid small {
  display: block;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.detail-mini-grid strong {
  color: #111827;
  font: 800 12px/1.2 "Outfit", sans-serif;
}

.report-bottom-grid {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 12px;
  padding: 0 16px 16px;
}

.mini-drawing-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef4ff, #f8fafc);
}

.mini-drawing-grid {
  position: absolute;
  inset: 0;
}

.mini-room {
  position: absolute;
  border: 2px solid rgba(15, 23, 42, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .54);
}

.mini-room.room-a {
  left: 10%;
  top: 18%;
  width: 30%;
  height: 34%;
}

.mini-room.room-b {
  right: 12%;
  bottom: 14%;
  width: 30%;
  height: 34%;
}

.mini-route {
  position: absolute;
  border-radius: 999px;
  background: #111827;
}

.mini-route.route-a {
  left: 12%;
  top: 48%;
  width: 72%;
  height: 14px;
  transform: rotate(-7deg);
}

.mini-route.route-b {
  left: 54%;
  top: 22%;
  width: 14px;
  height: 58%;
  background: #f67214;
  transform: rotate(11deg);
}

.mini-pin {
  position: absolute;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: #ef4444;
  color: #fff;
  font: 900 10px/1 "Outfit", sans-serif;
  box-shadow: 0 10px 20px rgba(239, 68, 68, .25);
}

.mini-pin::first-letter {
  transform: rotate(45deg);
}

.pin-one {
  left: 58%;
  top: 32%;
}

.pin-two {
  left: 26%;
  top: 58%;
  background: #f59e0b;
}

.mini-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .88);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.report-export-card {
  padding: 16px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.report-export-card span {
  color: #fed7aa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.report-export-card strong {
  margin-top: 6px;
  font: 900 18px/1.15 "Outfit", sans-serif;
}

.report-export-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: 1.45;
}

.output-dashboard-pro .risk-badge {
  padding: 5px 7px;
  font-size: 10px;
}

@media (max-width: 1199px) {
  .output-redesign-grid {
    grid-template-columns: 1fr;
  }

  .output-redesign-visual {
    width: 100%;
  }

  .output-dashboard-pro {
    transform: none;
  }
}

@media (max-width: 760px) {
  .output-dashboard-pro {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .report-side-nav {
    display: none;
  }

  .report-topbar-pro {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-summary-row,
  .report-body-grid,
  .report-bottom-grid {
    grid-template-columns: 1fr;
  }

  .report-table-head {
    display: none;
  }

  .report-table-row {
    grid-template-columns: 1fr auto;
  }

  .report-table-row span:nth-child(2) {
    color: #64748b;
    font-size: 11px;
  }

  .mini-drawing-card {
    min-height: 170px;
  }

  /* Mobile optimization for checkpoint grid */
  .real-checkpoint-grid {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 12px 8px;
  }

  .real-cp-card {
    padding: 8px;
  }

  .real-cp-title {
    font-size: 9px;
  }

  .real-cp-count {
    font-size: 8px;
  }

  .real-cp-list li {
    font-size: 8px;
    line-height: 1.2;
  }

  .real-tag {
    font-size: 7px;
    padding: 2px 4px;
  }
}

@media (max-width: 480px) {
  .output-section-new.output-redesign {
    padding: 52px 0;
  }

  .output-value-card {
    grid-template-columns: 34px 1fr;
  }

  .report-summary-row,
  .report-body-grid,
  .report-bottom-grid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .report-topbar-pro {
    padding: 14px;
  }

  .report-stat strong {
    font-size: 24px;
  }
}


/* Section 6 reference-style report dashboard correction */
.report-reference-ui {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  width: min(100%, 820px);
  min-height: 520px;
  background: #f8fafc;
  border-radius: 24px;
  overflow: hidden;
  transform: rotateX(1.5deg) rotateY(-2deg);
}

.report-reference-ui::before {
  display: none;
}

.report-left-panel {
  background: #111827;
  padding: 18px 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.report-app-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f67214, #ff9f45);
  font: 900 15px/1 "Outfit", sans-serif;
  box-shadow: 0 12px 22px rgba(246, 114, 20, .28);
}

.report-nav-list {
  display: grid;
  gap: 8px;
}

.report-nav-list span {
  display: block;
  padding: 10px 11px;
  border-radius: 11px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 800;
}

.report-nav-list span.active {
  background: rgba(246, 114, 20, .18);
  color: #fff;
}

.report-screen {
  min-width: 0;
  padding: 16px;
}

.report-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}

.report-screen-header h3 {
  margin: 3px 0 0;
  color: #111827;
  font: 850 20px/1.15 "Outfit", sans-serif;
}

.report-screen-header button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #f67214;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.report-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.report-metric-strip div {
  padding: 13px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.report-metric-strip div:first-child {
  background: linear-gradient(135deg, #f67214, #ff9f45);
  border-color: transparent;
  color: #fff;
}

.report-metric-strip strong {
  display: block;
  color: inherit;
  font: 900 25px/1 "Outfit", sans-serif;
}

.report-metric-strip div:not(:first-child) strong {
  color: #111827;
}

.report-metric-strip span {
  display: block;
  margin-top: 5px;
  color: inherit;
  opacity: .72;
  font-size: 10.5px;
  font-weight: 800;
}

.report-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(210px, .78fr);
  gap: 12px;
}

.report-findings-panel,
.report-finding-detail {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}

.report-findings-panel {
  overflow: hidden;
}

.report-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid #eef2f7;
}

.report-panel-title strong {
  color: #111827;
  font: 850 15px/1.2 "Outfit", sans-serif;
}

.report-panel-title span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.report-data-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.report-data-head,
.report-data-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.25fr) 76px 58px 64px;
  gap: 8px;
  align-items: center;
}

.report-data-head {
  padding: 10px 15px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.report-data-row {
  padding: 12px 15px;
  border-top: 1px solid #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}

.report-data-row.selected {
  background: linear-gradient(90deg, rgba(246, 114, 20, .1), transparent);
  box-shadow: inset 3px 0 0 #f67214;
}

.report-data-row em {
  font-style: normal;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.report-finding-detail {
  padding: 16px;
}

.report-finding-detail h4 {
  margin: 10px 0 8px;
  color: #111827;
  font: 900 20px/1.12 "Outfit", sans-serif;
}

.report-finding-detail p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.55;
}

.detail-reference-list {
  display: grid;
  gap: 8px;
}

.detail-reference-list div {
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.detail-reference-list span {
  display: block;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.detail-reference-list strong {
  display: block;
  color: #111827;
  margin-top: 3px;
  font: 800 12.5px/1.2 "Outfit", sans-serif;
}

.report-footer-note {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.report-footer-note span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(246, 114, 20, .1);
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, .2);
  font-size: 11px;
  font-weight: 850;
}

@media (max-width: 1199px) {
  .report-reference-ui {
    transform: none;
  }
}

@media (max-width: 820px) {
  .report-reference-ui {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .report-left-panel {
    display: none;
  }

  .report-content-grid {
    grid-template-columns: 1fr;
  }

  .report-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .report-screen {
    padding: 12px;
  }

  .report-screen-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-data-head {
    display: none;
  }

  .report-data-row {
    grid-template-columns: 1fr auto;
  }

  .report-data-row span:nth-child(2),
  .report-data-row em {
    font-size: 11px;
    color: #64748b;
  }

  .report-metric-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* ========================================
   SECTION 7 â€” WORKFLOW SHIFT (DARK THEME)
   ======================================== */

.workflow-shift-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
  position: relative;
  overflow: hidden;
}

.workflow-shift-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(246, 114, 20, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(246, 114, 20, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Header */
.shift-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 1;
}

.section-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(246, 114, 20, 0.1);
  border: 2px solid rgba(246, 114, 20, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.badge-dot-orange {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  z-index: 3;
  animation: pulse 2s infinite;
}

.section-title-dark {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px;
}

.arrow-orange {
  color: var(--color-accent);
  font-weight: 400;
}

.title-highlight-orange {
  color: var(--color-accent);
}

.section-subtitle-dark {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Comparison Grid */
.comparison-grid-dark {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Cards - Dark */
.comparison-card-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.comparison-card-glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.before-card-dark {
  border-left: 3px solid rgba(239, 68, 68, 0.4);
}

.now-card-dark {
  border-left: 3px solid rgba(16, 185, 129, 0.6);
}

/* Card Labels */
.card-label-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  width: fit-content;
}

.before-label {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.now-label {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-label-dark svg {
  width: 14px;
  height: 14px;
}

/* Card Description */
.card-description-dark {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  font-style: italic;
}

/* Workflow Steps */
.workflow-steps-dark {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  flex: 1;
}

.workflow-item-dark {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.workflow-item-dark:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.item-icon-dark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.success-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.workflow-item-dark:hover .item-icon-dark {
  transform: scale(1.08);
}

.item-content-dark {
  flex: 1;
}

.item-content-dark h4 {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
}

.item-content-dark p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

/* Card Footer */
.card-footer-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
}

.negative-footer {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.positive-footer {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.card-footer-dark svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* VS Divider */
.vs-divider-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vs-circle-dark {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
  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: clamp(1.5rem, 5vw, 2.25rem);
  }

  .section-subtitle-dark {
    font-size: 14px;
  }

  .comparison-card-glass {
    padding: 20px 18px;
    min-height: auto;
  }

  .card-label-dark {
    font-size: 10px;
    padding: 5px 12px;
    gap: 7px;
  }

  .card-label-dark svg {
    width: 13px;
    height: 13px;
  }

  .workflow-item-dark {
    padding: 10px 12px;
  }

  .item-icon-dark {
    width: 32px;
    height: 32px;
  }

  .item-content-dark h4 {
    font-size: 13px;
  }

  .item-content-dark p {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .workflow-shift-section {
    padding: 50px 0;
  }

  .section-title-dark {
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  }

  .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)
   ======================================== */

.wim-section {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(246, 114, 20, 0.08), transparent 32%),
    radial-gradient(circle at 82% 75%, rgba(15, 23, 42, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff8f1 55%, #fffdfa 100%);
  overflow: hidden;
  isolation: isolate;
}

.wim-section .container {
  position: relative;
  z-index: 2;
}

.wim-bg-grid {
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: .55;
  z-index: 0;
}

.wim-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  z-index: 3;
  filter: blur(20px);
  opacity: .55;
  z-index: 1;
  pointer-events: none;
}

.wim-glow-one {
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  animation: wimGlowFloat 12s ease-in-out infinite;
}

.wim-glow-two {
  bottom: -200px;
  right: -140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
  animation: wimGlowFloat 15s ease-in-out infinite reverse;
}

@keyframes wimGlowFloat {
  50% {
    transform: translate(40px, -30px) scale(1.1);
  }
}

.wim-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
}

.wim-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.2);
  color: #f67214;
  font: 900 12px/1 "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.wim-badge-dot {
  width: 8px;
  height: 8px;
  z-index: 3;
  background: #f67214;
  animation: wimBadgePulse 2s ease-in-out infinite;
}

@keyframes wimBadgePulse {
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.wim-title {
  color: #111827;
  font: 800 clamp(1.75rem, 3.5vw, 2.75rem)/1.15 "Outfit", sans-serif;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.wim-title span {
  color: #f67214;
}

.wim-subtitle {
  color: #64748b;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.wim-story-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 0 64px;
}

.wim-drawing-panel,
.wim-impact-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.wim-panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-bottom: 1px solid #e2e8f0;
}

.wim-panel-topbar strong {
  color: #111827;
  font: 800 14px/1 "Outfit", sans-serif;
}

.wim-panel-topbar span {
  color: #64748b;
  font-size: 12px;
  margin-left: 8px;
}

.wim-panel-topbar em {
  padding: 4px 8px;
  border-radius: 6px;
  background: #dcfce7;
  color: #15803d;
  font: 900 10px/1 "Outfit", sans-serif;
  text-transform: uppercase;
  font-style: normal;
}

.wim-plan-canvas {
  position: relative;
  height: 280px;
  margin: 20px;
  border-radius: 20px;
  background: #102a4c;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.wim-plan-grid {
  position: absolute;
  inset: 16px;
}

.wim-room,
.wim-route {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.room-one {
  left: 20%;
  top: 25%;
  width: 25%;
  height: 35%;
  border-radius: 8px;
}

.room-two {
  right: 15%;
  top: 40%;
  width: 30%;
  height: 25%;
  border-radius: 8px;
}

.route-one {
  left: 45%;
  top: 20%;
  width: 4px;
  height: 60%;
  border-radius: 2px;
}

.route-two {
  left: 25%;
  bottom: 35%;
  width: 50%;
  height: 4px;
  border-radius: 2px;
}

.wim-risk-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 3;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  font: 900 11px/1 "Outfit", sans-serif;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.2), 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: wimRiskPulse 2.5s ease-in-out infinite;
}

.pin-rfi {
  left: 30%;
  top: 30%;
}

.pin-delay {
  right: 25%;
  top: 45%;
  animation-delay: 0.5s;
}

.pin-rework {
  left: 50%;
  bottom: 25%;
  animation-delay: 1s;
}

@keyframes wimRiskPulse {
  50% {
    transform: scale(1.1);
  }
}

.wim-scan-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f67214, transparent);
  animation: wimScanMove 3s ease-in-out infinite;
}

@keyframes wimScanMove {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

.wim-drawing-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
}

.wim-drawing-caption span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.wim-drawing-caption strong {
  color: #111827;
  font: 800 14px/1 "Outfit", sans-serif;
}

.wim-center-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.wim-flow-label {
  color: #f67214;
  font: 900 11px/1 "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.wim-flow-orb {
  width: 64px;
  height: 64px;
  z-index: 3;
  background: linear-gradient(135deg, #f67214, #ff9b4a);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 28px rgba(246, 114, 20, 0.3);
  animation: wimOrbFloat 3s ease-in-out infinite;
}

@keyframes wimOrbFloat {
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

.wim-flow-line {
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, rgba(246, 114, 20, 0), rgba(246, 114, 20, 0.8), rgba(246, 114, 20, 0));
}

.wim-impact-panel {
  padding: 24px;
}

.wim-impact-heading {
  margin-bottom: 20px;
}

.wim-impact-heading span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.wim-impact-heading strong {
  color: #111827;
  font: 800 18px/1.2 "Outfit", sans-serif;
}

.wim-risk-chips {
  display: grid;
  gap: 8px;
}

.wim-risk-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.wim-risk-chip b {
  width: 28px;
  height: 28px;
  z-index: 3;
  background: #ef4444;
  color: #fff;
  font: 900 10px/24px "Outfit", sans-serif;
  text-align: center;
}

.wim-risk-chip span {
  color: #111827;
  font-weight: 700;
  font-size: 13px;
}

.wim-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.wim-help-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.wim-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f67214, #ff9b4a);
  color: #fff;
  font: 900 16px/1 "Outfit", sans-serif;
  margin-bottom: 16px;
}

.wim-help-card h3 {
  color: #111827;
  font: 800 18px/1.3 "Outfit", sans-serif;
  margin: 0 0 8px;
}

.wim-help-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.wim-bottom-statement {
  text-align: center;
  padding: 24px;
  border-radius: 20px;
  background: rgba(246, 114, 20, 0.06);
  border: 1px solid rgba(246, 114, 20, 0.15);
}

.wim-bottom-statement span {
  display: block;
  color: #f67214;
  font: 900 12px/1 "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.wim-bottom-statement strong {
  color: #111827;
  font: 800 clamp(1.1rem, 2vw, 1.4rem)/1.3 "Outfit", sans-serif;
}

.wim-section [data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wim-section [data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .wim-story-board {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wim-center-flow {
    flex-direction: row;
    justify-content: center;
  }

  .wim-flow-line {
    width: min(42vw, 280px);
    height: 2px;
    background: linear-gradient(90deg, rgba(246, 114, 20, 0), rgba(246, 114, 20, .75), rgba(246, 114, 20, 0));
  }

  .wim-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wim-section {
    padding: 60px 0;
  }

  .wim-title br {
    display: none;
  }

  .wim-panel-topbar,
  .wim-drawing-caption,
  .wim-bottom-statement {
    flex-direction: column;
    align-items: flex-start;
  }

  .wim-panel-topbar em {
    align-self: flex-start;
  }

  .wim-plan-canvas {
    min-height: 260px;
    border-radius: 18px;
  }

  .wim-center-flow {
    gap: 10px;
  }

  .wim-flow-orb {
    width: 58px;
    height: 58px;
  }

  .wim-help-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  .wim-badge-dot,
  .wim-risk-pin,
  .wim-scan-line,
  .wim-flow-orb {
    animation: none;
  }

  .wim-section [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.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%);
  z-index: 3;
  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%);
  z-index: 3;
  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);
  z-index: 3;
  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.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  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(59, 130, 246, 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(59, 130, 246, 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: 28px;
    height: 28px;
  }

  .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 - BUILT FOR CONSTRUCTION PROJECT WORKFLOWS
   Redesigned Email AI workflow section
   ======================================== */

.workflow-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(246, 114, 20, 0.13), transparent 30%),
    radial-gradient(circle at 90% 78%, rgba(15, 23, 42, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fff8f1 54%, #fffdfa 100%);
}

.workflow-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.workflow-header {
  max-width: 900px;
  margin: 0 auto clamp(32px, 5vw, 58px);
  text-align: center;
}

.workflow-title {
  max-width: 860px;
  margin-inline: auto;
}

.workflow-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #5f6c7b;
  font-size: clamp(1rem, 1.55vw, 1.14rem);
  line-height: 1.72;
  font-weight: 550;
}

.workflow-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}

.workflow-audience-card,
.workflow-visual-card,
.workflow-systems {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.085);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.workflow-audience-card {
  border-radius: 30px;
  padding: clamp(22px, 3vw, 32px);
}

.workflow-card-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, 0.22);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-roles {
  display: grid;
  gap: 12px;
}

.workflow-role {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #fff8f2);
  border: 1px solid rgba(15, 23, 42, 0.075);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.workflow-role:hover {
  transform: translateX(6px);
  border-color: rgba(246, 114, 20, 0.25);
  box-shadow: 0 14px 30px rgba(246, 114, 20, 0.1);
}

.workflow-role span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f67214, #ff9f45);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(246, 114, 20, 0.24);
}

.workflow-role h3 {
  margin: 0 0 4px;
  font-family: "Outfit", sans-serif;
  color: #111827;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.workflow-role p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.workflow-visual-card {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(246, 114, 20, 0.18), transparent 34%),
    linear-gradient(135deg, #0e1b31, #132945 54%, #08101f);
  border-color: rgba(255, 255, 255, 0.12);
}

.workflow-window-top {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.workflow-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 17px 0 0 rgba(255, 255, 255, 0.25), 34px 0 0 rgba(255, 255, 255, 0.18);
}

.workflow-window-top strong {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
}

.workflow-window-top em {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.workflow-hub {

  min-height: 280px;
  padding: 20px 16px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-hub::before,
.workflow-hub::after {
  content: "";
  position: absolute;
  inset: 50% 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.5), transparent);
}

.workflow-hub::after {
  transform: rotate(90deg);
}

.workflow-center-node {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: min(48%, 205px);
  padding: 15px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(246, 114, 20, 0.08);
}

.workflow-center-node small {
  display: inline-flex;
  margin-bottom: 6px;
  color: #f67214;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-center-node strong {
  display: block;
  font-family: "Outfit", sans-serif;
  color: #0f172a;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1.1;
}

.workflow-system-tile {
  position: absolute;
  z-index: 3;
  width: 136px;
  padding: 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.workflow-system-tile b {
  display: block;
  margin-bottom: 3px;
  font-family: "Outfit", sans-serif;
  font-size: 13.5px;
}

.workflow-system-tile small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10.8px;
  line-height: 1.35;
}

.tile-rfi { left: 8%; top: 15%; }
.tile-drawings { right: 8%; top: 17%; }
.tile-submittals { left: 9%; bottom: 15%; }
.tile-files { right: 8%; bottom: 14%; }

.workflow-systems {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 26px;
}

.workflow-systems-copy span {
  display: block;
  margin-bottom: 8px;
  color: #f67214;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-systems-copy strong {
  display: block;
  font-family: "Outfit", sans-serif;
  color: #0f172a;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.16;
}

.workflow-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.workflow-system-pill {
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
}

@media (max-width: 1080px) {
  .workflow-showcase,
  .workflow-systems {
    grid-template-columns: 1fr;
  }

  .workflow-visual-card {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }

  .workflow-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .workflow-section {
    padding: 54px 0;
  }

  .workflow-header {
    text-align: left;
    margin-bottom: 26px;
  }

  .workflow-title {
    margin-inline: 0;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .workflow-subtitle {
    margin-inline: 0;
    font-size: 1rem;
  }

  .workflow-audience-card,
  .workflow-visual-card,
  .workflow-systems {
    border-radius: 22px;
  }

  .workflow-audience-card {
    padding: 18px;
  }

  .workflow-role {
    grid-template-columns: 44px 1fr;
    padding: 12px;
    border-radius: 16px;
  }

  .workflow-role:hover {
    transform: none;
  }

  .workflow-role span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 10px;
  }

  .workflow-role h3 {
    font-size: 15.5px;
    font-weight: 900;
  }

  .workflow-role p {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
  }

  .workflow-window-top {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .workflow-window-top span {
    box-shadow: 15px 0 0 rgba(255, 255, 255, 0.25);
  }

  .workflow-window-top em {
    display: none;
  }

  .workflow-hub {
    position: relative;
    min-height: 420px;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .workflow-hub::before,
  .workflow-hub::after {
    content: "";
    position: absolute;
    inset: 50% 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.4), transparent);
  }

  .workflow-hub::after {
    transform: rotate(90deg);
  }

  .workflow-center-node {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: min(70%, 240px);
    padding: 16px 14px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(246, 114, 20, 0.08);
  }

  .workflow-center-node small {
    font-size: 9px;
    margin-bottom: 5px;
  }

  .workflow-center-node strong {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .workflow-system-tile {
    position: absolute;
    z-index: 3;
    width: min(42%, 160px);
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  }

  .workflow-system-tile b {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .workflow-system-tile small {
    font-size: 10px;
    line-height: 1.3;
  }

  .tile-rfi { 
    left: 4%; 
    top: 8%; 
  }
  
  .tile-drawings { 
    right: 4%; 
    top: 10%; 
  }
  
  .tile-submittals { 
    left: 4%; 
    bottom: 8%; 
  }
  
  .tile-files { 
    right: 4%; 
    bottom: 10%; 
  }

  .workflow-systems {
    padding: 18px;
  }

  .workflow-system-grid {
    grid-template-columns: 1fr;
  }

  .workflow-system-pill {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-role {
    transition: none;
  }
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.breadcrumb-nav {
  margin-bottom: 40px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  position: relative;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--color-accent);
}

.breadcrumb-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
  width: 100%;
}

.breadcrumb-separator {
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
  user-select: none;
}

.breadcrumb-current {
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb-link-current {
  position: relative;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
}

.breadcrumb-link-current::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}

/* ========================================
   BREADCRUMB IN CTA SECTION (DARK THEME)
   ======================================== */

.breadcrumb-cta {
  margin-top: 48px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.breadcrumb-cta.breadcrumb-left {
  justify-content: flex-start;
}

.breadcrumb-cta .breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-cta .breadcrumb-link:hover {
  color: var(--color-accent);
}

.breadcrumb-cta .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-cta .breadcrumb-link-current {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-cta .breadcrumb-link-current::after {
  background: var(--color-accent);
}

.breadcrumb-cta .breadcrumb-link-current-plain {
  position: relative;
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* Responsive styles for breadcrumb in CTA */
@media (max-width: 767px) {
  .breadcrumb-cta {
    margin-top: 36px;
  }

  .breadcrumb-cta .breadcrumb-link,
  .breadcrumb-cta .breadcrumb-link-current,
  .breadcrumb-cta .breadcrumb-link-current-plain {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .breadcrumb-cta {
    margin-top: 32px;
  }

  .breadcrumb-cta .breadcrumb-link,
  .breadcrumb-cta .breadcrumb-link-current,
  .breadcrumb-cta .breadcrumb-link-current-plain {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-nav {
    margin-bottom: 25px;
    padding: 0 16px;
  }

  .breadcrumb-list {
    gap: 6px;
  }

  .breadcrumb-link,
  .breadcrumb-separator,
  .breadcrumb-current {
    font-size: 11px;
  }
}

/* ========================================
   SECTION 9 â€” FINAL CTA (DARK THEME)
   ======================================== */

.final-cta-dark {
  position: relative;
  padding: 100px 0 0 0;
  background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
  overflow: hidden;
}

/* Animated Stars Background */
.cta-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 200%;
  animation: starsMove 60s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes starsMove {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

/* Glowing Orbs */
.cta-glow-orb {
  position: absolute;
  z-index: 3;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.cta-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.4), transparent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.cta-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.3), transparent);
  bottom: -150px;
  left: -100px;
  animation-delay: 2s;
}

.cta-glow-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(246, 114, 20, 0.25), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Content */
.cta-content-dark {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

/* Badge */
.cta-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(246, 114, 20, 0.1);
  border: 2px solid rgba(246, 114, 20, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 32px;
  box-shadow: 0 0 30px rgba(246, 114, 20, 0.2);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(246, 114, 20, 0.2);
  }

  50% {
    box-shadow: 0 0 50px rgba(246, 114, 20, 0.4);
  }
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  z-index: 3;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 114, 20, 0.7);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(246, 114, 20, 0);
  }
}

/* Title */
.cta-title-dark {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Subtitle */
.cta-subtitle-dark {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 48px;
  line-height: 1.6;
  font-weight: 500;
}

.cta-accent-text {
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

/* Button Group */
.cta-button-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* Primary Button with Shine Effect */
.btn-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--color-accent), #ff8c42);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 0 0 0 rgba(246, 114, 20, 0.4),
    0 12px 40px rgba(246, 114, 20, 0.4),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1;
}

/* Shine Effect */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-cta-primary:hover .btn-shine {
  left: 100%;
}

.btn-cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 0 0 8px rgba(246, 114, 20, 0.2),
    0 20px 60px rgba(246, 114, 20, 0.6),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:active {
  transform: translateY(-2px) scale(1);
}

.btn-cta-primary svg {
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover svg {
  transform: translateX(5px);
}

/* Note */
.cta-note-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 500;
}

.cta-note-dark svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .final-cta-dark {
    padding: 80px 0 0 0;
  }

  .cta-badge-dark {
    margin-bottom: 28px;
  }

  .cta-title-dark {
    margin-bottom: 20px;
  }

  .cta-subtitle-dark {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .final-cta-dark {
    padding: 70px 0 0 0;
  }

  .cta-badge-dark {
    padding: 8px 20px;
    font-size: 11px;
    margin-bottom: 24px;
  }

  .cta-title-dark {
    margin-bottom: 18px;
  }

  .cta-subtitle-dark {
    margin-bottom: 36px;
  }

  .btn-cta-primary {
    padding: 18px 40px;
    font-size: 17px;
  }

  .cta-button-group {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 575px) {
  .final-cta-dark {
    padding: 60px 0 0 0;
  }

  .cta-badge-dark {
    padding: 7px 18px;
    font-size: 10px;
  }

  .btn-cta-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 36px;
    font-size: 16px;
  }

  .cta-note-dark {
    font-size: 13px;
  }

  .cta-glow-1,
  .cta-glow-2,
  .cta-glow-3 {
    filter: blur(60px);
  }
}

/* Responsive Sections 6-9 */
@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vs-divider {
    transform: rotate(90deg);
  }
}

@media (max-width: 767px) {

  .workflow-shift-section,
  .why-matters-section {
    padding: 60px 0;
  }
}

@media (max-width: 575px) {
  .comparison-card {
    padding: 24px;
  }

  .impact-statement {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}



/* ========================================
   SECTION 6 OUTPUT REDESIGN OVERRIDES
   Constructability findings report UI
   ======================================== */

.output-section-new.output-redesign {
  isolation: isolate;
}

.output-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(246, 114, 20, 0.12), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(15, 23, 42, 0.08), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

.output-redesign .container {
  position: relative;
  z-index: 1;
}

.output-redesign-copy {
  padding-right: 0;
}

.output-redesign .output-title {
  max-width: 540px;
}

.output-redesign .output-title .title-accent {
  color: #f67214;
}

.output-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.2);
  color: #f67214;
  font-size: 11px;
  font-weight: 850;
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  z-index: 3;
  background: #f67214;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.output-redesign .output-subtitle {
  max-width: 520px;
  margin-bottom: 28px;
}

.output-value-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.output-value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.output-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 114, 20, 0.32);
  box-shadow: 0 18px 42px rgba(246, 114, 20, 0.12);
}

.value-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.16), rgba(246, 114, 20, 0.06));
  color: var(--color-accent);
  font: 800 13px/1 "Outfit", sans-serif;
  border: 1px solid rgba(246, 114, 20, 0.24);
}

.output-value-card h4 {
  margin: 0 0 4px;
  color: #1e293b;
  font: 800 17px/1.25 "Outfit", sans-serif;
}

.output-value-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.output-workflow-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(246, 114, 20, .06);
  border: 1px solid rgba(246, 114, 20, .15)
}

.output-workflow-note p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  text-align: center
}

.output-workflow-note strong {
  color: #111827
}

@media(max-width:575px) {
  .output-workflow-note {
    padding: 14px 16px
  }

  .output-workflow-note p {
    font-size: 14px
  }
}

.output-proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.output-proof-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  border: 1px solid rgba(246, 114, 20, 0.2);
  color: #f67214;
  font: 700 12px/1 "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .output-proof-tags {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .output-proof-tags span {
    padding: 8px 12px;
    font-size: 11px;
  }
}

.output-redesign-visual {
  height: auto;
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.findings-workspace {
  width: min(100%, 760px);
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  transform: rotateX(2deg) rotateY(-4deg);
  animation: outputFloatIn 0.9s var(--ease-standard) both;
}

.findings-workspace::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(246, 114, 20, 0.08), transparent 34%);
  pointer-events: none;
}

.workspace-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid #e2e8f0;
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  font: 900 15px/1 "Outfit", sans-serif;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.workspace-brand strong {
  display: block;
  color: #111827;
  font: 800 16px/1.2 "Outfit", sans-serif;
}

.workspace-brand small {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 3px;
}

.workspace-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sync-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  z-index: 3;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  animation: outputPulse 1.8s infinite;
}

.workspace-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 20px 8px;
}

.metric-card {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.metric-card.primary {
  background: linear-gradient(135deg, var(--color-accent), #ff9b54);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 34px rgba(246, 114, 20, 0.24);
}

.metric-card strong {
  display: block;
  color: inherit;
  font: 900 clamp(24px, 4vw, 34px)/1 "Outfit", sans-serif;
}

.metric-card:not(.primary) strong {
  color: #111827;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: inherit;
  opacity: 0.78;
  font-size: 12px;
  font-weight: 700;
}

.findings-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  padding: 12px 20px 18px;
}

.drawing-report-card,
.issue-detail-card,
.findings-table-output {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.drawing-report-card {
  overflow: hidden;
}

.drawing-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
}

.drawing-card-head b {
  display: block;
  color: #111827;
  font: 800 14px/1.2 "Outfit", sans-serif;
}

.drawing-card-head span,
.drawing-card-head em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.drawing-card-head em {
  color: var(--color-accent);
}

.drawing-canvas-output {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
}

.drawing-grid-output {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

.duct-route {
  position: absolute;
  background: rgba(15, 23, 42, 0.74);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.route-main {
  left: 12%;
  top: 45%;
  width: 72%;
  height: 18px;
  transform: rotate(-8deg);
}

.route-cross {
  left: 54%;
  top: 20%;
  width: 18px;
  height: 60%;
  transform: rotate(12deg);
  background: rgba(246, 114, 20, 0.78);
}

.room-block {
  position: absolute;
  border: 2px solid rgba(15, 23, 42, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.room-a {
  left: 10%;
  top: 16%;
  width: 30%;
  height: 28%;
}

.room-b {
  right: 10%;
  bottom: 14%;
  width: 28%;
  height: 30%;
}

.drawing-label {
  position: absolute;
  left: 14%;
  bottom: 18%;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.risk-pin-output {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  color: #fff;
  font: 900 11px/1 "Outfit", sans-serif;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
  animation: pinPop 2.8s infinite;
}

.risk-pin-output::before {
  content: attr(class);
  display: none;
}

.risk-pin-output.high {
  background: #ef4444;
}

.risk-pin-output.medium {
  background: #f59e0b;
}

.risk-pin-output {
  color: transparent;
}

.risk-pin-output::after {
  content: attr(data-label);
}

.risk-pin-output.pin-a::after {
  content: "H1";
  color: #fff;
  transform: rotate(45deg);
}

.risk-pin-output.pin-b::after {
  content: "M2";
  color: #fff;
  transform: rotate(45deg);
}

.risk-pin-output.pin-c::after {
  content: "H3";
  color: #fff;
  transform: rotate(45deg);
}

.pin-a {
  left: 57%;
  top: 35%;
}

.pin-b {
  left: 25%;
  top: 54%;
  animation-delay: .35s;
}

.pin-c {
  right: 18%;
  top: 58%;
  animation-delay: .7s;
}

.scan-beam-output {
  position: absolute;
  inset: -20% auto -20% 0;
  width: 80px;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.22), transparent);
  transform: skewX(-12deg);
  animation: scanOutput 4s linear infinite;
}

.issue-detail-card {
  padding: 18px;
  align-self: stretch;
}

.issue-detail-head {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.issue-detail-head b {
  color: #111827;
  font: 900 22px/1.14 "Outfit", sans-serif;
}

.severity-pill,
.risk-badge {
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.severity-pill {
  padding: 7px 10px;
}

.severity-pill.high,
.risk-badge.high {
  background: #fee2e2;
  color: #b91c1c;
}

.risk-badge.medium {
  background: #fef3c7;
  color: #92400e;
}

.issue-detail-card p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.issue-meta-grid {
  display: grid;
  gap: 10px;
}

.issue-meta-grid div {
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.issue-meta-grid span {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.issue-meta-grid strong {
  display: block;
  color: #111827;
  margin-top: 3px;
  font: 800 13px/1.2 "Outfit", sans-serif;
}

.findings-table-output {
  margin: 0 20px 20px;
  overflow: hidden;
}

.findings-table-head,
.findings-row-output {
  display: grid;
  grid-template-columns: minmax(170px, 1.4fr) minmax(105px, .8fr) minmax(72px, .55fr) minmax(96px, .75fr);
  gap: 12px;
  align-items: center;
}

.findings-table-head {
  padding: 12px 16px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.findings-row-output {
  padding: 13px 16px;
  border-top: 1px solid #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.findings-row-output.active {
  background: linear-gradient(90deg, rgba(246, 114, 20, 0.08), transparent);
}

.risk-badge {
  display: inline-flex;
  padding: 5px 8px;
}

.floating-report-card {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  min-width: 190px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(14px);
  animation: floatCard 4.5s ease-in-out infinite;
}

.floating-report-card span {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.floating-report-card strong {
  display: block;
  margin-top: 5px;
  font: 900 15px/1.2 "Outfit", sans-serif;
}

.card-one {
  left: -18px;
  top: 16%;
}

.card-two {
  right: -10px;
  bottom: 12%;
  animation-delay: 1.2s;
}

@keyframes outputFloatIn {
  from {
    opacity: 0;
    transform: translateY(34px) rotateX(8deg) rotateY(-10deg) scale(.96);
  }

  to {
    opacity: 1;
    transform: rotateX(2deg) rotateY(-4deg) scale(1);
  }
}

@keyframes outputPulse {
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

@keyframes pinPop {

  0%,
  100% {
    scale: 1;
  }

  50% {
    scale: 1.12;
  }
}

@keyframes scanOutput {
  from {
    left: -20%;
  }

  to {
    left: 120%;
  }
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1199px) {
  .output-redesign-grid {
    grid-template-columns: 1fr;
  }

  .output-redesign-copy {
    text-align: center;
    align-items: center;
  }

  .output-redesign .output-title,
  .output-redesign .output-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .output-value-stack {
    max-width: 760px;
    width: 100%;
  }

  .output-redesign-visual {
    min-height: auto;
    padding: 18px 0 8px;
  }
}

@media (max-width: 767px) {
  .output-section-new.output-redesign {
    padding: 64px 0;
  }

  .output-redesign .output-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  .findings-workspace {
    transform: none;
    border-radius: 22px;
  }

  .workspace-topbar,
  .workspace-metrics,
  .findings-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .workspace-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-metrics,
  .findings-layout {
    grid-template-columns: 1fr;
  }

  .drawing-canvas-output {
    height: 230px;
  }

  .findings-table-output {
    margin: 0 14px 16px;
  }

  .findings-table-head {
    display: none;
  }

  .findings-row-output {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 12px;
  }

  .floating-report-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 320px);
    margin: 12px auto 0;
  }
}

@media (max-width: 480px) {
  .output-value-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .workspace-brand strong {
    font-size: 14px;
  }

  .metric-card {
    padding: 14px;
  }

  .findings-row-output {
    grid-template-columns: 1fr;
  }

  .issue-detail-head b {
    font-size: 19px;
  }
}


/* ROOT VARIABLES */
:root {
  --orange: #f67214;
  --orange-light: #ff8a50;
  --orange-glow: rgba(246, 114, 20, .15);
  --bg-white: #fff;
  --bg-soft: #fafbfc;
  --bg-glow: #fff8f4;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, .12)
}

/* Scoped box-sizing for hero elements only */
.premium-hero *,
.premium-hero *::before,
.premium-hero *::after {
  box-sizing: border-box
}

.premium-hero {
  font-family: "Outfit", sans-serif;
  -webkit-font-smoothing: antialiased
}

/* HERO */
.premium-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #fff 0%, #fff8f4 50%, #fafbfc 100%);
  overflow: hidden
}

.premium-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: glowFloat 20s ease-in-out infinite
}

.premium-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 440px;
  background: radial-gradient(circle, rgba(246, 114, 20, .08) 0%, transparent 70%);
  pointer-events: none;
  animation: glowFloat 25s ease-in-out infinite reverse
}

@keyframes glowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, -30px) scale(1.1)
  }
}

/* CONTAINER & GRID */
.premium-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px
}

.premium-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 60px;
  align-items: center
}

/* BADGE */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 114, 20, .2);
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(246, 114, 20, .1)
}

.premium-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(246, 114, 20, .7)
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(246, 114, 20, 0)
  }
}

.premium-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange)
}

/* HEADLINE */
.premium-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-primary);
  margin: 0 0 20px
}

.premium-headline-highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.premium-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 36px;
  max-width: 92%
}

/* STEPS */
.premium-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px
}

.premium-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.premium-step:hover {
  background: rgba(255, 255, 255, .9);
  border-color: rgba(246, 114, 20, .3);
  box-shadow: 0 8px 24px rgba(246, 114, 20, .12);
  transform: translateX(4px)
}

.premium-step.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(246, 114, 20, .02));
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(246, 114, 20, .15)
}

.premium-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all .3s ease
}

.premium-step.active .premium-step-number {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(246, 114, 20, .3)
}

.premium-step-content {
  flex: 1
}

.premium-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 3px
}

.premium-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5
}

/* CTA */
.premium-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(246, 114, 20, .25);
  transition: all .3s ease
}

.premium-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(246, 114, 20, .35)
}

.premium-cta-icon {
  transition: transform .3s ease
}

.premium-cta:hover .premium-cta-icon {
  transform: translateX(4px)
}

/* DASHBOARD WRAPPER */
.premium-dashboard-wrapper {
  position: relative
}

/* ====== REAL DASHBOARD ====== */
.real-dashboard {
  position: relative;
  width: 100%;
  height: 580px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .14);
  overflow: hidden;
  transition: all .6s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column
}

.real-dashboard:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, .18);
  transform: translateY(-4px)
}

/* TOP NAV */
.real-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0
}

.real-logo {
  display: flex;
  align-items: center;
  gap: 7px
}

.real-logo-icon {
  flex-shrink: 0
}

.real-logo-text {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -.3px
}

.real-logo-ai {
  color: var(--orange)
}

.real-nav-crumb {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
  justify-content: center
}

.real-nav-link {
  color: var(--text-secondary)
}

.real-nav-sep {
  color: var(--text-muted)
}

.real-nav-project {
  color: var(--text-primary);
  font-weight: 600
}

.real-nav-id {
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px
}

.real-help-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer
}

/* DASHBOARD BODY */
.real-body {
  position: relative !important;
  flex: 1 !important;
  overflow: hidden !important;
  min-height: 0 !important;
}

/* SIDEBAR */
.real-sidebar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 160px !important;
  z-index: 1 !important;
  background: #f8f9fa;
  border-right: 1px solid #e2e8f0;
  padding: 14px 12px;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.real-sidebar::-webkit-scrollbar {
  width: 3px
}

.real-sidebar::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px
}

.real-sb-section-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px
}

.real-sb-skill-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer
}

.real-sb-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 2px 0
}

.real-sb-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.real-sb-icons {
  display: flex;
  gap: 8px;
  color: var(--text-muted)
}

.real-sb-tabs {
  display: flex;
  gap: 4px
}

.real-sb-tab {
  flex: 1;
  padding: 5px 4px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s ease;
  text-align: center
}

.real-sb-tab.active {
  background: #fff;
  border-color: var(--orange);
  color: var(--orange)
}

.real-sb-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 10px;
  color: var(--text-secondary);
  cursor: pointer
}

.real-sb-status-text {
  font-size: 10px;
  color: var(--text-muted);
  padding: 5px 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px
}

.real-sb-create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease
}

.real-sb-create-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 114, 20, .3)
}

.real-sb-reviews {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto
}

.real-sb-review-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease
}

.real-sb-review-item:hover {
  background: rgba(0, 0, 0, .03)
}

.real-sb-review-item.active {
  background: rgba(246, 114, 20, .08);
  border-left: 2px solid var(--orange)
}

.real-sb-review-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
  margin-top: 4px
}

.real-sb-review-dot.active {
  background: var(--orange)
}

.real-sb-review-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4
}

.real-sb-review-date {
  font-size: 9px;
  color: var(--text-muted)
}

/* MAIN AREA */
.real-main {
  position: absolute !important;
  top: 0 !important;
  left: 160px !important;
  right: 0 !important;
  bottom: 0 !important;
  background: #fff;
  overflow: hidden !important;
}

.real-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: all .55s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden
}

.real-view::-webkit-scrollbar {
  width: 3px
}

.real-view::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px
}

.real-view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.real-view-inner {
  padding: 16px 18px;
  min-height: 100%
}

/* TOPBAR inside views */
.real-view-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px
}

.real-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary)
}

.real-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .6;
    transform: scale(1.3)
  }
}

.real-time-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 4px
}

.real-report-actions {
  display: flex;
  gap: 6px
}

.real-export-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer
}

.real-back-btn {
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  color: var(--text-secondary);
  cursor: pointer
}

/* CARD */
.real-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  overflow: hidden
}

.real-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9
}

.real-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary)
}

.real-close-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1
}

.real-section-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px 4px
}

.real-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc
}

/* UPLOAD TABS */
.real-upload-tabs {
  display: flex;
  gap: 6px;
  padding: 0 16px 8px
}

.real-upload-tab {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s ease
}

.real-upload-tab.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange)
}

/* FILE LIST */
.real-file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 8px
}

.real-file-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  transition: all .3s ease;
  opacity: 0;
  transform: translateY(12px)
}

.real-file-card.visible {
  opacity: 1;
  transform: translateY(0)
}

.real-file-card.scanning {
  border-color: var(--orange);
  background: #fffbf5
}

.real-file-card.done {
  border-color: #22c55e;
  background: #f0fdf4
}

.real-file-cb {
  width: 14px;
  height: 14px;
  accent-color: var(--orange);
  flex-shrink: 0
}

.real-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  flex-shrink: 0
}

.real-file-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px
}

.real-file-meta {
  font-size: 9px;
  color: var(--text-muted)
}

.real-file-status {
  font-size: 9px;
  font-weight: 700;
  margin-left: auto
}

.real-file-status.scanning-text {
  color: var(--orange)
}

.real-file-status.done-text {
  color: #16a34a
}

/* SCAN BAR */
.real-scan-bar {
  height: 2px;
  background: #e2e8f0;
  border-radius: 1px;
  margin-top: 4px;
  overflow: hidden;
  display: none
}

.real-scan-bar.active {
  display: block
}

.real-scan-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 1px;
  width: 0;
  transition: width 1.2s ease
}

/* PRIMARY BUTTON */
.real-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(246, 114, 20, .3);
  transition: all .3s ease
}

.real-primary-btn:hover {
  transform: translateY(-1px)
}


/* PROMPT BOX */
.real-prompt-box {
  position: relative;
  margin: 0 16px 4px;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 10px 12px;
  min-height: 60px
}

.real-prompt-text {
  display: inline;
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.6;
  word-break: break-word
}

.real-prompt-caret {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  background: var(--text-primary);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: caretBlink .8s step-end infinite
}

@keyframes caretBlink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.real-prompt-grammarly {
  position: absolute;
  bottom: 8px;
  right: 10px;
  opacity: .7
}

.real-prompt-actions {
  display: flex;
  justify-content: flex-end;
  padding: 4px 16px 8px
}

.real-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(246, 114, 20, .3)
}

/* CHECKPOINTS */
.real-checkpoints-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 4px
}

.real-check-all-btn {
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer
}

.real-checkpoint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 10px
}

.real-cp-card {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 10px;
  transition: all .3s ease;
  opacity: 0;
  transform: translateY(10px)
}

.real-cp-card.visible {
  opacity: 1;
  transform: translateY(0)
}

.real-cp-card.active {
  background: #fffbf5;
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(246, 114, 20, .12)
}

.real-cp-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap
}

.real-cp-cb {
  width: 12px;
  height: 12px;
  accent-color: var(--orange);
  flex-shrink: 0
}

.real-cp-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  line-height: 1.3
}

.real-cp-count {
  font-size: 9px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(246, 114, 20, .1);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap
}

.real-cp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px
}

.real-cp-list li {
  font-size: 9px;
  color: var(--text-secondary);
  line-height: 1.4
}

.real-cp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px
}

.real-tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600
}

.real-tag.orange {
  background: rgba(246, 114, 20, .12);
  color: var(--orange)
}

.real-tag.blue {
  background: #dbeafe;
  color: #1e40af
}

.real-tag.gray {
  background: #e2e8f0;
  color: var(--text-secondary)
}

/* GENERATE BUTTON */
.real-generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(246, 114, 20, .3);
  transition: all .3s ease
}

.real-generate-btn:hover {
  transform: translateY(-1px)
}

/* STATS ROW */
.real-stats-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  padding: 10px 16px 0
}

.real-stat {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1.5px solid transparent
}

.real-stat.total {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-color: transparent;
  color: #fff
}

.real-stat.critical {
  background: #fff;
  border-color: #fca5a5
}

.real-stat.high {
  background: #fff;
  border-color: #fdba74
}

.real-stat.medium {
  background: #fff;
  border-color: #93c5fd
}

.real-stat.low {
  background: #fff;
  border-color: #86efac
}

.real-stat-num {
  font-size: 20px;
  font-weight: 900;
  line-height: 1
}

.real-stat.critical .real-stat-num {
  color: #dc2626
}

.real-stat.high .real-stat-num {
  color: #ea580c
}

.real-stat.medium .real-stat-num {
  color: #2563eb
}

.real-stat.low .real-stat-num {
  color: #16a34a
}

.real-stat-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: 3px;
  opacity: .8
}

/* SEARCH BAR */
.real-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 8px;
  padding: 7px 10px;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 7px
}

.real-search-placeholder {
  font-size: 10px;
  color: var(--text-muted);
  flex: 1
}

.real-filters {
  display: flex;
  gap: 6px
}

.real-filter {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 3px 7px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap
}

/* REPORT PANELS */
.real-report-panels {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 0;
  height: calc(100% - 140px);
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  margin: 0 16px
}

/* FINDINGS LIST */
.real-findings-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto
}

.real-findings-list::-webkit-scrollbar {
  width: 3px
}

.real-findings-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px
}

.real-finding-row {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all .25s ease;
  opacity: 0;
  transform: translateX(-10px)
}

.real-finding-row.visible {
  opacity: 1;
  transform: translateX(0)
}

.real-finding-row.active {
  background: #fafbff;
  border-left: 3px solid var(--orange)
}

.real-finding-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px
}

.real-finding-id {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted)
}

.real-sev-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase
}

.real-sev-badge.high {
  background: #fee2e2;
  color: #991b1b
}

.real-sev-badge.medium {
  background: #dbeafe;
  color: #1e40af
}

.real-trade-badge {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  background: #f1f5f9;
  border-radius: 3px;
  color: var(--text-secondary)
}

.real-finding-text {
  font-size: 9px;
  color: var(--text-secondary);
  line-height: 1.5
}

/* DETAIL PANEL */
.real-detail-panel {
  padding: 12px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(10px);
  transition: all .5s ease
}

.real-detail-panel::-webkit-scrollbar {
  width: 3px
}

.real-detail-panel::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px
}

.real-detail-panel.visible {
  opacity: 1;
  transform: translateX(0)
}

.real-detail-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  flex-wrap: wrap
}

.real-confidence {
  font-size: 9px;
  color: var(--text-muted);
  margin-left: auto
}

.real-detail-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px
}

.real-detail-doc {
  font-size: 9px;
  color: var(--text-muted);
  margin-bottom: 8px
}

.real-detail-section-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 8px 0 3px
}

.real-detail-text {
  font-size: 9px;
  color: var(--text-secondary);
  line-height: 1.6
}

.real-detail-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.real-detail-bullets li {
  font-size: 9px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 10px;
  position: relative
}

.real-detail-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange)
}

.real-evidence-box {
  padding: 8px 10px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 6px;
  font-size: 9px;
  color: #78350f;
  line-height: 1.6;
  font-style: italic;
  transition: all .4s ease
}

.real-evidence-box.highlighted {
  background: #fef08a;
  border-color: #eab308;
  box-shadow: 0 0 0 2px rgba(234, 179, 8, .2)
}

.real-code-ref {
  font-size: 9px;
  color: var(--orange);
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(246, 114, 20, .08);
  border-radius: 4px;
  display: inline-block
}

/* ANIMATED CURSOR */
.ai-cursor {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: translate(60px, 120px);
  transition: transform .9s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3))
}

.ai-cursor.clicking svg path {
  stroke: var(--orange)
}

.cursor-click-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all .3s ease
}

.cursor-click-ring.animate {
  width: 24px;
  height: 24px;
  opacity: 0
}

@keyframes clickRingPop {
  0% {
    width: 0;
    height: 0;
    opacity: .8
  }

  100% {
    width: 28px;
    height: 28px;
    opacity: 0
  }
}

/* RESPONSIVE */
@media(max-width:1100px) {
  .premium-grid {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .real-dashboard {
    height: 560px
  }
}

@media(max-width:768px) {
  .premium-hero {
    padding: 80px 0 60px
  }

  .premium-container {
    padding: 0 24px
  }

  .real-dashboard {
    height: 460px
  }

  .real-sidebar {
    display: none !important
  }

  .real-main {
    left: 0 !important
  }
}

@media(max-width:480px) {
  .real-dashboard {
    height: 420px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }
}





/* LAYOUT FALLBACK — ensure active view content is always visible */
.real-view.active .real-card {
  opacity: 1;
}

.real-view.active .real-view-topbar {
  opacity: 1;
}

.real-view.active .real-file-card {
  opacity: 1;
  transform: translateY(0);
}


/* HERO GRID BACKGROUND */
.premium-hero .hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%)
}

/* WHAT HAPPENS REAL IMAGE OVERRIDES */
.findings-blueprint-preview {
  background: #fff !important;
  border: 2px solid #f97316 !important;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15) !important;
}

.findings-blueprint-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(1.05) grayscale(0.1);
}

.findings-blueprint-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.mini-risk {
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.5) !important;
  z-index: 2;
}

/* INTRODUCING SKILL REAL IMAGE OVERRIDES */
.skill-drawing-plane {
  background: #f8fafc !important;
  border: 2px solid #f97316 !important;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15) !important;
}

.skill-drawing-real-img {
  animation: none !important;
  filter: contrast(1.1) brightness(1.05) grayscale(0.1) !important;
}

.skill-drawing-overlay {
  background: rgba(255, 255, 255, 0.1) !important;
}

.skill-marker {
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.5) !important;
  z-index: 2;
}

/* WHY IT MATTERS REAL IMAGE OVERRIDES */
.wim-plan-canvas {
  background: #f8fafc !important;
  border: 2px solid #f97316 !important;
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.15) !important;
}

.wim-plan-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(1.05) grayscale(0.1);
}

.wim-plan-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.wim-risk-pin {
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.5) !important;
  z-index: 2;
}



/* FINAL 2D LAYOUT OVERRIDES */
.construct-breaks-grid {
  grid-template-columns: 40% 60% !important;
  align-items: stretch !important;
}

@media(max-width:991px) {
  .construct-breaks-grid {
    grid-template-columns: 1fr !important;
  }
}

.construct-breaks-visual {
  perspective: none !important;
  min-height: auto !important;
  padding: 0 !important;
}

.breaks-3d-stage {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  transform-style: flat !important;
  animation: none !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  align-items: stretch !important;
  max-width: none !important;
  margin: 0 !important;
}

@media(max-width:767px) {
  .breaks-3d-stage {
    grid-template-columns: 1fr !important;
  }
}

.review-stacks-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: stretch;
}

.review-stack,
.trade-lanes-card,
.missed-risks-card,
.field-impact-card {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  transform: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 16px !important;
}

.review-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 16px 20px !important;
  gap: 4px !important;
  height: auto !important;
  flex-grow: 1 !important;
}

.review-stack span {
  font-size: 16px !important;
  font-weight: 800 !important;
}

.review-stack small {
  font-size: 13px !important;
  opacity: 0.8 !important;
}

.trade-lanes-card {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 12px !important;
}

.missed-risks-card {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  padding: 20px !important;
  align-content: center !important;
  background: rgba(127, 29, 29, .72) !important;
}

.risk-chip {
  font-size: 15px !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  animation: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

.risk-chip.high {
  border-left: 6px solid #ef4444 !important;
}

.risk-chip.medium {
  border-left: 6px solid #f59e0b !important;
}

.field-impact-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px !important;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
}
/* FIX SQUARES TO CIRCLES */
.badge-dot-pulse,
.wim-badge-dot,
.back-to-top,
.vs-circle-dark,
.wim-flow-orb {
  border-radius: 50% !important;
}


/* FIX SQUARES TO CIRCLES (ALL MISSING DOTS) */
.badge-dot,
.badge-dot-orange,
.badge-pulse-dot,
.s2-dot,
.s2-win-dot,
.badge-dot-pulse,
.wim-badge-dot,
.back-to-top,
.vs-circle-dark,
.wim-flow-orb {
  border-radius: 50% !important;
}



/* Replace all blue colors with orange theme */
:root {
  --orange: #f67214;
  --orange-light: #ff8a50;
  --blue: #f67214;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe3ef;
  --bg: #fffdfa;
  --surface: #fff;
  --green: #16a34a;
  --red: #ef4444
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased
}

.skill7-page-shell {
  overflow: hidden
}

.email-ai-hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(86px, 8vw, 118px) 0 clamp(54px, 6vw, 84px);
  background: linear-gradient(135deg, #fffdfa 0%, #fff7ef 42%, #f8fbff 100%);
  overflow: hidden
}

.email-ai-container {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
  position: relative;
  z-index: 2
}

.email-ai-layout {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4.5vw, 62px);
  align-items: center
}

.email-ai-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 66% 42%, #000 0, transparent 68%);
  opacity: .75
}

.email-ai-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: .55
}

.email-ai-orb-one {
  width: 280px;
  height: 280px;
  right: 7%;
  top: 12%;
  background: rgba(246, 114, 20, .18)
}

.email-ai-orb-two {
  width: 240px;
  height: 240px;
  left: 8%;
  bottom: 8%;
  background: rgba(40, 100, 255, .12)
}

.email-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(246, 114, 20, .1);
  border: 1px solid rgba(246, 114, 20, .28);
  color: var(--orange);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px
}

.email-ai-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(246, 114, 20, .12);
  animation: emailPulse 2s ease-in-out infinite
}

@keyframes emailPulse {
  50% {
    transform: scale(1.2);
    opacity: .75
  }
}

.email-ai-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  color: #0f172a;
  font-weight: 800
}

.email-ai-title span {
  color: #f67214
}

.email-ai-lead-desc {
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.55;
  color: #0f172a;
  margin: 0 0 20px;
  font-weight: 700;
  max-width: 90%
}

.email-ai-subtitle {
  max-width: 560px;
  margin: 0 0 36px;
  color: #64748b;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  font-weight: 400
}

.email-ai-steps {
  display: grid;
  gap: 11px;
  margin: 0 0 20px
}

.email-ai-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
  cursor: pointer;
  transition: .35s ease
}

.email-ai-step:hover,
.email-ai-step.is-active {
  border-color: rgba(246, 114, 20, .42);
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 18px 42px rgba(246, 114, 20, .11)
}

.email-ai-step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff3ec;
  color: var(--orange);
  font: 900 12px/1 "Outfit", sans-serif;
  flex: 0 0 auto
}

.email-ai-step.is-active .email-ai-step-num {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: 0 12px 26px rgba(246, 114, 20, .28)
}

.email-ai-step strong {
  display: block;
  color: #111827;
  font: 850 15.5px/1.2 "Outfit", sans-serif;
  margin-bottom: 4px
}

.email-ai-step small {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.48
}

.email-ai-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  text-decoration: none;
  font: 850 16px/1 "Outfit", sans-serif;
  box-shadow: 0 18px 38px rgba(246, 114, 20, .28);
  transition: .3s
}

.email-ai-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(246, 114, 20, .36)
}

.email-ai-visual-wrap {
  perspective: 1400px
}

.email-ai-dashboard {
  position: relative;
  height: 590px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 22px;
  box-shadow: 0 32px 86px rgba(15, 23, 42, .16);
  overflow: hidden;
  transform: rotateX(1.5deg) rotateY(-2deg);
  transition: .6s ease
}

.email-ai-dashboard:hover {
  transform: translateY(-4px);
  box-shadow: 0 42px 104px rgba(15, 23, 42, .2)
}

.email-ai-topbar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fafc)
}

.email-ai-brand img {
  width: 140px;
  height: auto
}

.email-ai-crumb {
  flex: 1;
  text-align: center;
  color: #64748b;
  font-size: 12px;
  font-weight: 700
}

.email-ai-crumb span {
  color: #94a3b8
}

.email-ai-crumb b {
  background: var(--orange);
  color: #fff;
  border-radius: 9px;
  padding: 2px 7px;
  font-size: 10px;
  margin-left: 5px
}

.email-ai-help {
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  padding: 8px 12px;
  font: 800 12px "Outfit", sans-serif
}

.email-ai-app {
  height: calc(100% - 50px);
  display: grid;
  grid-template-columns: 190px 1fr;
  background: #eef2f7
}

.email-ai-sidebar {
  background: #fff;
  border-right: 1px solid #e2e8f0;
  padding: 12px 10px;
  overflow: hidden;
  box-shadow: inset -1px 0 0 rgba(226, 232, 240, .5)
}

.email-ai-sidebar small,
.email-ai-inbox-title {
  display: block;
  color: #64748b;
  font: 900 10px/1 "Outfit", sans-serif;
  letter-spacing: .8px;
  margin-bottom: 8px
}

.email-ai-select {
  margin: 8px 0 10px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font: 800 12px "Outfit";
  display: flex;
  justify-content: space-between;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.email-ai-mail-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 10px
}

.email-ai-mail-tabs span {
  font-size: 10px;
  color: #64748b;
  padding: 8px 2px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease
}

.email-ai-mail-tabs span:hover {
  color: #0f172a
}

.email-ai-mail-tabs .active {
  color: #f67214;
  border-bottom: 2px solid #f67214
}

.email-ai-mail-tabs b,
.email-ai-inbox-title em {
  background: #f67214;
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  font-style: normal;
  font-size: 9px;
  font-weight: 900
}

.email-ai-search {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #fff;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.email-ai-filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.email-ai-filter-row span {
  font-size: 10px;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04)
}

.email-ai-filter-row span:hover {
  border-color: #f67214;
  color: #f67214;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(246, 114, 20, .15)
}

.email-ai-filter-row .active {
  color: #f67214;
  border-color: #f67214;
  background: #fff3ec;
  box-shadow: 0 2px 4px rgba(246, 114, 20, .12)
}

.email-ai-inbox-title {
  display: flex;
  justify-content: space-between;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 11px
}

.email-ai-list {
  display: grid;
  gap: 7px
}

.email-ai-item {
  position: relative;
  padding: 10px 8px 9px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  min-height: 72px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: all .2s ease
}

.email-ai-item:hover {
  border-color: #f67214;
  transform: translateX(2px);
  box-shadow: 0 2px 6px rgba(246, 114, 20, .15)
}

.email-ai-item.active {
  background: #fff3ec;
  border-color: #f67214;
  box-shadow: inset 3px 0 0 #f67214, 0 2px 6px rgba(246, 114, 20, .12)
}

.email-ai-item i {
  position: absolute;
  left: 8px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, .15)
}

.email-ai-item b {
  display: block;
  font-size: 11px;
  color: #0f172a;
  font-weight: 900
}

.email-ai-item time {
  position: absolute;
  right: 8px;
  top: 10px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700
}

.email-ai-item p {
  margin: 5px 0 7px;
  font-size: 11px;
  font-weight: 800;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.email-ai-item span {
  font-size: 9px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 5px;
  padding: 2px 5px;
  margin-right: 3px;
  font-weight: 800
}

.email-ai-main {
  min-width: 0;
  background: #fff;
  display: flex;
  flex-direction: column
}

.email-ai-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  gap: 12px
}

.email-ai-message-head h3 {
  margin: 0 0 4px;
  font: 900 15px/1.2 "Outfit"
}

.email-ai-message-head p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  font-weight: 700
}

.email-ai-message-head b {
  color: #08a045
}

.email-ai-reply-btn {
  border: 0;
  background: #f67214;
  color: #fff;
  border-radius: 8px;
  padding: 8px 13px;
  font: 850 12px "Outfit"
}

.email-ai-tabs {
  display: flex;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc
}

.email-ai-tabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 12px 0 11px;
  color: #64748b;
  font: 850 12px "Outfit";
  cursor: pointer;
  transition: color .2s ease
}

.email-ai-tabs button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0
}

.email-ai-tabs button.is-active {
  color: #f67214;
  box-shadow: inset 0 -3px 0 #f67214
}

.email-ai-tabs button:hover {
  color: #0f172a
}

.email-ai-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #eef2f7
}

.email-ai-panel {
  position: absolute;
  inset: 0;
  padding: 16px;
  overflow: auto;
  opacity: 0;
  transform: translateY(12px) scale(.985);
  pointer-events: none;
  transition: .55s cubic-bezier(.22, 1, .36, 1)
}

.email-ai-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.email-ai-email-card,
.email-ai-analysis-card,
.email-ai-agent-card,
.email-ai-summary-card,
.email-ai-composer {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  overflow: hidden
}

.email-ai-email-card {
  min-height: 390px;
  border-color: #f67214
}

.email-ai-email-from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #dbe3ef
}

.email-ai-email-from span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 900
}

.email-ai-email-from b {
  display: block;
  font-size: 12px
}

.email-ai-email-from small,
.email-ai-email-from time {
  color: #64748b;
  font-size: 10px
}

.email-ai-email-from time {
  margin-left: auto
}

.email-ai-document {
  width: min(86%, 430px);
  margin: 36px auto;
  text-align: center
}

.email-ai-doc-line {
  height: 4px;
  background: var(--orange);
  border-radius: 999px;
  margin-bottom: 14px
}

.email-ai-document h4 {
  font: 900 14px "Outfit"
}

.email-ai-document p {
  font-size: 13px
}

.email-ai-doc-buttons {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 16px 0
}

.email-ai-doc-buttons span {
  background: var(--orange);
  color: #fff;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800
}

.email-ai-document dl {
  border-top: 1px solid #dbe3ef;
  text-align: left
}

.email-ai-document dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #dbe3ef;
  padding: 10px 8px;
  font-size: 12px
}

.email-ai-document dt {
  font-weight: 900
}

.email-ai-document dd {
  margin: 0;
  color: #475569
}

.email-ai-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e5edf7;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .8px;
  font: 900 10px "Outfit"
}

.email-ai-card-title span {
  background: #dcfce7;
  color: #16a34a;
  border-radius: 999px;
  padding: 4px 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 9px
}

.email-ai-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px
}

.email-ai-metrics div {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px;
  text-align: center
}

.email-ai-metrics small {
  display: block;
  color: #94a3b8;
  text-transform: uppercase;
  font: 900 8px "Outfit";
  letter-spacing: .8px
}

.email-ai-metrics b {
  display: block;
  color: #f67214;
  margin-top: 3px;
  font: 900 11px "Outfit"
}

.email-ai-metrics .red {
  color: #ef4444
}

.email-ai-metrics .green {
  color: #16a34a
}

.email-ai-progress {
  height: 5px;
  margin: 0 10px 10px;
  background: #eef2f7;
  border-radius: 999px;
  overflow: hidden
}

.email-ai-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: #16a34a;
  border-radius: 999px
}

.email-ai-panel.is-active .email-ai-progress i {
  animation: fillConfidence 1.1s .25s forwards
}

@keyframes fillConfidence {
  to {
    width: 95%
  }
}

.email-ai-agent-card,
.email-ai-summary-card {
  margin-top: 10px
}

.email-ai-agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px
}

.email-ai-agent-grid span {
  padding: 10px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font: 850 11px "Outfit"
}

.email-ai-agent-grid .on {
  background: #fff3ec;
  border-color: #f67214;
  color: #0f172a
}

.email-ai-summary-card p {
  margin: 10px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700
}

.email-ai-summary-card strong {
  display: block;
  margin: 0 10px 10px;
  padding: 10px;
  border-radius: 8px;
  background: #fef3c7;
  border: 1px solid #facc15;
  color: #c2410c;
  font-size: 11px
}

.email-ai-composer {
  padding: 16px
}

.email-ai-compose-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px
}

.email-ai-compose-top b {
  font: 900 17px "Outfit"
}

.email-ai-compose-top span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800
}

.email-ai-composer label {
  display: block;
  margin: 12px 0 6px;
  color: #64748b;
  text-transform: uppercase;
  font: 900 10px "Outfit";
  letter-spacing: .8px
}

.email-ai-input,
.email-ai-draft-text {
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #f8fafc;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700
}

.email-ai-draft-text {
  min-height: 150px;
  line-height: 1.65;
  white-space: pre-wrap
}

.email-ai-attachment {
  margin: 12px 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #fff3ec;
  border: 1px solid #f67214;
  color: #c2410c;
  font-size: 12px;
  font-weight: 800
}

.email-ai-attachment b {
  float: right;
  color: #16a34a
}

.email-ai-send {
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  padding: 14px;
  font: 900 14px "Outfit";
  box-shadow: 0 12px 28px rgba(246, 114, 20, .22)
}

.email-ai-send.sent {
  background: #16a34a
}

.email-ai-sent-toast {
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
  background: #dcfce7;
  color: #15803d;
  font: 850 12px "Outfit";
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: .35s
}

.email-ai-sent-toast.show {
  opacity: 1;
  transform: none
}

.email-ai-cursor {
  position: absolute;
  z-index: 20;
  width: 20px;
  height: 24px;
  left: 8%;
  top: 52%;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .35));
  transition: all 1.3s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
  opacity: 1
}

.email-ai-cursor svg {
  width: 100%;
  height: 100%;
  display: block
}

.email-ai-cursor.clicking {
  transform: scale(.8);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
  transition: all .15s ease-out
}

.email-ai-main {
  transition: opacity .6s ease
}

.email-ai-dashboard.step-0 .email-ai-cursor {
  left: 8%;
  top: 52%
}

.email-ai-dashboard.step-1 .email-ai-cursor {
  left: 42%;
  top: 23%
}

.email-ai-dashboard.step-2 .email-ai-cursor {
  left: 58%;
  top: 23%
}

.email-ai-dashboard.step-2-send .email-ai-cursor {
  left: 60%;
  top: 92%
}

.email-ai-dashboard.step-0 .email-ai-email-card {
  animation: cardPop .8s ease
}

.email-ai-dashboard.step-1 .email-ai-analysis-card,
.email-ai-dashboard.step-1 .email-ai-agent-card,
.email-ai-dashboard.step-1 .email-ai-summary-card {
  animation: cardPop .7s ease both
}

.email-ai-dashboard.step-1 .email-ai-agent-card {
  animation-delay: .1s
}

.email-ai-dashboard.step-1 .email-ai-summary-card {
  animation-delay: .2s
}

.email-ai-dashboard.step-2 .email-ai-composer {
  animation: cardPop .75s ease
}

@keyframes cardPop {
  from {
    opacity: .4;
    transform: translateY(18px) scale(.98)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:1100px) {
  .email-ai-layout {
    grid-template-columns: 1fr
  }

  .email-ai-copy {
    text-align: center
  }

  .email-ai-subtitle {
    margin-inline: auto
  }

  .email-ai-step {
    text-align: left
  }

  .email-ai-visual-wrap {
    max-width: 860px;
    margin: 0 auto;
    width: 100%
  }
}

@media(max-width:760px) {
  .email-ai-hero {
    padding-top: 52px
  }

  .email-ai-container {
    width: min(calc(100% - 1rem), 1180px)
  }

  .email-ai-title {
    font-size: clamp(2.1rem, 12vw, 3.2rem)
  }

  .email-ai-dashboard {
    height: 640px;
    transform: none;
    border-radius: 18px
  }

  .email-ai-app {
    grid-template-columns: 1fr
  }

  .email-ai-sidebar {
    height: 188px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: hidden
  }

  .email-ai-list {
    grid-template-columns: repeat(4, 210px);
    overflow: hidden
  }

  .email-ai-main {
    min-height: 402px
  }

  .email-ai-brand img {
    width: 120px
  }

  .email-ai-crumb {
    display: none
  }

  .email-ai-help {
    padding: 7px 10px
  }

  .email-ai-message-head {
    align-items: flex-start;
    padding: 10px 12px
  }

  .email-ai-message-head h3 {
    font-size: 13px;
    margin: 0 0 3px
  }

  .email-ai-message-head p {
    font-size: 10px
  }

  .email-ai-reply-btn {
    display: none
  }

  .email-ai-tabs {
    gap: 14px;
    overflow-x: auto;
    padding: 0 12px
  }

  .email-ai-tabs button {
    font-size: 11px;
    padding: 10px 0 9px
  }

  .email-ai-tabs button svg {
    width: 14px;
    height: 14px
  }

  .email-ai-panel {
    padding: 10px
  }

  .email-ai-email-card {
    min-height: 320px
  }

  .email-ai-email-from {
    padding: 10px 12px
  }

  .email-ai-email-from span {
    width: 28px;
    height: 28px;
    font-size: 12px
  }

  .email-ai-email-from b {
    font-size: 11px
  }

  .email-ai-email-from small,
  .email-ai-email-from time {
    font-size: 9px
  }

  .email-ai-document {
    width: 94%;
    margin: 20px auto
  }

  .email-ai-document h4 {
    font-size: 12px
  }

  .email-ai-document p {
    font-size: 11px
  }

  .email-ai-doc-buttons {
    gap: 6px;
    margin: 12px 0
  }

  .email-ai-doc-buttons span {
    padding: 6px 8px;
    font-size: 9px
  }

  .email-ai-document dl div {
    grid-template-columns: 1fr;
    padding: 8px 6px;
    font-size: 10px
  }

  .email-ai-card-title {
    padding: 8px 10px;
    font-size: 9px
  }

  .email-ai-card-title span {
    padding: 3px 6px;
    font-size: 8px
  }

  .email-ai-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 8px
  }

  .email-ai-metrics div {
    padding: 6px;
    border-radius: 6px
  }

  .email-ai-metrics small {
    font-size: 7px
  }

  .email-ai-metrics b {
    font-size: 10px;
    margin-top: 2px
  }

  .email-ai-progress {
    height: 4px;
    margin: 0 8px 8px
  }

  .email-ai-agent-card,
  .email-ai-summary-card {
    margin-top: 8px
  }

  .email-ai-agent-grid {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 8px
  }

  .email-ai-agent-grid span {
    padding: 8px;
    font-size: 10px;
    border-radius: 6px
  }

  .email-ai-summary-card p {
    margin: 8px;
    font-size: 11px;
    line-height: 1.45
  }

  .email-ai-summary-card strong {
    margin: 0 8px 8px;
    padding: 8px;
    font-size: 10px
  }

  .email-ai-composer {
    padding: 12px
  }

  .email-ai-compose-top {
    display: block;
    margin-bottom: 10px
  }

  .email-ai-compose-top b {
    font-size: 14px;
    display: block;
    margin-bottom: 4px
  }

  .email-ai-compose-top span {
    font-size: 10px
  }

  .email-ai-composer label {
    margin: 10px 0 5px;
    font-size: 9px
  }

  .email-ai-input,
  .email-ai-draft-text {
    padding: 9px 10px;
    font-size: 11px;
    border-radius: 8px
  }

  .email-ai-draft-text {
    min-height: 120px;
    line-height: 1.55
  }

  .email-ai-attachment {
    margin: 10px 0;
    padding: 9px 10px;
    font-size: 10px;
    border-radius: 8px
  }

  .email-ai-send {
    padding: 12px;
    font-size: 13px;
    border-radius: 10px
  }

  .email-ai-sent-toast {
    margin-top: 8px;
    padding: 8px;
    font-size: 11px
  }

  .email-ai-cursor {
    display: none
  }
}

@media(max-width:480px) {
  .email-ai-steps {
    gap: 9px
  }

  .email-ai-step {
    padding: 12px;
    border-radius: 15px
  }

  .email-ai-step-num {
    width: 36px;
    height: 36px
  }

  .email-ai-step strong {
    font-size: 14px
  }

  .email-ai-step small {
    font-size: 12px
  }

  .email-ai-dashboard {
    height: 610px
  }

  .email-ai-sidebar {
    height: 160px
  }

  .email-ai-search,
  .email-ai-filter-row {
    display: none
  }

  .email-ai-item {
    min-height: 64px
  }

  .email-ai-email-card {
    min-height: 280px
  }

  .email-ai-doc-buttons {
    flex-wrap: wrap
  }

  .email-ai-compose-top {
    display: block
  }

  .email-ai-draft-text {
    min-height: 110px;
    font-size: 10px
  }

  .email-ai-title {
    letter-spacing: -.05em
  }

  .email-ai-message-head h3 {
    font-size: 12px
  }

  .email-ai-tabs button {
    font-size: 10px
  }

  .email-ai-document h4 {
    font-size: 11px
  }

  .email-ai-document p {
    font-size: 10px
  }

  .email-ai-summary-card p {
    font-size: 10px
  }
}

/* ===== Alignment pass: match current index hero typography/layout ===== */
.email-ai-hero *,
.email-ai-hero *::before,
.email-ai-hero *::after {
  box-sizing: border-box
}

.email-ai-hero {
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #fff 0%, #fff8f4 50%, #fafbfc 100%)
}

.email-ai-container {
  max-width: 1280px;
  width: 100%;
  padding: 0 40px
}

.email-ai-layout {
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: center
}

.email-ai-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  color: #0f172a
}

.email-ai-title span {
  color: #f67214
}

.email-ai-subtitle {
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 26px;
  max-width: 92%;
  font-weight: 400
}

.email-ai-badge {
  padding: 8px 18px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 114, 20, .2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 22px
}

.email-ai-steps {
  gap: 12px;
  margin-bottom: 36px
}

.email-ai-step {
  gap: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .6);
  box-shadow: none
}

.email-ai-step:hover,
.email-ai-step.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(246, 114, 20, .02));
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(246, 114, 20, .15);
  transform: translateX(4px)
}

.email-ai-step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 14px
}

.email-ai-step strong {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px
}

.email-ai-step small {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  font-weight: 400
}

.email-ai-cta {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(246, 114, 20, .25)
}

.email-ai-dashboard {
  height: 580px;
  border-radius: 20px;
  transform: none;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .14)
}

.email-ai-dashboard:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .18)
}

.email-ai-topbar {
  height: 46px;
  padding: 0 16px
}

.email-ai-app {
  height: calc(100% - 46px);
  grid-template-columns: 180px 1fr
}

.email-ai-sidebar {
  padding: 12px 10px
}

.email-ai-brand img {
  width: 134px
}

/* Make email list items more compact */
.email-ai-item {
  position: relative;
  padding: 8px 6px 7px 16px;
  border: 1px solid #d8e0ed;
  border-radius: 8px;
  background: #fff;
  min-height: 58px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .03)
}

.email-ai-item b {
  display: block;
  font-size: 9px;
  color: #0f172a;
  font-weight: 800
}

.email-ai-item time {
  position: absolute;
  right: 6px;
  top: 8px;
  color: #64748b;
  font-size: 8px;
  font-weight: 700
}

.email-ai-item p {
  margin: 3px 0 5px;
  font-size: 9px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85%
}

.email-ai-item span {
  font-size: 7px;
  background: #eef4ff;
  color: #64748b;
  border-radius: 4px;
  padding: 1px 4px;
  margin-right: 2px;
  font-weight: 800
}

/* Add remaining dashboard styles */
.email-ai-document h4 {
  font: 800 13px "Outfit"
}

.email-ai-document p {
  font-size: 11px
}

.email-ai-document dl div {
  font-size: 11px
}

.email-ai-metrics b {
  font-size: 12px
}

.email-ai-compose-top b {
  font: 800 15px "Outfit"
}

.email-ai-draft-text {
  font-size: 11px;
  min-height: 120px
}

.email-ai-attachment {
  font-size: 11px
}

.email-ai-metrics b {
  font-size: 13px
}

@media(max-width:1100px) {
  .email-ai-layout {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .email-ai-copy {
    text-align: left
  }

  .email-ai-dashboard {
    height: 560px
  }

  .email-ai-subtitle {
    margin-left: 0;
    margin-right: 0
  }
}

@media(max-width:768px) {
  .email-ai-hero {
    padding: 80px 0 60px
  }

  .email-ai-container {
    padding: 0 24px
  }

  .email-ai-dashboard {
    height: 500px
  }

  .email-ai-copy {
    text-align: left
  }

  .email-ai-subtitle {
    max-width: 100%
  }

  .email-ai-layout {
    gap: 34px
  }

  .email-ai-app {
    grid-template-columns: 1fr
  }

  .email-ai-sidebar {
    height: 150px
  }

  .email-ai-main {
    min-height: 304px
  }

  .email-ai-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.08
  }

  .email-ai-steps {
    margin-bottom: 28px
  }

  .email-ai-step {
    padding: 14px 16px
  }
}

@media(max-width:480px) {
  .email-ai-container {
    padding: 0 18px
  }

  .email-ai-dashboard {
    height: 520px
  }

  .email-ai-title {
    font-size: 2.25rem
  }

  .email-ai-badge {
    font-size: 10px
  }

  .email-ai-sidebar {
    height: 140px
  }

  .email-ai-message-head h3 {
    font-size: 13px
  }

  .email-ai-document {
    margin: 18px auto
  }

  .email-ai-email-card {
    min-height: 280px
  }
}


/* ================================================
   EMAIL AI REALITY SECTION (Section 2)
   skill7-reality.css
   ================================================ */

/* ── CSS Variables ── */
:root {
  --orange: #f67214;
  --orange-light: #ff9f45;
  --orange-deep: #c2410c;
  --orange-bg: #fff7ed;
  --orange-border: rgba(246, 114, 20, 0.28);
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe3ef;
  --surface: #ffffff;
  --bg: #f8fafc;
}

/* ================================================
   SECTION WRAPPER
   ================================================ */
.email-reality-section {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 48%, #f8fbff 100%);
  overflow: hidden;
  font-family: "Outfit", sans-serif;
}

.email-reality-bg {
  position: absolute;
  inset: 0;
  /* Grid lines removed for cleaner background */
  pointer-events: none;
}

.email-reality-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================================
   SECTION HEADER
   ================================================ */
.badge-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(246, 114, 20, .12);
  animation: realityPulse 2s ease-in-out infinite;
}

@keyframes realityPulse {
  50% {
    transform: scale(1.2);
    opacity: .75;
  }
}

.email-reality-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.email-reality-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--ink);
  font-weight: 800;
  margin: 0 0 16px;
}

.email-reality-title span {
  color: var(--orange);
}

.email-reality-subtitle {
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
  font-weight: 600;
}

.email-reality-note {
  display: inline-flex;
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--orange-bg);
  border: 1px solid rgba(246, 114, 20, .22);
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 800;
}

/* ================================================
   MAIN GRID
   ================================================ */
.email-reality-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 34px;
  align-items: center;
}

/* ================================================
   LEFT — EMAIL FLOW WINDOW
   ================================================ */
.email-flow-window {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, .96);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .11);
  overflow: hidden;
}

/* Title bar */
.email-flow-bar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-bottom: 1px solid #e2e8f0;
}

.email-flow-bar>span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.email-flow-bar span:nth-child(1) {
  background: #ff5f57;
}

.email-flow-bar span:nth-child(2) {
  background: #ffbd2e;
}

.email-flow-bar span:nth-child(3) {
  background: #28c840;
}

.email-flow-bar strong {
  flex: 1;
  text-align: center;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.email-flow-bar em {
  font-style: normal;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--orange-bg);
  color: var(--orange-deep);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid rgba(246, 114, 20, .22);
}

/* Body grid */
.email-flow-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 300px;
  background: #eef2f7;
}

/* Sidebar */
.email-flow-sidebar {
  padding: 12px 10px;
  background: var(--bg);
  border-right: 1px solid var(--line);
}

.email-flow-sidebar>b {
  display: block;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  margin-bottom: 8px;
}

.email-flow-count {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 10px 20px rgba(246, 114, 20, .22);
}

.email-flow-count strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.email-flow-count small {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  opacity: .95;
}

.email-flow-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: #334155;
  font-size: 11.5px;
  font-weight: 900;
}

.email-flow-mini.active {
  border-color: rgba(246, 114, 20, .55);
  background: var(--orange-bg);
  color: var(--orange-deep);
}

.email-flow-mini span {
  background: #fff3ec;
  border-radius: 999px;
  padding: 2px 6px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

/* Main area: stream + context */
.email-flow-main {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 10px;
  padding: 10px;
}

/* Stream cards */
.email-stream {
  display: grid;
  gap: 7px;
  align-content: start;
}

.email-stream-card {
  position: relative;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  opacity: .72;
  transition: .35s;
}

.email-stream-card.active {
  opacity: 1;
  border-color: rgba(246, 114, 20, .55);
  background: var(--orange-bg);
  transform: translateX(3px);
  box-shadow: 0 10px 22px rgba(246, 114, 20, .12);
}

.email-stream-card i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}

.email-stream-card.rfi i {
  background: #ef4444;
}

.email-stream-card.drawing i {
  background: var(--orange);
}

.email-stream-card.submittal i {
  background: var(--orange);
}

.email-stream-card.update i {
  background: #16a34a;
}

.email-stream-card.coord i {
  background: #7c3aed;
}

.email-stream-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 2px;
}

.email-stream-card p {
  margin: 0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.email-stream-card span {
  align-self: start;
  border-radius: 999px;
  background: #fff3ec;
  color: var(--orange);
  border: 1px solid rgba(246, 114, 20, .25);
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 900;
}

/* Context panel */
.email-context-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.context-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #e8eef6;
}

.context-header span {
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

.context-header b {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff3ec;
  color: var(--orange);
  font-size: 12px;
}

.context-list {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.context-task {
  padding: 9px 11px;
  border: 1px solid #e8eef6;
  border-radius: 12px;
  background: var(--bg);
  transition: .35s;
}

.context-task.active {
  background: var(--orange-bg);
  border-color: rgba(246, 114, 20, .35);
  box-shadow: 0 8px 16px rgba(246, 114, 20, .08);
}

.context-task strong {
  display: block;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
  margin-bottom: 2px;
}

.context-task small {
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* ================================================
   RIGHT — ANIMATED REALITY CARDS
   ================================================ */
.email-reality-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 300px;
}

.email-reality-card-stage {
  position: relative;
  min-height: 260px;
}

/* Each card is absolutely positioned, only .active shows */
.email-reality-card-stage .email-reality-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-content: center;
  padding: 28px 30px;
  border: 1px solid #e8eef6;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .055);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(.96);
  transition:
    opacity .55s cubic-bezier(.22, 1, .36, 1),
    transform .55s cubic-bezier(.22, 1, .36, 1),
    visibility .55s;
}

.email-reality-card-stage .email-reality-card>div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-reality-card-stage .email-reality-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  border-color: rgba(246, 114, 20, .38);
  background: #fff;
  box-shadow: 0 18px 38px rgba(246, 114, 20, .1);
}

.email-reality-card-stage .email-reality-card span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff3ec;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.email-reality-card-stage .email-reality-card.active span {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
}

.email-reality-card-stage .email-reality-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.email-reality-card-stage .email-reality-card p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

/* Navigation dots */
.email-reality-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.email-reality-dots button {
  width: 42px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #64748b;
  font: 800 12px/1 "Outfit", sans-serif;
  cursor: pointer;
  transition: .25s ease;
}

.email-reality-dots button:hover,
.email-reality-dots button.active {
  border-color: var(--orange);
  background: var(--orange-bg);
  color: var(--orange);
  box-shadow: 0 8px 18px rgba(246, 114, 20, .12);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  .email-reality-section {
    padding: 80px 0;
  }

  .email-reality-grid {
    grid-template-columns: 1fr;
  }

  .email-flow-window {
    max-width: 860px;
    margin: 0 auto;
  }

  .email-reality-copy {
    min-height: auto;
  }

  .email-reality-card-stage {
    min-height: 190px;
  }
}

@media (max-width: 767px) {
  .email-reality-container {
    padding: 0 24px;
  }

  .email-reality-header {
    margin-bottom: 34px;
  }

  .email-reality-note {
    border-radius: 18px;
    text-align: center;
  }

  .email-flow-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .email-flow-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .email-flow-sidebar>b {
    grid-column: 1 / -1;
  }

  .email-flow-count {
    margin: 0;
  }

  .email-flow-mini {
    margin: 0;
  }

  .email-flow-main {
    grid-template-columns: 1fr;
  }

  .email-flow-bar strong {
    text-align: left;
  }

  .email-flow-bar em {
    display: none;
  }

  .email-reality-card-stage {
    min-height: 205px;
  }

  .email-reality-card-stage .email-reality-card {
    padding: 22px;
    grid-template-columns: 44px 1fr;
  }

  .email-reality-card-stage .email-reality-card h3 {
    font-size: 19px;
  }

  .email-reality-card-stage .email-reality-card p {
    font-size: 14px;
  }

  .email-reality-card-stage .email-reality-card span {
    width: 44px;
    height: 44px;
  }

  .email-reality-dots {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .email-reality-section {
    padding: 64px 0;
  }

  .email-reality-container {
    padding: 0 18px;
  }

  .email-flow-count strong {
    font-size: 24px;
  }

  .email-flow-main {
    padding: 8px;
  }

  .email-reality-card-stage {
    min-height: 245px;
  }

  .email-reality-card-stage .email-reality-card {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .email-reality-dots button {
    width: 38px;
    height: 32px;
  }

  .email-reality-title {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .email-reality-subtitle {
    font-size: 14px;
  }

  .email-flow-bar {
    padding: 0 12px;
  }

  .email-flow-bar strong {
    font-size: 12px;
  }
}


/* ================================================
   SECTION 3 - WHY IT BREAKS (EMAIL AI REDESIGN)
   ================================================ */
.email-breaks-section {
  isolation: isolate;
  font-family: "Outfit", sans-serif;
}

.email-breaks-section .section-badge {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(246, 114, 20, .28);
  color: #fed7aa;
}

.email-breaks-gridlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 58% 46%, #000 0%, transparent 72%);
  pointer-events: none;
}

.email-breaks-grid {
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(42px, 6vw, 78px);
}

.email-breaks-section .section-title {
  max-width: 640px;
  font-size: clamp(2.15rem, 4.3vw, 4.35rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.email-breaks-lead {
  max-width: 650px;
  color: #d7e0ec;
}

.email-breaks-reality-card {
  max-width: 610px;
  overflow: hidden;
}

.email-breaks-reality-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f67214, #ef4444);
}

.email-breaks-reality-card li:before {
  content: "✓";
  top: .1em;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: rgba(246, 114, 20, .16);
  color: #fb923c;
  box-shadow: none;
  font-size: 11px;
  font-weight: 900;
}

.email-breaks-visual {
  min-height: 640px;
}

.email-context-stage {
  width: min(100%, 720px);
  height: 620px;
  transform: none !important;
  animation: emailContextFloat 7s ease-in-out infinite;
  perspective: 1000px;
}

@keyframes emailContextFloat {
  50% {
    transform: translateY(-10px) !important;
  }
}

.email-question-card,
.context-cloud-card,
.manual-work-card,
.repeat-loop-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
}

.email-question-card {
  top: 18px;
  left: 18px;
  right: 74px;
  padding: 24px;
  transform: rotate(-2deg);
}

.email-question-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.email-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #f67214, #ff9a3d);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(246, 114, 20, .28);
}

.email-question-top strong,
.email-question-top small {
  display: block;
}

.email-question-top strong {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.email-question-top small {
  color: #cbd5e1;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
}

.email-question-top em {
  font-style: normal;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(248, 113, 113, .35);
  color: #fecaca;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.email-question-card p {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.62;
  font-weight: 700;
}

.context-cloud-card {
  top: 190px;
  right: 0;
  width: 430px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .88), rgba(30, 41, 59, .78));
  transform: rotate(2deg);
}

.context-cloud-card>span,
.manual-work-head span,
.repeat-loop-card span {
  display: block;
  color: #fb923c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.context-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.context-chip-grid b {
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.context-chip-grid b:nth-child(odd) {
  background: rgba(246, 114, 20, .13);
  border-color: rgba(246, 114, 20, .22);
}

.manual-work-card {
  left: 30px;
  bottom: 82px;
  width: 350px;
  padding: 22px;
}

.manual-work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.manual-work-head span {
  margin: 0;
}

.manual-work-head strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, .14);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, .25);
  font-size: 12px;
  font-weight: 900;
}

.manual-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #e5e7eb;
  font-weight: 800;
}

.manual-step i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, .12);
  animation: manualPulse 2s ease-in-out infinite;
}

.manual-step:nth-child(3) i {
  animation-delay: .2s;
}

.manual-step:nth-child(4) i {
  animation-delay: .4s;
}

.manual-step:nth-child(5) i {
  animation-delay: .6s;
}

.manual-step:nth-child(6) i {
  animation-delay: .8s;
}

@keyframes manualPulse {
  50% {
    transform: scale(1.25);
    opacity: .72;
  }
}

.repeat-loop-card {
  right: 48px;
  bottom: 12px;
  width: 390px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f67214, #ef4444);
  border: 0;
  transform: rotate(-1deg);
}

.repeat-loop-card span {
  color: #ffedd5;
  margin-bottom: 8px;
}

.repeat-loop-card strong {
  display: block;
  color: #fff;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.35;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .email-breaks-grid {
    grid-template-columns: 1fr;
  }

  .email-breaks-section .section-title,
  .email-breaks-lead,
  .email-breaks-reality-card {
    max-width: 860px;
  }

  .email-breaks-visual {
    min-height: 620px;
  }

  .email-context-stage {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .email-breaks-section {
    padding: 82px 0;
  }

  .email-breaks-grid {
    gap: 34px;
  }

  .email-breaks-section .section-title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .email-breaks-visual {
    min-height: auto;
    display: block;
  }

  .email-context-stage {
    width: 100%;
    height: auto;
    display: grid;
    gap: 14px;
    animation: none;
  }

  .email-question-card,
  .context-cloud-card,
  .manual-work-card,
  .repeat-loop-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    border-radius: 22px;
  }

  .email-question-card,
  .context-cloud-card,
  .manual-work-card,
  .repeat-loop-card {
    padding: 18px;
  }

  .email-question-top {
    grid-template-columns: 44px 1fr;
  }

  .email-question-top em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .context-chip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .email-breaks-reality-card {
    padding: 18px;
  }

  .email-breaks-reality-card li {
    font-size: 14px;
  }

  .email-question-card p {
    font-size: 15px;
  }

  .manual-work-head {
    flex-direction: column;
    gap: 10px;
  }
}


/* ================================================
   SECTION 3 READABILITY FIX - CONTENT FIRST
   ================================================ */
.email-breaks-section {
  padding: clamp(78px, 7vw, 108px) 0;
}

.email-breaks-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.email-breaks-section .section-title {
  font-size: clamp(2.35rem, 3.65vw, 4.05rem);
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 22px;
}

.email-breaks-lead {
  margin: 0 0 24px;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.72;
  max-width: 760px;
}

.email-breaks-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
}

.email-breaks-info-card,
.email-breaks-reality-card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, rgba(255, 255, 255, .115), rgba(255, 255, 255, .055));
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.email-breaks-info-card:before,
.email-breaks-reality-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, #f67214, #fb923c);
}

.email-breaks-info-card ul,
.email-breaks-reality-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.email-breaks-info-card li,
.email-breaks-reality-card li {
  position: relative;
  padding-left: 30px;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.email-breaks-info-card li:before,
.email-breaks-reality-card li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(246, 114, 20, .18);
  border: 1px solid rgba(246, 114, 20, .32);
  box-shadow: 0 0 0 5px rgba(246, 114, 20, .08);
}

.email-breaks-info-card li:after,
.email-breaks-reality-card li:after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(.25em + 6px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f67214;
}

.manual-label {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 900;
  margin: -4px 0 12px;
}

.email-breaks-reality-card p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
}

.email-breaks-visual {
  min-height: 520px;
}

.email-context-stage {
  width: min(100%, 560px);
  height: 510px;
}

.email-question-card {
  top: 10px;
  left: 0;
  right: 20px;
  padding: 20px;
}

.email-question-card p {
  font-size: 16px;
}

.context-cloud-card {
  top: 172px;
  right: 0;
  width: 380px;
  padding: 18px;
}

.context-chip-grid b {
  padding: 10px 11px;
  font-size: 12px;
}

.manual-work-card {
  left: 0;
  bottom: 62px;
  width: 305px;
  padding: 18px;
}

.manual-step {
  padding: 9px 0;
  font-size: 14px;
}

.repeat-loop-card {
  right: 18px;
  bottom: 0;
  width: 330px;
  padding: 18px 20px;
}

.repeat-loop-card strong {
  font-size: 17px;
}

@media (max-width: 1180px) {
  .email-breaks-grid {
    grid-template-columns: 1fr;
  }

  .email-breaks-visual {
    min-height: 500px;
  }

  .email-context-stage {
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .email-breaks-content-grid {
    grid-template-columns: 1fr;
  }

  .email-breaks-info-card,
  .email-breaks-reality-card {
    padding: 20px;
  }

  .email-breaks-info-card li,
  .email-breaks-reality-card li {
    font-size: 14.5px;
  }
}

@media (max-width: 760px) {
  .email-breaks-visual {
    min-height: auto;
  }

  .email-context-stage {
    width: 100%;
    height: auto;
    display: grid;
    gap: 14px;
  }

  .email-question-card,
  .context-cloud-card,
  .manual-work-card,
  .repeat-loop-card {
    position: relative;
    inset: auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .email-breaks-section .section-title {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .email-breaks-lead {
    font-size: 15px;
  }

  .email-breaks-content-grid {
    gap: 14px;
  }
}


/* ================================================
   SECTION 3 - WHY IT BREAKS V2 CLEAN REDESIGN
   ================================================ */
.email-breaks-v2-section {
  position: relative;
  padding: clamp(82px, 8vw, 120px) 0;
  overflow: hidden;
  color: #fff;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 82% 30%, rgba(246, 114, 20, .18), transparent 32%),
    radial-gradient(circle at 16% 18%, rgba(246, 114, 20, .11), transparent 28%),
    linear-gradient(135deg, #0b1220 0%, #111827 52%, #172033 100%);
}

.email-breaks-v2-bg {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 76%);
  pointer-events: none;
}

.email-breaks-v2-section .container {
  position: relative;
  z-index: 1;
}

.email-breaks-v2-section .section-badge {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(246, 114, 20, .32);
  color: #fed7aa;
}

.email-breaks-v2-header {
  max-width: 950px;
  margin: 0 auto 50px;
  text-align: center;
}

.email-breaks-v2-header .section-title {
  color: #fff;
  margin: 18px auto 18px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.email-breaks-v2-header .title-highlight {
  color: #f67214;
}

.email-breaks-v2-header p {
  max-width: 790px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  font-weight: 650;
}

.email-breaks-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

.email-breaks-v2-visual,
.email-breaks-v2-content {
  min-width: 0;
}

.email-breaks-v2-visual {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.v2-mail-card,
.v2-context-map,
.v2-problem-card,
.email-breaks-v2-loop {
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .25);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.v2-mail-card {
  padding: clamp(20px, 2vw, 26px);
}

.v2-mail-top {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.v2-mail-top>span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #f67214, #ff9a3d);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(246, 114, 20, .28);
}

.v2-mail-top strong,
.v2-mail-top small {
  display: block;
}

.v2-mail-top strong {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.v2-mail-top small {
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 750;
}

.v2-mail-top em {
  font-style: normal;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(246, 114, 20, .12);
  border: 1px solid rgba(246, 114, 20, .28);
  color: #fdba74;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.v2-mail-card p {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.58;
  font-weight: 750;
}

.v2-context-map {
  position: relative;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
}

.v2-context-map:before,
.v2-context-map:after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 72%;
  height: 72%;
  border: 1px dashed rgba(246, 114, 20, .28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.v2-context-map:after {
  width: 46%;
  height: 46%;
  border-color: rgba(255, 255, 255, .13);
}

.v2-center-node,
.v2-source {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

.v2-center-node {
  left: 50%;
  top: 50%;
  width: 98px;
  height: 98px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: linear-gradient(135deg, #f67214, #ef4444);
  color: #fff;
  box-shadow: 0 22px 50px rgba(246, 114, 20, .28);
}

.v2-source {
  min-width: 112px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #e5e7eb;
  font-size: 13px;
}

.node-a {
  left: 8%;
  top: 14%;
}

.node-b {
  right: 10%;
  top: 16%;
}

.node-c {
  left: 5%;
  bottom: 18%;
}

.node-d {
  right: 7%;
  bottom: 18%;
}

.node-e {
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
}

.node-f {
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
}

.email-breaks-v2-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v2-problem-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: clamp(22px, 2.2vw, 30px);
  overflow: hidden;
}

.v2-problem-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f67214, #fb923c);
}

.v2-card-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(246, 114, 20, .14);
  border: 1px solid rgba(246, 114, 20, .28);
  color: #fb923c;
  font-weight: 900;
}

.v2-problem-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.2;
  font-weight: 900;
}

.v2-problem-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-problem-card li {
  position: relative;
  padding-left: 28px;
  color: #f1f5f9;
  font-size: 15.5px;
  line-height: 1.38;
  font-weight: 800;
}

.v2-problem-card li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 0 0 0 6px rgba(246, 114, 20, .12);
}

.v2-manual-label {
  margin: -8px 0 14px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 900;
}

.email-breaks-v2-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(246, 114, 20, .96), rgba(239, 68, 68, .94));
  border: 0;
}

.email-breaks-v2-loop span {
  color: #ffedd5;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-right: 8px;
}

.email-breaks-v2-loop strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.email-breaks-v2-loop i {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .72);
  position: relative;
}

.email-breaks-v2-loop i:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(255, 255, 255, .72);
  border-right: 2px solid rgba(255, 255, 255, .72);
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1100px) {

  .email-breaks-v2-layout,
  .email-breaks-v2-content {
    grid-template-columns: 1fr;
  }

  .email-breaks-v2-header {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .email-breaks-v2-section {
    padding: 72px 0;
  }

  .email-breaks-v2-header {
    margin-bottom: 32px;
  }

  .email-breaks-v2-header .section-title {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .v2-mail-top {
    grid-template-columns: 46px 1fr;
  }

  .v2-mail-top em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .v2-context-map {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .v2-context-map:before,
  .v2-context-map:after,
  .v2-center-node,
  .v2-source {
    position: static;
    transform: none;
  }

  .v2-center-node {
    width: auto;
    height: auto;
    min-height: 46px;
    border-radius: 16px;
    grid-column: 1 / -1;
  }

  .v2-source {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
  }

  .v2-problem-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .email-breaks-v2-loop {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .v2-context-map {
    grid-template-columns: 1fr;
  }

  .email-breaks-v2-loop i {
    width: 16px;
  }

  .email-breaks-v2-loop strong {
    font-size: 16px;
  }
}


/* ================================================
   SECTION 3 - COMPACT FINAL OVERRIDE
   ================================================ */
.email-breaks-compact-section {
  position: relative;
  padding: clamp(64px, 6vw, 86px) 0;
  overflow: hidden;
  color: #fff;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 88% 38%, rgba(246, 114, 20, .16), transparent 30%),
    radial-gradient(circle at 12% 20%, rgba(246, 114, 20, .10), transparent 26%),
    linear-gradient(135deg, #0b1220 0%, #111827 54%, #172033 100%);
}

.email-breaks-compact-bg {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.email-breaks-compact-section .container {
  position: relative;
  z-index: 1;
}

.email-breaks-compact-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.email-breaks-compact-section .section-badge {
  background: rgba(246, 114, 20, 0.1);
  border-color: rgba(246, 114, 20, 0.28);
  color: #f67214;
}

.email-breaks-compact-copy .section-title {
  color: #fff;
  margin: 18px 0 18px;
  font-size: clamp(2rem, 3.25vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.052em;
  max-width: 680px;
}

.email-breaks-compact-copy .title-highlight {
  color: #f67214;
}

.email-breaks-compact-copy p {
  max-width: 620px;
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(.98rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  font-weight: 650;
}

.compact-repeat-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  max-width: 650px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(246, 114, 20, .11);
  border: 1px solid rgba(246, 114, 20, .24);
}

.compact-repeat-line span {
  width: 100%;
  color: #fb923c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.compact-repeat-line strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.compact-repeat-line i {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, .48);
  position: relative;
}

.compact-repeat-line i:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(255, 255, 255, .55);
  border-right: 2px solid rgba(255, 255, 255, .55);
  transform: translateY(-50%) rotate(45deg);
}

.email-breaks-compact-panel {
  padding: clamp(18px, 2vw, 24px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.compact-email-preview {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: rgba(15, 23, 42, .68);
  border: 1px solid rgba(255, 255, 255, .10);
}

.compact-email-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #f67214, #ff9a3d);
  color: #fff;
  font-weight: 900;
}

.compact-email-preview strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 3px;
}

.compact-email-preview p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.compact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compact-info-card {
  position: relative;
  min-height: 100%;
  padding: 20px 20px 20px 22px;
  border-radius: 22px;
  background: rgba(15, 23, 42, .58);
  border: 1px solid rgba(255, 255, 255, .11);
  overflow: hidden;
}

.compact-info-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f67214, #fb923c);
}

.compact-info-card>span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 13px;
  background: rgba(246, 114, 20, .13);
  border: 1px solid rgba(246, 114, 20, .26);
  color: #fb923c;
  font-size: 13px;
  font-weight: 900;
}

.compact-info-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
  line-height: 1.18;
  font-weight: 900;
}

.compact-info-card p {
  margin: -4px 0 12px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 900;
}

.compact-info-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-info-card li {
  position: relative;
  padding-left: 22px;
  color: #f1f5f9;
  font-size: 13.5px;
  line-height: 1.34;
  font-weight: 800;
}

.compact-info-card li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .36em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 0 0 0 5px rgba(246, 114, 20, .12);
}

@media (max-width: 1100px) {
  .email-breaks-compact-grid {
    grid-template-columns: 1fr;
  }

  .email-breaks-compact-copy .section-title,
  .email-breaks-compact-copy p,
  .compact-repeat-line {
    max-width: 860px;
  }
}

@media (max-width: 720px) {
  .email-breaks-compact-section {
    padding: 62px 0;
  }

  .email-breaks-compact-copy .section-title {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .compact-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .email-breaks-compact-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .compact-email-preview {
    grid-template-columns: 1fr;
  }

  .compact-repeat-line i {
    width: 14px;
  }
}


/* ================================================
   SECTION 4 - INTRODUCING EMAIL AI SKILL
   ================================================ */
.email-skill-intro-section {
  font-family: "Outfit", sans-serif;
}

.email-skill-intro-grid {
  grid-template-columns: 1.08fr .92fr;
}

.email-skill-intro-copy .section-title {
  color: #111827;
}

.email-skill-intro-lead {
  max-width: 620px;
}

.email-inbox-methods {
  display: grid;
  gap: 14px;
  margin: 26px 0 18px;
}

.inbox-method-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .07);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease-out forwards;
}

.inbox-method-card:nth-child(1) {
  animation-delay: 0.1s;
}

.inbox-method-card:nth-child(2) {
  animation-delay: 0.2s;
}

.inbox-method-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .12);
  border-color: rgba(246, 114, 20, .15);
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .inbox-method-card,
  .email-skill-starts-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .inbox-method-card:hover {
    transform: none;
  }
  
  .inbox-method-card:hover>span {
    transform: none;
  }
}

.inbox-method-card>span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff3ec, #fef7f0);
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, .22);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(246, 114, 20, .08);
  transition: all 0.3s ease;
}

.inbox-method-card:hover>span {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(246, 114, 20, .15);
}

.inbox-method-card h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.inbox-method-card p {
  margin: 0;
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 600;
}

.email-skill-starts-card {
  position: relative;
  padding: 18px 20px 18px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease-out 0.3s forwards;
}

.email-skill-starts-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f67214, #ff9a3d);
}

.email-skill-starts-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 850;
}

.email-skill-intro-visual {
  min-height: 560px;
}

.project-inbox-device {
  width: min(100%, 680px);
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 34px 90px rgba(15, 23, 42, .15), 0 0 0 10px rgba(255, 255, 255, .55);
  overflow: hidden;
  transform: rotateX(7deg) rotateY(10deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
  animation: inboxDeviceFloat 8s ease-in-out infinite;
}

@keyframes inboxDeviceFloat {
  50% {
    transform: rotateX(5deg) rotateY(7deg) rotateZ(-.5deg) translateY(-10px);
  }
}

.project-inbox-topbar {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: linear-gradient(180deg, #fff, #f5f7fb);
  border-bottom: 1px solid #e2e8f0;
}

.project-inbox-topbar>span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.project-inbox-topbar span:nth-child(1) {
  background: #ff5f57;
}

.project-inbox-topbar span:nth-child(2) {
  background: #ffbd2e;
}

.project-inbox-topbar span:nth-child(3) {
  background: #28c840;
}

.project-inbox-topbar strong {
  flex: 1;
  text-align: center;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.project-inbox-topbar em {
  font-style: normal;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3ec;
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, .22);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-inbox-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 430px;
  background: linear-gradient(135deg, #f8fafc, #fff7ed);
}

.project-inbox-sidebar {
  padding: 20px 16px;
  background: rgba(248, 250, 252, .9);
  border-right: 1px solid #e2e8f0;
}

.project-inbox-sidebar small {
  display: block;
  color: #f67214;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  margin-bottom: 8px;
}

.project-inbox-sidebar b {
  display: block;
  color: #111827;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.inbox-source {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  margin-bottom: 9px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eef6;
  color: #475569;
  font-size: 12.5px;
  font-weight: 850;
}

.inbox-source.active {
  background: #fff3ec;
  border-color: rgba(246, 114, 20, .28);
  color: #f67214;
}

.inbox-source i {
  font-style: normal;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(246, 114, 20, .10);
}

.project-inbox-main {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
}

.project-inbox-main:before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 114, 20, .18), transparent 66%);
}

.inbox-message-card {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e8eef6;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .055);
}

.inbox-message-card.active {
  border-color: rgba(246, 114, 20, .35);
  box-shadow: 0 18px 38px rgba(246, 114, 20, .12);
}

.inbox-message-card strong,
.inbox-message-card small {
  display: block;
}

.inbox-message-card strong {
  color: #111827;
  font-size: 14.5px;
  font-weight: 900;
}

.inbox-message-card small {
  color: #64748b;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
}

.inbox-message-card span {
  flex-shrink: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff3ec;
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, .24);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.email-ai-analyzer-card {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
  overflow: hidden;
}

.analyzer-orbit {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #f67214 0 24%, rgba(246, 114, 20, .20) 25% 52%, rgba(246, 114, 20, .07) 53%);
  box-shadow: 0 0 0 10px rgba(246, 114, 20, .08);
  animation: analyzerPulse 2.6s ease-in-out infinite;
}

@keyframes analyzerPulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 18px rgba(246, 114, 20, .04);
  }
}

.email-ai-analyzer-card b {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.email-ai-analyzer-card small {
  display: block;
  max-width: 300px;
  margin: 8px auto 0;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .email-skill-intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .email-skill-intro-copy {
    order: 1;
  }

  .email-skill-intro-visual {
    order: 2;
    min-height: auto;
  }

  .project-inbox-device {
    transform: none;
    animation: none;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .email-skill-intro-section {
    padding: 39px 0;
  }

  .project-inbox-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-inbox-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 16px;
  }

  .project-inbox-sidebar small,
  .project-inbox-sidebar b {
    grid-column: 1 / -1;
  }

  .inbox-source {
    margin-bottom: 0;
    padding: 8px;
    font-size: 11px;
    gap: 6px;
  }

  .inbox-source i {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .project-inbox-topbar strong {
    text-align: left;
  }

  .project-inbox-topbar em {
    display: none;
  }

  /* Enhanced mobile inbox method cards */
  .email-inbox-methods {
    gap: 12px !important;
    margin: 20px 0 16px !important;
  }

  .inbox-method-card {
    grid-template-columns: 44px 1fr !important;
    gap: 12px !important;
    padding: 16px 14px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06) !important;
    background: rgba(255, 255, 255, .95) !important;
    border: 1px solid rgba(226, 232, 240, .8) !important;
    /* Reset animations on mobile for better performance */
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .inbox-method-card:hover {
    transform: none !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06) !important;
  }

  .inbox-method-card>span {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fff3ec, #fef7f0) !important;
    border: 1.5px solid rgba(246, 114, 20, .25) !important;
    box-shadow: 0 4px 12px rgba(246, 114, 20, .08) !important;
  }

  .inbox-method-card h3 {
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    font-weight: 850 !important;
  }

  .inbox-method-card p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    color: #64748b !important;
  }

  /* Enhanced starts card for mobile */
  .email-skill-starts-card {
    padding: 16px 18px 16px 20px !important;
    border-radius: 16px !important;
    margin-top: 16px !important;
    /* Reset animation on mobile */
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .email-skill-starts-card strong {
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
  }
}

@media (max-width: 480px) {
  .project-inbox-topbar {
    padding: 0 12px;
  }

  .project-inbox-main {
    padding: 14px;
  }

  .inbox-message-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-ai-analyzer-card {
    padding: 20px 16px;
  }

  /* Ultra-compact cards for very small screens */
  .email-inbox-methods {
    gap: 10px !important;
    margin: 18px 0 14px !important;
  }

  .inbox-method-card {
    grid-template-columns: 40px 1fr !important;
    gap: 10px !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  .inbox-method-card>span {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .inbox-method-card h3 {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
    font-weight: 850 !important;
  }

  .inbox-method-card p {
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
  }

  .email-skill-starts-card {
    padding: 14px 16px 14px 18px !important;
    border-radius: 14px !important;
    margin-top: 14px !important;
  }

  .email-skill-starts-card strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
  }
}

/* Extra small screens optimization */
@media (max-width: 360px) {
  .inbox-method-card {
    grid-template-columns: 36px 1fr !important;
    gap: 8px !important;
    padding: 12px 10px !important;
  }

  .inbox-method-card>span {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  .inbox-method-card h3 {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }

  .inbox-method-card p {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .email-skill-starts-card strong {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}


/* ================================================
   SECTION 4 LAYOUT REPAIR AFTER OLD CSS REMOVAL
   ================================================ */
.email-skill-intro-section {
  position: relative;
  padding: 120px 0;
  background: radial-gradient(circle at 78% 24%, rgba(246, 114, 20, .16), transparent 28%), linear-gradient(135deg, #fff 0%, #fff7ed 48%, #f8fbff 100%);
  overflow: hidden;
}

.email-skill-intro-section:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.email-skill-intro-section .construct-skill-orb {
  position: absolute;
  left: -140px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 70%);
  filter: blur(10px);
  animation: skillOrbFloat 10s ease-in-out infinite;
}

@keyframes skillOrbFloat {
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
}

.email-skill-intro-section .container {
  position: relative;
  z-index: 1;
}

.email-skill-intro-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}

.email-skill-intro-copy {
  min-width: 0;
}

.email-skill-intro-visual {
  min-height: 590px;
  display: grid;
  place-items: center;
  perspective: 1300px;
  min-width: 0;
}

.email-skill-intro-lead {
  font-size: clamp(1.08rem, 1.55vw, 1.25rem);
  line-height: 1.75;
  color: #526173;
  margin: 22px 0 28px;
}

@media(max-width: 1100px) {
  .email-skill-intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .email-skill-intro-copy {
    order: 1;
  }

  .email-skill-intro-visual {
    order: 2;
    min-height: auto;
  }
}

@media(max-width: 700px) {
  .email-skill-intro-section {
    padding: 82px 0;
  }

  .email-skill-intro-lead {
    font-size: 1rem;
  }
}


/* ========================================
   SECTION 5 FINAL - WHAT HAPPENS (EMAIL AI)
   Single animated frame with 3 states
   ======================================== */

.email-happens-section {
  padding: 100px 0;
  background: #ffffff;
}

.email-happens-header {
  text-align: center;
  margin-bottom: 60px;
}

.email-happens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================================
   LEFT - SINGLE ANIMATION FRAME
   ================================================ */
.animation-frame {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.frame-window {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.frame-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid #e2e8f0;
}

.frame-dots {
  display: flex;
  gap: 5px;
}

.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.frame-dots span:nth-child(1) { background: #ff5f57; }
.frame-dots span:nth-child(2) { background: #ffbd2e; }
.frame-dots span:nth-child(3) { background: #28c840; }

.frame-header strong {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #475569;
  font-weight: 700;
}

.frame-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3ec;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* Animation Content Container */
.animation-content {
  position: relative;
  min-height: 480px;
  padding: 20px;
  background: #fafbfc;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.animation-state {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
}

.animation-state.active {
  opacity: 1;
  visibility: visible;
}

/* State 1: Email Preview - ENHANCED */
.email-preview-enhanced {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.email-header-enhanced {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: linear-gradient(180deg, #fafbfc, #ffffff);
  border-bottom: 2px solid #f1f5f9;
}

.email-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
}

.email-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.email-sender {
  font-size: 16px;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.email-subject {
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
  line-height: 1.4;
}

.email-time {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.email-badge-new {
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.email-body-enhanced {
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.email-body-enhanced p {
  margin: 0 0 12px;
}

.email-body-enhanced p:last-of-type {
  margin-bottom: 16px;
}

.email-body-enhanced strong {
  color: #0f172a;
  font-weight: 800;
}

.highlight-text {
  background: linear-gradient(120deg, #fff3ec 0%, #fff3ec 100%);
  background-size: 100% 40%;
  background-repeat: no-repeat;
  background-position: 0 85%;
  color: var(--orange);
  font-weight: 800;
  padding: 0 2px;
}

.email-footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
}

.email-thread-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Reading Indicator - ENHANCED */
.reading-indicator-enhanced {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(246, 114, 20, 0.35);
  position: relative;
  overflow: hidden;
}

.reading-indicator-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.indicator-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.indicator-content {
  flex: 1;
  min-width: 0;
}

.indicator-title {
  display: block;
  font-size: 16px;
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.indicator-subtitle {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 10px;
}

.reading-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 70%;
  background: #ffffff;
  border-radius: 999px;
  animation: progress 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes progress {
  0% { width: 30%; }
  50% { width: 70%; }
  100% { width: 30%; }
}

/* State 2: Analysis Panel - ENHANCED */
.analysis-panel-enhanced {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}

.analysis-card {
  display: grid;
  grid-template-columns: 56px 1fr 40px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #ffffff;
  border: 2px solid #e8eef6;
  border-radius: 14px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.analysis-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: all 0.4s ease;
}

.analysis-card.complete {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border-color: #86efac;
}

.analysis-card.complete::before {
  background: linear-gradient(180deg, #10b981, #059669);
}

.analysis-card.processing {
  background: linear-gradient(135deg, #fff3ec, #ffffff);
  border-color: rgba(246, 114, 20, 0.4);
  box-shadow: 0 4px 16px rgba(246, 114, 20, 0.15);
}

.analysis-card.processing::before {
  background: linear-gradient(180deg, var(--orange), #ff8c42);
}

/* Analysis Icons - Enhanced with SVG */
.analysis-icon-enhanced {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.analysis-card.complete .analysis-icon-enhanced {
  background: linear-gradient(135deg, #10b981, #059669);
}

.analysis-card.processing .analysis-icon-enhanced {
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(246, 114, 20, 0.5);
  }
}

/* Analysis Details */
.analysis-details {
  flex: 1;
  min-width: 0;
}

.analysis-title {
  display: block;
  font-size: 15px;
  color: #0f172a;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.analysis-status {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 700;
  line-height: 1.4;
}

.analysis-card.complete .analysis-status {
  color: #059669;
  font-weight: 800;
}

.analysis-card.processing .analysis-status {
  color: var(--orange);
  font-weight: 800;
}

/* Check Mark - Enhanced */
.analysis-check-enhanced {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  animation: checkPop 0.5s ease-out;
}

@keyframes checkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Spinner - Enhanced */
.analysis-spinner-enhanced {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
  animation: spinnerPulse 1.5s ease-in-out infinite;
}

.analysis-spinner-enhanced svg {
  animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinnerPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(246, 114, 20, 0.3);
  }
  50% {
    box-shadow: 0 6px 20px rgba(246, 114, 20, 0.6);
  }
}

/* State 3: Agents Panel - COMPACT & NO BLUE */
.agents-panel-enhanced {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px;
}

.agents-header-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 2px;
}

.agents-header-enhanced svg {
  flex-shrink: 0;
}

/* Agent Cards - Compact */
.agent-card-enhanced {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: #ffffff;
  border: 2px solid #e8eef6;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.agent-card-enhanced::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

.agent-card-enhanced.active {
  background: linear-gradient(135deg, #fff3ec, #ffffff);
  border-color: rgba(246, 114, 20, 0.25);
}

.agent-card-enhanced.active::before {
  background: var(--orange);
}

.agent-card-enhanced.standby {
  background: #fafbfc;
  border-color: #e2e8f0;
}

.agent-card-enhanced.standby::before {
  background: #94a3b8;
}

.agent-card-enhanced:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Agent Icons - Compact */
.agent-icon-enhanced {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), #ff8c42);
  box-shadow: 0 2px 8px rgba(246, 114, 20, 0.25);
  transition: all 0.3s ease;
}

.agent-card-enhanced.standby .agent-icon-enhanced {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.2);
}

.agent-card-enhanced.active .agent-icon-enhanced {
  animation: agentPulse 2s ease-in-out infinite;
}

@keyframes agentPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Agent Info - Compact */
.agent-info {
  flex: 1;
  min-width: 0;
}

.agent-name {
  display: block;
  font-size: 13px;
  color: #0f172a;
  font-weight: 900;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.agent-description {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.3;
}

/* Agent Status Badge - Compact */
.agent-status-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.agent-status-badge.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.agent-status-badge.standby {
  background: #e2e8f0;
  color: #64748b;
  font-weight: 800;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}

.agent-status-badge.active .status-dot {
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Connection Success Message - Compact */
.connection-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fff3ec, #ffffff);
  border: 2px solid rgba(246, 114, 20, 0.2);
  border-radius: 8px;
  margin-top: 4px;
  animation: successSlideIn 0.5s ease-out;
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(246, 114, 20, 0.15);
}

.success-text {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #475569;
  font-weight: 700;
  line-height: 1.4;
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(246, 114, 20, 0.15);
}

.success-text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  line-height: 1.4;
}

/* Navigation Dots */
.animation-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.nav-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot:hover {
  border-color: rgba(246, 114, 20, 0.3);
  background: #fff3ec;
}

.nav-dot.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #ffffff;
}

/* ================================================
   RIGHT - DYNAMIC CONTENT PANEL (SYNCHRONIZED)
   ================================================ */
.content-panel {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

/* Content Steps (show/hide based on animation state) */
.content-step {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  flex-direction: column;
}

.content-step.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Step Badge */
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.25);
}

.step-badge .badge-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.9);
  }
}

/* Step Heading */
.step-heading {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 18px;
}

.text-highlight {
  color: var(--orange);
  position: relative;
}

/* Step Description */
.step-description {
  font-size: 17px;
  font-weight: 600;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 28px;
}

/* Step Features List */
.step-features {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.step-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 2px solid #e8eef6;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-feature-item:hover {
  border-color: rgba(246, 114, 20, 0.25);
  box-shadow: 0 4px 12px rgba(246, 114, 20, 0.08);
  transform: translateX(4px);
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-feature-item span:last-child {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}

.step-feature-item strong {
  color: var(--orange);
  font-weight: 900;
}

/* Step Outcome (for Step 3) */
.step-outcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, #fff3ec, #ffffff);
  border: 2px solid rgba(246, 114, 20, 0.2);
  border-radius: 14px;
  margin-top: 24px;
}

.outcome-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.step-outcome p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.5;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
  .email-happens-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .frame-window {
    max-width: 100%;
    margin: 0 auto;
  }

  .content-panel {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .email-happens-section {
    padding: 60px 0;
  }

  /* Remove container padding on mobile so animation box touches edges */
  .email-happens-section .container {
    width: 100%;
    padding: 0;
    max-width: 100%;
  }

  .email-happens-grid {
    display: block;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }

  .animation-frame {
    margin-bottom: 40px;
  }

  .frame-window {
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .frame-header {
    display: none;
  }

  .animation-nav {
    display: none;
  }

  .animation-content {
    background: transparent;
    padding: 0;
    min-height: auto;
    position: static;
  }

  .animation-state {
    position: static;
    opacity: 1;
    visibility: visible;
  }

  .animation-state:not(.active) {
    display: none;
  }

  .content-panel {
    max-width: 100%;
    padding: 0 1rem;
  }

  /* Add padding to individual elements inside animation-content */
  .email-preview-enhanced,
  .reading-indicator-enhanced,
  .analysis-panel-enhanced,
  .agents-panel-enhanced {
    margin: 0 1rem 16px 1rem;
  }

  /* Add border frame to Step 2 and Step 3 on mobile */
  .analysis-panel-enhanced,
  .agents-panel-enhanced {
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e8eef6;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  /* Step heading and description */
  .step-heading {
    font-size: 24px;
  }

  .step-description {
    font-size: 15px;
  }

  .step-feature-item span:last-child {
    font-size: 13px;
  }

  .step-outcome {
    flex-direction: column;
    text-align: center;
  }

  /* Step 1 - Compact but visible */
  .email-header-enhanced {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 14px;
  }

  .email-avatar-large {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 10px;
  }

  .email-sender {
    font-size: 14px;
  }

  .email-subject {
    font-size: 11px;
  }

  .email-time {
    font-size: 10px;
  }

  .email-badge-new {
    padding: 4px 8px;
    font-size: 9px;
  }

  .email-body-enhanced {
    padding: 14px;
    font-size: 12px;
  }

  .email-body-enhanced p {
    margin: 0 0 8px;
  }

  .email-thread-count {
    font-size: 11px;
  }

  .reading-indicator-enhanced {
    padding: 12px 14px;
    gap: 10px;
  }

  .indicator-icon-large {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .indicator-icon-large svg {
    width: 22px;
    height: 22px;
  }

  .indicator-title {
    font-size: 13px;
  }

  .indicator-subtitle {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .reading-progress {
    height: 5px;
  }

  /* Step 2 - Compact but visible */
  .analysis-panel-enhanced {
    gap: 8px;
  }

  .analysis-card {
    grid-template-columns: 44px 1fr 34px;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .analysis-icon-enhanced {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .analysis-icon-enhanced svg {
    width: 20px;
    height: 20px;
  }

  .analysis-title {
    font-size: 13px;
  }

  .analysis-status {
    font-size: 11px;
  }

  .analysis-check-enhanced,
  .analysis-spinner-enhanced {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .analysis-check-enhanced svg,
  .analysis-spinner-enhanced svg {
    width: 18px;
    height: 18px;
  }

  /* Step 3 - Compact but visible */
  .agents-panel-enhanced {
    gap: 8px;
  }

  .agents-header-enhanced {
    padding: 6px 10px;
    font-size: 9px;
    gap: 6px;
    border-radius: 6px;
  }

  .agents-header-enhanced svg {
    width: 12px;
    height: 12px;
  }

  .agent-card-enhanced {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .agent-icon-enhanced {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .agent-icon-enhanced svg {
    width: 18px;
    height: 18px;
  }

  .agent-name {
    font-size: 13px;
  }

  .agent-description {
    font-size: 11px;
  }

  .agent-status-badge {
    padding: 4px 8px;
    font-size: 9px;
    gap: 4px;
    border-radius: 6px;
  }

  .status-dot {
    width: 4px;
    height: 4px;
  }

  .connection-success {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 8px;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .success-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .success-icon svg {
    width: 14px;
    height: 14px;
  }

  .success-text {
    font-size: 11px;
    line-height: 1.4;
  }

  /* Navigation dots - compact */
  .animation-nav {
    margin-top: 14px;
    gap: 8px;
  }

  .nav-dot {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 12px;
  }
}

/* ========================================
   SECTION 8 - WHY IT MATTERS V2
   Fresh constructability impact redesign
   ======================================== */

.why-matters-v2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(246, 114, 20, 0.14), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(255, 185, 120, 0.18), transparent 30%),
    linear-gradient(180deg, #fffdf9 0%, #fff7ef 48%, #ffffff 100%);
}

.wm2-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.wm2-orb {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.65;
  pointer-events: none;
}

.wm2-orb-one {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 24%;
  background: rgba(246, 114, 20, 0.18);
}

.wm2-orb-two {
  width: 340px;
  height: 340px;
  right: -120px;
  bottom: 10%;
  background: rgba(15, 23, 42, 0.08);
}

.wm2-header {
  max-width: 860px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}

.wm2-title {
  margin-inline: auto;
  max-width: 860px;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.wm2-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  color: #4b5563;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  font-weight: 550;
}

.wm2-impact-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.wm2-drawing-card,
.wm2-risk-panel,
.wm2-benefit-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wm2-drawing-card {
  overflow: hidden;
  border-radius: 34px;
  min-height: 560px;
}

.wm2-window-bar {
  min-height: 68px;
  display: grid;
  grid-template-columns: 12px 12px 12px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
}

.wm2-window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 18px 0 0 #fbbf24, 36px 0 0 #22c55e;
}

.wm2-window-bar span:nth-child(2),
.wm2-window-bar span:nth-child(3) { opacity: 0; }

.wm2-window-bar strong {
  margin-left: 42px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.wm2-window-bar em {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.16);
  color: #fed7aa;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.wm2-plan-wrap {
  position: relative;
  min-height: 492px;
  overflow: hidden;
  background: #f8fafc;
}

.wm2-plan-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.6), transparent 28%, transparent 72%, rgba(255,255,255,0.72)),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(15, 23, 42, 0.08));
  pointer-events: none;
}

.wm2-plan-wrap img {
  width: 100%;
  height: 492px;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.72) brightness(1.07);
  transform: scale(1.04);
}

.wm2-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 16%;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(246, 114, 20, 0.2), #f67214, rgba(246, 114, 20, 0.2), transparent);
  box-shadow: 0 0 28px rgba(246, 114, 20, 0.85), 0 24px 60px rgba(246, 114, 20, 0.2);
  animation: wm2Scan 4.8s ease-in-out infinite;
}

@keyframes wm2Scan {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(310px); opacity: 1; }
}

.wm2-hotspot {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 126px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(246, 114, 20, 0.28);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16), 0 0 0 8px rgba(246, 114, 20, 0.08);
}

.wm2-hotspot::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #f67214;
  box-shadow: 0 0 0 8px rgba(246, 114, 20, 0.16);
}

.wm2-hotspot b {
  font-family: "Outfit", sans-serif;
  color: #0f172a;
  font-size: 16px;
  line-height: 1;
}

.wm2-hotspot small {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.wm2-hotspot-one { left: 10%; top: 22%; }
.wm2-hotspot-two { right: 9%; top: 44%; }
.wm2-hotspot-three { left: 18%; bottom: 16%; }

.wm2-ai-chip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.28);
}

.wm2-risk-panel {
  border-radius: 34px;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wm2-panel-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wm2-risk-stack {
  display: grid;
  gap: 12px;
}

.wm2-risk-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,247,237,0.8));
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.wm2-risk-item:hover {
  transform: translateX(6px);
  border-color: rgba(246, 114, 20, 0.26);
  box-shadow: 0 14px 30px rgba(246, 114, 20, 0.11);
}

.wm2-risk-item span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #0f172a;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.wm2-risk-item strong {
  font-family: "Outfit", sans-serif;
  color: #111827;
  font-size: 18px;
  line-height: 1.15;
}

.wm2-risk-item p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.wm2-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.wm2-benefit-intro {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 4vw, 42px);
}

.wm2-benefit-intro span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.wm2-benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 24px;
  border-radius: 28px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.wm2-benefit-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.12);
}

.wm2-benefit-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
}

.wm2-benefit-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(246, 114, 20, 0.12);
  color: #f67214;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.wm2-benefit-card h3 {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.wm2-benefit-card p {
  margin: 0;
  color: #5b6472;
  font-size: 15px;
  line-height: 1.62;
}

@media (max-width: 1100px) {
  .wm2-impact-stage {
    grid-template-columns: 1fr;
  }

  .wm2-risk-panel {
    display: block;
  }

  .wm2-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .why-matters-v2 {
    padding: 64px 0;
  }

  .wm2-header {
    text-align: left;
    margin-bottom: 28px;
  }

  .wm2-title {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .wm2-subtitle {
    margin-top: 14px;
    font-size: 1rem;
  }

  .wm2-drawing-card,
  .wm2-risk-panel,
  .wm2-benefit-card {
    border-radius: 24px;
  }

  .wm2-drawing-card {
    min-height: auto;
  }

  .wm2-window-bar {
    grid-template-columns: 12px 1fr;
    min-height: auto;
    padding: 15px 16px;
  }

  .wm2-window-bar span { box-shadow: none; }
  .wm2-window-bar strong { margin-left: 0; font-size: 13px; }
  .wm2-window-bar em { display: none; }

  .wm2-plan-wrap,
  .wm2-plan-wrap img {
    height: 380px;
    min-height: 380px;
  }

  .wm2-hotspot {
    min-width: 104px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .wm2-hotspot b { font-size: 14px; }
  .wm2-hotspot small { font-size: 11px; }
  .wm2-hotspot-one { left: 8%; top: 18%; }
  .wm2-hotspot-two { right: 6%; top: 44%; }
  .wm2-hotspot-three { left: 12%; bottom: 18%; }

  .wm2-ai-chip {
    left: 16px;
    right: 16px;
    bottom: 14px;
    text-align: center;
    font-size: 12px;
  }

  .wm2-risk-panel {
    padding: 18px;
  }

  .wm2-risk-item {
    grid-template-columns: 38px 1fr;
    padding: 14px;
    border-radius: 18px;
  }

  .wm2-risk-item span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .wm2-risk-item:hover {
    transform: none;
  }

  .wm2-benefit-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wm2-benefit-intro {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .wm2-benefit-intro span {
    width: 100%;
    padding: 12px 16px;
    font-size: 12px;
  }

  .wm2-benefit-card {
    min-height: auto;
    padding: 20px;
  }

  .wm2-benefit-card span {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
  }
}

@media (max-width: 430px) {
  .wm2-plan-wrap,
  .wm2-plan-wrap img {
    height: 330px;
    min-height: 330px;
  }

  .wm2-hotspot {
    min-width: 92px;
    padding: 8px 10px;
  }

  .wm2-hotspot small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wm2-scan {
    animation: none;
  }

  .wm2-benefit-card,
  .wm2-risk-item {
    transition: none;
  }
}

/* Email AI Section 8 override - compact, non-bulky */
.why-matters-v2 {
  padding: clamp(56px, 7vw, 92px) 0;
  background: linear-gradient(180deg, #fffdf9 0%, #fff7ef 54%, #ffffff 100%);
}

.why-matters-v2 .wm2-bg {
  z-index: -1;
  background: radial-gradient(circle at 10% 18%, rgba(246, 114, 20, 0.12), transparent 28%), radial-gradient(circle at 88% 20%, rgba(15, 23, 42, 0.06), transparent 26%), linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.why-matters-v2 .wm2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.why-matters-v2 .wm2-copy {
  max-width: 680px;
  margin: 0;
  text-align: left;
}

.why-matters-v2 .wm2-title {
  max-width: 680px;
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.why-matters-v2 .wm2-subtitle {
  max-width: 600px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.72;
  font-weight: 600;
  border-left: 4px solid #f67214;
  padding-left: 18px;
}

.why-matters-v2 .wm2-email-card {
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.why-matters-v2 .wm2-mail-top {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #111827;
  color: #fff;
}

.why-matters-v2 .wm2-mail-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 18px 0 0 #fbbf24, 36px 0 0 #22c55e;
}

.why-matters-v2 .wm2-mail-top strong {
  margin-left: 42px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
}

.why-matters-v2 .wm2-mail-top em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.16);
  color: #fed7aa;
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.why-matters-v2 .wm2-thread { display: grid; gap: 12px; padding: 18px; }

.why-matters-v2 .wm2-thread-kicker {
  color: #f67214;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-matters-v2 .wm2-thread-line {
  position: relative;
  padding: 16px 16px 16px 44px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #fff8f2);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.why-matters-v2 .wm2-thread-line::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: 0 0 0 6px rgba(203, 213, 225, 0.22);
}

.why-matters-v2 .wm2-thread-line.is-urgent::before { background: #f67214; box-shadow: 0 0 0 6px rgba(246, 114, 20, 0.14); }
.why-matters-v2 .wm2-thread-line.is-ready::before { background: #16a34a; box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.13); }
.why-matters-v2 .wm2-thread-line b { display: block; margin-bottom: 4px; font-family: "Outfit", sans-serif; color: #111827; font-size: 15px; }
.why-matters-v2 .wm2-thread-line p { margin: 0; color: #64748b; font-size: 13.5px; line-height: 1.5; }

.why-matters-v2 .wm2-slowdown-note {
  padding: 13px 16px;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.why-matters-v2 .wm2-benefit-label {
  width: fit-content;
  margin: clamp(22px, 4vw, 40px) auto 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(246, 114, 20, 0.1);
  color: #f67214;
  border: 1px solid rgba(246, 114, 20, 0.2);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.why-matters-v2 .wm2-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(22px, 4vw, 42px);
}

.why-matters-v2 .wm2-impact-card {
  min-height: 172px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.095);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.why-matters-v2 .wm2-impact-card:hover { transform: translateY(-5px); border-color: rgba(246, 114, 20, 0.32); box-shadow: 0 24px 52px rgba(246, 114, 20, 0.14); }
.why-matters-v2 .wm2-impact-card span { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 14px; background: linear-gradient(135deg, rgba(246, 114, 20, 0.14), rgba(246, 114, 20, 0.08)); border: 1px solid rgba(246, 114, 20, 0.18); color: #f67214; font-family: "Outfit", sans-serif; font-size: 14px; font-weight: 900; }
.why-matters-v2 .wm2-impact-card h3 { margin: 0 0 10px; font-family: "Outfit", sans-serif; color: #0f172a; font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.22; font-weight: 900; letter-spacing: -0.01em; }
.why-matters-v2 .wm2-impact-card p { margin: 0; color: #475569; font-size: 15px; line-height: 1.62; font-weight: 650; }

@media (max-width: 1024px) {
  .why-matters-v2 .wm2-layout { grid-template-columns: 1fr; }
  .why-matters-v2 .wm2-copy { max-width: 780px; }
  .why-matters-v2 .wm2-email-card { max-width: 820px; }
  .why-matters-v2 .wm2-impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .why-matters-v2 { padding: 54px 0; }
  .why-matters-v2 .wm2-title { font-size: clamp(2rem, 9vw, 2.85rem); line-height: 1.06; }
  .why-matters-v2 .wm2-subtitle { font-size: 1rem; line-height: 1.62; padding-left: 14px; }
  .why-matters-v2 .wm2-email-card { border-radius: 22px; }
  .why-matters-v2 .wm2-mail-top { grid-template-columns: 12px 1fr; padding: 14px 15px; }
  .why-matters-v2 .wm2-mail-top span { box-shadow: none; }
  .why-matters-v2 .wm2-mail-top strong { margin-left: 0; }
  .why-matters-v2 .wm2-mail-top em { display: none; }
  .why-matters-v2 .wm2-thread { padding: 14px; }
  .why-matters-v2 .wm2-thread-line { padding: 14px 14px 14px 40px; }
  .why-matters-v2 .wm2-benefit-label { width: 100%; text-align: center; }
  .why-matters-v2 .wm2-impact-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-matters-v2 .wm2-impact-card { min-height: auto; padding: 18px; }
}


/* ================================================
   NEW EMAIL AI OUTPUT SECTION - OVERRIDES OLD OUTPUT
   Added: 2026-05-12 01:49
   ================================================ */

/* ================================================
   SECTION 6 - EMAIL AI OUTPUT - EXTRACTED
   Standalone CSS for Output Section
   ================================================ */

/* ========================================
   BASE STYLES & RESET
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
}

/* ========================================
   SECTION 6 - EMAIL AI OUTPUT
   ======================================== */
.email-output-section {
  position: relative;
  padding: clamp(76px, 7vw, 112px) 0;
  background: radial-gradient(circle at 78% 22%, rgba(246, 114, 20, .13), transparent 28%), linear-gradient(135deg, #fff 0%, #fff7ed 48%, #f8fbff 100%);
  overflow: hidden;
  font-family: "Outfit", sans-serif;
}

.email-output-section .container {
  position: relative;
  z-index: 1;
}

.email-output-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(28px, 4vw, 50px);
  align-items: center;
}

.email-output-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #fff3ec;
  border: 1px solid rgba(246, 114, 20, .24);
  color: #f67214;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
}

.email-output-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f67214;
  box-shadow: 0 0 0 7px rgba(246, 114, 20, .12);
}

.email-output-title {
  margin: 20px 0 16px;
  color: #111827;
  font-size: clamp(2.1rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
}

.email-output-title span {
  color: #f67214;
}

.email-output-subtitle {
  margin: 0 0 24px;
  max-width: 680px;
  color: #526173;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
  font-weight: 650;
}

.email-output-cards {
  display: grid;
  gap: 10px;
}

.email-output-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
  backdrop-filter: blur(12px);
}

.email-output-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff3ec;
  border: 1px solid rgba(246,114,20,.22);
  font-size: 20px;
}

.email-output-card h3 {
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.email-output-card p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.email-output-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.email-output-card li {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  color: #334155;
  font-size: 11px;
  font-weight: 850;
}

.email-output-review-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  box-shadow: 0 14px 32px rgba(15,23,42,.16);
}

.email-output-review-note strong {
  font-size: 14px;
  line-height: 1.4;
}

.email-output-visual {
  min-width: 0;
}

.email-output-dashboard {
  width: min(100%, 680px);
  margin-left: auto;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 28px 70px rgba(15,23,42,.14), 0 0 0 10px rgba(255,255,255,.55);
  transform: scale(1);
  transform-origin: left center;
}

.email-output-topbar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: linear-gradient(180deg, #fff, #f5f7fb);
  border-bottom: 1px solid #e2e8f0;
}

.email-output-topbar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.email-output-topbar span:nth-child(1) { background: #ff5f57; }
.email-output-topbar span:nth-child(2) { background: #ffbd2e; }
.email-output-topbar span:nth-child(3) { background: #28c840; }

.email-output-topbar strong {
  flex: 1;
  text-align: center;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.email-output-topbar em {
  font-style: normal;
  padding: 4px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #16a34a;
  border: 1px solid rgba(22,163,74,.18);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.email-output-screen {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc, #fff7ed);
}

.email-output-question,
.email-output-analysis-panel,
.email-output-found-data,
.email-output-draft-panel {
  border-radius: 14px;
  border: 1px solid #e8eef6;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(15,23,42,.055);
}

.email-output-question {
  padding: 14px 16px;
  border-color: rgba(246,114,20,.25);
}

.email-output-question small {
  display: block;
  color: #f67214;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.email-output-question p {
  margin: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.email-output-analysis-panel,
.email-output-found-data,
.email-output-draft-panel {
  padding: 14px;
}

.output-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.output-panel-title b {
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff3ec;
  color: #f67214;
  border: 1px solid rgba(246,114,20,.22);
  font-size: 8px;
  text-transform: uppercase;
}

.analysis-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.analysis-metric-grid div {
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e8eef6;
}

.analysis-metric-grid span,
.found-data-row span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 4px;
}

.analysis-metric-grid strong,
.found-data-row strong {
  display: block;
  color: #111827;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.analysis-metric-grid .orange {
  color: #f67214;
}

.found-data-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #eef2f7;
}

.found-data-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.email-output-draft-panel {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
}

.email-output-draft-panel .output-panel-title {
  color: #fff;
}

.email-output-draft-panel p {
  margin: 0 0 12px;
  color: #e5e7eb;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.email-output-draft-panel button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f67214, #ff9a3d);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(246,114,20,.22);
  transition: all 0.3s ease;
}

.email-output-draft-panel button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(246,114,20,.32);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1100px) {
  .email-output-grid {
    grid-template-columns: 1fr;
  }
  .email-output-dashboard {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .email-output-section {
    padding: 68px 0;
  }
  .email-output-card {
    grid-template-columns: 1fr;
  }
  .analysis-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .found-data-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  .email-output-title {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }
  .email-output-screen {
    padding: 14px;
  }
  .analysis-metric-grid {
    grid-template-columns: 1fr;
  }
  .email-output-topbar em {
    display: none;
  }
}



/* ================================================
   SECTION HEADING IMPROVEMENTS FOR MOBILE
   Better typography, spacing, and visual hierarchy
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 8 - WHY IT MATTERS HEADING FIX
     ======================================== */
  
  .wm2-title,
  .why-matters-v2 .section-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    word-spacing: 0.05em !important;
  }
  
  /* Better word wrapping for long titles */
  .wm2-title,
  .section-title {
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  
  /* Highlight color in titles */
  .title-highlight {
    display: inline-block !important;
    color: #f67214 !important;
    font-weight: 900 !important;
  }
  
  /* ========================================
     ALL SECTION TITLES - MOBILE IMPROVEMENTS
     ======================================== */
  
  /* Hero Title */
  .email-ai-hero-title {
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 18px !important;
    text-align: center !important;
  }
  
  /* Section 2 - Reality Title */
  .email-reality-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 3 - Why It Breaks Title */
  .email-breaks-compact-section .section-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 4 - Introducing Title */
  .email-skill-intro-section .section-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 5 - What Happens Title */
  .email-happens-section .section-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 6 - Output Title */
  .email-output-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 7 - Workflow Shift Title */
  .workflow-shift-section .section-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 9 - Workflows Title */
  .workflow-title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  
  /* Section 9 - Workflow Header - CENTER alignment */
  .workflow-header {
    text-align: center !important;
  }
  
  /* Section 9 - BUILT FOR CONSTRUCTION Badge - CENTERED */
  .workflow-section .section-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;
  }
  
  /* Section 9 - Workflows Badge - CENTERED */
  .workflow-card-label {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  
  /* Section 10 - CTA Title */
  .cta-title-dark {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
    text-align: center !important;
  }
  
  /* ========================================
     SECTION SUBTITLES - MOBILE IMPROVEMENTS
     ======================================== */
  
  .section-subtitle,
  .email-reality-subtitle,
  .email-breaks-lead,
  .email-output-subtitle,
  .wm2-lead,
  .cta-subtitle-dark {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 22px !important;
    text-align: center !important;
    font-weight: 600 !important;
  }
  
  /* ========================================
     SECTION BADGES - MOBILE IMPROVEMENTS
     ======================================== */
  
  .section-badge,
  .email-output-badge,
  .section-badge-dark,
  .cta-badge-dark {
    font-size: 9px !important;
    padding: 7px 13px !important;
    gap: 6px !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 16px !important;
  }
  
  /* ========================================
     TYPOGRAPHY IMPROVEMENTS
     ======================================== */
  
  .section-title,
  .email-ai-hero-title,
  .email-reality-title,
  .email-output-title,
  .wm2-title,
  .workflow-title,
  .cta-title-dark {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
  }
}

@media (max-width: 360px) {
  
  .section-title,
  .email-ai-hero-title,
  .email-reality-title,
  .email-output-title,
  .wm2-title,
  .workflow-title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    line-height: 1.18 !important;
  }
  
  .cta-title-dark {
    font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
  }
}



/* ================================================
   SECTION 3 - WHY IT BREAKS - TEXT IMPROVEMENTS
   Better readability and spacing on mobile
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 3 - WHY IT BREAKS
     ======================================== */
  
  .email-breaks-compact-section {
    padding: 60px 0 !important;
  }
  
  /* Section Badge */
  .email-breaks-compact-section .section-badge {
    font-size: 9px !important;
    padding: 7px 14px !important;
    margin-bottom: 18px !important;
  }
  
  /* Main Title */
  .email-breaks-compact-section .section-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 18px !important;
    padding: 0 8px !important;
  }
  
  /* Subtitle/Lead Text */
  .email-breaks-lead,
  .email-breaks-compact-section .section-subtitle {
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    padding: 0 8px !important;
    font-weight: 600 !important;
  }
  
  /* Grid Layout */
  .email-breaks-compact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Copy Section */
  .email-breaks-compact-copy {
    text-align: center !important;
    padding: 0 12px !important;
  }
  
  /* Info List */
  .email-breaks-info-list {
    gap: 14px !important;
    margin-top: 24px !important;
    text-align: left !important;
  }
  
  .email-breaks-info-list li {
    font-size: 14px !important;
    line-height: 1.55 !important;
    padding-left: 28px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
  }
  
  .email-breaks-info-list li:before {
    width: 18px !important;
    height: 18px !important;
    left: 0 !important;
    top: 0.15em !important;
  }
  
  .email-breaks-info-list li:after {
    left: 6px !important;
    top: calc(0.15em + 6px) !important;
    width: 6px !important;
    height: 6px !important;
  }
  
  /* Visual Section */
  .email-breaks-visual {
    min-height: auto !important;
    padding: 0 12px !important;
  }
  
  /* Context Stage - Stack all cards */
  .email-context-stage {
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    gap: 14px !important;
    animation: none !important;
  }
  
  /* All Cards - Reset positioning */
  .email-question-card,
  .context-cloud-card,
  .manual-work-card,
  .repeat-loop-card {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }
  
  /* Email Question Card */
  .email-question-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)) !important;
  }
  
  .email-question-top {
    grid-template-columns: 44px 1fr !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }
  
  .email-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    border-radius: 14px !important;
  }
  
  .email-question-top strong {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }
  
  .email-question-top small {
    font-size: 12px !important;
    margin-top: 4px !important;
  }
  
  .email-question-top em {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    padding: 6px 10px !important;
    font-size: 10px !important;
    margin-top: 8px !important;
  }
  
  .email-question-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 700 !important;
  }
  
  /* Context Cloud Card */
  .context-cloud-card {
    padding: 16px !important;
  }
  
  .context-cloud-card > span {
    font-size: 11px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.1em !important;
  }
  
  .context-chip-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .context-chip-grid b {
    padding: 12px 14px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    border-radius: 12px !important;
  }
  
  /* Manual Work Card */
  .manual-work-card {
    padding: 16px !important;
  }
  
  .manual-work-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  
  .manual-work-head span {
    font-size: 11px !important;
    margin-bottom: 0 !important;
  }
  
  .manual-work-head strong {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
  
  .manual-step {
    padding: 10px 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
  }
  
  .manual-step i {
    width: 10px !important;
    height: 10px !important;
    flex-shrink: 0 !important;
  }
  
  /* Repeat Loop Card */
  .repeat-loop-card {
    padding: 18px !important;
  }
  
  .repeat-loop-card span {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }
  
  .repeat-loop-card strong {
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
  }
  
  /* ========================================
     SECTION 3 - CONTENT GRID VARIANT
     (If using the content grid layout)
     ======================================== */
  
  .email-breaks-content-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .email-breaks-info-card,
  .email-breaks-reality-card {
    padding: 18px !important;
    border-radius: 16px !important;
  }
  
  .email-breaks-info-card li,
  .email-breaks-reality-card li {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding-left: 28px !important;
  }
  
  .email-breaks-info-card li:before,
  .email-breaks-reality-card li:before {
    width: 18px !important;
    height: 18px !important;
  }
  
  .email-breaks-info-card li:after,
  .email-breaks-reality-card li:after {
    width: 6px !important;
    height: 6px !important;
    left: 6px !important;
    top: calc(.25em + 6px) !important;
  }
  
  .manual-label {
    font-size: 13px !important;
    margin-bottom: 10px !important;
  }
  
  .email-breaks-reality-card p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-top: 14px !important;
  }
}

/* ================================================
   EXTRA SMALL SCREENS (360px and below)
   ================================================ */

@media (max-width: 360px) {
  
  .email-breaks-compact-section .section-title {
    font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
  }
  
  .email-breaks-lead {
    font-size: 14px !important;
  }
  
  .email-breaks-info-list li {
    font-size: 13px !important;
  }
  
  .email-question-card p {
    font-size: 14px !important;
  }
  
  .context-chip-grid b {
    font-size: 12px !important;
    padding: 10px 12px !important;
  }
  
  .manual-step {
    font-size: 12px !important;
  }
  
  .repeat-loop-card strong {
    font-size: 15px !important;
  }
}



/* ================================================
   SECTION 3 - LEFT ALIGNMENT & LINE BREAKS FIX
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 3 - WHY IT BREAKS - LEFT ALIGN
     ======================================== */
  
  /* Copy section - LEFT aligned, not centered */
  .email-breaks-compact-copy {
    text-align: left !important;
    padding: 0 16px !important;
  }
  
  /* Badge - LEFT aligned with correct colors */
  .email-breaks-compact-section .section-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    background: rgba(246, 114, 20, 0.1) !important;
    border: 1px solid rgba(246, 114, 20, 0.28) !important;
    color: #f67214 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
    text-align: left !important;
  }
  
  /* Badge dot */
  .email-breaks-compact-section .section-badge .badge-dot-pulse {
    width: 8px !important;
    height: 8px !important;
    background: #f67214 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12) !important;
  }
  
  /* Title - LEFT aligned with specific line breaks */
  .email-breaks-compact-section .section-title {
    text-align: left !important;
    font-size: clamp(1.85rem, 8.5vw, 2.35rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 18px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
  }
  
  /* Orange highlight in title */
  .email-breaks-compact-section .section-title .title-highlight {
    color: #f67214 !important;
    font-weight: 900 !important;
    display: inline !important;
  }
  
  /* Subtitle/Lead - LEFT aligned */
  .email-breaks-compact-section .email-breaks-lead,
  .email-breaks-compact-section .section-subtitle {
    text-align: left !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
  }
  
  /* Info list - LEFT aligned */
  .email-breaks-info-list {
    text-align: left !important;
    margin-top: 24px !important;
  }
  
  .email-breaks-info-list li {
    text-align: left !important;
  }
}

/* ================================================
   FORCE LINE BREAKS IN TITLE
   Add <br> tags in HTML for these specific breaks
   ================================================ */

/* If you want to force line breaks without changing HTML,
   you can use this approach with word spacing, but it's better
   to add <br> tags in the HTML at the right places */

@media (max-width: 480px) {
  /* Ensure title doesn't break awkwardly */
  .email-breaks-compact-section .section-title {
    word-spacing: normal !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
  }
}



/* ================================================
   SECTION 4 - INTRODUCING THE SKILL - CENTER BADGE
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 4 - CENTER BADGE & CONTENT
     ======================================== */
  
  /* Copy section - CENTERED */
  .email-skill-intro-copy,
  .construct-skill-copy {
    text-align: center !important;
    padding: 0 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Badge - CENTERED with correct colors */
  .email-skill-intro-section .section-badge,
  .construct-skill-section .section-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    background: rgba(246, 114, 20, 0.1) !important;
    border: 1px solid rgba(246, 114, 20, 0.28) !important;
    color: #f67214 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
    text-align: center !important;
  }
  
  /* Badge dot */
  .email-skill-intro-section .section-badge .badge-dot-pulse,
  .construct-skill-section .section-badge .badge-dot-pulse {
    width: 8px !important;
    height: 8px !important;
    background: #f67214 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12) !important;
  }
  
  /* Title - CENTERED */
  .email-skill-intro-section .section-title,
  .construct-skill-section .section-title {
    text-align: center !important;
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 18px !important;
    padding: 0 8px !important;
    color: #111827 !important;
    font-weight: 900 !important;
  }
  
  /* Orange highlight in title */
  .email-skill-intro-section .section-title .title-highlight,
  .construct-skill-section .section-title .title-highlight {
    color: #f67214 !important;
    font-weight: 900 !important;
    display: inline !important;
  }
  
  /* Subtitle - CENTERED */
  .email-skill-intro-section .section-subtitle,
  .construct-skill-section .section-subtitle {
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    padding: 0 8px !important;
    color: #526173 !important;
    font-weight: 600 !important;
  }
  
  /* Grid Layout */
  .construct-skill-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Feature cards or list items */
  .construct-skill-features,
  .skill-feature-list {
    text-align: left !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }
  
  .skill-feature-item,
  .construct-skill-feature {
    text-align: left !important;
  }
}

/* ================================================
   EXTRA SMALL SCREENS (360px and below)
   ================================================ */

@media (max-width: 360px) {
  
  .email-skill-intro-section .section-title,
  .construct-skill-section .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
  }
  
  .email-skill-intro-section .section-badge,
  .construct-skill-section .section-badge {
    font-size: 10px !important;
    padding: 7px 15px !important;
  }
}



/* ================================================
   SECTION 4 - INBOX METHOD CARDS - MOBILE FIX
   Better readability and layout on small screens
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 4 - INBOX METHOD CARDS
     ======================================== */
  
  /* Cards container */
  .inbox-method-stack,
  .inbox-methods,
  .skill-features {
    display: grid !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }
  
  /* Individual card */
  .inbox-method-card {
    display: grid !important;
    grid-template-columns: 60px 1fr !important;
    gap: 16px !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
    align-items: start !important;
  }
  
  /* Number badge */
  .inbox-method-card > span {
    width: 60px !important;
    height: 60px !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(135deg, #fff3ec, #ffe8d9) !important;
    border: 2px solid rgba(246, 114, 20, 0.25) !important;
    border-radius: 16px !important;
    color: #f67214 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    font-family: "Outfit", sans-serif !important;
    flex-shrink: 0 !important;
  }
  
  /* Card content */
  .inbox-method-card > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  /* Card title */
  .inbox-method-card h3 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
    font-family: "Outfit", sans-serif !important;
  }
  
  /* Card description */
  .inbox-method-card p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
  }
  
  /* ========================================
     ALTERNATIVE CARD STYLES (if different structure)
     ======================================== */
  
  /* Feature cards */
  .skill-feature-card,
  .construct-skill-feature {
    padding: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
  }
  
  .skill-feature-card h3,
  .construct-skill-feature h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    color: #111827 !important;
    font-weight: 900 !important;
  }
  
  .skill-feature-card p,
  .construct-skill-feature p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    font-weight: 600 !important;
    margin: 0 !important;
  }
  
  /* Icon in feature cards */
  .skill-feature-icon,
  .construct-skill-icon {
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(135deg, #fff3ec, #ffe8d9) !important;
    border: 2px solid rgba(246, 114, 20, 0.25) !important;
    border-radius: 14px !important;
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  
  /* ========================================
     VISUAL SECTION (if has demo window)
     ======================================== */
  
  .construct-skill-visual,
  .skill-demo-visual {
    min-height: auto !important;
    padding: 0 12px !important;
  }
  
  .skill-demo-window,
  .construct-skill-window {
    width: 100% !important;
    height: auto !important;
    min-height: 400px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
  }
  
  .skill-demo-topbar {
    height: 40px !important;
    padding: 0 14px !important;
    background: linear-gradient(180deg, #fff, #f8fafc) !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  
  .skill-demo-topbar strong {
    font-size: 11px !important;
  }
  
  .skill-demo-screen {
    padding: 14px !important;
    background: linear-gradient(135deg, #f8fafc, #ffffff) !important;
  }
  
  /* ========================================
     BOTTOM CTA CARD (if exists)
     ======================================== */
  
  .skill-cta-card,
  .inbox-cta-card {
    padding: 20px !important;
    background: linear-gradient(135deg, #111827, #1f2937) !important;
    border-radius: 18px !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-top: 20px !important;
  }
  
  .skill-cta-card p,
  .inbox-cta-card p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }
}

/* ================================================
   EXTRA SMALL SCREENS (360px and below)
   ================================================ */

@media (max-width: 360px) {
  
  /* Reduce card padding */
  .inbox-method-card {
    padding: 16px !important;
    gap: 14px !important;
  }
  
  /* Smaller number badge */
  .inbox-method-card > span {
    width: 52px !important;
    height: 52px !important;
    font-size: 20px !important;
    border-radius: 14px !important;
  }
  
  /* Smaller text */
  .inbox-method-card h3 {
    font-size: 16px !important;
  }
  
  .inbox-method-card p {
    font-size: 13px !important;
  }
  
  /* Feature cards */
  .skill-feature-card,
  .construct-skill-feature {
    padding: 16px !important;
  }
  
  .skill-feature-card h3,
  .construct-skill-feature h3 {
    font-size: 15px !important;
  }
  
  .skill-feature-card p,
  .construct-skill-feature p {
    font-size: 13px !important;
  }
  
  /* Icons */
  .skill-feature-icon,
  .construct-skill-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }
}

/* ================================================
   LANDSCAPE MODE (if needed)
   ================================================ */

@media (max-width: 767px) and (orientation: landscape) {
  
  .inbox-method-card {
    grid-template-columns: 50px 1fr !important;
    padding: 16px !important;
  }
  
  .inbox-method-card > span {
    width: 50px !important;
    height: 50px !important;
    font-size: 18px !important;
  }
  
  .inbox-method-card h3 {
    font-size: 15px !important;
  }
  
  .inbox-method-card p {
    font-size: 13px !important;
  }
}



/* ================================================
   SECTION 6 - OUTPUT - CENTER BADGE & CONTENT
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 6 - OUTPUT - CENTERED LAYOUT
     ======================================== */
  
  /* Copy section - CENTERED */
  .email-output-copy {
    text-align: center !important;
    padding: 0 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Badge - CENTERED with correct colors */
  .email-output-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    background: rgba(246, 114, 20, 0.1) !important;
    border: 1px solid rgba(246, 114, 20, 0.28) !important;
    color: #f67214 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
    text-align: center !important;
  }
  
  /* Badge dot */
  .email-output-badge span {
    width: 8px !important;
    height: 8px !important;
    background: #f67214 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 7px rgba(246, 114, 20, 0.12) !important;
  }
  
  /* Title - CENTERED */
  .email-output-title {
    text-align: center !important;
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 18px !important;
    padding: 0 8px !important;
    color: #111827 !important;
    font-weight: 900 !important;
  }
  
  /* Orange highlight in title */
  .email-output-title span {
    color: #f67214 !important;
    font-weight: 900 !important;
    display: inline !important;
  }
  
  /* Subtitle - CENTERED */
  .email-output-subtitle {
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    padding: 0 8px !important;
    color: #526173 !important;
    font-weight: 600 !important;
    max-width: 100% !important;
  }
  
  /* Grid Layout */
  .email-output-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Cards container */
  .email-output-cards {
    gap: 14px !important;
    margin-bottom: 20px !important;
  }
  
  /* Output cards - using horizontal layout (see below at line ~15011) */
  
  /* Review note */
  .email-output-review-note {
    margin-top: 14px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #111827, #1f2937) !important;
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16) !important;
    text-align: center !important;
  }
  
  .email-output-review-note strong {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
  }
  
  /* Visual section */
  .email-output-visual {
    min-width: 0 !important;
    padding: 0 12px !important;
  }
  
  /* Dashboard */
  .email-output-dashboard {
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
  }
  
  /* Dashboard topbar */
  .email-output-topbar {
    height: 42px !important;
    padding: 0 14px !important;
    background: linear-gradient(180deg, #fff, #f5f7fb) !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  
  .email-output-topbar strong {
    font-size: 11px !important;
    font-weight: 900 !important;
  }
  
  .email-output-topbar em {
    display: none !important;
  }
  
  /* Dashboard screen */
  .email-output-screen {
    padding: 14px !important;
    gap: 12px !important;
    background: linear-gradient(135deg, #f8fafc, #fff7ed) !important;
  }
  
  /* Question card */
  .email-output-question {
    padding: 14px !important;
    border-radius: 12px !important;
  }
  
  .email-output-question small {
    font-size: 9px !important;
    margin-bottom: 6px !important;
  }
  
  .email-output-question p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  /* Analysis panel */
  .email-output-analysis-panel,
  .email-output-found-data,
  .email-output-draft-panel {
    padding: 14px !important;
    border-radius: 12px !important;
  }
  
  .output-panel-title {
    font-size: 12px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
  }
  
  .output-panel-title b {
    font-size: 8px !important;
    padding: 4px 7px !important;
  }
  
  /* Analysis metrics */
  .analysis-metric-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .analysis-metric-grid div {
    padding: 10px !important;
    border-radius: 10px !important;
  }
  
  .analysis-metric-grid span {
    font-size: 9px !important;
    margin-bottom: 4px !important;
  }
  
  .analysis-metric-grid strong {
    font-size: 12px !important;
  }
  
  /* Found data rows */
  .found-data-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 8px 0 !important;
  }
  
  .found-data-row span {
    font-size: 10px !important;
  }
  
  .found-data-row strong {
    font-size: 12px !important;
  }
  
  /* Draft panel */
  .email-output-draft-panel p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  
  .email-output-draft-panel button {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    border-radius: 999px !important;
  }
}

/* ================================================
   SECTION 6 - OUTPUT CARDS - HORIZONTAL LAYOUT
   Icon left, text right - Compact for mobile
   ================================================ */

@media (max-width: 480px) {
  
  /* ========================================
     SECTION 6 - OUTPUT CARDS - HORIZONTAL
     ======================================== */
  
  /* Individual output cards - HORIZONTAL layout */
  .email-output-card {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    gap: 14px !important;
    align-items: start !important;
    text-align: left !important;
    padding: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
    backdrop-filter: blur(12px) !important;
  }
  
  /* Card icon - LEFT side, compact */
  .email-output-card-icon {
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    background: #fff3ec !important;
    border: 1px solid rgba(246, 114, 20, 0.22) !important;
    font-size: 20px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  
  /* Card content - RIGHT side */
  .email-output-card > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  
  /* Card title - LEFT aligned */
  .email-output-card h3 {
    margin: 0 0 4px !important;
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
    text-align: left !important;
  }
  
  /* Card description - LEFT aligned */
  .email-output-card p {
    margin: 0 0 8px !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
    text-align: left !important;
  }
  
  /* Card list items - LEFT aligned, wrapped */
  .email-output-card ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  
  .email-output-card li {
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    border: 1px solid #e8eef6 !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
  }
  
  /* Cards container - compact spacing */
  .email-output-cards {
    gap: 12px !important;
    margin-bottom: 18px !important;
  }
  
  /* Review note - LEFT aligned, compact */
  .email-output-review-note {
    margin-top: 12px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #111827, #1f2937) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14) !important;
    text-align: left !important;
  }
  
  .email-output-review-note strong {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
  }
}

/* ================================================
   EXTRA SMALL SCREENS (360px and below)
   ================================================ */

@media (max-width: 360px) {
  
  /* Even more compact for very small screens */
  .email-output-card {
    padding: 14px !important;
    gap: 12px !important;
  }
  
  .email-output-card-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }
  
  .email-output-card h3 {
    font-size: 15px !important;
  }
  
  .email-output-card p {
    font-size: 12px !important;
  }
  
  .email-output-card li {
    font-size: 10px !important;
    padding: 4px 8px !important;
  }
  
  .email-output-review-note {
    padding: 10px 12px !important;
  }
  
  .email-output-review-note strong {
    font-size: 13px !important;
  }
}

