/* ---------- Hero ---------- */

.work-hero {
  padding: 60px 0 80px;
}

.hero-content { max-width: 800px; }

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(40, 215, 255, 0.08);
  border: 1px solid rgba(40, 215, 255, 0.15);
  border-radius: 8px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.work-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--soft);
  line-height: 1.8;
  max-width: 640px;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- Story ---------- */

.story {
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.story-narrative h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.story-narrative p {
  color: var(--soft);
  margin: 0 0 18px;
  line-height: 1.85;
}

.story-narrative strong { color: var(--text); font-weight: 600; }

.story-proof {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.proof-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.3s;
}

.proof-card:hover { border-color: rgba(255, 255, 255, 0.12); }

.proof-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(40, 215, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.proof-text {
  font-size: 0.9rem;
  color: var(--soft);
  font-weight: 500;
  line-height: 1.5;
  padding-top: 6px;
}

/* ---------- Sections (shared) ---------- */

.growth-section,
.modes-section,
.forum-section,
.mod-section {
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.chart-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  overflow-x: auto;
}

.chart-panel svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Chart styles ---------- */

.chart-gridline {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.chart-label {
  fill: var(--muted);
  font-size: 11px;
  font-family: Inter, sans-serif;
  font-weight: 500;
}

.chart-value-label {
  fill: var(--soft);
  font-size: 10px;
  font-family: Inter, sans-serif;
  font-weight: 600;
}

.growth-area {
  fill: url(#growthGrad);
  opacity: 0.4;
}

.growth-line {
  fill: none;
  stroke: url(#growthLineGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-dot {
  fill: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}

.mode-bar {
  rx: 6;
  transition: opacity 0.2s;
}

.mode-bar:hover { opacity: 0.8; }

.forum-bar {
  fill: var(--accent);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.forum-bar:hover { opacity: 1; }

/* ---------- Annotation ---------- */

.chart-annotation {
  font-size: 10px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  fill: var(--accent-2);
}

.annotation-line {
  stroke: var(--accent-2);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  opacity: 0.5;
}

/* ---------- Moderation Grid ---------- */

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

.mod-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.mod-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mod-value {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.mod-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 500;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: 40px 0 80px;
}

.cta-block {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cta-block p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 0.95rem;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .work-hero { padding: 40px 0 60px; }

  .work-hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-stats .stat-card:last-child {
    grid-column: 1 / -1;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mod-grid { grid-template-columns: repeat(2, 1fr); }

  .chart-panel { padding: 20px 16px 16px; }

  .cta-block { padding: 40px 24px; }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .mod-grid { grid-template-columns: 1fr 1fr; }
}
