/* ═══════════════════════════════════════════════════
   SCHERBARTH SOLUTIONS · components.css
   Page-specific component styles
═══════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────── */
.hero {
  background: var(--canvas);
  padding: var(--section-v) 0 calc(var(--section-v) * 1.25);
  position: relative;
  overflow: hidden;
}

/* Vercel mesh gradient – atmospheric backdrop */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(0,124,240,.07)  0%, transparent 100%),
    radial-gradient(ellipse 50% 40% at 70% 65%, rgba(121,40,202,.05) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 98% 85%, rgba(0,223,216,.04)  0%, transparent 100%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 820px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--body-color);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--link);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body-color);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── BRAND CARDS ───────────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brand-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-1);
  transition: box-shadow .2s, transform .2s;
}
.brand-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.brand-card.dimmed { opacity: .35; pointer-events: none; }
.brand-card.coming-soon { border-style: dashed; background: var(--canvas-soft); }

.brand-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--canvas-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.brand-icon svg { width: 20px; height: 20px; color: var(--ink); }

.brand-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  font-size: 11px;
  font-weight: 500;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  width: fit-content;
}

.brand-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.brand-card > p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.brand-features {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid var(--hairline);
}
.brand-features li {
  font-size: 13px;
  color: var(--body-color);
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--hairline-s);
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: gap .15s;
}
.brand-action:hover { gap: 10px; }
.brand-action svg   { width: 13px; height: 13px; flex-shrink: 0; }

.brand-soon {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
}
.brand-soon svg { width: 13px; height: 13px; }

/* ── ABOUT + STATS ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}
.about-text p {
  font-size: 16px;
  color: var(--body-color);
  line-height: 1.75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  box-shadow: var(--sh-1);
}

.stat-number {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
  line-height: 1.4;
}

/* ── CTA BLOCK ─────────────────────────────────── */
.cta-wrap  { padding: var(--section-v) 0; background: var(--canvas-soft); }

.cta-block {
  background: var(--ink);
  border-radius: 20px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(0,124,240,.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  bottom: -40%; left: 15%;
  width: 380px; height: 380px;
  background: radial-gradient(ellipse at center, rgba(121,40,202,.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-text h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  max-width: 460px;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  transition: opacity .15s;
  box-shadow: 0 2px 8px rgba(255,255,255,.15);
  white-space: nowrap;
  text-decoration: none;
}
.btn-cta:hover { opacity: .88; }
.btn-cta svg   { width: 14px; height: 14px; }

/* ── ERROR PAGE CONTENT ────────────────────────── */
.error-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.error-inner  { text-align: center; max-width: 520px; }

.error-code {
  font-size: clamp(72px, 16vw, 120px);
  font-weight: 600;
  letter-spacing: -0.06em;
  color: var(--hairline);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.7;
  margin-bottom: 32px;
}

.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE (components) ───────────────────── */
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .about-grid  { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner   { flex-direction: column; }
  .cta-text p  { max-width: 100%; }
}

@media (max-width: 768px) {
  .brands-grid { max-width: 100%; }
  .stats-grid  { grid-template-columns: 1fr; max-width: 280px; }
  .cta-block   { padding: 40px 28px; }
}
