/* Shared BurritoCoin styles */

:root {
  --gold: #f5a623;
  --gold-dark: #c47d0e;
  --gold-light: #ffd170;
  --brown: #3b1f0a;
  --warm-bg: #1a0f05;
  --card-bg: #2a1608;
  --text: #f0e0c0;
  --muted: #9a7a55;
  --border: #5a3010;
  --code-bg: #0f0803;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--warm-bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); text-decoration: underline; }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(26, 15, 5, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

.nav-logo img { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-links a.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.12) 0%, transparent 70%);
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 24px rgba(245,166,35,0.5));
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-ticker {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--text);
  margin-top: 1.2rem;
  max-width: 600px;
  opacity: 0.85;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Smaller hero for sub-pages */
.hero-sm {
  padding: 3rem 2rem 2rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.1) 0%, transparent 60%);
}

.hero-sm h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-sm p {
  color: var(--text);
  opacity: 0.85;
  margin-top: 0.8rem;
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); text-decoration: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--card-bg);
  color: var(--gold-light);
  text-decoration: none;
  border-color: var(--gold-dark);
}

/* ── SECTIONS ── */
section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section.tight { padding: 2.5rem 2rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

section p {
  color: rgba(240, 224, 192, 0.8);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

section ul, section ol {
  color: rgba(240, 224, 192, 0.8);
  margin: 0 0 1rem 1.5rem;
  font-size: 1.02rem;
}

section li { margin-bottom: 0.4rem; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 2rem;
}

/* ── STATS GRID ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ── WORTH BOX ── */
.worth-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.8rem;
  margin-top: 1.5rem;
}

.worth-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.worth-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.5rem;
}

.worth-box p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.worth-box p:last-child { margin-bottom: 0; }

.disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: 1rem;
  font-style: italic;
}

/* ── FEATURE CARDS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  display: block;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── FAQ ── */
.faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}

.faq-item h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── OS PICKER ── */
.os-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.os-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.os-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(245,166,35,0.15);
}

.os-card .os-icon {
  font-size: 3rem;
  margin-bottom: 0.6rem;
  display: block;
}

.os-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.os-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ── STEPS ── */
.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--brown);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
  margin: 0.4rem 0 0.6rem;
}

.step p {
  color: rgba(240, 224, 192, 0.8);
  font-size: 0.97rem;
  margin-bottom: 0.7rem;
}

.step p:last-child { margin-bottom: 0; }

.step ul, .step ol {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

/* ── CODE ── */
code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
  background: var(--code-bg);
  color: var(--gold-light);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
  border: 1px solid var(--border);
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 0.8rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: inherit;
}

.callout {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.2rem;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: var(--text);
}

.callout strong { color: var(--gold); }

.callout.warn {
  background: rgba(245, 100, 35, 0.08);
  border-color: rgba(245, 100, 35, 0.3);
  border-left-color: #f56423;
}

.callout.warn strong { color: #ffa070; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

footer .footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  nav { padding: 0.8rem 1rem; }
  .nav-links { gap: 1rem; font-size: 0.82rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  pre { font-size: 0.8rem; }
}
