/* ============================================
   SOLUTIONS — Product showcase styles
   ============================================ */

/* Section intro */
.solutions-intro {
  margin-bottom: 52px;
}
.solutions-intro h2 { margin-bottom: 10px; }
.solutions-intro p   { color: var(--text-muted); max-width: 560px; }

/* ── Product block (alternating 2-col layout) ── */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--card-border);
  opacity: 0;
  transform: translateY(40px);
}
.product-block:last-child { border-bottom: none; padding-bottom: 0; }
.product-block.reverse    { direction: rtl; }
.product-block.reverse > * { direction: ltr; }

/* Product badge */
.product-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.badge-crm     { background: rgba(13,148,136,.15); color: #2dd4bf; border: 1px solid rgba(13,148,136,.3); }
.badge-pos     { background: rgba(245,158,11,.15);  color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }
.badge-exybi   { background: rgba(22,163,74,.15);   color: #4ade80; border: 1px solid rgba(22,163,74,.3); }
.badge-govalle { background: rgba(251,146,60,.15);  color: #fb923c; border: 1px solid rgba(251,146,60,.3); }
.badge-civicar { background: rgba(59,130,246,.15);  color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }

.product-title {
  font-size: 2rem;
  color: var(--white);
  margin: 0 0 4px;
  font-weight: 700;
}
.product-sub {
  color: var(--primary-light);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 16px;
}
.product-desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

/* Feature list */
.product-features { display: flex; flex-direction: column; gap: 8px; }
.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 9px 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  transition: all .25s;
}
.pf-item:hover {
  background: rgba(124,58,237,.07);
  border-color: rgba(124,58,237,.2);
  color: var(--text);
}

/* ============================================
   VISUAL 1 — CRM Samanta flow diagram
   ============================================ */
.crm-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.crm-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(13,148,136,.2);
  border-radius: 14px;
  min-width: 76px;
  text-align: center;
  transition: all .3s;
  animation: nodeFloat 3s ease-in-out infinite;
}
.flow-node:nth-child(3) { animation-delay: .4s; }
.flow-node:nth-child(5) { animation-delay: .8s; }
.flow-node:nth-child(7) { animation-delay: 1.2s; }

.flow-node:hover {
  border-color: rgba(13,148,136,.6);
  background: rgba(13,148,136,.1);
  transform: translateY(-4px);
}
.flow-node.active {
  border-color: rgba(13,148,136,.5);
  background: rgba(13,148,136,.1);
  box-shadow: 0 0 20px rgba(13,148,136,.2);
}

@keyframes nodeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.fn-icon  { font-size: 1.6rem; }
.fn-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 70px;
}

.flow-arrow {
  color: rgba(13,148,136,.5);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.crm-rule {
  background: rgba(13,148,136,.08);
  border: 1px solid rgba(13,148,136,.25);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.8rem;
  color: #2dd4bf;
  text-align: center;
  line-height: 1.5;
}

/* ============================================
   VISUAL 2 — POS Receipt mockup
   ============================================ */
.pos-wrap {
  display: flex;
  justify-content: center;
}

.pos-mockup {
  background: rgba(5,8,22,.9);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 18px;
  padding: 24px 28px;
  width: 280px;
  box-shadow: 0 0 50px rgba(245,158,11,.12), 0 0 0 1px rgba(245,158,11,.08);
  animation: posGlow 3s ease-in-out infinite;
}

@keyframes posGlow {
  0%,100% { box-shadow: 0 0 50px rgba(245,158,11,.12); }
  50%      { box-shadow: 0 0 70px rgba(245,158,11,.25); }
}

.pos-header {
  text-align: center;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(245,158,11,.25);
}
.pos-items { margin-bottom: 12px; }
.pos-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.pos-row .qty { color: rgba(251,191,36,.6); font-size: 0.75rem; }
.pos-total {
  display: flex;
  justify-content: space-between;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fbbf24;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.pos-methods {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* POS steps below mockup */
.pos-steps {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ps-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.15);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: rgba(251,191,36,.8);
}

/* ============================================
   VISUAL 3 — EXYBI hub diagram
   ============================================ */
.exybi-hub-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.exybi-hub {
  position: relative;
  width: 280px;
  height: 280px;
}

.hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 76px; height: 76px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.6rem;
  box-shadow: 0 0 40px rgba(22,163,74,.4);
  animation: hubPulse 2.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes hubPulse {
  0%,100% { box-shadow: 0 0 40px rgba(22,163,74,.4); }
  50%      { box-shadow: 0 0 70px rgba(22,163,74,.7); }
}

/* SVG lines */
.hub-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hub-line {
  stroke: rgba(22,163,74,.3);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dashMove 3s linear infinite;
}
@keyframes dashMove {
  to { stroke-dashoffset: -24; }
}

.hub-sat {
  position: absolute;
  width: 84px; height: 84px;
  background: rgba(22,163,74,.07);
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-align: center;
  color: var(--text-muted);
  transition: all .3s;
  cursor: default;
}
.hub-sat small { font-size: 0.62rem; margin-top: 2px; }
.hub-sat:hover {
  background: rgba(22,163,74,.18);
  border-color: rgba(22,163,74,.6);
  color: var(--white);
  transform: scale(1.08);
}

.sat-top  { top: 0;  left: 50%; transform: translateX(-50%); }
.sat-right{ top: 50%; right: 0;  transform: translateY(-50%); }
.sat-bot  { bottom: 0; left: 50%; transform: translateX(-50%); }

/* EXYBI line-items */
.exybi-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.exybi-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  transition: all .3s;
}
.exybi-line:hover {
  background: rgba(22,163,74,.06);
  border-color: rgba(22,163,74,.25);
}
.el-icon { font-size: 1.3rem; }
.exybi-line strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 2px; }
.exybi-line small  { color: var(--text-muted); font-size: 0.78rem; }

/* ============================================
   VISUAL 4 — GoValle delivery flow
   ============================================ */
.govalle-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.gv-flow {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.gv-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.gv-icon {
  width: 54px; height: 54px;
  background: rgba(251,146,60,.08);
  border: 1px solid rgba(251,146,60,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all .3s;
  animation: gvFloat 3s ease-in-out infinite;
}
.gv-node:nth-child(3) .gv-icon  { animation-delay: .3s; }
.gv-node:nth-child(5) .gv-icon  { animation-delay: .6s; }
.gv-node:nth-child(7) .gv-icon  { animation-delay: .9s; }
.gv-node:nth-child(9) .gv-icon  { animation-delay: 1.2s; }

@keyframes gvFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.gv-icon:hover {
  background: rgba(251,146,60,.2);
  border-color: rgba(251,146,60,.5);
  box-shadow: 0 0 20px rgba(251,146,60,.2);
}
.gv-node small { color: var(--text-muted); font-size: 0.68rem; }

.gv-arrow {
  width: 22px; height: 2px;
  background: linear-gradient(90deg, rgba(251,146,60,.4), rgba(251,146,60,.1));
  position: relative;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.gv-arrow::after {
  content: '▸';
  position: absolute;
  right: -8px;
  top: -8px;
  color: rgba(251,146,60,.5);
  font-size: 0.9rem;
}

.valley-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.vc-pill {
  background: rgba(251,146,60,.07);
  border: 1px solid rgba(251,146,60,.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.76rem;
  color: #fb923c;
  transition: all .3s;
}
.vc-pill:hover {
  background: rgba(251,146,60,.15);
  border-color: rgba(251,146,60,.4);
}

/* ============================================
   VISUAL 5 — CIVICAR app mockup
   ============================================ */
.civicar-visual {
  display: flex;
  justify-content: center;
}

.app-phone {
  width: 220px;
  background: rgba(5,8,22,.95);
  border: 2px solid rgba(59,130,246,.25);
  border-radius: 32px;
  padding: 28px 20px 24px;
  box-shadow: 0 0 60px rgba(59,130,246,.12);
  animation: phoneTilt 6s ease-in-out infinite;
}

@keyframes phoneTilt {
  0%,100% { transform: perspective(600px) rotateY(-6deg) rotateX(2deg); }
  50%      { transform: perspective(600px) rotateY(6deg)  rotateX(-2deg); }
}

.phone-notch {
  width: 60px; height: 10px;
  background: rgba(59,130,246,.3);
  border-radius: 10px;
  margin: 0 auto 20px;
}

.phone-app-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  margin: 0 auto 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(59,130,246,.3);
}
.phone-app-icon img { width: 100%; height: 100%; object-fit: cover; }

.phone-app-name {
  text-align: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.phone-search {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-align: center;
}

.phone-result {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.pr-label {
  font-size: 0.65rem;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 3px;
}
.pr-value { font-size: 0.82rem; color: var(--white); font-weight: 600; }

.phone-btn {
  display: block;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  text-align: center;
  border-radius: 10px;
  padding: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 14px;
  box-shadow: 0 0 20px rgba(59,130,246,.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .product-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-block.reverse { direction: ltr; }

  .exybi-hub { width: 220px; height: 220px; }
  .hub-center { width: 60px; height: 60px; font-size: 1.2rem; }
  .hub-sat    { width: 68px; height: 68px; font-size: 1rem; }

  .app-phone { width: 190px; }
  .pos-mockup { width: 240px; padding: 18px 20px; }
}
