/* ============================================
   NEGROSTRATEGY — Enterprise Absurdism
   Saylor Red #D22027 | Sophisticated Black | High-Tech White
   ============================================ */

:root {
  --saylor-red: #D22027;
  --saylor-red-glow: rgba(210, 32, 39, 0.5);
  --black: #0a0a0b;
  --black-soft: #111113;
  --white: #f5f5f6;
  --white-dim: #b0b0b5;
  --gray: #2a2a2e;
  --green: #22c55e;
  --font-primary: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header: Digital Fortress ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  border-bottom: 1px solid var(--gray);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-symbol {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--saylor-red);
  letter-spacing: 0.05em;
}

.logo-text {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.btn-buy {
  padding: 10px 20px;
  background: var(--saylor-red);
  color: var(--white) !important;
  border-radius: 2px;
  box-shadow: 0 0 20px var(--saylor-red-glow);
  transition: box-shadow 0.2s, filter 0.2s;
}

.btn-buy:hover {
  box-shadow: 0 0 28px var(--saylor-red-glow);
  filter: brightness(1.08);
}

.btn-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border: 1px solid var(--gray);
  border-radius: 2px;
  background: rgba(10, 10, 11, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-x:hover {
  border-color: rgba(210, 32, 39, 0.65);
  box-shadow: 0 0 18px var(--saylor-red-glow);
  filter: brightness(1.05);
}

.x-icon {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("ancientbackground.jpg") center / cover no-repeat;
  filter: blur(6px) brightness(0.35) saturate(0.9);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.4) 0%, rgba(10,10,11,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.hero-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--white-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Whitepaper Button ---- */
.btn-whitepaper {
  margin-top: 28px;
  padding: 14px 36px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-whitepaper:hover {
  border-color: var(--saylor-red);
  box-shadow: 0 0 20px var(--saylor-red-glow);
  background: rgba(210, 32, 39, 0.08);
}

/* ---- Whitepaper Modal ---- */
.wp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.wp-modal-inner {
  position: relative;
  width: 90vw;
  height: 90vh;
  max-width: 1000px;
  background: var(--black);
  border: 1px solid var(--gray);
  border-radius: 2px;
  overflow: hidden;
}

.wp-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--gray);
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wp-modal-close:hover {
  border-color: var(--saylor-red);
  box-shadow: 0 0 12px var(--saylor-red-glow);
}

.wp-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Section titles ---- */
.section-title {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saylor-red);
}

.section-title a {
  color: inherit;
  text-decoration: none;
}
.section-title a:hover {
  text-decoration: underline;
}

.comparison-table th a {
  color: inherit;
  text-decoration: none;
}
.comparison-table th a:hover {
  text-decoration: underline;
}

.footer a {
  color: var(--white-dim);
  text-decoration: underline;
}
.footer a:hover {
  color: var(--white);
}

.section-lead {
  margin: 0 0 32px;
  font-size: 1rem;
  color: var(--white-dim);
}

/* ---- Dashboard: Comparison Table ---- */
.dashboard {
  padding: 80px 0;
  background: var(--black-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.comparison-table thead th {
  background: var(--black);
  color: var(--white-dim);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(42, 42, 46, 0.4);
}

.comparison-table td.negative {
  color: #ef4444;
  font-weight: 600;
}

.comparison-table td.positive {
  color: var(--green);
  font-weight: 600;
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  color: var(--saylor-red);
  font-weight: 600;
}

.comparison-table td:nth-child(3).positive {
  color: var(--green);
}

.tooltip-trigger {
  position: relative;
  cursor: help;
}

.tooltip-trigger .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  padding: 6px 10px;
  background: var(--black);
  border: 1px solid var(--gray);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 10;
  pointer-events: none;
}

.tooltip-trigger .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: var(--gray);
}

.tooltip-trigger:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}

/* ---- Thesis ---- */
.thesis {
  padding: 80px 0;
  background: var(--black);
}

.thesis-content {
  max-width: 720px;
}

.thesis-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white-dim);
}

/* ---- ROI Chart ---- */
.roi-section {
  padding: 80px 0;
  background: var(--black-soft);
}

.chart-wrap {
  background: var(--black);
  border: 1px solid var(--gray);
  padding: 24px 24px 32px;
}

.chart-legend {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-btc { color: var(--saylor-red); }
.legend-solman { color: var(--green); }

.roi-chart {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.line-btc {
  filter: drop-shadow(0 0 4px var(--saylor-red-glow));
}

.strategy-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--white-dim);
  text-align: center;
}

/* ---- CTA ---- */
.cta-section {
  padding: 80px 0;
  background: var(--black);
  text-align: center;
}

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--saylor-red);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 0 24px var(--saylor-red-glow);
  transition: box-shadow 0.2s, filter 0.2s;
}

.btn-cta:hover {
  box-shadow: 0 0 36px var(--saylor-red-glow);
  filter: brightness(1.1);
}

/* ---- Footer: Disclosures ---- */
.footer {
  padding: 48px 0 32px;
  background: var(--black-soft);
  border-top: 1px solid var(--gray);
}

.disclosures {
  max-width: 720px;
}

.disclosures p {
  margin: 0 0 12px;
  font-size: 0.6rem;
  line-height: 1.6;
  color: #666;
  letter-spacing: 0.02em;
}

.disclosures .copyright {
  margin-top: 20px;
  font-size: 0.55rem;
  color: #555;
}

/* ---- NIGGAYIELD™ Section ---- */
.skinyield-section {
  padding: 80px 0;
  background: var(--black);
}

.skinyield-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray);
  border: 1px solid var(--gray);
  margin-bottom: 40px;
}

.yield-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px;
  background: var(--black-soft);
  text-align: center;
}

.yield-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.yield-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.yield-value.positive-text {
  color: var(--green);
}

.yield-period {
  font-size: 0.65rem;
  color: #666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skinyield-explainer {
  max-width: 720px;
  border-left: 3px solid var(--saylor-red);
  padding-left: 20px;
}

.skinyield-explainer h3 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saylor-red);
}

.skinyield-explainer p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--white-dim);
}

/* ---- Quarterly Earnings Section ---- */
.earnings-section {
  padding: 80px 0;
  background: var(--black-soft);
}

.earnings-highlight-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray);
  border: 1px solid var(--gray);
  margin-bottom: 48px;
}

.earnings-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  background: var(--black);
  text-align: center;
}

.eh-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.eh-value.positive-text {
  color: var(--green);
}

.eh-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.earnings-body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.earnings-letter {
  max-width: 720px;
  border: 1px solid var(--gray);
  padding: 32px;
  background: var(--black);
}

.earnings-letter h3 {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saylor-red);
}

.earnings-letter p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--white-dim);
}

.earnings-letter p:last-child {
  margin-bottom: 0;
}

.earnings-signoff {
  margin-top: 20px !important;
  font-style: italic;
  color: #666 !important;
  font-size: 0.8rem !important;
}

.earnings-table-section h3 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saylor-red);
}

.earnings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.earnings-table th,
.earnings-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.earnings-table thead th {
  background: var(--black);
  color: var(--white-dim);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.earnings-table tbody tr:hover {
  background: rgba(42, 42, 46, 0.4);
}

.earnings-table tbody tr:last-child td {
  border-bottom: 1px solid var(--gray);
}

.earnings-table tfoot td {
  border-bottom: none;
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--white);
}

.earnings-table .positive {
  color: var(--green);
  font-weight: 600;
}

.earnings-table .negative {
  color: #ef4444;
  font-weight: 600;
}

.quarter-highlight {
  background: rgba(210, 32, 39, 0.06);
  border-left: 3px solid var(--saylor-red);
}

.quarter-highlight td {
  color: var(--white) !important;
  font-weight: 600;
}

.earnings-guidance {
  max-width: 720px;
  border: 1px solid var(--gray);
  padding: 32px;
  background: var(--black);
}

.earnings-guidance h3 {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saylor-red);
}

.earnings-guidance p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--white-dim);
}

.guidance-disclaimer {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid var(--gray);
  font-size: 0.7rem !important;
  font-style: italic;
  color: #555 !important;
}

.positive-text {
  color: var(--green) !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav a {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .skinyield-grid,
  .earnings-highlight-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .yield-value {
    font-size: 1.5rem;
  }

  .eh-value {
    font-size: 1.3rem;
  }

  .earnings-letter,
  .earnings-guidance {
    padding: 20px;
  }

  .earnings-table th,
  .earnings-table td {
    padding: 10px 12px;
    font-size: 0.75rem;
  }
}
