/* ================================================================
   CRYPTO COACH CHRIS™ — Shared Brand Stylesheet
   Used across all pages: index, chat, roadmap, about
   ================================================================ */

:root {
  /* Brand palette (from beta app — keep in sync) */
  --teal-dark: #003D35;
  --teal-mid: #1a6b5a;
  --teal-bright: #00B896;
  --orange: #E87800;
  --gold: #FFD000;
  --gold-dark: #C8A200;
  --cyan: #00FFD4;
  --brown: #6B4226;
  --mint-light: #E0FFFE;
  --gray: #9E9E9E;
  --dark-gray: #706B6B;
  --black: #000000;
  --white: #ffffff;
  --danger: #ff6b6b;

  /* Typography */
  --font-display: 'Bangers', cursive;
  --font-body: 'Nunito', sans-serif;

  /* Layout */
  --content-max: 1040px;
  --content-pad: 1.25rem;
  --radius: 14px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.55;
}

/* ========== HEX BACKGROUND (global) ========== */
.hex-bg {
  position: fixed;
  inset: 0;
  background-color: var(--teal-dark);
  background-image:
    radial-gradient(circle at 70% 30%, rgba(0,180,150,0.15) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.28' viewBox='0 0 60 69.28'%3E%3Cpolygon points='30,0 60,17.32 60,51.96 30,69.28 0,51.96 0,17.32' fill='none' stroke='rgba(0,255,200,0.12)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, 60px 69.28px;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========== NAV ========== */
.site-nav {
  background: rgba(0,30,26,0.92);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.65rem var(--content-pad);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--gold);
  margin-right: auto;
}
.nav-brand img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px var(--orange);
  background: var(--teal-mid);
  object-fit: cover;
}
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 1px 1px 0 var(--orange);
}
.nav-tm {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--cyan);
  vertical-align: super;
  margin-left: 1px;
}
.nav-links {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}
.nav-link {
  color: var(--mint-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-link:hover { background: rgba(0,255,212,0.1); color: var(--cyan); }
.nav-link.active { color: var(--gold); }
.nav-cta {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--teal-dark) !important;
  font-family: var(--font-display);
  letter-spacing: 1.2px;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 0.88rem;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,208,0,0.35); background: linear-gradient(135deg, var(--gold), var(--orange)); color: var(--teal-dark) !important; }
@media (max-width: 720px) {
  .nav-link { font-size: 0.82rem; padding: 0.4rem 0.6rem; }
  .nav-brand-text { font-size: 1rem; }
  .nav-links { gap: 0.1rem; }
}

/* ========== CONTAINERS & SECTIONS ========== */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
  width: 100%;
}

.section {
  padding: 3.5rem 0;
}
.section-tight { padding: 2rem 0; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--orange), 6px 6px 0 rgba(0,0,0,0.4);
  -webkit-text-stroke: 2px var(--orange);
  margin-bottom: 1rem;
}

.subhead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 1.5px;
  line-height: 1.05;
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--orange);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--mint-light);
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 1rem;
  color: var(--mint-light);
  margin-bottom: 1rem;
}

.body-text p { margin-bottom: 0.85rem; }
.body-text strong { color: var(--gold); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--teal-dark);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,208,0,0.4); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
}
.btn-ghost:hover { background: rgba(0,255,212,0.1); color: var(--white); }

/* ========== CARDS ========== */
.card {
  background: rgba(0,61,53,0.7);
  border: 1.5px solid rgba(0,255,212,0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.card-accent {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(232,120,0,0.3);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-shadow: 1.5px 1.5px 0 var(--orange);
}
.card-meta {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}
.card-body {
  color: var(--mint-light);
  font-size: 0.95rem;
  line-height: 1.55;
}

.grid {
  display: grid;
  gap: 1rem;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ========== PILLS ========== */
.pill {
  display: inline-block;
  background: rgba(0,61,53,0.7);
  border: 1px solid rgba(0,255,212,0.3);
  border-radius: 20px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  transition: all 0.15s;
  text-decoration: none;
}
.pill:hover { background: rgba(0,255,212,0.12); border-color: var(--cyan); color: var(--white); }
.pill-gold {
  background: rgba(255,208,0,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

/* ========== AVATAR / MEDIA ========== */
.avatar-lg {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 2px var(--orange), 0 10px 34px rgba(0,0,0,0.5);
  overflow: hidden;
  background: var(--teal-mid);
}
.avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.media-frame img { display: block; width: 100%; height: auto; }

/* ========== VIDEO EMBED ========== */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--teal-bright);
  background: var(--teal-dark);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ========== FOOTER ========== */
.site-footer {
  background: rgba(0,20,18,0.95);
  border-top: 1.5px solid rgba(255,208,0,0.2);
  padding: 2rem var(--content-pad) 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
.footer-z10 img { width: 44px; height: 44px; object-fit: contain; }
.footer-mid { font-size: 0.82rem; color: rgba(224,255,254,0.55); line-height: 1.6; }
.footer-mid strong { color: var(--gold); }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
