/* ==========================================================================
   responsive.css — Landing page enhancements & targeted overrides
   Loaded AFTER style.css to win on same-specificity conflicts.
   ========================================================================== */

/* ---- Fix: gradient-text inside .section-title must use design-system purple ---- */
.section-title .gradient-text,
h1 .gradient-text,
h2 .gradient-text,
h3 .gradient-text,
h4 .gradient-text {
  background: linear-gradient(135deg, #384155 0%, #0453a7 40%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Industry tabs: use accent color from new design system ---- */
.industry-tabs .nav-link {
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  transition: all var(--transition);
  font-family: var(--font-primary);
}
.industry-tabs .nav-link:hover {
  border-color: #0453a7;
  color: #0453a7;
  background: #0453a714;
}
.industry-tabs .nav-link.active {
  background: #0453a7;
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ---- Panel card (industry tab content) ---- */
.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  transition: border-color var(--transition);
}
.panel-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.panel-card > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ---- Feature-box pills in industry tabs ---- */
.feature-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 11px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
  cursor: default;
}
.feature-box:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

/* ---- Hero section layout adjustments ---- */
.hero-content-inner {
  max-width: 100%;
  padding-bottom: 0;
  margin: 0;
}

/* ---- Getting started feature-cards: keep icon flush ---- */
.getting-started-card .feature-icon-wrap {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* ---- Footer: misc link colors ---- */
.site-footer .footer-desc a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer .footer-desc a:hover {
  color: var(--text-primary);
}

/* ---- Pricing section adjustments ---- */
.pricing-section .section-header {
  margin-bottom: 0;
}
.section-pricing {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}

/* ---- Switcher toggle uses accent color ---- */
.switcher .toggle {
  border-color: var(--accent);
}
.switcher .toggle:after {
  background: var(--accent);
}

/* ---- Transitions text ---- */
.transition-text {
  text-align: center;
  margin-top: 3rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 1rem;
  font-family: var(--font-primary);
}

/* ---- Responsive: feature-card height equal in grid ---- */
@media (min-width: 992px) {
  .features-grid [class*="col-"] {
    display: flex;
    flex-direction: column;
  }
  .features-grid .feature-card {
    flex: 1;
  }
}

/* ---- Blog / Solutions grid: equal card heights ---- */
@media (min-width: 768px) {
  .solutions-grid [class*="col-"] {
    display: flex;
    flex-direction: column;
  }
  .solutions-grid .post-card {
    flex: 1;
  }
}

/* ---- Site header override: ensure no duplicate border ---- */
.site-header {
  border-bottom-color: transparent;
}
/* ==========================================================================
   INVENTORY UI MOCKUP CARDS
   Section-visual replacements styled like real app components.
   ========================================================================== */

.icard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15,23,42,.10), 0 1px 4px rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.07);
  font-family: Inter, system-ui, sans-serif;
  overflow: hidden;
  width: 100%;
}

/* Window chrome bar */
.icard-header {
  background: #0F172A;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.icard-chrome {
  display: flex;
  gap: 6px;
}
.icard-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.icard-chrome span:nth-child(1) { background: #EF4444; }
.icard-chrome span:nth-child(2) { background: #F59E0B; }
.icard-chrome span:nth-child(3) { background: #22C55E; }
.icard-header-title {
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.2px;
  flex: 1;
}
.icard-header-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(117,79,206,.25);
  color: #c4b0e8;
}

/* Body */
.icard-body {
  padding: 16px 18px 18px;
}
.icard-project-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.icard-project-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #64748B;
  font-weight: 500;
}
.icard-project-label i { color: #94A3B8; font-size: 11px; }
.icard-project-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
}
.icard-divider {
  border: none;
  border-top: 1px solid #F1F5F9;
  margin: 10px 0;
}

/* Data rows */
.icard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  margin-bottom: 2px;
  transition: background .15s;
}
.icard-row:hover { background: #F8FAFC; }
.icard-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}
.icard-row-label i { width: 13px; color: #94A3B8; font-size: 11px; }
.icard-row-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #0F172A;
}
.icard-row-val.pos  { color: #16A34A; }
.icard-row-val.warn { color: #D97706; }
.icard-row-val.neg  { color: #DC2626; }
.icard-row-val.info { color: #754fce; font-weight: 700; }
.icard-row-val.big  { font-size: 17px; font-weight: 800; letter-spacing: -.4px; color: #0F172A; }

/* Highlight / total row */
.icard-row-total {
  background: #f5f0fd;
  border-color: rgba(117,79,206,.18) !important;
}
.icard-row-total .icard-row-label { color: #754fce; font-weight: 700; }
.icard-row-total .icard-row-label i { color: #754fce; }

/* Inline status dot */
.icard-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.icard-dot.green  { background: #22C55E; }
.icard-dot.orange { background: #F59E0B; }
.icard-dot.red    { background: #EF4444; }
.icard-dot.blue   { background: #754fce; }

/* Progress bar */
.icard-bar {
  margin-top: 12px;
}
.icard-bar-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 5px;
}
.icard-bar-track {
  background: #E2E8F0;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
}
.icard-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #754fce 0%, #9b7de0 100%);
  transition: width .6s ease;
}
.icard-bar-fill.green {
  background: linear-gradient(90deg, #16A34A 0%, #22C55E 100%);
}
.icard-bar-fill.orange {
  background: linear-gradient(90deg, #D97706 0%, #F59E0B 100%);
}

/* CTA button */
.icard-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: #0453a7;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .2s, transform .1s;
  text-decoration: none;
}
.icard-btn:hover  { background: #1768be; color: #fff; }
.icard-btn:active { transform: scale(.98); }

/* Checklist variant */
.icard-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  margin-bottom: 2px;
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  transition: background .15s;
}
.icard-check-row:hover { background: #F8FAFC; }
.icard-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
}
.icard-check-icon.done { background: #DCFCE7; color: #16A34A; }
.icard-check-icon.pending { background: #F1F5F9; color: #94A3B8; border: 1.5px dashed #CBD5E1; }
.icard-check-text { flex: 1; }
.icard-check-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
}
.icard-check-tag.done    { background: #DCFCE7; color: #16A34A; }
.icard-check-tag.pending { background: #FEF3C7; color: #D97706; }
.icon-svg {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.15em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* Responsive scaling */
@media (max-width: 767px) {
  .icard-body { padding: 13px 14px 15px; }
  .icard-header { padding: 10px 14px; }
  .icard-row-val.big { font-size: 15px; }
  .panel-card{padding: 1.5rem;}
  .panel-card h3{font-size: 1.2rem;}
}