/* ============================================================
   BulletProof Financial Group — Main Stylesheet
   Brand: Gold #C9A84C | Charcoal #3D3D3D | White #FFFFFF
   Fonts: Trajan Pro (headings) | Inter (body)
   ============================================================ */

@font-face {
  font-family: 'TrajanPro';
  src: url('../fonts/TrajanPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'TrajanPro';
  src: url('../fonts/TrajanPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

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

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A8893B;
  --charcoal: #3D3D3D;
  --charcoal-dark: #1A1A1A;
  --charcoal-mid: #2C2C2C;
  --white: #FFFFFF;
  --off-white: #F8F6F2;
  --light-gray: #F0EDE8;
  --text-muted: #6B6B6B;
  --border: rgba(201,168,76,0.2);
  --shadow: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-gold: 0 10px 40px rgba(201,168,76,0.2);
  --nav-height: 190px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, .trajan {
  font-family: 'TrajanPro', 'Palatino Linotype', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 600; }

.display-xl {
  font-size: clamp(1.25rem, 2.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.display-sm {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.body-lg { font-size: 1.125rem; line-height: 1.7; }
.body-md { font-size: 1rem; line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; }
.overline { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }

.text-gold { color: var(--gold); }
.text-charcoal { color: var(--charcoal); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0 5%;
}

.nav.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 180px;
  width: auto;
  max-width: 400px;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--charcoal-dark) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: all 0.2s !important;
  white-space: nowrap;
}

.nav-links a {
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--charcoal-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0D1117 0%, #1A1A2E 40%, #16213E 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) 5% 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 30px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.hero-badge span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.hero-title {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title .gold-line {
  display: block;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .white-line {
  display: block;
  color: var(--white);
}

.massmutual-badge-logo {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.hero-subtitle {
  max-width: 580px;
  margin-bottom: 44px;
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {}
.stat-number {
  font-family: 'TrajanPro', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--charcoal-dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal-mid);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 100px 5%; }
.section-sm { padding: 60px 5%; }
.section-dark { background: var(--charcoal-dark); color: var(--white); }
.section-charcoal { background: var(--charcoal); color: var(--white); }
.section-off-white { background: var(--off-white); }
.section-light { background: var(--light-gray); }

.container { max-width: 1400px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }
.container-md { max-width: 1100px; margin: 0 auto; }

.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }

/* ── PATH CARDS (Homepage) ───────────────────────────────── */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
}

.path-card {
  background: var(--white);
  padding: 48px 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.path-card:hover { background: var(--off-white); transform: translateY(-4px); box-shadow: var(--shadow); }
.path-card:hover::before { transform: scaleX(1); }

.path-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-gold);
}

.path-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.path-title { font-size: 1.4rem; margin-bottom: 14px; color: var(--charcoal-dark); }
.path-desc { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 24px; }
.path-arrow { font-size: 0.85rem; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }

/* ── PAIN SECTION ────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pain-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s;
  background: rgba(255,255,255,0.03);
}

.pain-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
  transform: translateY(-4px);
}

.pain-number {
  font-family: 'TrajanPro', serif;
  font-size: 3rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.pain-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pain-statement {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ── CONSULTATION STRIP ──────────────────────────────────── */
.consult-strip {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.consult-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.consult-strip .container { position: relative; z-index: 1; }

/* ── CTA BOX ─────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--charcoal-dark), var(--charcoal-mid));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
}

/* ── QR + CALENDLY ───────────────────────────────────────── */
.schedule-box {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 40px;
  flex-wrap: wrap;
}

.qr-wrap {
  flex-shrink: 0;
  text-align: center;
}

.qr-wrap img, .qr-wrap canvas, .qr-wrap svg {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: white;
  padding: 6px;
}

.qr-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 6px; letter-spacing: 0.08em; text-transform: uppercase; }

.schedule-text { flex: 1; min-width: 200px; }
.schedule-text h3 { margin-bottom: 8px; }
.schedule-text p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }

/* ── ABOUT / KEVIN ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--charcoal-mid), var(--charcoal));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), transparent);
}

.photo-placeholder {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gold-accent-frame {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: -12px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  opacity: 0.3;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.credential-badge {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
}

/* ── SERVICE CARDS ───────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid #E8E4DC;
  border-radius: 8px;
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon { font-size: 2rem; margin-bottom: 20px; }
.service-title { font-size: 1.2rem; margin-bottom: 12px; color: var(--charcoal-dark); }
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── MASSMUTUAL BAR ──────────────────────────────────────── */
.massmutual-bar {
  background: var(--off-white);
  border-top: 1px solid #E8E4DC;
  border-bottom: 1px solid #E8E4DC;
  padding: 20px 5%;
  text-align: center;
}

.massmutual-bar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--charcoal-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 5% 30px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 40px; margin-bottom: 16px; opacity: 0.9; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px; }

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

.footer-disclaimer {
  max-width: 1400px;
  margin: 16px auto 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 24px 5%;
    gap: 20px;
  }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .path-grid { grid-template-columns: 1fr; background: none; gap: 16px; }
  .path-card { border: 1px solid #E8E4DC; border-radius: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .schedule-box { flex-direction: column; text-align: center; }
  .section { padding: 60px 5%; }
}
