/* ============================================
   5G.al - Solution Page Components
   Extends style.css with components for solution
   landing pages (HMS and future siblings).
   ============================================ */

/* Breadcrumb */
.breadcrumb-wrap {
  padding-top: 28px;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
}
.breadcrumb a { color: var(--text-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: var(--text-3); opacity: .5; }
.bc-current { color: var(--text); font-weight: 500; }

/* Solution hero variant — tighter top spacing since we have breadcrumb */
.solution-hero { padding-top: 20px; }

/* ============================================
   EHR mockup (inside hero mock-window)
   ============================================ */
.ehr-mock { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px !important; }
.ehr-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.ehr-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}
.ehr-info { flex: 1; }
.ehr-name { width: 70%; height: 9px; border-radius: 3px; background: rgba(255,255,255,.18); margin-bottom: 6px; }
.ehr-meta { width: 50%; height: 7px; border-radius: 3px; background: rgba(255,255,255,.08); }
.ehr-pill {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em;
  color: #001019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 10px;
  border-radius: 999px;
}
.ehr-tabs { display: flex; gap: 6px; }
.ehr-tab {
  flex: 1; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.08);
}
.ehr-tab.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.ehr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ehr-card {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.ehr-k {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.ehr-v {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.ehr-rows { display: flex; flex-direction: column; gap: 6px; }
.ehr-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,.02);
  border-radius: 8px;
}
.ehr-row > span:first-child {
  flex: 1; height: 7px; border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.ehr-tag { width: 26px; height: 14px; border-radius: 4px; }
.ehr-tag.ok { background: rgba(52, 211, 153, .4); }
.ehr-tag.warn { background: rgba(248, 113, 113, .35); }

/* ============================================
   Problem cards
   ============================================ */
.prob-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}
.prob-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.prob-icon {
  font-size: 32px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .25);
  margin-bottom: 18px;
}
.prob-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.prob-card p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
}

/* ============================================
   Overview stats
   ============================================ */
.overview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(34,211,238,.06), rgba(168,85,247,.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.ov-stat {
  text-align: center;
}
.ov-stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.ov-stat span {
  font-size: 14px;
  color: var(--text-2);
}

/* ============================================
   Modules grid
   ============================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mod {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all .25s;
}
.mod:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.mod-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 10px;
}
.mod h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.mod p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
}

/* ============================================
   Integration cards
   ============================================ */
.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.int-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .04em;
  transition: all .25s;
  text-align: center;
}
.int-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: rgba(34,211,238,.04);
}

/* ============================================
   Mobile App Showcase
   ============================================ */
.mobile-show-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mobile-show-text .section-title { text-align: left; margin-top: 14px; }
.mobile-show-text .section-sub { text-align: left; margin-bottom: 24px; }
.mob-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.mob-list li {
  position: relative;
  padding: 10px 14px 10px 40px;
  font-size: 14px;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mob-list li::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(34,211,238,.4);
}

/* Phone mockup */
.mobile-show-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(180deg, #1a1f33 0%, #0f1424 100%);
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.06),
    0 0 80px -20px var(--accent-glow),
    inset 0 0 0 2px rgba(255,255,255,.04);
  animation: floatY 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0a0e1a, #06080f);
  border-radius: 30px;
  padding: 40px 16px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-home {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
}

.ph-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 4px 0;
}
.ph-greet { display: flex; flex-direction: column; gap: 4px; }
.ph-hello {
  width: 50px; height: 8px; border-radius: 3px;
  background: rgba(255,255,255,.15);
}
.ph-name {
  width: 80px; height: 12px; border-radius: 3px;
  background: rgba(255,255,255,.3);
}
.ph-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

.ph-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}
.ph-card.primary {
  background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(59,130,246,.08));
  border-color: rgba(34,211,238,.35);
}
.ph-card-title {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ph-card-body { display: flex; flex-direction: column; gap: 2px; }
.ph-card-body strong { font-size: 14px; color: var(--text); }
.ph-card-body span { font-size: 11px; color: var(--text-2); }

.ph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ph-mini {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ph-mini span { font-size: 18px; }
.ph-mini em {
  font-style: normal;
  font-size: 9px;
  color: var(--text-2);
}

.ph-list { display: flex; flex-direction: column; gap: 8px; }
.ph-li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.025);
  border-radius: 10px;
  padding: 10px;
}
.ph-li span {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(34,211,238,.15);
}
.ph-li em {
  flex: 1; height: 8px;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
}

/* ============================================
   Deployment cards
   ============================================ */
.deploy-grid {
  grid-template-columns: repeat(4, 1fr);
}
.deploy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.deploy-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.deploy-card.featured {
  background: linear-gradient(135deg, rgba(34,211,238,.08), rgba(168,85,247,.04));
  border-color: rgba(34,211,238,.4);
  box-shadow: 0 20px 60px -20px rgba(34,211,238,.25);
}
.deploy-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 10px;
  background: rgba(34,211,238,.1);
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.deploy-card.featured .deploy-tag {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #001019;
}
.deploy-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.deploy-card p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 14px;
  flex-grow: 1;
}
.deploy-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.deploy-card ul li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
}
.deploy-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ============================================
   FAQ accordion
   ============================================ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] {
  border-color: rgba(34,211,238,.35);
  background: var(--surface-2);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255,255,255,.02); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #001019;
  border-color: transparent;
}
.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .mobile-show-inner { grid-template-columns: 1fr; gap: 40px; }
  .mobile-show-visual { order: -1; }
  .overview-stats { grid-template-columns: repeat(2, 1fr); padding: 28px; }
}

@media (max-width: 768px) {
  .modules-grid { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .ehr-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-item summary { padding: 16px 18px; font-size: 14px; }
  .faq-item p { padding: 0 18px 18px; font-size: 13px; }
}

/* ============================================
   Archive page extensions
   ============================================ */

/* Archive browser mockup (inside hero) */
.archive-mock { padding: 14px !important; display: flex; flex-direction: column; gap: 10px; }
.arc-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.arc-search {
  flex: 1; height: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.arc-chip {
  width: 44px; height: 22px;
  border-radius: 6px;
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.25);
}
.arc-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.arc-tile {
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.arc-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc-wm {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: .15em;
  transform: rotate(-15deg);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  pointer-events: none;
}
.arc-cap {
  height: 8px;
  margin: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
}

/* Pretty gradients to stand in for sample images */
.grad-1 { background: linear-gradient(135deg, #5b6b8a, #2b3245); }
.grad-2 { background: linear-gradient(135deg, #8a6a4d, #3a2a1a); }
.grad-3 { background: linear-gradient(135deg, #4a6a5a, #1a2a22); }
.grad-4 { background: linear-gradient(135deg, #7a5a7a, #2a1a2a); }
.grad-5 { background: linear-gradient(135deg, #6a7a8a, #2a3340); }
.grad-6 { background: linear-gradient(135deg, #8a8a5a, #2a2a1a); }

/* Viewer mockup (Archive viewer showcase) */
.viewer-mock {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #0f1424 0%, #06080f 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.6),
    0 0 80px -20px var(--accent-glow);
  animation: floatY 6s ease-in-out infinite;
}
.vm-bar {
  display: flex; gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.vm-zoom {
  width: 26px; height: 22px;
  border-radius: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vm-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.vm-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.vm-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  pointer-events: none;
}
.vm-handle {
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--accent);
  background: rgba(34,211,238,.15);
}
.vm-h-1 { top: 18%; left: 22%; }
.vm-h-2 { bottom: 24%; right: 18%; }
.vm-meta {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.vm-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
}
.vm-k {
  font-family: var(--font-mono);
  color: var(--text-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  width: 60px;
}
.vm-v {
  flex: 1; height: 7px;
  border-radius: 3px;
  background: rgba(255,255,255,.1);
}
.vm-v.short { width: 40%; flex: none; }
.vm-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #001019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 3px 8px;
  border-radius: 4px;
}

/* ============================================
   University SIS mockup (hero)
   ============================================ */
.uni-mock { padding: 14px !important; display: flex; flex-direction: column; gap: 10px; }
.uni-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.uni-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #001019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 10px;
  border-radius: 999px;
}
.uni-pill.alt {
  color: var(--accent);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.25);
}
.uni-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}
.uni-stat {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.us-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: .1em;
  margin-bottom: 2px;
}
.us-v {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.uni-schedule {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.us-row {
  display: flex; align-items: center; gap: 10px;
}
.us-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  width: 36px;
}
.us-bar {
  flex: 1; height: 7px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .8;
}
.us-bar.w-40 { max-width: 40%; }
.us-bar.w-50 { max-width: 50%; }
.us-bar.w-70 { max-width: 70%; }
.us-bar.w-85 { max-width: 85%; }
.uni-rows { display: flex; flex-direction: column; gap: 5px; }
.uni-r {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,.02);
  border-radius: 6px;
}
.uni-r > span:first-child {
  flex: 1; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.uni-tag { width: 26px; height: 12px; border-radius: 3px; }
.uni-tag.ok { background: rgba(52, 211, 153, .4); }
.uni-tag.warn { background: rgba(248, 113, 113, .35); }

/* ============================================
   CRM pipeline mockup (hero)
   ============================================ */
.crm-mock { padding: 14px !important; display: flex; flex-direction: column; gap: 10px; }
.crm-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.crm-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #001019;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 10px;
  border-radius: 999px;
}
.crm-pill.alt {
  color: var(--accent);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.25);
}
.crm-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.crm-col {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crm-col-h {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}
.crm-card {
  height: 18px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
}
.crm-card.a { background: linear-gradient(90deg, rgba(34,211,238,.4), rgba(34,211,238,.15)); }
.crm-card.b { background: linear-gradient(90deg, rgba(59,130,246,.45), rgba(59,130,246,.15)); }
.crm-card.c { background: linear-gradient(90deg, rgba(52,211,153,.5), rgba(52,211,153,.18)); }
.crm-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crm-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,.02);
  border-radius: 6px;
}
.crm-row em {
  flex: 1; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.crm-src {
  width: 14px; height: 14px; border-radius: 4px;
  flex-shrink: 0;
}
.crm-src.meta { background: linear-gradient(135deg, #1877f2, #0866ff); }
.crm-src.web  { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.crm-src.call { background: linear-gradient(135deg, #34d399, #10b981); }

/* ============================================
   E-Learning course player mockup (hero)
   ============================================ */
.lms-mock { padding: 14px !important; display: flex; flex-direction: column; gap: 10px; }
.lms-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1f33, #06080f);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lms-play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(34,211,238,.85);
  color: #001019;
  font-size: 18px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(34,211,238,.5);
}
.lms-time {
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-2);
}
.lms-progress {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.lms-progress-fill {
  height: 100%;
  width: 52%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.lms-title-row {
  display: flex; align-items: center; gap: 10px;
}
.lms-title-bar {
  flex: 1; height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.14);
}
.lms-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.25);
  border-radius: 999px;
  white-space: nowrap;
}
.lms-modules {
  display: flex; flex-direction: column; gap: 6px;
}
.lms-mod {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.lms-mod em {
  flex: 1; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.lms-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.lms-mod.done .lms-dot {
  background: linear-gradient(135deg, var(--success), #10b981);
  border-color: transparent;
  box-shadow: 0 0 6px rgba(52, 211, 153, .4);
}
.lms-mod.active .lms-dot {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 0 10px rgba(34, 211, 238, .5);
}
.lms-mod.active {
  background: rgba(34,211,238,.05);
  border-color: rgba(34,211,238,.25);
}

/* ============================================
   AI assistant mockup (hero)
   ============================================ */
.ai-mock { padding: 14px !important; display: flex; flex-direction: column; gap: 10px; }
.ai-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 180px;
}
.ai-bubble {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 85%;
}
.ai-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(59,130,246,.15));
  border: 1px solid rgba(34,211,238,.3);
  width: 60%;
}
.ai-bubble.user.short { width: 45%; }
.ai-bubble.user span {
  height: 7px;
  border-radius: 3px;
  background: rgba(255,255,255,.45);
  width: 80%;
}
.ai-bubble.assistant {
  align-self: flex-start;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  width: 80%;
}
.ai-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.18);
}
.ai-line.short { width: 60%; }
.ai-cite {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: .04em;
}
.ai-bubble.typing {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  padding: 12px 14px;
  width: auto;
}
.ai-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .5;
  animation: typingDot 1.2s ease-in-out infinite;
}
.ai-dot:nth-child(2) { animation-delay: .15s; }
.ai-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(-3px); opacity: 1; }
}
.ai-chart {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}
.ai-chart svg { height: 50px; width: 100%; }

/* ============================================
   Mobile App: multi-phone gallery hero
   ============================================ */
.mob-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  perspective: 1500px;
}
.mphone {
  position: relative;
  width: 170px;
  height: 350px;
  background: linear-gradient(180deg, #1a1f33 0%, #0f1424 100%);
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 0 2px rgba(255,255,255,.04);
}
.mphone-front {
  width: 200px;
  height: 410px;
  border-radius: 32px;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,.8),
    0 0 0 1px rgba(255,255,255,.08),
    0 0 80px -10px var(--accent-glow),
    inset 0 0 0 2px rgba(255,255,255,.04);
  z-index: 2;
  animation: floatY 6s ease-in-out infinite;
}
.mphone-back {
  z-index: 1;
  opacity: .85;
  animation: floatY 7s ease-in-out infinite;
}
.mphone-tilt-left {
  transform: translateX(-100px) rotate(-12deg) scale(.85);
  animation-delay: -1s;
}
.mphone-tilt-right {
  transform: translateX(100px) rotate(12deg) scale(.85);
  animation-delay: -2.5s;
}
.mphone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 16px;
  background: #000;
  border-radius: 0 0 10px 10px;
  z-index: 3;
}
.mphone-front .mphone-notch { width: 80px; height: 20px; }
.mphone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0a0e1a, #06080f);
  border-radius: 22px;
  padding: 28px 10px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mphone-front .mphone-screen {
  border-radius: 26px;
  padding: 36px 12px 20px;
  gap: 10px;
}
.mphone-home {
  position: absolute;
  bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
}
.mp-bar {
  height: 8px;
  width: 50%;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
}
.mp-bar.wide { width: 75%; }
.mp-card {
  height: 60px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.mp-card.primary {
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(59,130,246,.08));
  border-color: rgba(34,211,238,.4);
  height: 76px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mp-card-title {
  width: 40%; height: 6px; border-radius: 3px;
  background: rgba(34,211,238,.6);
}
.mp-card-strong {
  width: 75%; height: 10px; border-radius: 3px;
  background: rgba(255,255,255,.5);
}
.mp-card-sub {
  width: 60%; height: 7px; border-radius: 3px;
  background: rgba(255,255,255,.2);
}
.mp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mp-grid > div {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}
.mp-grid > div.filled {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}
.mp-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mp-rows > div {
  height: 12px;
  border-radius: 4px;
  background: rgba(255,255,255,.05);
}

@media (max-width: 1024px) {
  .mob-hero-visual { min-height: 380px; }
  .mphone-tilt-left { transform: translateX(-70px) rotate(-10deg) scale(.75); }
  .mphone-tilt-right { transform: translateX(70px) rotate(10deg) scale(.75); }
}
@media (max-width: 768px) {
  .mob-hero-visual { min-height: 320px; }
  .mphone-front { width: 170px; height: 350px; }
  .mphone-tilt-left, .mphone-tilt-right { display: none; }
}

/* ============================================
   Screenshot hero variant (real product screenshots
   embedded inside the same dark window chrome).
   ============================================ */
.shot-window {
  background: linear-gradient(180deg, #0f1424 0%, #0a0e1a 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.03),
    0 0 80px -20px var(--accent-glow);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .6s;
  position: relative;
}
.hero-visual:hover .shot-window { transform: rotateY(-4deg) rotateX(2deg); }
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.shot-bar > span {
  width: 11px; height: 11px; border-radius: 50%;
}
.shot-bar > span:nth-child(1) { background: #ff5f57; }
.shot-bar > span:nth-child(2) { background: #ffbd2e; }
.shot-bar > span:nth-child(3) { background: #28c941; }
.shot-url {
  flex: 1;
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  background: rgba(0,0,0,.4);
  padding: 4px 12px;
  border-radius: 6px;
}
.shot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
}
.shot-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.shot-stage img.fallback { display: none; }
.shot-stage img:not([src]),
.shot-stage img[src=""] { display: none; }
.shot-stage .shot-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  background: linear-gradient(135deg, #0f1424, #1a1f33);
  padding: 24px;
}
.shot-fallback strong {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .05em;
}
/* Auto-hide the fallback when an image actually loads */
.shot-stage img.shot-img:not([src=""]) ~ .shot-fallback { display: none; }

/* Secondary thumbs row below the main shot (used for HMS which has 4 screenshots) */
.shot-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
}
.shot-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0f1424, #06080f);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.shot-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.shot-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
