/* =============================================================================
   Cubeberry.AI — Shared Stylesheet
   • Google Fonts loaded via <link> in each HTML file (not @import — blocked by CSP)
   • All classes are prefixed or scoped to avoid collisions with page-level styles
   ============================================================================= */

/* ── CSS Custom Properties ───────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --gold:               #C58A00;
  --gold-light:         #d4a000;
  --gold-dark:          #9a6d00;

  /* Section backgrounds */
  --dark-bg:            #000;
  --dark-card:          #000;
  --dark-card2:         #0d0d0d;
  --dark-border:        #2a2d36;
  --dark-navy:          #000;
  --dark-navy-fg:       hsl(0, 0%, 95%);

  /* Light section */
  --light-bg:           #fff;
  --light-border:       rgba(0,0,0,.1);
  --light-card:         #f8f8f8;

  /* Typography */
  --foreground:         #1c1c1e;
  --text-muted-custom:  #6b7280;
  --text-secondary:     #9ca3af;
  --red-warn:           #ef4444;

  --muted:              #fff;   /* navbar link color */
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
h1 {
  font-family: ui-sans-serif, system-ui, sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji",
               "Segoe UI Symbol", "Noto Color Emoji";
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar                          { background: #000 !important; }
.navbar-brand-text               { color: var(--gold); font-weight: 700; }
.navbar-brand-text span,
.navbar-brand-text:hover         { color: #fff; }
.navbar .nav-link                { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.navbar .nav-link:hover,
.navbar .nav-link.active         { color: var(--gold); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-gold {
  background: var(--gold); color: #fff; border: none;
  padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s; text-decoration: none; font-size: .938rem;
}
.btn-gold:hover { background: var(--gold-dark); color: #fff; }

.btn-outline-light {
  border: 1px solid rgba(242,242,242,.2); color: var(--dark-navy-fg);
  padding: .75rem 1.5rem; border-radius: .5rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s; text-decoration: none; font-size: .938rem;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn-primary-gold {
  background: var(--gold); color: #000; font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 9px; border: none;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; transition: background .2s; text-decoration: none;
}
.btn-primary-gold:hover { background: var(--gold-light); color: #000; }

/* ── Utility / Layout ─────────────────────────────────────────────────────── */
.text-gold             { color: var(--gold) !important; }
.divider               { height: 1px; background: var(--dark-border); margin: 0; }

/* ── Dark section ─────────────────────────────────────────────────────────── */
.dark-section                    { background: var(--dark-navy); color: var(--dark-navy-fg); }

/* ── Section labels & eyebrows ────────────────────────────────────────────── */
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}

/* ── Hero overlay (shared across product pages) ───────────────────────────── */
.hero-overlay            { position: relative; overflow: hidden; }
.hero-overlay .hero-content { position: relative; z-index: 2; }
.hero-overlay h1 {
  max-width: 900px; margin-left: auto; margin-right: auto;
  font-size: clamp(32px, 5.5vw, 58px); font-weight: 900 !important;
  font-family: ui-sans-serif, system-ui, sans-serif,
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* ── Hero section (About & similar pages) ────────────────────────────────── */
.hero-badge {
  display: inline-block; background: rgba(197,138,0,.12);
  border: 1px solid rgba(197,138,0,.25); border-radius: 20px;
  padding: 4px 14px; font-size: 14px; font-weight: 600;
  color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px;
}

/* ── Shared stats / hero checks ──────────────────────────────────────────── */
.hero-checks   { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 36px; }
.hero-check    { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-secondary); }
.hero-check i  { color: var(--gold); font-size: 13px; }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.engine-card:hover,
.problem-item { background: rgba(192,57,43,.08); border-color: rgba(192,57,43,.2); border-radius: 8px; font-size: 16px; color: #CCC; text-align: left; }
.problem-item .icon-red,
.problem-tagline { margin-top: 28px; font-size: 14px; color: #fff; font-style: italic; }

/* ── Solution / Engine ────────────────────────────────────────────────────── */
.engine-label   { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.engine-name    { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.engine-tag     { font-size: 13px; color: var(--gold); margin-bottom: 16px; }

/* ── Before / After ───────────────────────────────────────────────────────── */
.ba-title                { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.ba-item                 { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #ddd; margin-bottom: 14px; }

/* ── Compare table ────────────────────────────────────────────────────────── */
.compare-table           { width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid #fff; border-collapse: initial; }
.compare-table th        { background: var(--dark-card); font-size: 16px; font-weight: 600; padding: 14px 16px; color: #fff; border-bottom: 1px solid #fff; }
.compare-table th.gold-col { color: var(--gold); }
.compare-table td        { background: var(--dark-bg); font-size: 14px; color: #fff; padding: 12px 16px; border-bottom: 1px solid #fff; vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }

/* ── How It Works steps ───────────────────────────────────────────────────── */
.step-num      { font-size: 2rem; font-weight: 800; color: rgba(197,138,0,.3); line-height: 1; }
.step-title    { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-desc     { font-size: 13px; color: var(--text-muted-custom); line-height: 1.6; }

/* ── Proof / Real productions ─────────────────────────────────────────────── */
.proof-card    { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px; padding: 28px; text-align: center; }
.proof-card i  { font-size: 24px; color: var(--gold); margin-bottom: 14px; }
.proof-card p  { font-size: 14px; color: #ccc; margin: 0; }

/* ── Consistency ─────────────────────────────────────────────────────────── */
.consistency-card       { background: #141414; border: 1px solid #2a2a2a; border-radius: 10px; padding: 22px; text-align: left; }
.consistency-card h6    { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.consistency-card p     { font-size: 12px; color: #777; line-height: 1.5; margin: 0; }
.consistency-card.highlight { border-color: #3a3a1a; }

/* ── CTA section ──────────────────────────────────────────────────────────── */
.cta-title     { font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: 1.12; }
.cta-title .gold { color: var(--gold); }
.cta-sub       { font-size: 15px; color: var(--text-secondary); margin: 18px 0 36px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer a             { color: rgba(242,242,242,.7); text-decoration: none; transition: color .2s; }
footer a:hover       { color: var(--gold); }
.footer-contact-link { color: rgba(242,242,242,.7); text-decoration: none; transition: color .2s; }
.footer-contact-link:hover { color: var(--gold); }

/* ── AI VirtualSet page — cubemap grid ────────────────────────────────────── */
.cubemap-grid   { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 90px); gap: 4px; background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 12px; padding: 8px; max-width: 400px; }

/* ── Pricing cards (shared) ───────────────────────────────────────────────── */
.price-card      { background: #fff; border: 1px solid var(--dark-border); border-radius: 12px; padding: 28px 20px; height: 100%; }
.price-icon      { width: 36px; height: 36px; background: rgba(197,138,0,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--gold); margin: 0 auto 16px; }
.price-unit      { font-size: 14px; color: var(--text-muted-custom); margin-bottom: 6px; }

/* ── Precision cards (xconda) ────────────────────────────────────────────── */
.prec-card         { background: #fff; border: 1px solid var(--dark-border); border-radius: 10px; padding: 20px 18px; text-align: left; height: 100%; }
.prec-card .prec-icon { width: 32px; height: 32px; background: rgba(197,138,0,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--gold); margin-bottom: 12px; }
.prec-card h6      { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: #000; }
.prec-card p       { font-size: 14px; color: var(--text-muted-custom); line-height: 1.6; margin: 0; }
