/* ═══════════════════════════════════════════════════════════════
   legacy.css — the v1 tenant marketing template's component classes
   ═══════════════════════════════════════════════════════════════

   Split out of the historical styles.css on 2026-09-03 (TWIN 5,
   docs/superpowers/plans/2026-09-02-delete-v1-twins.md §7). The split was a
   ONE-SHOT: the generator script that performed it was removed with the rest
   of the v1 tooling and no longer exists. THIS FILE IS THE SOURCE — edit it
   directly; there is nothing to re-run and nothing to regenerate from.

   These are bare single-class rules (specificity 0,1,0) on GENERIC names —
   .container, .stat-label, .hero-title, .section-eyebrow, .btn-glow — authored
   for one dark marketing template. They are NOT a design system, and every
   surface that loads them inherits their paint by accident.

   LOADED ON (the allowlist — keep this list in sync with the loaders):
     • src/rendering/blog-pages.js      — blogBaseStyles(), i.e. blog +
                                          transitively cart / shop / product /
                                          account / checkout-review
     • site/public/index.html
     • src/api/publishing.js            — the inlined-CSS export, whose base
                                          document IS that static template, so
                                          it inlines this file wherever the
                                          template links it

   NOT loaded on:
     • src/index.js pipeline shell      — the AI page shell. It came off the
                                          allowlist on 2026-09-03: the only
                                          markup it had that used these classes
                                          was the five legacy section templates
                                          (renderLegacyTemplateSection) + the
                                          "From the Blog" block, and the rules
                                          those need now live in chrome.css
                                          SCOPED to `.content-block-section` &
                                          co. See the "LEGACY SECTION TEMPLATES"
                                          block there.
     • src/members/gate-page.js         — self-contained CSS, uses none of these
     • src/index.js system-preview shell — noindex, empty <main>

   No `[data-section-id]` neutraliser lives here any more. It existed only to
   keep these bare rules out of AI sections on the pipeline shell; with the
   shell off the allowlist there is nothing to neutralise, and every surface
   left above renders no `[data-section-id]` markup at all. The chrome half of
   that block (nav / footer / .logo / .skip-link) stays in chrome.css, which
   every surface does load.
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.hero-glow-1 {
  background: var(--red);
  top: -200px;
  left: -100px;
  animation: float1 8s ease-in-out infinite;
}

.hero-glow-2 {
  background: #ff4444;
  bottom: -300px;
  right: -200px;
  animation: float2 10s ease-in-out infinite;
  opacity: 0.15;
}

.hero-glow-3 {
  background: #ff0a0a;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.08;
  animation: pulse 4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 24px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 10, 10, 0.1);
  border: 1px solid rgba(255, 10, 10, 0.25);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
  animation: fadeDown var(--anim-speed, 1s) 0.2s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 28px;
  animation: fadeUp var(--anim-speed, 1s) 0.4s both;
}

.hero h1 .line {
  display: block;
}

.hero h1 .highlight,
.highlight {
  background: linear-gradient(135deg, var(--red), #ff4444, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 44px;
  animation: fadeUp var(--anim-speed, 1s) 0.6s both;
}

/* ─── BUTTONS ─── */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 12px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 30px var(--red-glow), 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all var(--anim-speed, 0.3s) var(--ease-out-expo);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  box-shadow: 0 0 50px var(--red-glow), 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.3);
}

/* ─── STATS ─── */
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
}

.stat {
  padding: 52px 32px;
  text-align: center;
  border-right: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: rgba(255, 10, 10, 0.03);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width var(--anim-speed, 0.4s) var(--ease-out-expo);
}

.stat:hover::before {
  width: 60%;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.stat-number .red {
  color: var(--red);
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 700px;
}

.section-desc {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 64px;
}

/* ─── SECTION UTILITY CLASSES ─── */
.section-eyebrow-center {
  justify-content: center;
}

.section-eyebrow-center::before {
  display: none;
}

.section-eyebrow-center::after {
  display: none;
}

.section-title-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
}

.section-desc-center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 48px;
}

.section-desc-mb40 {
  margin-bottom: 40px;
}

.section-desc-mb64 {
  margin-bottom: 64px;
}

.section-desc-mb80 {
  margin-bottom: 80px;
}

.text-center-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ─── SECTION DIVIDERS ─── */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255, 10, 10, 0.3), transparent);
  border: none;
  margin: 0;
  animation: dividerShimmer 3s ease-in-out infinite;
}

/* ─── ORGANIZERS GRID ─── */
.organizers {
  background: var(--dark);
}

.org-card {
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--anim-speed, 0.5s) var(--ease-out-expo);
  cursor: default;
}

.org-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(255, 10, 10, 0.08), transparent);
  transition: height var(--anim-speed, 0.5s) var(--ease-out-expo);
}

.org-card:hover::before {
  height: 100%;
}

.org-card:hover {
  border-color: rgba(255, 10, 10, 0.15);
  transform: translateY(-4px);
}

.org-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 28px;
  transition: all 0.4s;
}

.org-card:hover .org-card-icon {
  background: rgba(255, 10, 10, 0.15);
  border-color: rgba(255, 10, 10, 0.3);
  box-shadow: 0 0 30px rgba(255, 10, 10, 0.15);
}

.org-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  position: relative;
}

.org-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
}

/* ─── SECTION SPLIT LAYOUT (text left, anim right) ─── */
.section-split {
  display: grid;
  grid-template-columns: minmax(320px, fit-content(45%)) 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.section-split-text {
  position: relative;
  z-index: 10;
}

.section-split-text .section-eyebrow,
.section-split-text .section-title,
.section-split-text .section-desc {
  margin-bottom: 16px;
}

.section-split-text .section-desc {
  margin-bottom: 0;
}

.section-split .floor-container,
.section-split .anim-frame,
.section-split .journey-wrap {
  max-width: none;
  width: 100%;
}

/* ─── GENERIC ANIMATION FRAME ─── */
.anim-frame {
  width: 100%;
  max-width: 1060px;
  position: relative;
  margin: 0 auto;
}

.anim-frame canvas {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
}

/* ─── FLOOR CONTAINER (Show Floor Map) ─── */
.floor-container {
  width: 100%;
  max-width: 1000px;
  height: 560px;
  position: relative;
  margin: 0 auto;
}

.floor-container canvas {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
}

/* ─── CONNEXIONS LAYOUT ─── */
.connexions {
  background: var(--dark);
}

.connexions-tiers-inline .tier {
  margin-bottom: 8px;
}

.stream-card {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.stream-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.stream-tag.att {
  background: rgba(168, 85, 247, 0.12);
  color: var(--purple);
}

.stream-tag.exh {
  background: rgba(255, 10, 10, 0.12);
  color: var(--red);
}

.stream-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stream-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.connexions-footnote {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  font-style: italic;
  margin-top: 12px;
}

.tiers-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tier {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.tier-badge.premium {
  background: rgba(255, 10, 10, 0.12);
  color: var(--red);
}

.tier-badge.enhanced {
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
}

.tier-badge.standard {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}

.tier h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.tier p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* ─── PLATFORM GRID ─── */
.platform {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.platform-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 10, 10, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.plat-card {
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: all var(--anim-speed, 0.5s) var(--ease-out-expo);
}

.plat-card:hover {
  border-color: rgba(255, 10, 10, 0.15);
  transform: translateY(-4px);
}

.plat-num {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(255, 10, 10, 0.5), rgba(255, 10, 10, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plat-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.plat-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.pipe-stage {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  position: relative;
  z-index: 2;
}

.pipe-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  border: 2px solid var(--border-light);
  background: var(--dark-card);
  transition: all var(--anim-speed, 0.5s) var(--ease-out-expo);
}

.pipe-stage.active .pipe-icon {
  border-color: var(--red);
  box-shadow: 0 0 30px var(--red-glow), 0 0 60px rgba(255, 10, 10, 0.15);
  transform: scale(1.1);
}

.pipe-icon .ring {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid transparent;
  transition: border-color 0.5s;
}

.pipe-stage.active .ring {
  border-color: rgba(255, 10, 10, 0.25);
}

.pipe-stage h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pipe-stage p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.pipe-connector {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
}

.pipe-connector-bg {
  position: absolute;
  top: 0;
  left: 60px;
  right: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
}

.pipe-connector-fill {
  position: absolute;
  top: 0;
  left: 60px;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 2px;
  transition: width var(--anim-speed, 0.8s) var(--ease-out-expo);
  box-shadow: 0 0 15px var(--red-glow);
}

.pipe-metric {
  padding: 20px;
  border-radius: 14px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--anim-speed, 0.6s) var(--ease-out-expo);
}

.pipe-metric.visible {
  opacity: 1;
  transform: translateY(0);
}

.pipe-metric-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ─── ANALYTICS LAYOUT ─── */
.analytics {
  background: var(--darker);
}

.af-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── JOURNEY WRAP ─── */
.journey-wrap {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.journey-wrap canvas {
  height: 500px;
  width: 100%;
  border-radius: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
}

/* ─── PARTNER INTEGRATIONS ─── */
.partner-integrations {
  background: var(--dark);
}

.integration-card {
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.4s;
}

.integration-card:hover {
  border-color: rgba(255, 10, 10, 0.15);
  transform: translateY(-2px);
}

.integration-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.enrich-source {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: translateX(30px);
  transition: all var(--anim-speed, 0.5s) var(--ease-out-expo);
}

.enrich-source.visible {
  opacity: 1;
  transform: translateX(0);
}

.enrich-source.active {
  border-color: rgba(255, 10, 10, 0.3);
  background: rgba(255, 10, 10, 0.04);
}

.es-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.es-status.pending {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.25);
}

.es-status.active {
  background: rgba(255, 176, 32, 0.12);
  color: var(--amber);
}

.es-status.done {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.convo-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--anim-speed, 0.5s) var(--ease-out-expo);
}

.convo-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.cc-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  margin-left: auto;
}

.cc-body {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.signal-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.signal-feed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--darker));
  pointer-events: none;
}

.signal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  animation: signalIn var(--anim-speed, 0.5s) var(--ease-out-expo) both;
  opacity: 0;
}

.signal-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.decision-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--dark-card);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--anim-speed, 0.6s) var(--ease-out-expo);
}

.decision-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.decision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.decision-card.red::before {
  background: var(--red);
}

.decision-card.green::before {
  background: var(--green);
}

.decision-card.amber::before {
  background: var(--amber);
}

.decision-card.blue::before {
  background: var(--blue);
}

.dc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}

.dc-badge.critical {
  background: rgba(255, 10, 10, 0.12);
  color: var(--red);
}

.dc-badge.insight {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.dc-badge.action {
  background: rgba(255, 176, 32, 0.12);
  color: var(--amber);
}

.dc-badge.trend {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
}

.dc-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.dc-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}

.dc-bar {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width var(--anim-speed, 1.5s) var(--ease-out-expo);
}

.dc-bar.r {
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.dc-bar.g {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.dc-bar.a {
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

.dc-bar.b {
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

/* ─── PARTNER BENEFITS GRID ─── */
.partner-benefits {
  background: var(--dark);
}

.partner-benefits .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ─── PARTNER TIERS ─── */
.partner-tiers {
  background: var(--darker);
}

.partner-tiers .tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
}

.partner-tiers .tier-card {
  padding: 44px 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--anim-speed, 0.5s) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.partner-tiers .tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
}

.partner-tiers .tier-card .tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.partner-tiers .tier-card .tier-price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.partner-tiers .tier-card .tier-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.partner-tiers .tier-card .tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.partner-tiers .tier-card .tier-features li {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.partner-tiers .tier-card .tier-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.partner-tiers .tier-card.tier-gold {
  border-color: var(--red);
  box-shadow: 0 0 40px rgba(255, 10, 10, 0.15), 0 0 80px rgba(255, 10, 10, 0.05);
}

.partner-tiers .tier-card.tier-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff4444, var(--red));
}

.partner-tiers .tier-card.tier-gold .tier-name {
  color: var(--red);
}

.partner-tiers .tier-card.tier-gold .tier-features li::before {
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.partner-tiers .tier-card.tier-gold:hover {
  border-color: var(--red);
  box-shadow: 0 0 60px rgba(255, 10, 10, 0.2), 0 0 100px rgba(255, 10, 10, 0.08);
  transform: translateY(-8px);
}

/* ─── PARTNER TIMELINE / PROCESS ─── */
.partner-process {
  background: var(--dark);
}

.partner-process .timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 40px;
}

.partner-process .timeline::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 10, 10, 0.3), var(--red), rgba(255, 10, 10, 0.3));
  z-index: 0;
}

.partner-process .timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 200px;
}

.partner-process .timeline-step .step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 10, 10, 0.15);
  transition: all var(--anim-speed, 0.4s) var(--ease-out-expo);
}

.partner-process .timeline-step:hover .step-circle {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 30px var(--red-glow);
}

.partner-process .timeline-step .step-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.partner-process .timeline-step .step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 160px;
}

/* ─── PARALLAX HELPERS ─── */
.parallax-slow {
  will-change: transform;
  transition: transform 0.1s linear;
}

.parallax-fast {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ─── CTA ─── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 48px;
  background: var(--dark);
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 10, 10, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(255, 10, 10, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .section-title {
  max-width: 800px;
  margin: 0 auto 20px;
}

.cta-section .section-desc {
  max-width: 600px;
  margin: 0 auto 48px;
}

.cta-trust {
  margin-top: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.cta-trust span {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 12px;
}

.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.blog-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-latest-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-latest-card:hover {
  border-color: rgba(255, 10, 10, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(255, 10, 10, 0.08);
}

.blog-latest-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.02);
}

.blog-latest-card-placeholder {
  background: linear-gradient(135deg, rgba(255, 10, 10, 0.05), rgba(255, 255, 255, 0.02));
}

.blog-latest-card-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.blog-latest-card-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
.blog-latest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
.blog-latest-grid {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
.blog-latest-grid::-webkit-scrollbar {
    display: none;
  }
.blog-latest-card {
    min-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

.dynamic-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.dynamic-feature-card:hover {
  border-color: rgba(255, 10, 10, 0.2);
  transform: translateY(-4px);
}

.dynamic-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 10, 10, 0.08);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.dynamic-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.dynamic-feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

@media (max-width: 768px) {
.dynamic-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1024px) {
.stats {
    grid-template-columns: repeat(2, 1fr);
  }
.partner-benefits .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.partner-tiers .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
.partner-tiers .tier-card.tier-gold {
    order: -1;
  }
.partner-process .timeline {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
    padding-left: 40px;
  }
.partner-process .timeline::before {
    top: 0;
    bottom: 0;
    left: 63px;
    right: auto;
    width: 2px;
    height: auto;
  }
.partner-process .timeline-step {
    flex-direction: row;
    text-align: left;
    max-width: none;
    gap: 20px;
    margin-bottom: 36px;
  }
.partner-process .timeline-step .step-circle {
    margin-bottom: 0;
    min-width: 48px;
  }
.section-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
.pipe-connector {
    display: none;
  }
.signal-feed {
    max-height: 200px;
  }
.enrich-source {
    flex: 1;
    min-width: 140px;
  }
.floor-container {
    height: 400px;
  }
.journey-wrap canvas {
    height: 400px;
  }
}

@media (max-width: 768px) {
.stats {
    grid-template-columns: 1fr;
  }
.stat {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
.hero h1 {
    letter-spacing: -2px;
  }
.partner-benefits .benefits-grid {
    grid-template-columns: 1fr;
  }
.partner-process .timeline {
    padding-left: 24px;
  }
.partner-process .timeline::before {
    left: 47px;
  }
.cta-section {
    padding: 100px 20px;
  }
.floor-container {
    height: 320px;
  }
.journey-wrap canvas {
    height: 340px;
  }
.anim-frame canvas {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
.hero-glow {
    animation: none;
  }
.hero-badge {
    animation: none;
    opacity: 1;
    transform: none;
  }
.hero h1 {
    animation: none;
    opacity: 1;
    transform: none;
  }
.hero p {
    animation: none;
    opacity: 1;
    transform: none;
  }
.scroll-indicator {
    animation: none;
  }
.section-divider {
    animation: none;
  }
.parallax-slow,
.parallax-fast {
    transition: none;
    will-change: auto;
  }
}
