/* ─── HERO PRICE ─── */
.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.hero-price-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-price-value {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-blue);
}
.hero-prices { margin-bottom: 6px; }
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

/* ─── HERO CARD · inventory dashboard ─── */
.hc-sheet-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -18px -20px 14px;
  padding: 10px 14px;
  background: rgba(5, 10, 27, 0.55);
  border-bottom: 1px solid var(--border-color);
}
.hc-sheet-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  min-width: 0;
}
.hc-sheet-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-blue-soft);
  flex-shrink: 0;
}
.hc-sheet-fname {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Override hc-kpis to 4-col on this hero */
.hero-card .hc-kpis {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hero-card .hc-kpi { padding: 9px 10px; }
.hero-card .hc-kpi-big { font-size: 1.4rem; }
.hero-card .hc-kpi-suffix { font-size: 0.6rem; }

/* Inventory category bars */
.inv-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 12px;
}
.inv-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.inv-cat-name { color: var(--text-secondary); }
.inv-cat-pct  { color: var(--accent-blue-soft); font-weight: 500; }
.inv-cat-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.inv-cat-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-blue-deep), var(--accent-blue));
  border-radius: 2px;
  animation: hc-fill 1.4s 600ms cubic-bezier(.4,0,.2,1) forwards;
}
.inv-cat:nth-child(1) .inv-cat-fill { animation-delay: 700ms; }
.inv-cat:nth-child(2) .inv-cat-fill { animation-delay: 850ms; }
.inv-cat:nth-child(3) .inv-cat-fill { animation-delay: 1000ms; }
.inv-cat--warn .inv-cat-fill   { opacity: 0.7; }
.inv-cat--warn .inv-cat-pct    { color: rgba(96, 160, 255, 0.75); }
.inv-cat--danger .inv-cat-fill { opacity: 0.40; }
.inv-cat--danger .inv-cat-pct  { color: rgba(96, 160, 255, 0.55); }

/* Alert footer */
.inv-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(96, 160, 255, 0.07);
  border: 1px solid rgba(96, 160, 255, 0.22);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.inv-alert-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue-soft);
  box-shadow: 0 0 0 0 rgba(96, 160, 255, 0.55);
  animation: inv-alert-pulse 2s ease-out infinite;
  flex-shrink: 0;
}
.inv-alert strong { color: var(--accent-blue-soft); font-weight: 500; }
@keyframes inv-alert-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(96, 160, 255, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(96, 160, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(96, 160, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .inv-cat-fill, .inv-alert-dot { animation: none; }
  .inv-cat-fill { width: var(--fill); }
}

/* ─── FEATURES · what you get ─── */
.features { padding: 100px 0 60px; }
.features-header { text-align: center; margin-bottom: 48px; }
.features-header .section-subtitle { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(96, 160, 255, 0.12);
  border: 1px solid rgba(96, 160, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-soft);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .features { padding: 56px 0 24px; }
  .features-header { margin-bottom: 32px; }
}

/* ─── HOW IT WORKS ─── */
.how-it-works { padding: 80px 0; }
.hiw-header { text-align: center; margin-bottom: 56px; }
.hiw-header .section-subtitle { margin: 0 auto; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hiw-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hiw-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.hiw-step-num {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hiw-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hiw-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .how-it-works { padding: 56px 0; }
  .hiw-header { margin-bottom: 32px; }
  .hiw-grid { grid-template-columns: 1fr; gap: 16px; }
  .hiw-step { padding: 20px; }
  .hiw-step-num { font-size: 2rem; margin-bottom: 12px; }
}

/* ─── CASE STUDY ─── */
.cs-intro {
  text-align: center;
  margin-bottom: 56px;
}
.cs-intro .section-subtitle { margin: 0 auto; }

.cs-block { margin-bottom: 32px; }
.cs-block-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}
.cs-block-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.cs-block-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
}
.cs-block-desc + .cs-block-desc { margin-top: 12px; }
.cs-block-desc strong { color: var(--text-primary); font-weight: 600; }

.cs-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 160, 255, 0.30), transparent);
  margin: 56px 0;
}

/* Cards: dilemma (2-col bigger), challenge (2x2 smaller), capability/impact (3-col with optional icon) */
.cs-text-card,
.cs-icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.cs-text-card:hover,
.cs-icon-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}
.cs-text-card h3,
.cs-text-card h4,
.cs-icon-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.cs-text-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.cs-text-card h4,
.cs-icon-card h4 { font-size: 1.05rem; }
.cs-text-card p,
.cs-icon-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.cs-text-card--dilemma { padding: 26px 28px; }
.cs-text-card--dilemma p { font-size: 0.95rem; line-height: 1.7; }

.cs-icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(96, 160, 255, 0.10);
  border: 1px solid rgba(96, 160, 255, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-soft);
  margin-bottom: 14px;
}
.cs-icon-tile svg { width: 20px; height: 20px; }

/* Grids */
.cs-dilemma-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.cs-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Approach callout */
.cs-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(96, 160, 255, 0.06);
  border: 1px solid rgba(96, 160, 255, 0.20);
  border-left: 3px solid var(--accent-blue-soft);
  border-radius: var(--radius-sm);
  margin: 8px 0 32px;
  max-width: 760px;
}
.cs-callout-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(96, 160, 255, 0.18);
  color: var(--accent-blue-soft);
}
.cs-callout-icon svg { width: 16px; height: 16px; }
.cs-callout p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Approach steps reuse hiw-step look in a 3-col grid */
.cs-approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Results summary */
.cs-results-summary {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
}
.cs-results-summary strong { color: var(--text-primary); font-weight: 600; }

.cs-disclaimer {
  margin-top: 40px;
  padding: 16px 20px;
  background: rgba(5, 10, 27, 0.40);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .cs-dilemma-grid,
  .cs-pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .cs-grid-3,
  .cs-stats-grid,
  .cs-approach-steps { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cs-divider { margin: 40px 0; }
}
@media (max-width: 768px) {
  .cs-block-title { font-size: 1.35rem; }
  .cs-text-card,
  .cs-icon-card { padding: 20px 22px; }
  .cs-text-card--dilemma { padding: 22px 22px; }
  .cs-callout { padding: 16px 18px; }
}

/* ─── OTHER SERVICES ─── */
.other-services { padding: 80px 0 60px; }
.os-header { text-align: center; margin-bottom: 48px; }
.os-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.os-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.os-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.os-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(96, 160, 255, 0.12);
  border: 1px solid rgba(96, 160, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-soft);
  margin-bottom: 18px;
}
.os-card-icon svg { width: 22px; height: 22px; }
.os-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.os-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.os-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.os-card:hover .os-link .chevron {
  opacity: 1;
  transform: translateX(4px);
}
@media (max-width: 1024px) {
  .os-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .other-services { padding: 56px 0 24px; }
  .os-header { margin-bottom: 32px; }
}

/* ─── BOTTOM CTA ─── */
.bottom-cta { padding: 60px 0 100px; }
.bottom-cta-card {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.10), transparent 60%),
    linear-gradient(135deg, rgba(11,27,57,0.55) 0%, rgba(7,15,38,0.55) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.bottom-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.bottom-cta-card .section-label { display: inline-block; }
.bottom-cta-card .section-title {
  max-width: 720px;
  margin: 0 auto 16px;
}
.bottom-cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.bottom-cta-card .btn-primary {
  padding: 10px 28px 10px 46px;
}
.bottom-cta-card .price-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .bottom-cta { padding: 48px 0 64px; }
  .bottom-cta-card { padding: 40px 24px; }
}
