/* ========================================
   Bitcoin Global — Crypto Affiliate Site
   Dark navy/charcoal + gold accents
   ======================================== */

:root {
  --navy: #0f1724;
  --navy-light: #1a2538;
  --navy-mid: #243044;
  --charcoal: #2c3e50;
  --gold: #d4a634;
  --gold-light: #e8c35a;
  --gold-dark: #b8912a;
  --white: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --green: #28a745;
  --red: #dc3545;
  --blue-link: #5ba4f5;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --max-width: 1200px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--gray-100);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; }

/* ---- Typography ---- */
h1, h2, h3, h4 { color: var(--white); line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; color: var(--gray-300); }

/* ---- Layout ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--navy-light); }

/* ---- Editorial Disclosure ---- */
.disclosure {
  background: var(--navy-mid);
  border-left: 3px solid var(--gold);
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---- Header / Nav ---- */
.site-header {
  background: rgba(15, 23, 36, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(212,166,52,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero h1 { font-size: 3rem; max-width: 800px; margin: 0 auto 1.2rem; position: relative; }
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- Page Hero (smaller, for inner pages) ---- */
.page-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.page-hero .subtitle { font-size: 1.1rem; color: var(--gray-400); max-width: 650px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: var(--navy-light);
  border: 1px solid var(--navy-mid);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }
.card .card-tag {
  display: inline-block;
  background: rgba(212,166,52,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ---- Comparison Table ---- */
.table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--navy-mid);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
thead { background: var(--navy-mid); }
th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  font-weight: 600;
  white-space: nowrap;
}
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--navy-mid);
  color: var(--gray-200);
  font-size: 0.95rem;
}
tr:last-child td { border-bottom: none; }
tbody tr { background: var(--navy-light); transition: background 0.15s; }
tbody tr:nth-child(even) { background: rgba(26, 37, 56, 0.6); }
tbody tr:hover { background: var(--navy-mid); }
.rating {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}
.badge-yes { color: var(--green); font-weight: 600; }
.badge-no { color: var(--red); font-weight: 600; }

/* ---- Star Rating ---- */
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---- Exchange/Wallet Review Card ---- */
.review-card {
  background: var(--navy-light);
  border: 1px solid var(--navy-mid);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 32px;
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.review-card-header h3 { margin: 0; font-size: 1.5rem; }
.review-card .score {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}
.review-card .pros-cons h4 { margin-bottom: 8px; }
.review-card .pros-cons ul {
  list-style: none;
  padding: 0;
}
.review-card .pros-cons li {
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--gray-300);
}
.review-card .pros-cons li::before {
  margin-right: 8px;
  font-weight: 700;
}
.pros li::before { content: '+'; color: var(--green); }
.cons li::before { content: '-'; color: var(--red); }

/* ---- Step Guide ---- */
.steps { counter-reset: step; }
.step {
  background: var(--navy-light);
  border: 1px solid var(--navy-mid);
  border-radius: var(--radius);
  padding: 36px 36px 36px 90px;
  margin-bottom: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 28px;
  top: 32px;
  width: 42px;
  height: 42px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 8px; }
.step p { margin-bottom: 0; }

/* ---- Newsletter ---- */
.newsletter {
  background: linear-gradient(135deg, var(--navy-mid), var(--charcoal));
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  border: 1px solid rgba(212,166,52,0.2);
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { max-width: 500px; margin: 0 auto 24px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-mid);
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
}
.newsletter-form input[type="email"]::placeholder { color: var(--gray-500); }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-mid);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p { font-size: 0.9rem; color: var(--gray-500); margin-top: 12px; }
.footer-col h4 {
  color: var(--gray-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-400); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--navy-mid);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---- Contact Form ---- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--gray-300);
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--navy-mid);
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid .about-text h2 { margin-bottom: 16px; }
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--navy-light);
  border: 1px solid var(--navy-mid);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.value-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* ---- Breadcrumbs ---- */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ---- TOC (Table of Contents) ---- */
.toc {
  background: var(--navy-light);
  border: 1px solid var(--navy-mid);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
  display: inline-block;
}
.toc h4 { margin-bottom: 12px; color: var(--gray-300); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.toc ul { list-style: none; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--gray-400); font-size: 0.9rem; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .section { padding: 48px 0; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    border-bottom: 1px solid var(--navy-mid);
    gap: 16px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .review-card .pros-cons { grid-template-columns: 1fr; }
  .step { padding-left: 80px; }
  .card-grid { grid-template-columns: 1fr; }
}
