/* ===== STRATEGY PAGE STYLES ===== */

/* Hero */
.strategy-hero {
  padding: 5rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #0e1217 0%, #0a0b0d 100%);
  border-bottom: 1px solid #1e2530;
}

.hero-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #f0c040;
  background: rgba(240, 192, 64, 0.08);
  border: 1px solid rgba(240, 192, 64, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.strategy-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.strategy-title .accent {
  color: #00ffcc;
}

.strategy-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #4a5568;
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
}

.hero-tagline {
  font-size: 1.05rem;
  color: #718096;
  margin: 0 0 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.hstat {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 160px;
  flex: 1;
}

.hstat-val {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #00ffcc;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hstat-label {
  font-size: 0.72rem;
  color: #718096;
  line-height: 1.4;
}

/* Tab Nav */
.strategy-tabs-wrapper {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: #0a0b0d;
  border-bottom: 1px solid #1e2530;
  padding: 0;
}

.strategy-tabs {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.strategy-tabs::-webkit-scrollbar { display: none; }

.stab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4a5568;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.stab:hover {
  color: #a0aec0;
  background: rgba(255,255,255,0.02);
}

.stab.active {
  color: #00ffcc;
  border-bottom-color: #00ffcc;
}

/* Main Content */
.strategy-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

/* Section base */
.s-section {
  display: none;
}

.s-section.active {
  display: block;
}

.s-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #1e2530;
}

.s-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #1e2530;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.s-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.s-desc {
  font-size: 0.9rem;
  color: #718096;
  margin: 0;
}

.s-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #cbd5e0;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1a2030;
}

.s-para {
  font-size: 0.9rem;
  color: #a0aec0;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Callouts */
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  line-height: 1.65;
}

.callout-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.callout-gold {
  background: rgba(240, 192, 64, 0.07);
  border: 1px solid rgba(240, 192, 64, 0.2);
  color: #d4b558;
}

.callout-green {
  background: rgba(0, 255, 204, 0.05);
  border: 1px solid rgba(0, 255, 204, 0.18);
  color: #7ecfc0;
}

.callout-purple {
  background: rgba(167, 139, 250, 0.07);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: #b8a4e8;
}

/* Story Cards */
.story-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.story-card {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s;
}

.story-card:hover {
  border-color: #00ffcc44;
}

.story-icon {
  font-size: 1.8rem;
}

.story-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #00ffcc;
  text-transform: uppercase;
}

.story-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.4;
  font-style: italic;
}

.story-body {
  font-size: 0.85rem;
  color: #a0aec0;
  line-height: 1.65;
  margin: 0;
}

.story-why {
  font-size: 0.8rem;
  color: #718096;
  background: #0d1016;
  border-left: 2px solid #2d3748;
  padding: 0.6rem 0.75rem;
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

/* Formula Grid */
.formula-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

@media (max-width: 640px) {
  .formula-grid { grid-template-columns: 1fr; }
}

.formula-card {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 8px;
  padding: 1.25rem;
}

.formula-card.bad {
  border-color: #6b2737;
  background: rgba(107, 39, 55, 0.08);
}

.formula-card.good {
  border-color: #1a6b55;
  background: rgba(0, 255, 204, 0.04);
}

.formula-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: #718096;
}

.formula-card.bad .formula-label { color: #fc8181; }
.formula-card.good .formula-label { color: #00ffcc; }

.formula-card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.84rem;
  color: #a0aec0;
  line-height: 1.8;
}

.formula-rule {
  background: #0d1016;
  border: 1px solid #1e2530;
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  margin-top: 1rem;
}

/* Location Tabs */
.loc-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.ltab {
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: #111418;
  border: 1px solid #1e2530;
  color: #718096;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.ltab:hover { color: #a0aec0; border-color: #2d3748; }
.ltab.active { color: #00ffcc; border-color: #00ffcc44; background: rgba(0,255,204,0.05); }

/* Location Panels */
.loc-panel { display: none; }
.loc-panel.active { display: block; }

.loc-pain {
  font-size: 0.82rem;
  color: #718096;
  background: #0d1016;
  border: 1px solid #1a2030;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.usecase-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.usecase-card {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s;
}

.usecase-card:hover { border-color: #2d3748; }

.uc-class {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  align-self: flex-start;
}

.uc-class.sovereign { background: rgba(74,144,217,0.15); color: #4a90d9; }
.uc-class.builder   { background: rgba(167,139,250,0.15); color: #a78bfa; }
.uc-class.trader    { background: rgba(240,192,64,0.12); color: #f0c040; }
.uc-class.seeker    { background: rgba(0,180,180,0.12); color: #00b4b4; }
.uc-class.steward   { background: rgba(33,191,115,0.12); color: #21bf73; }
.uc-class.sentinel  { background: rgba(224,64,32,0.12); color: #e04020; }
.uc-class.healer    { background: rgba(236,72,153,0.12); color: #ec4899; }

.usecase-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.4;
  font-style: italic;
}

.usecase-card p {
  font-size: 0.82rem;
  color: #a0aec0;
  line-height: 1.6;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
}

.feat-card {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feat-card:hover {
  border-color: #00ffcc33;
  transform: translateY(-2px);
}

.feat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #2d3748;
  background: #0d1016;
  border: 1px solid #1e2530;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.feat-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #00ffcc;
  margin: 0;
}

.feat-what {
  font-size: 0.85rem;
  color: #a0aec0;
  line-height: 1.65;
  margin: 0;
}

.feat-layers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feat-layer {
  font-size: 0.78rem;
  color: #718096;
  line-height: 1.5;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
}

.feat-layer span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
}

.feat-layer.claw {
  background: rgba(74,144,217,0.06);
  border-left: 2px solid #4a90d9;
}

.feat-layer.claw span { color: #4a90d9; }

.feat-layer.avatar {
  background: rgba(0,255,204,0.04);
  border-left: 2px solid #00ffcc44;
}

.feat-layer.avatar span { color: #00ffcc; }

.feat-quote {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #4a5568;
  font-style: italic;
  background: #0d1016;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
  border-left: 2px solid #00ffcc22;
  line-height: 1.5;
}

/* Trend Blocks */
.trend-block {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.trend-source-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0c040;
  background: rgba(240,192,64,0.08);
  border: 1px solid rgba(240,192,64,0.2);
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

/* Stat Row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.trend-stat {
  background: #0d1016;
  border: 1px solid #1a2030;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.ts-val {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #00ffcc;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.ts-label {
  font-size: 0.75rem;
  color: #718096;
  line-height: 1.45;
}

/* Partner Cards */
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.partner-card {
  background: #0d1016;
  border: 1px solid #1a2030;
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
}

.partner-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #718096;
  letter-spacing: 0.06em;
}

.partner-card p {
  font-size: 0.81rem;
  color: #a0aec0;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.partner-verdict {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #718096;
  background: #111418;
  border: 1px solid #1e2530;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  align-self: flex-start;
  margin-top: auto;
}

.partner-verdict.priority {
  color: #00ffcc;
  background: rgba(0,255,204,0.05);
  border-color: rgba(0,255,204,0.25);
}

/* Badges */
.badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
}

.badge.ahead    { color: #00ffcc; background: rgba(0,255,204,0.08); border: 1px solid rgba(0,255,204,0.2); }
.badge.aligned  { color: #4a90d9; background: rgba(74,144,217,0.08); border: 1px solid rgba(74,144,217,0.2); }
.badge.opportunity { color: #f0c040; background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.2); }
.badge.moat     { color: #a78bfa; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.2); }

/* Moat Grid */
.moat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.moat-card {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.moat-card.moat-highlight {
  border-color: #00ffcc33;
  background: linear-gradient(135deg, #111418 0%, #0e1a16 100%);
}

.moat-icon {
  font-size: 1.6rem;
}

.moat-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
}

.moat-card p {
  font-size: 0.84rem;
  color: #a0aec0;
  line-height: 1.7;
  margin: 0;
}

.moat-flywheel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #00ffcc;
  background: rgba(0,255,204,0.05);
  border: 1px solid rgba(0,255,204,0.15);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-align: center;
}

.moat-compare {
  font-size: 0.8rem;
  color: #718096;
  font-style: italic;
  margin: 0;
}

.moat-list {
  font-size: 0.82rem;
  color: #a0aec0;
  line-height: 1.8;
  padding-left: 1.25rem;
  margin: 0;
}

.moat-list li { margin-bottom: 0.2rem; }

/* Atlas Props */
.atlas-props {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.atlas-prop {
  font-size: 0.8rem;
  color: #a0aec0;
  background: #0d1016;
  border-left: 2px solid #00ffcc44;
  padding: 0.5rem 0.75rem;
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

/* Moat Thesis callout */
.moat-thesis {
  margin-bottom: 2rem;
}

/* Threats */
.threats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.threat-card {
  background: #111418;
  border: 1px solid #1e2530;
  border-radius: 8px;
  padding: 1.25rem;
}

.threat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.threat-header h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
}

.threat-severity {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.threat-severity.high     { color: #fc8181; background: rgba(252,129,129,0.1); border: 1px solid rgba(252,129,129,0.25); }
.threat-severity.medium   { color: #f0c040; background: rgba(240,192,64,0.08); border: 1px solid rgba(240,192,64,0.2); }
.threat-severity.critical { color: #f56565; background: rgba(245,101,101,0.12); border: 1px solid rgba(245,101,101,0.3); animation: pulse-threat 2s infinite; }

@keyframes pulse-threat {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.threat-desc {
  font-size: 0.84rem;
  color: #718096;
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.threat-counter {
  font-size: 0.83rem;
  color: #a0aec0;
  background: rgba(0,255,204,0.04);
  border: 1px solid rgba(0,255,204,0.1);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  line-height: 1.65;
}

.threat-counter strong {
  color: #00ffcc;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: 8px;
}

.s-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.s-table.compact { font-size: 0.78rem; }

.s-table thead tr {
  background: #0d1016;
  border-bottom: 1px solid #1e2530;
}

.s-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a5568;
  padding: 0.7rem 0.9rem;
  text-align: left;
  white-space: nowrap;
}

.s-table td {
  padding: 0.75rem 0.9rem;
  color: #a0aec0;
  border-bottom: 1px solid #1a2030;
  line-height: 1.55;
  vertical-align: top;
}

.s-table tbody tr:hover td {
  background: rgba(255,255,255,0.01);
}

.s-table tbody tr:last-child td {
  border-bottom: none;
}

/* Footer */
.footer {
  border-top: 1px solid #1e2530;
  padding: 2rem;
  text-align: center;
}

.footer-ascii {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: #2d3748;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.footer-ascii pre {
  display: inline-block;
  margin: 0;
}

.footer-note {
  font-size: 0.75rem;
  color: #4a5568;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-stats { flex-direction: column; }
  .hstat { min-width: unset; }
  .s-title { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .moat-grid { grid-template-columns: 1fr; }
  .story-cards { grid-template-columns: 1fr; }
  .strategy-hero { padding: 4rem 1.25rem 2.5rem; }
  .strategy-main { padding: 2rem 1.25rem 3rem; }
}
