/* ============================================================
   GABRIEL BRYAN — Profit Acceleration homepage
   Navy / gold / cream. System fonts (house style: no external
   font loads). Mobile-first, responsive. Image slots are clearly
   labeled placeholders that reserve space via aspect-ratio.
   ============================================================ */

/* ---- DESIGN TOKENS — change these to restyle the whole site ---- */
:root {
  color-scheme: only light;

  --navy: #14213D;
  --navy-deep: #0B1526;
  --blue: #2E6DB4;
  --gold: #C9A84C;
  --gold-light: #E8D5A0;
  --cream: #FAF8F4;
  --warm-gray: #F2EFE9;
  --text: #2B2B2B;
  --text-light: #6B6B6B;
  --white: #FFFFFF;

  /* System-font stacks (replaces DM Serif Display + Outfit) */
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1140px;
  --section-pad: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

a:focus-visible, .cta-btn:focus-visible, .hero-cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes goldLine { from { width: 0; } to { width: 80px; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero .subtitle, .hero .hero-cta, .hero .overline { animation: none !important; opacity: 1 !important; }
  .hero .gold-line { animation: none !important; width: 80px !important; }
}

/* ---- IMAGE SLOTS (labeled placeholders) ---- */
.img-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; width: 100%;
  padding: 16px; border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(201,168,76,0.07) 11px 12px),
    rgba(255,255,255,0.03);
  border: 2px dashed rgba(201,168,76,0.55);
}
.img-slot .name { font-weight: 700; letter-spacing: 1px; font-size: 12px; text-transform: uppercase; color: var(--gold); }
.img-slot .meta { font-size: 11px; letter-spacing: 0.3px; color: rgba(255,255,255,0.55); }
/* Light-background variant */
.img-slot.on-light { background:
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(20,33,61,0.05) 11px 12px),
    rgba(20,33,61,0.02);
  border-color: rgba(20,33,61,0.25); }
.img-slot.on-light .meta { color: var(--text-light); }
.img-slot.on-light .name { color: var(--navy); }

/* ---- NAVIGATION ---- */
nav { position: fixed; top: 0; width: 100%; z-index: 100; padding: 18px 0; transition: all 0.4s ease; background: transparent; }
nav.scrolled { background: rgba(20, 33, 61, 0.97); backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 2px 40px rgba(0,0,0,0.15); }
nav .inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
nav .logo { font-family: var(--font-display); font-size: 22px; color: var(--white); text-decoration: none; letter-spacing: 0.5px; }
nav .logo span { color: var(--gold); }
nav .links { display: flex; gap: 32px; align-items: center; }
nav .links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s; }
nav .links a:hover { color: var(--gold); }
nav .links .cta-btn { background: var(--gold); color: var(--navy); padding: 10px 24px; border-radius: 4px; font-weight: 600; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; transition: all 0.3s; }
nav .links .cta-btn:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

/* ---- HERO (split: copy + portrait slot) ---- */
.hero { background: var(--navy-deep); min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%); }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero .inner { max-width: var(--max-width); margin: 0 auto; padding: 120px 40px 80px; position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; width: 100%; }
.hero .overline { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; animation: fadeUp 0.8s ease forwards; }
.hero h1 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 62px); color: var(--white); line-height: 1.15; max-width: 700px; margin-bottom: 28px; animation: fadeUp 0.8s 0.15s ease forwards; opacity: 0; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .gold-line { height: 3px; background: var(--gold); margin-bottom: 28px; animation: goldLine 0.8s 0.4s ease forwards; width: 0; }
.hero .subtitle { font-size: 19px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 560px; margin-bottom: 40px; font-weight: 300; animation: fadeUp 0.8s 0.5s ease forwards; opacity: 0; }
.hero .hero-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--gold); color: var(--navy); padding: 16px 36px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.5px; transition: all 0.3s; animation: fadeUp 0.8s 0.65s ease forwards; opacity: 0; }
.hero .hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.3); }
.hero .hero-cta .arrow { font-size: 18px; transition: transform 0.3s; }
.hero .hero-cta:hover .arrow { transform: translateX(4px); }
.hero-media { animation: fadeUp 0.8s 0.5s ease forwards; opacity: 0; }
.hero-portrait { aspect-ratio: 3 / 4; max-width: 360px; margin: 0 auto; }

@media (min-width: 900px) {
  .hero .inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-portrait { margin: 0 0 0 auto; }
}

/* ---- SECTION BASE ---- */
section { padding: var(--section-pad) 40px; }
section .inner { max-width: var(--max-width); margin: 0 auto; }
.section-overline { font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 44px); color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.section-subtitle { font-size: 17px; color: var(--text-light); line-height: 1.7; max-width: 600px; font-weight: 300; }

/* ---- PROBLEM SECTION ---- */
.problem { background: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.problem-card { padding: 36px 32px; background: var(--cream); border-radius: 6px; border-left: 4px solid var(--gold); transition: transform 0.3s, box-shadow 0.3s; }
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.problem-card .icon { font-size: 28px; margin-bottom: 16px; }
.problem-card h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.problem-card p { font-size: 15px; color: var(--text-light); line-height: 1.65; }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--navy-deep); color: var(--white); position: relative; }
.how-it-works::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.how-it-works .section-title { color: var(--white); }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.55); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.step-icon { width: 72px; aspect-ratio: 1 / 1; padding: 8px; margin-bottom: 18px; }
.step-icon .name { font-size: 10px; letter-spacing: 0.5px; }
.step-icon .meta { font-size: 9px; }
.step-number { font-family: var(--font-display); font-size: 64px; color: rgba(201,168,76,0.15); line-height: 1; margin-bottom: -10px; }
.step h3 { font-size: 18px; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.step p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ---- RESULTS / PROOF STRIP ---- */
.results { background: var(--warm-gray); }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; text-align: center; }
.result-stat .number { font-family: var(--font-display); font-size: 48px; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.result-stat .label { font-size: 14px; color: var(--text-light); line-height: 1.4; }

/* ---- INDUSTRIES ---- */
.industries { background: var(--white); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.industry-tag { background: var(--cream); border: 1px solid rgba(0,0,0,0.06); border-radius: 6px; padding: 24px 20px; text-align: center; font-weight: 500; font-size: 15px; color: var(--navy); transition: all 0.3s; cursor: default; text-decoration: none; display: block; }
.industry-tag.featured { background: var(--navy); color: var(--gold); border-color: var(--navy); font-weight: 600; }
.industry-tag:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.05); }
.industry-tag.link { cursor: pointer; }
.industry-tag.link:hover { background: var(--navy); color: var(--gold); }

/* ---- CTA SECTION ---- */
.cta-section { background: var(--navy); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-section .section-title { color: var(--white); max-width: 650px; margin: 0 auto 20px; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 40px; }
.cta-section .hero-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--gold); color: var(--navy); padding: 18px 44px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s; }
.cta-section .hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.3); }

/* ---- FOOTER ---- */
footer { background: var(--navy-deep); padding: 48px 40px; text-align: center; }
footer .logo { font-family: var(--font-display); font-size: 20px; color: var(--white); margin-bottom: 12px; }
footer .logo span { color: var(--gold); }
footer p { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .problem-grid, .steps, .results-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  nav .links a:not(.cta-btn) { display: none; }
}
@media (max-width: 600px) {
  :root { --section-pad: 64px; }
  section { padding: var(--section-pad) 24px; }
  .hero .inner { padding: 100px 24px 60px; }
  .problem-grid, .steps, .results-grid, .industry-grid { grid-template-columns: 1fr; }
}
