/* ============================================================
   LiftBot — support.css
   Prefix: sup-
   ============================================================ */

main:has(.lb) {
  max-width: none;
  width: 100%;
  padding: 0;
}

:root {
  --brand:      #4b3aff;
  --signal:     #1fce7a;
  --pop:        #ff4d8d;
  --ink:        #15161b;
  --paper-dim:  #f3f2ee;
  --paper-line: #e7e5de;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================================
   HERO
   ============================================================ */
.sup-hero {
  position: relative;
  background: var(--paper-dim);
  color: var(--ink);
  overflow: hidden;
  padding: 120px 24px 80px;
  text-align: center;
}
.sup-hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.sup-hero__glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 540px;
  background: radial-gradient(ellipse at center, rgba(75,58,255,0.16) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.sup-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.sup-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(75,58,255,0.08);
  border: 1px solid rgba(75,58,255,0.24);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 30px;
}
.sup-hero__badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: lb-pulse 2s ease-in-out infinite;
}
.sup-hero__h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.sup-hero__h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7c3aed 0%, #2563eb 50%, #15b56a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sup-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(21,22,27,0.65);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   TOPICS GRID
   ============================================================ */
.sup-topics {
  background: var(--paper-dim);
  padding: 96px 24px;
}
.sup-topics__inner {
  max-width: 1160px;
  margin: 0 auto;
}
.sup-topics__header {
  text-align: center;
  margin-bottom: 52px;
}

.sup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .sup-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sup-grid { grid-template-columns: 1fr; }
}

.sup-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 26px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sup-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 16px 44px rgba(21,22,27,0.09);
}

.sup-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.sup-card__icon--1 { background: #4b3aff; }
.sup-card__icon--2 { background: #0e8f52; }
.sup-card__icon--3 { background: #ff4d8d; }
.sup-card__icon--4 { background: #d9a62e; }
.sup-card__icon--5 { background: #15161b; }
.sup-card__icon--6 { background: rgba(75,58,255,0.65); }
.sup-card__icon--7 { background: #8b5cf6; }
.sup-card__icon--8 { background: #0891b2; }
.sup-card__icon--9 { background: #dc2626; }

.sup-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.sup-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #52535a;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.sup-cta {
  background: var(--paper-dim);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sup-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(75,58,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.sup-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.sup-cta__h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sup-cta__sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  color: rgba(21,22,27,0.65);
  line-height: 1.65;
  margin: 0 0 40px;
}
.sup-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .sup-hero { padding: 100px 20px 64px; }
  .sup-topics,
  .sup-cta { padding: 72px 20px; }
}