﻿/* =========================================================
   Zcash.Design â€” Light Theme Design System
   ========================================================= */

@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:    #ffffff;
  --bg-secondary:  #f5f7fa;
  --bg-tertiary:   #eef0f3;
  --bg-elevated:   #e5e8ec;
  --border:        #dde1e7;
  --border-bright: #c8cdd6;
  --gold:          #c8880a;
  --gold-dark:     #a06a06;
  --gold-light:    #F4B728;
  --gold-muted:    rgba(200,136,10,0.10);
  --gold-glow:     0 0 20px rgba(200,136,10,0.2);

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

  --text-primary:  #111827;
  --text-secondary:#374151;
  --text-muted:    #9ca3af;

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

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.14);
  --shadow-gold:   0 0 30px rgba(200,136,10,0.15);

  --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-dark); }
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: #fff;
  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(200,136,10,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: #ffffff; }
.btn-primary:hover { background: var(--gold-dark); color: #ffffff; 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(200,136,10,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(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(255,255,255,0.99); 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-primary); 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; color: var(--text-secondary);
  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: #2d8a4e; }
.ticker-change.down { color: #d32f2f; }
.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(200,136,10,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,136,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,136,10,0.05) 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, #ffffff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,0.78); 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(200,136,10,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-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
   ========================================================= */
.coming-soon { background: linear-gradient(135deg, var(--bg-secondary) 0%, #fff8e8 100%); border: 1px solid rgba(200,136,10,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(200,136,10,0.06) 0%, transparent 60%); pointer-events: none; }
.coming-soon-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; 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: #fff; border: 1px solid rgba(200,136,10,0.3); }

/* =========================================================
   CONTENT
   ========================================================= */
.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(--bg-secondary); border: 1px solid var(--border); 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: #fff; 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; }

/* Color swatch for design system page */
.color-swatch { width: 100%; height: 80px; border-radius: var(--radius-md); margin-bottom: 12px; border: 1px solid var(--border); }
.color-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.color-info code { font-size: 0.8rem; background: var(--bg-tertiary); padding: 2px 8px; border-radius: 4px; color: var(--gold); }

/* =========================================================
   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(200,136,10,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); width: 100%; text-align: left; color: var(--text-primary); background: none; }
.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: #fff; }
.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: 500px; }

/* =========================================================
   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(200,136,10,0.3); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.blog-card-image { background: linear-gradient(135deg, var(--bg-tertiary) 0%, #fff3d0 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; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-body { min-width: 0; }
.article-body h2 { margin: 40px 0 16px; color: var(--text-primary); }
.article-body h3 { margin: 28px 0 12px; color: var(--gold); }
.article-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; color: var(--text-secondary); }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.sidebar-widget { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.sidebar-widget h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links li a { color: var(--text-secondary); font-size: 0.9rem; }
.sidebar-links li a:hover { color: var(--gold); }
.article-badge { display: inline-block; background: var(--gold-muted); color: var(--gold); font-size: 0.75rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }

/* =========================================================
   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(200,136,10,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(200,136,10,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(200,136,10,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-tertiary); }
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: var(--bg-secondary); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(200,136,10,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(200,136,10,0.02) 1px, transparent 1px); background-size: 40px 40px; }
.page-header h1 { color: var(--text-primary); }
.page-header .breadcrumb a { color: var(--text-primary); }
.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; }
@keyframes shimmer { 0% { filter: drop-shadow(0 0 4px rgba(200,136,10,0)); } 50% { filter: drop-shadow(0 0 12px rgba(200,136,10,0.5)); } 100% { filter: drop-shadow(0 0 4px rgba(200,136,10,0)); } }
.logo-shimmer { animation: shimmer 3s ease-in-out infinite; }
.scanlines { display: none !important; }

/* =========================================================
   404
   ========================================================= */
.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; }

/* =========================================================
   MOBILE NAV
   ========================================================= */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(255,255,255,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; }


/* =========================================================
   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; }
  .hero-image { width: 300px; opacity: 0.4; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@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; }
  .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; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-ticker { display: none; }
}

