/* ============================================================
   TheZenBlock.com — Global Design System
   Fonts: Montserrat (headings), Lato (body)
   Colors: Dark navy bg, gold/amber accent, white text
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:       #37ca37;
  --secondary:     #188bf6;
  --gold:          #F2C186;
  --gold-dark:     #c9a84c;
  --navy:          #1a1a2e;
  --navy-mid:      #234165;
  --dark:          #0d0d1a;
  --text:          #ffffff;
  --text-muted:    #9ca3af;
  --text-dark:     #1a1a2e;
  --bg-light:      #f9f5f0;
  --bg-card:       rgba(255,255,255,0.05);
  --border:        rgba(255,255,255,0.12);
  --overlay:       rgba(0,0,0,0.55);
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,0.35);
  --shadow-gold:   0 4px 24px rgba(242,193,134,0.25);
  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Lato', sans-serif;
  --max-width:     1100px;
  --transition:    0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
.text-gold    { color: var(--gold); }
.text-green   { color: var(--primary); }
.text-blue    { color: var(--secondary); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.font-head    { font-family: var(--font-head); }
.font-bold    { font-weight: 700; }
.font-black   { font-weight: 900; }
.uppercase    { text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1280px; }
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }
.section--dark  { background: var(--dark); }
.section--navy  { background: var(--navy); }
.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--text-dark); }
.section--light p,
.section--light li { color: #374151; }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--col { flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2aaa2a 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(55,202,55,0.35);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(55,202,55,0.5); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 6px 32px rgba(242,193,134,0.45); }

.btn--outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover { background: var(--gold); color: var(--dark); }

.btn--blue {
  background: linear-gradient(135deg, var(--secondary) 0%, #1270d0 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(24,139,246,0.35);
}
.btn--blue:hover { box-shadow: 0 6px 28px rgba(24,139,246,0.5); }

.btn--lg { padding: 20px 48px; font-size: 1.15rem; }
.btn--sm { padding: 10px 24px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--gold { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.card--featured {
  background: linear-gradient(135deg, rgba(242,193,134,0.08) 0%, rgba(24,139,246,0.08) 100%);
  border-color: var(--gold);
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.badge--gold    { background: var(--gold); color: var(--dark); }
.badge--green   { background: var(--primary); color: #fff; }
.badge--blue    { background: var(--secondary); color: #fff; }
.badge--outline { border: 1.5px solid var(--gold); color: var(--gold); }

/* ── Dividers ── */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  margin: 16px auto;
}
.divider--left { margin-left: 0; }

/* ── Checkmark list ── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.97rem;
}
.check-list li::before {
  content: '✔';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-list--cross li::before { content: '✗'; color: #e93d3d; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-nav a:hover { color: var(--gold); }
.nav-cta { margin-left: 8px; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-links a + a::before {
  content: '|';
  margin-right: 24px;
  color: var(--border);
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.footer-copy {
  font-size: 0.82rem;
  color: #555;
}

/* ── Modal / Popup ── */
.zb-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zb-modal-overlay.active { display: flex; }
.zb-modal {
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 64px rgba(0,0,0,0.6);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.zb-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}
.zb-modal__close:hover { color: var(--text); }
.zb-modal__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}
.zb-modal__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.zb-modal__form-wrap { min-height: 200px; }
.zb-modal__form-wrap iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
}

/* ── Samcart Placeholder ── */
.samcart-placeholder {
  background: rgba(242,193,134,0.06);
  border: 2px dashed var(--gold-dark);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.9rem;
}
.samcart-placeholder p { color: var(--gold-dark); margin: 8px 0 0; font-size: 0.8rem; }

/* ── Video wrapper ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video-wrap iframe,
.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

/* ── Testimonials ── */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial__text { font-size: 0.97rem; color: var(--text); margin-bottom: 16px; font-style: italic; }
.testimonial__author { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--gold); }

/* ── Section heading helper ── */
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark) 0%, var(--navy) 60%, #0d1b2e 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(242,193,134,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(24,139,246,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__title { margin-bottom: 24px; }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}
.hero__cta-group { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { min-height: auto; padding: 80px 0 60px; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .btn--lg { padding: 16px 32px; font-size: 1rem; }
  .zb-modal { padding: 28px 20px; }
  .hero__cta-group { flex-direction: column; align-items: flex-start; }
}
