﻿/* =========================================================
   ZEC Miner â€” Design System (Dark Cypherpunk Theme)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Custom Properties --- */
:root {
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #111111;
  --bg-tertiary:   #1a1a1a;
  --bg-elevated:   #222222;
  --border:        #2a2a2a;
  --border-bright: #3a3a3a;

  --gold:          #F4B728;
  --gold-dark:     #c8961a;
  --gold-light:    #ffd54f;
  --gold-muted:    rgba(244,183,40,0.12);
  --gold-glow:     0 0 20px rgba(244,183,40,0.3);

  --green:         #3a8c2a;
  --green-dark:    #1e5c12;
  --green-muted:   rgba(58,140,42,0.12);

  --text-primary:  #f0f0f0;
  --text-secondary:#a0a0a0;
  --text-muted:    #555555;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.6);
  --shadow-gold:   0 0 30px rgba(244,183,40,0.2);

  --transition:    all 0.25s ease;
  --transition-slow: all 0.4s ease;

  --font-heading:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --max-width:     1200px;
  --nav-height:    70px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  transition: var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--text-secondary); }
.mono { font-family: var(--font-mono); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-secondary); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* --- Section Labels --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--gold-muted);
  border: 1px solid rgba(244,183,40,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold-muted);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Cards --- */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(244,183,40,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo img { width: 36px; height: 36px; }
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: var(--gold-muted);
}
.nav-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}
.ticker-price { color: var(--gold); font-weight: 500; }
.ticker-change { font-size: 0.75rem; }
.ticker-change.up { color: #4caf50; }
.ticker-change.down { color: #f44336; }
.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-mobile-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(244,183,40,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(58,140,42,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,183,40,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,183,40,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f0f0f0 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  position: absolute;
  right: max(16px, calc((100% - 1200px) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  opacity: 0.7;
  animation: floatCoin 6s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(244,183,40,0.2));
}
@keyframes floatCoin {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 20px)) rotate(3deg); }
}

/* =========================================================
   AD SLOTS
   ========================================================= */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.ad-slot-leaderboard { width: 100%; min-height: 90px; }
.ad-slot-rectangle { width: 300px; min-height: 250px; }
.ad-slot-banner { width: 100%; min-height: 60px; }
.ad-slot-content { width: 100%; min-height: 280px; }
.ad-section { padding: 16px 0; }
.ad-center { display: flex; justify-content: center; }
.ad-label {
  position: absolute;
  top: 4px;
  left: 8px;
  font-size: 0.6rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* =========================================================
   COMING SOON BANNER
   ========================================================= */
.coming-soon {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1500 100%);
  border: 1px solid rgba(244,183,40,0.3);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244,183,40,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.coming-soon h2 { color: var(--gold); margin-bottom: 16px; }
.coming-soon p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; }
.coming-soon-pulse {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.email-capture {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.email-capture input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(244,183,40,0.3);
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); max-width: 620px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

.highlight-box {
  background: var(--gold-muted);
  border: 1px solid rgba(244,183,40,0.25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text-secondary); margin: 0; }

.step-list { counter-reset: steps; }
.step-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: steps;
}
.step-item:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h4 { margin-bottom: 8px; color: var(--text-primary); }
.step-content p { color: var(--text-secondary); margin: 0; }

/* =========================================================
   PROFITABILITY CALCULATOR
   ========================================================= */
.calculator {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.calc-result {
  background: var(--bg-primary);
  border: 1px solid rgba(244,183,40,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.calc-metric { text-align: center; }
.calc-metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.calc-metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.calc-metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.calc-metric.profit .calc-metric-value { color: #4caf50; }
.calc-metric.loss .calc-metric-value { color: #f44336; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(244,183,40,0.3); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--gold-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.2rem;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #0a0a0a; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(244,183,40,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.blog-card-image {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, #1a1200 100%);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-secondary) 100%);
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 3px 10px;
  border-radius: 100px;
}
.blog-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.9rem; color: var(--text-secondary); flex: 1; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 16px;
  font-family: var(--font-heading);
}
.blog-read-more:hover { gap: 10px; }

/* Blog Post Page */
.blog-post-header { padding: 120px 0 60px; }
.blog-post-body { max-width: 780px; }
.blog-post-body h2 { margin: 40px 0 16px; }
.blog-post-body h3 { margin: 28px 0 12px; color: var(--gold); }
.blog-post-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.blog-post-body ul, .blog-post-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.blog-post-body li { margin-bottom: 8px; line-height: 1.7; }
.blog-post-body ul { list-style: disc; }
.blog-post-body ol { list-style: decimal; }
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.blog-sidebar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.blog-sidebar-card h4 { margin-bottom: 16px; color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cta-box {
  background: linear-gradient(135deg, var(--bg-secondary), #1a1500);
  border: 1px solid rgba(244,183,40,0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.cta-box h3 { color: var(--gold); margin-bottom: 12px; }
.cta-box p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; }

/* =========================================================
   STATS
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-item:hover {
  border-color: rgba(244,183,40,0.3);
  transform: translateY(-2px);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--gold); }
.footer-network {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-network h5 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.network-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.network-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: var(--transition);
  font-family: var(--font-mono);
}
.network-links a:hover {
  color: var(--gold);
  border-color: rgba(244,183,40,0.3);
  background: var(--gold-muted);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--gold); }
.ext-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.ext-link:hover { color: var(--gold); border-color: rgba(244,183,40,0.3); }

/* =========================================================
   COOKIE CONSENT
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { font-size: 0.85rem; color: var(--text-secondary); flex: 1; }
.cookie-text a { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border-bright); }

/* =========================================================
   TABLE
   ========================================================= */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg-tertiary);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
tr:hover td { background: var(--bg-secondary); }
td strong { color: var(--text-primary); }

/* =========================================================
   FORMS
   ========================================================= */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* =========================================================
   PAGE HEADER
   ========================================================= */
.page-header {
  padding: calc(var(--nav-height) + 64px) 0 64px;
  background: linear-gradient(180deg, rgba(244,183,40,0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,183,40,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,183,40,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-header-content { position: relative; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Gold shimmer on logo */
@keyframes shimmer {
  0% { filter: drop-shadow(0 0 4px rgba(244,183,40,0)); }
  50% { filter: drop-shadow(0 0 12px rgba(244,183,40,0.6)); }
  100% { filter: drop-shadow(0 0 4px rgba(244,183,40,0)); }
}
.logo-shimmer { animation: shimmer 3s ease-in-out infinite; }

/* Scan line animation for cypherpunk feel */
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.scanlines {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
  opacity: 0.02;
}
.scanlines::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  animation: scanline 8s linear infinite;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 24px;
}


/* =========================================================
   CARD GRID â€” blog index layout
   ========================================================= */
.card { display: flex; flex-direction: column; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}
.card-title { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; color: var(--text-primary); }
.card-title a { color: var(--text-primary); }
.card-title a:hover { color: var(--gold); }
.card-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 0; }

/* =========================================================
   AD COMPLIANCE â€” sticky sidebar, in-content spacing
   ========================================================= */
.article-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.ad-sticky { position: sticky; top: calc(var(--nav-height) + 24px); }
.ad-in-content { margin: 40px 0; text-align: center; }
.ad-in-content ins { display: inline-block; }

/* =========================================================
   NAV LOGO â€” ensure left-aligned on all viewports
   ========================================================= */
.nav-inner { gap: 8px; }
.nav-logo { flex-shrink: 0; }
.nav-links { flex: 1; justify-content: center; }
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .hero-image { width: 300px; opacity: 0.4; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .card-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }

  :root { --nav-height: 60px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result-grid { grid-template-columns: 1fr; }
  .coming-soon { padding: 40px 24px; }
  .hero-image { display: none; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .email-capture { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .calculator { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-ticker { display: none; }
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,10,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

