/* ============================================================
   DIGICRUX SOLUTIONS — HOMEPAGE STYLES
   Extends global assets/css/style.css. Load after it.
   ============================================================ */

/* ---------- HERO LAYOUT ---------- */
.hero-home {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; }
  .hero-grid .hero-copy { order: 1; }
  .hero-grid .hero-visual { order: 2; }
}

.hero-copy h1 { margin-bottom: var(--space-md); }
.hero-copy p.lead {
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: var(--space-md);
}
@media (max-width: 980px) {
  .hero-copy p.lead { margin-left: auto; margin-right: auto; }
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .hero-cta-row { justify-content: center; }
}

/* Channel mini-cards under hero CTAs */
.channel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 560px;
}
@media (max-width: 980px) {
  .channel-row { max-width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .channel-row { grid-template-columns: repeat(2, 1fr); }
}

.channel-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.channel-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.channel-chip .channel-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-dot.wa { background: var(--light-green); color: var(--wa-green-hover); }
.channel-dot.fb { background: #EAF2FF; color: #0B5CCB; }
.channel-dot.ig { background: #FCEAF3; color: #C2256B; }
.channel-dot.web { background: #F0EEFE; color: #6C4DFF; }

/* ---------- HERO DASHBOARD MOCKUP ---------- */
.hero-visual { position: relative; }

.dashboard-mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  max-width: 480px;
  margin: 0 auto;
}

.dashboard-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-mock-header .dots { display: flex; gap: 6px; }
.dashboard-mock-header .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-color);
}
.dashboard-mock-header .dots span:nth-child(1) { background: #FF6B6B; }
.dashboard-mock-header .dots span:nth-child(2) { background: #FFD166; }
.dashboard-mock-header .dots span:nth-child(3) { background: #25D366; }

.dashboard-mock-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.dashboard-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dashboard-stat {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.dashboard-stat .stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dashboard-stat .stat-top span:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dashboard-stat .stat-top .trend {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wa-green-hover);
  background: var(--light-green);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}
.dashboard-stat .stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.dashboard-feed { display: flex; flex-direction: column; gap: 10px; }

.feed-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  animation: feedFloat 5s ease-in-out infinite;
}
.feed-card:nth-child(2) { animation-delay: 0.6s; }
.feed-card:nth-child(3) { animation-delay: 1.2s; }

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

.feed-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.feed-content { flex: 1; min-width: 0; }
.feed-content .feed-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.feed-content .feed-time { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.feed-content .feed-msg {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--light-green);
  color: var(--wa-green-hover);
  flex-shrink: 0;
}

/* Floating notification chip on top of mockup */
.float-notify {
  position: absolute;
  top: -18px;
  right: -22px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
}
.float-notify .icon-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--wa-green-hover);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-notify .label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
.float-notify .value { font-size: 0.92rem; font-weight: 800; color: var(--navy); }

@media (max-width: 560px) {
  .float-notify { right: 4px; top: -14px; padding: 8px 12px; }
}

/* ---------- SOLUTIONS GRID (8 cards, 4-col desktop) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 980px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 92, 203, 0.25);
}
.solution-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(11, 92, 203, 0.08);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.solution-card:hover .icon-wrap { background: var(--gradient-brand); color: var(--white); }
.solution-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.solution-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ---------- WHY DIGICRUX — HIGHLIGHT CARDS ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) { .highlight-grid { grid-template-columns: 1fr; } }

.highlight-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.highlight-card .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-glow-blue);
}

/* ---------- INDUSTRIES ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 980px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-card {
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 26px 16px;
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.industry-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: rgba(11, 92, 203, 0.2);
  box-shadow: var(--shadow-md);
}
.industry-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm);
  transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.industry-card:hover .icon-wrap { background: var(--gradient-brand); color: var(--white); }
.industry-card span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- CONTACT + LEAD FORM SECTION ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; gap: var(--space-lg); } }

.benefit-list { display: flex; flex-direction: column; gap: 16px; margin-top: var(--space-md); }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.benefit-item .check-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--wa-green-hover);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.benefit-item strong { color: var(--navy); font-size: 0.98rem; display: block; }

/* ---------- FINAL CTA (gradient band) ---------- */
.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band .eyebrow { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.cta-band .btn-primary {
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: 0 12px 30px rgba(7, 30, 66, 0.25);
}
.cta-band .btn-primary:hover { box-shadow: 0 16px 36px rgba(7, 30, 66, 0.32); }

.cta-band .float-shape {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- SECTION LOGO STRIP SPACING ---------- */
.section-tight { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
