/* ArcAPAutomation — ArcCRM base + mocks */
@import url("/assets/css/arc-crm-product.css");

.crm-product .product-frame-head { padding:0; margin:0; overflow:hidden; line-height:0; background:#12344d; }
.crm-product .product-frame-head > svg { display:block; width:100%; max-width:none; height:auto; }

.crm-product .knowledge-section { background: var(--crm-surface); }
.crm-product .exceptions-section { background: var(--crm-surface); }
.crm-product .intelligence-section { background: var(--crm-surface); }
.crm-product .multi-system-section { background: var(--crm-surface); }
.crm-product .capture-section { background: var(--crm-surface); }
.crm-product .approvals-section { background: var(--crm-surface); }
.crm-product .crm-network-band > .network-bg { z-index:0; opacity:1; }
.crm-product .crm-network-band > *:not(.network-bg) { z-index:1; }
.crm-product .crm-network-band .knowledge-section { background:transparent; padding-top:56px; padding-bottom:56px; }
.crm-product .crm-network-band .exceptions-section { background:transparent; padding-top:56px; padding-bottom:56px; }
.crm-product .crm-network-band .intelligence-section { background:transparent; padding-top:56px; padding-bottom:56px; }
.crm-product .crm-network-band .multi-system-section { background:transparent; padding-top:56px; padding-bottom:56px; }
.crm-product .crm-network-band .capture-section { background:transparent; padding-top:56px; padding-bottom:56px; }
.crm-product .crm-network-band .approvals-section { background:transparent; padding-top:56px; padding-bottom:56px; }
.crm-product .industry-section { background-color:var(--crm-surface); background-image:url("/assets/img/arc-crm-industries-bg-2.png"); background-position:center; background-size:cover; background-repeat:no-repeat; }
.crm-product .apa-industry-boxes { grid-template-columns:repeat(3,1fr); }
@media (max-width:900px){ .crm-product .apa-industry-boxes { grid-template-columns:1fr; } }
.crm-product .apa-frame-body { padding:22px; }
.crm-product .apa-visual-panel { position:relative; border-radius:10px; min-height:280px; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:24px; }
.crm-product .apa-panel-cream { background:linear-gradient(145deg,#f8f4ea 0%,#f0ebdd 100%); border:1px solid #e2e8f0; }
.crm-product .apa-hv-main-card {
  position: relative;
  z-index: 3;
  width: 270px;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 20px 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.crm-product .apa-hv-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.crm-product .apa-hv-card-label { font-family: inherit; font-size: 10px; font-weight: 800; color: #fdd84e; letter-spacing: 1px; text-transform: uppercase; }
.crm-product .apa-hv-card-id { font-family: inherit; font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }
.crm-product .apa-hv-card-vendor { font-family: inherit; font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.crm-product .apa-hv-card-amount { font-family: inherit; font-size: 22px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 14px; }
.crm-product .apa-hv-card-flag { display: flex; align-items: center; gap: 7px; background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; }
.crm-product .apa-hv-card-flag-dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; }
.crm-product .apa-hv-card-flag-text { font-size: 10px; color: #fdd84e; font-family: inherit; font-weight: 700; }
.crm-product .apa-hv-card-route { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.6); }
.crm-product .apa-hv-card-route span { color: #7dcea0; font-family: inherit; font-weight: 700; }
.crm-product .apa-hv-float { position: absolute; z-index: 2; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 11px 13px; backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.crm-product .apa-hv-float-1 { top: 6%; left: 0; }
.crm-product .apa-hv-float-2 { bottom: 10%; right: 0; }
.crm-product .apa-hv-float-label { font-size: 8.5px; color: rgba(255,255,255,0.55); letter-spacing: 0.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 3px; }
.crm-product .apa-hv-float-value { font-family: inherit; font-size: 12px; font-weight: 800; color: #fff; }
.crm-product .apa-hv-float-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-size: 9px; font-weight: 700; color: #7dcea0; }
.crm-product .apa-hv-float-chip-dot { width: 5px; height: 5px; border-radius: 50%; background: #2a9e52; }
.crm-product .apa-multi { position: relative; z-index: 2; width: 290px; }
.crm-product .apa-multi-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.crm-product .apa-multi-src { background: #fff; border: 1px solid #e2e8f0; border-radius: 9px; padding: 11px 10px; text-align: center; box-shadow: 0 2px 8px rgba(15,23,42,0.06); }
.crm-product .apa-multi-src-icon { width: 26px; height: 26px; border-radius: 7px; margin: 0 auto 6px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: inherit; font-size: 10px; font-weight: 800; }
.crm-product .apa-multi-src-icon.erp { background: linear-gradient(135deg, #2B7ED4 0%, #1E5EA8 100%); }
.crm-product .apa-multi-src-icon.exp { background: linear-gradient(135deg, #2A9E52 0%, #1E7A3D 100%); }
.crm-product .apa-multi-src-icon.wh { background: linear-gradient(135deg, #D9A200 0%, #B58800 100%); }
.crm-product .apa-multi-src-icon.con { background: linear-gradient(135deg, #D63B2E 0%, #A82A20 100%); }
.crm-product .apa-multi-src-name { font-family: inherit; font-size: 10px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-multi-fan { display: flex; justify-content: center; gap: 6px; height: 16px; align-items: flex-start; margin-bottom: 2px; }
.crm-product .apa-multi-fan span { width: 2px; background: #fbbc04; opacity: 0.5; height: 16px; }
.crm-product .apa-multi-out { background: linear-gradient(135deg, rgba(245,184,0,0.1) 0%, #fff 100%); border: 1.5px solid #fbbc04; border-radius: 11px; padding: 13px 14px; text-align: center; box-shadow: 0 0 0 4px rgba(245,184,0,0.07); }
.crm-product .apa-multi-out-label { font-family: inherit; font-size: 9px; font-weight: 800; color: #b8860b; letter-spacing: 0.7px; text-transform: uppercase; margin-bottom: 4px; }
.crm-product .apa-multi-out-name { font-family: inherit; font-size: 14px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-multi-out-meta { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.crm-product .apa-rules { position: relative; z-index: 2; width: 280px; }
.crm-product .apa-rules-inv { background: linear-gradient(135deg, #0e0d59 0%, #162b5b 100%); color: #fff; border-radius: 11px; padding: 13px 16px; text-align: center; margin-bottom: 10px; }
.crm-product .apa-rules-inv-label { font-family: inherit; font-size: 9px; font-weight: 800; color: #fdd84e; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 3px; }
.crm-product .apa-rules-inv-name { font-family: inherit; font-size: 14px; font-weight: 800; color: #fff; }
.crm-product .apa-rules-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.crm-product .apa-rules-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; box-shadow: 0 2px 8px rgba(15,23,42,0.06); }
.crm-product .apa-rules-check { width: 18px; height: 18px; border-radius: 50%; background: #2a9e52; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; flex-shrink: 0; }
.crm-product .apa-rules-name { font-family: inherit; font-size: 11px; font-weight: 700; color: #0e0d59; }
.crm-product .apa-rules-meta { font-size: 9.5px; color: #94a3b8; margin-top: 1px; }
.crm-product .apa-rules-out { background: linear-gradient(135deg, rgba(42,158,82,0.1) 0%, #fff 100%); border: 1px solid rgba(42,158,82,0.3); border-radius: 9px; padding: 10px 14px; text-align: center; font-family: inherit; font-size: 11px; font-weight: 800; color: #2a9e52; }
.crm-product .apa-exc { position: relative; z-index: 2; width: 280px; }
.crm-product .apa-exc-flag { background: #fff; border: 1px solid rgba(214,59,46,0.3); border-left: 3px solid #ff393c; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(15,23,42,0.06); }
.crm-product .apa-exc-flag-top { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.crm-product .apa-exc-flag-icon { width: 18px; height: 18px; border-radius: 50%; background: #ff393c; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }
.crm-product .apa-exc-flag-title { font-family: inherit; font-size: 11.5px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-exc-flag-detail { font-size: 10px; color: #64748b; padding-left: 26px; }
.crm-product .apa-exc-arrow { text-align: center; color: #b8860b; font-size: 16px; margin: 2px 0; }
.crm-product .apa-exc-ticket { background: linear-gradient(135deg, rgba(245,184,0,0.08) 0%, #fff 100%); border: 1.5px solid #fbbc04; border-radius: 10px; padding: 12px 14px; box-shadow: 0 0 0 3px rgba(245,184,0,0.07); }
.crm-product .apa-exc-ticket-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.crm-product .apa-exc-ticket-id { font-family: inherit; font-size: 9px; font-weight: 800; color: #b8860b; letter-spacing: 0.5px; }
.crm-product .apa-exc-ticket-status { font-family: inherit; font-size: 8px; font-weight: 800; background: #f59e0b; color: #fff; padding: 2px 8px; border-radius: 100px; letter-spacing: 0.3px; text-transform: uppercase; }
.crm-product .apa-exc-ticket-owner { display: flex; align-items: center; gap: 8px; }
.crm-product .apa-exc-ticket-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #0e0d59 0%, #1e3a7a 100%); color: #fbbc04; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-size: 8.5px; font-weight: 800; }
.crm-product .apa-exc-ticket-owner-name { font-family: inherit; font-size: 11px; font-weight: 700; color: #0e0d59; }
.crm-product .apa-exc-ticket-owner-meta { font-size: 9px; color: #94a3b8; }
.crm-product .apa-cap { position: relative; z-index: 2; width: 280px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; box-shadow: 0 8px 24px rgba(15,23,42,0.08); }
.crm-product .apa-cap-doc { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.crm-product .apa-cap-doc-icon { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #fbbc04 0%, #b8860b 100%); color: #0e0d59; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-size: 10px; font-weight: 800; }
.crm-product .apa-cap-doc-name { font-family: inherit; font-size: 12px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-cap-doc-meta { font-size: 9.5px; color: #94a3b8; margin-top: 1px; }
.crm-product .apa-cap-field { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #e2e8f0; }
.crm-product .apa-cap-field:last-child { border-bottom: none; }
.crm-product .apa-cap-field-label { font-size: 10px; color: #94a3b8; }
.crm-product .apa-cap-field-val { font-family: inherit; font-size: 11px; font-weight: 700; color: #0e0d59; }
.crm-product .apa-cap-tag { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: 10px; font-weight: 700; color: #2a9e52; }
.crm-product .apa-cap-tag-check { width: 15px; height: 15px; border-radius: 50%; background: #2a9e52; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; }
.crm-product .apa-appr { position: relative; z-index: 2; width: 280px; }
.crm-product .apa-appr-route { display: flex; flex-direction: column; gap: 0; margin-bottom: 12px; }
.crm-product .apa-appr-step { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 11px 13px; display: flex; align-items: center; gap: 11px; box-shadow: 0 2px 8px rgba(15,23,42,0.06); position: relative; z-index: 2; }
.crm-product .apa-appr-step.active { border-color: #fbbc04; box-shadow: 0 0 0 3px rgba(245,184,0,0.12), 0 2px 8px rgba(15,23,42,0.06); }
.crm-product .apa-appr-num { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.crm-product .apa-appr-num.done { background: #2a9e52; color: #fff; }
.crm-product .apa-appr-num.active { background: #fbbc04; color: #0e0d59; }
.crm-product .apa-appr-name { font-family: inherit; font-size: 11px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-appr-meta { font-size: 9.5px; color: #94a3b8; margin-top: 1px; }
.crm-product .apa-appr-status { margin-left: auto; font-family: inherit; font-size: 8.5px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; }
.crm-product .apa-appr-status.done { background: rgba(42,158,82,0.12); color: #2a9e52; }
.crm-product .apa-appr-status.active { background: rgba(245,184,0,0.15); color: #b8860b; }
.crm-product .apa-appr-connector { width: 2px; height: 8px; background: #e2e8f0; margin-left: 24px; }
.crm-product .apa-appr-log { background: #f8f4ea; border-radius: 10px; padding: 12px 14px; }
.crm-product .apa-appr-log-label { font-family: inherit; font-size: 9px; font-weight: 800; color: #94a3b8; letter-spacing: 0.7px; text-transform: uppercase; margin-bottom: 8px; }
.crm-product .apa-appr-log-row { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #64748b; padding: 3px 0; }
.crm-product .apa-appr-log-dot { width: 6px; height: 6px; border-radius: 50%; background: #2a9e52; flex-shrink: 0; }
.crm-product .apa-appr-log-row strong { font-family: inherit; color: #0e0d59; font-weight: 700; }
.crm-product .apa-appr-log-time { margin-left: auto; font-size: 9px; color: #94a3b8; }
.crm-product .apa-intel { position: relative; z-index: 2; width: 280px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; box-shadow: 0 8px 24px rgba(15,23,42,0.08); }
.crm-product .apa-intel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.crm-product .apa-intel-vendor { font-family: inherit; font-size: 12px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-intel-tag { font-family: inherit; font-size: 8.5px; font-weight: 800; color: #b8860b; background: rgba(245,184,0,0.12); padding: 3px 8px; border-radius: 100px; letter-spacing: 0.3px; text-transform: uppercase; }
.crm-product .apa-intel-range-label { font-family: inherit; font-size: 9px; font-weight: 800; color: #94a3b8; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 9px; }
.crm-product .apa-intel-bar { position: relative; height: 8px; background: #ede9e0; border-radius: 100px; margin-bottom: 7px; }
.crm-product .apa-intel-bar-usual { position: absolute; left: 12%; width: 38%; top: 0; bottom: 0; background: linear-gradient(90deg, #7dcea0 0%, #2a9e52 100%); border-radius: 100px; }
.crm-product .apa-intel-bar-marker { position: absolute; left: 88%; top: -4px; width: 4px; height: 16px; background: #ff393c; border-radius: 2px; box-shadow: 0 0 6px rgba(214,59,46,0.5); }
.crm-product .apa-intel-scale { display: flex; justify-content: space-between; font-size: 9px; color: #94a3b8; font-family: inherit; font-weight: 700; margin-bottom: 14px; }
.crm-product .apa-intel-rows { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.crm-product .apa-intel-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 11px; border-radius: 8px; }
.crm-product .apa-intel-row.usual { background: #f8f4ea; }
.crm-product .apa-intel-row.flagged { background: linear-gradient(135deg, rgba(214,59,46,0.08) 0%, #fff 100%); border: 1px solid rgba(214,59,46,0.3); }
.crm-product .apa-intel-row-label { font-size: 10px; color: #64748b; }
.crm-product .apa-intel-row-val { font-family: inherit; font-size: 12px; font-weight: 800; color: #0e0d59; }
.crm-product .apa-intel-row.flagged .apa-intel-row-val { color: #ff393c; }
.crm-product .apa-intel-alert { display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, rgba(245,158,11,0.12) 0%, #fff 100%); border: 1px solid rgba(245,158,11,0.4); border-radius: 9px; padding: 10px 12px; }
.crm-product .apa-intel-alert-icon { width: 18px; height: 18px; border-radius: 50%; background: #f59e0b; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.crm-product .apa-intel-alert-text { font-family: inherit; font-size: 10.5px; font-weight: 700; color: #0e0d59; }

/* Hero layout (CRM theme from arc-crm-product.css) */
@keyframes apa-float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes apa-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

/* Hero eyebrow + CTA — match arc-ar-automation */
.crm-product .hero.apa-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(245, 184, 0, 0.12);
  border: 1px solid rgba(245, 184, 0, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.6px;
  margin-bottom: 24px;
}

.crm-product .hero.apa-hero .hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #f5b800;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(245, 184, 0, 0.7);
  animation: apa-hero-pulse 1.6s infinite;
}

@keyframes apa-hero-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1);
  }
}

.crm-product .hero.apa-hero .hero-ctas .btn-gold {
  gap: 9px;
  padding: 15px 28px;
  background: #f5b800;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: #0d1f42;
  box-shadow: none;
  transition: all 0.25s;
}

.crm-product .hero.apa-hero .hero-ctas .btn-gold:hover {
  background: #ffca2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 184, 0, 0.35);
  color: #0d1f42;
}

.crm-product .hero.apa-hero {
  overflow: visible;
}

.crm-product .hero.apa-hero .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-left: 0;
  padding-right: 0;
}

.crm-product .hero.apa-hero .hero-visual.product-frame {
  height: auto;
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
  animation: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

.crm-product .hero.apa-hero .hero-visual.product-frame .hero-visual-body {
  position: relative;
  min-height: 400px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 28px 20px;
  background: linear-gradient(165deg, #0a1e3d 0%, #122a4f 100%);
}

.crm-product .hero.apa-hero .product-frame-head svg {
  display: block;
  width: 100%;
  height: auto;
}

.crm-product .hero.apa-hero .apa-hv-main-card {
  animation: apa-float-soft 6s ease-in-out infinite;
}

.crm-product .hero.apa-hero .apa-hv-float-1 {
  animation: apa-float-soft 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.crm-product .hero.apa-hero .apa-hv-float-2 {
  animation: apa-float-soft 8s ease-in-out infinite;
  animation-delay: 1s;
}

.crm-product .apa-hv-card-flag-dot {
  animation: apa-pulse 1.4s infinite;
}

@media (max-width: 1000px) {
  .crm-product .hero.apa-hero .hero-grid {
    gap: 50px;
  }

  .crm-product .hero.apa-hero .hero-visual.product-frame .hero-visual-body {
    min-height: 300px;
    height: 380px;
    padding: 24px 16px;
  }
}
