/* ===== Glass Panel ===== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ===== Section Header ===== */
.section-header { margin-bottom: clamp(32px, 5vw, 60px); }
.section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand);
  letter-spacing: 0.5em;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ===== Section Row ===== */
.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 8px;
}
.section-row-title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 2rem;
  font-weight: 900;
  font-style: italic;
}
.section-row-meta {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: var(--font-mono);
}

/* ===== Pull Quote ===== */
.intro-pull-quote {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  margin: 40px 0;
  border-left: 4px solid var(--brand);
  background: linear-gradient(90deg, rgba(var(--brand-rgb),0.05) 0%, transparent 100%);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.intro-pull-quote::after {
  content: '\201C';
  position: absolute; right: 20px; top: 10px;
  font-size: clamp(60px, 10vw, 120px);
  opacity: 0.05; font-family: serif;
}

/* ===== Bullet Item ===== */
.highlight-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 32px;
}
.bullet-item {
  display: flex; gap: 16px;
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.022) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 20px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.04);
}
.bullet-marker {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); margin-top: 8px;
  box-shadow: 0 0 10px var(--brand); flex-shrink: 0;
}

/* ===== Stat Card ===== */
.stat-card {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(0,0,0,0.95) 100%);
  border: 1px solid rgba(0, 255, 178, 0.15);
  border-radius: var(--card-radius-lg);
}
.stat-value {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 900; font-style: italic; line-height: 1;
  background: linear-gradient(to bottom, #fff, var(--brand));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(var(--brand-rgb), 0.3);
}
.stat-arc {
  position: absolute; right: -20px; bottom: -20px;
  width: 120px; height: 120px; opacity: 0.1; transform: rotate(-45deg);
}

/* ===== Tier Box ===== */
.tier-system { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.tier-box {
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px);
  border-radius: var(--card-radius);
  border: 1px solid rgba(255,255,255,0.17);
  transition: all 0.3s ease;
  font-size: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.056) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.04);
}
.tier-box:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.tier-box.active {
  border-color: var(--brand);
  box-shadow: 0 0 30px rgba(var(--brand-rgb), 0.15);
  background: linear-gradient(180deg, rgba(var(--brand-rgb),0.1) 0%, rgba(var(--brand-rgb),0.02) 100%);
}

/* ===== Flow Step Card ===== */
.flow-step-card {
  padding: clamp(16px, 2vw, 2rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  border-radius: var(--card-radius-lg);
}

/* ===== Data Table ===== */
.table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
  border-radius: var(--card-radius);
}
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }
.table-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 999px; }
.table-wrap:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); }

.data-table {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 12px 14px 12px 26px;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}
.data-table th {
  background-color: rgb(14, 16, 16);
  color: var(--brand);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 18px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.data-table td {
  color: rgba(255,255,255,0.66);
  padding-top: 16px; padding-bottom: 18px;
  overflow-wrap: anywhere;
}
.data-table tbody tr { position: relative; }
.data-table tbody tr::after {
  content: '';
  position: absolute; left: 26px; right: 26px; bottom: 0; height: 1px;
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}
.data-table tbody tr:last-child::after { display: none; }
.data-table tr:nth-child(even) { background: rgba(255,255,255,0.02); }

/* Sticky first column for mobile */
.data-table.sticky-first th:first-child,
.data-table.sticky-first td:first-child {
  position: sticky; left: 0; z-index: 1;
  background: rgb(10, 12, 12);
}
.data-table.sticky-first thead th:first-child {
  z-index: 2;
  background: rgb(14, 16, 16);
}

/* Winner column highlight */
.winner-col {
  background: rgba(var(--brand-rgb), 0.08) !important;
  color: var(--brand) !important;
  font-weight: 700;
  border-left: 1px solid rgba(var(--brand-rgb), 0.2);
  border-right: 1px solid rgba(var(--brand-rgb), 0.2);
}

/* ===== Feature Row ===== */
.feature-list { overflow: hidden; border-radius: var(--card-radius-lg); }
.feature-row-header,
.feature-row {
  display: grid;
  grid-template-columns: 64px 140px 220px 1fr;
  align-items: center;
  padding: 0 32px; gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.feature-row-header { background: rgba(255,255,255,0.05); }
.feature-row-header > *,
.feature-row > * { padding: 24px 0; }
.feature-row > *:last-child { white-space: normal; }
.feature-row:hover { background: rgba(255, 187, 0, 0.03); }

@media (max-width: 768px) {
  .feature-row-header { display: none; }
  .feature-row {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 20px; gap: 8px;
  }
  .feature-row > * { padding: 0; }
}

/* ===== Partner Grid ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px;
}
.partner-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: radial-gradient(circle at 110% -20%, rgba(var(--brand-rgb),0.08) 0%, rgba(0,0,0,0) 44%),
    var(--glass-bg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.05);
}
.partner-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%);
}
.partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.42);
  box-shadow: 0 12px 28px rgba(var(--brand-rgb), 0.1);
}
.partner-logo-img {
  width: 35px; height: 35px;
  object-fit: contain; flex-shrink: 0;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.partner-card:hover .partner-logo-img { filter: brightness(1.06) saturate(1.06); transform: scale(1.04); }
.partner-name {
  font-family: var(--font-mono);
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  font-weight: 600; line-height: 1.2;
}

/* ===== Text Tokens ===== */
.text-brand { color: var(--brand); }
.text-muted { color: rgba(255,255,255,0.6); }
.text-soft { color: rgba(255,255,255,0.7); }
.text-dim { color: rgba(255,255,255,0.4); }
.text-faint { color: rgba(255,255,255,0.3); }
.text-ghost { color: rgba(255,255,255,0.2); }

.body-text-muted { font-size: 0.875rem; line-height: 1.5; color: rgba(255,255,255,0.6); }
.body-text-soft { font-size: 0.875rem; line-height: 1.5; color: rgba(255,255,255,0.7); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mono-label-muted { composes: mono-label; color: rgba(255,255,255,0.4); display: block; margin-bottom: 0.5rem; }
.card-title { font-weight: 700; margin-bottom: 0.75rem; }

/* ===== Grid Helpers ===== */
.grid { display: grid; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

/* ===== Industrial Node (FAQ style) ===== */
.industrial-node {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s ease;
}
