/* ============================================================================
   FILE: assets/bfg.css
   VIRTUAL PATH: campaigns/landing_pages/assets/bfg.css
   PURPOSE: Single shared design system for the entire blissfg.com website.
            Unifies the homepage navy/gold identity across every inner page so the
            site is visually consistent (owner feedback id=11: "the entire website
            should be consistent").
   VERSION: 1.0.0
   ============================================================================ */

:root {
  --navy: #0B1F3A;
  --navy-2: #10294B;
  --navy-3: #1E3A5F;
  --gold: #C9A227;
  --gold-soft: #E3C766;
  --ink: #E8EAF0;
  --muted: #B8C4D8;
  --line: rgba(201,162,39,0.22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,31,58,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand .mark {
  width: 44px; height: 44px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold) 0%, #9c7c14 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: -0.02em;
}
.brand .name { color: #fff; font-weight: 700; letter-spacing: 0.05em; font-size: 1.05rem; line-height: 1.1; }
.brand .name span { display: block; color: var(--gold); font-size: 0.68rem; letter-spacing: 0.22em; font-weight: 600; }
nav.main { display: flex; align-items: center; gap: 0.35rem; }
nav.main a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  padding: 0.5rem 0.85rem; border-radius: 6px; transition: color 0.2s ease, background 0.2s ease;
}
nav.main a:hover, nav.main a.active { color: var(--gold-soft); background: rgba(201,162,39,0.08); }
.nav-cta {
  margin-left: 0.75rem; padding: 0.6rem 1.25rem !important;
  background: linear-gradient(135deg, var(--gold) 0%, #a8861a 100%);
  color: var(--navy) !important; font-weight: 700; border-radius: 7px;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(201,162,39,0.3); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 6px; padding: 0.5rem 0.7rem; cursor: pointer; }

/* ---------- Market ticker ---------- */
.ticker-band {
  background: #071427;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
  overflow: hidden;
}
.ticker-band .tradingview-widget-container { width: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(201,162,39,0.14) 0%, transparent 60%),
    radial-gradient(1000px 600px at 10% 100%, rgba(30,58,95,0.7) 0%, transparent 65%),
    linear-gradient(160deg, #0d2444 0%, var(--navy) 60%, #071427 100%);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,162,39,0.05) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.5; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 1rem; margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; font-weight: 700;
  color: #fff; letter-spacing: -0.02em; max-width: 22ch; margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p.lede { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); max-width: 62ch; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(201,162,39,0.14) 0%, transparent 60%),
    radial-gradient(1000px 600px at 10% 100%, rgba(30,58,95,0.7) 0%, transparent 65%),
    linear-gradient(160deg, #0d2444 0%, var(--navy) 60%, #071427 100%);
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,162,39,0.05) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.5; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: stretch; }
.hero-visual {
  background: linear-gradient(180deg, rgba(16,41,75,0.9) 0%, rgba(13,35,64,0.9) 100%);
  border: 1px solid var(--navy-3); border-radius: 14px; padding: 1.75rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-visual .hv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.hero-visual .hv-head .t { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.hero-visual .hv-head .badge { font-size: 0.68rem; color: #66bb6a; border: 1px solid rgba(102,187,106,0.4); border-radius: 999px; padding: 0.2rem 0.6rem; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 150px; margin-bottom: 1.25rem; }
.spark .bar { flex: 1; background: linear-gradient(180deg, var(--gold) 0%, rgba(201,162,39,0.25) 100%); border-radius: 3px 3px 0 0; }
.hv-rows { display: grid; gap: 0.65rem; }
.hv-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; padding: 0.55rem 0.75rem; background: rgba(7,20,39,0.5); border: 1px solid var(--navy-3); border-radius: 7px; }
.hv-row .k { color: var(--muted); }
.hv-row .v { color: #fff; font-weight: 600; }
.hv-row .v.up { color: #66bb6a; }
.hv-row .v.dn { color: #ef5350; }
.hv-process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-top: 1rem; }
.p-step { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-soft); background: rgba(201,162,39,0.08); border: 1px solid rgba(201,162,39,0.25); border-radius: 6px; padding: 0.5rem 0.6rem; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 1rem; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 700;
  color: #fff; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lede { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 60ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--gold) 0%, #a8861a 100%); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,162,39,0.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--navy-3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Stats ---------- */
.stats { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.stat { background: var(--navy-2); padding: 2.25rem 1.5rem; text-align: center; }
.stat .num { font-size: 2.1rem; font-weight: 700; color: var(--gold); letter-spacing: -0.02em; }
.stat .label { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4rem; }

/* ---------- Sections ---------- */
section.block { padding: 5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .kicker { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #fff; margin: 0.6rem 0 0.9rem; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: linear-gradient(180deg, var(--navy-2) 0%, #0d2340 100%);
  border: 1px solid var(--navy-3); border-radius: 12px; padding: 2rem 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.card .icon {
  width: 56px; height: 56px; border-radius: 12px; margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(201,162,39,0.22) 0%, rgba(201,162,39,0.08) 100%);
  border: 1px solid rgba(201,162,39,0.45);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.card .icon svg { width: 28px; height: 28px; stroke: var(--gold-soft); stroke-width: 2; }
.card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Prose (inner pages) ---------- */
.prose { max-width: 820px; }
.prose h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--gold-soft); font-size: 1.15rem; margin: 1.75rem 0 0.6rem; }
.prose p { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.1rem; }
.prose ul, .prose ol { color: var(--muted); margin: 0 0 1.25rem 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--gold-soft); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose .callout {
  background: rgba(201,162,39,0.07); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 8px;
  padding: 1.25rem 1.5rem; margin: 1.75rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: linear-gradient(180deg, var(--navy-2) 0%, #0d2340 100%);
  border: 1px solid var(--navy-3); border-radius: 12px; padding: 2rem;
  max-width: 640px;
}
.form-card fieldset { border: 1px solid var(--navy-3); border-radius: 8px; margin: 0 0 1.25rem; padding: 1.25rem; }
.form-card legend { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0 0.5rem; }
.form-card label { display: block; color: var(--muted); font-size: 0.9rem; margin: 0.85rem 0 0.35rem; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea, .form-card select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 8px;
  border: 1px solid var(--navy-3); background: rgba(7,20,39,0.6); color: var(--ink); font-size: 1rem;
  font-family: inherit;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card .check-row { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.85rem 0; }
.form-card .check-row input { margin-top: 0.3rem; }
.form-card .check-row label { margin: 0; font-size: 0.88rem; }
.form-card button[type="submit"] {
  padding: 0.9rem 1.75rem; border: none; border-radius: 8px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold) 0%, #a8861a 100%); color: var(--navy);
  font-weight: 700; font-size: 0.98rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.form-card button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,162,39,0.35); }
.form-note { font-size: 0.82rem; color: #7f8ea8; margin-top: 0.85rem; }
.form-note a { color: var(--gold-soft); text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.trust-item .ti-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(201,162,39,0.12); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.trust-item .ti-icon svg { width: 22px; height: 22px; stroke: var(--gold-soft); }
.trust-item h4 { color: #fff; font-size: 0.98rem; margin-bottom: 0.25rem; }
.trust-item p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

/* ---------- Newsletter CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(201,162,39,0.16) 0%, transparent 65%),
    linear-gradient(160deg, #10294B 0%, #0B1F3A 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 4.5rem 0;
}
.cta-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: #fff; margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.cta-inner p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.subscribe-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe-form input[type="email"] {
  flex: 1; min-width: 220px; padding: 0.9rem 1.1rem; border-radius: 8px;
  border: 1px solid var(--navy-3); background: rgba(7,20,39,0.6); color: var(--ink); font-size: 1rem;
}
.subscribe-form input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.18); }
.subscribe-form button {
  padding: 0.9rem 1.75rem; border: none; border-radius: 8px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold) 0%, #a8861a 100%); color: var(--navy);
  font-weight: 700; font-size: 0.98rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.subscribe-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,162,39,0.35); }
.cta-visual {
  background: linear-gradient(180deg, var(--navy-2) 0%, #0d2340 100%);
  border: 1px solid var(--navy-3); border-radius: 12px; padding: 2rem;
}
.cta-visual h4 { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.cta-visual ul { list-style: none; }
.cta-visual li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); font-size: 0.95rem; padding: 0.5rem 0; }
.cta-visual li svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ---------- Footer ---------- */
footer.site { background: #071427; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a:hover { color: var(--gold-soft); }
.social-row { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(201,162,39,0.1); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.social-row a:hover { color: var(--gold-soft); border-color: var(--gold); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(201,162,39,0.12); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: #6b7a94; font-size: 0.82rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
.footer-bottom a:hover { color: var(--gold-soft); }
.disclaimer { color: #5a6b80; font-size: 0.78rem; line-height: 1.6; margin-top: 1.5rem; max-width: 90ch; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  nav.main.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-2); padding: 1rem; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
