/* ===========================
   WAREHOUSE TO WEALTH
   Brand: Navy + Gold
   =========================== */

:root {
  --navy:       #0F2040;
  --navy-mid:   #162d57;
  --navy-light: #1e3a6e;
  --gold:       #C9A84C;
  --gold-light: #e0c26a;
  --white:      #FFFFFF;
  --off-white:  #F4F6F9;
  --gray-light: #E8ECF2;
  --gray:       #94A3B8;
  --dark-text:  #1E293B;
  --body-text:  #334155;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { line-height: 1.75; color: var(--body-text); }

.gold { color: var(--gold); }
.navy { color: var(--navy); }

/* ---- Navigation ---- */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* ---- Buttons ---- */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* ---- Sections ---- */
.section { padding: 80px 5%; }
.section-dark { background: var(--navy); color: var(--white); padding: 80px 5%; }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-mid { background: var(--off-white); padding: 80px 5%; }

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  background-image: linear-gradient(135deg, #0F2040 0%, #162d57 60%, #0f2040 100%);
  padding: 100px 5% 90px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.7; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ---- Email Capture ---- */
.email-form { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.email-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,0.4); }
.email-form input:focus { border-color: var(--gold); }
.email-form button {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.email-form button:hover { background: var(--gold-light); }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* ---- Stage Cards ---- */
.stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.stage-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 28px;
}
.stage-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.stage-card h3 { color: var(--white); margin-bottom: 10px; }
.stage-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.stage-steps { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.stage-steps li { font-size: 0.875rem; color: rgba(255,255,255,0.6); padding-left: 16px; position: relative; }
.stage-steps li::before { content: '→'; position: absolute; left: 0; color: var(--gold); }

/* ---- Blog Cards ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card-body { padding: 24px; }
.blog-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.blog-card p { font-size: 0.9rem; color: var(--body-text); }
.blog-card-link { display: block; padding: 14px 24px; font-size: 0.875rem; font-weight: 600; color: var(--navy); border-top: 1px solid var(--gray-light); text-decoration: none; }
.blog-card-link:hover { color: var(--gold); }

/* ---- Quote Block ---- */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  background: rgba(201,168,76,0.06);
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}
.quote-block p { font-size: 1.1rem; font-style: italic; color: var(--navy); line-height: 1.7; }

/* ---- Trust Bar ---- */
.trust-bar { background: var(--navy); padding: 20px 5%; }
.trust-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-num { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.trust-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; }

/* ---- Lead Magnet Section ---- */
.lead-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); padding: 80px 5%; }
.lead-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.lead-inner h2 { color: var(--white); margin-bottom: 16px; }
.lead-inner p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1.05rem; }

/* ---- Footer ---- */
footer {
  background: #080F1F;
  color: rgba(255,255,255,0.5);
  padding: 48px 5% 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); margin-top: 12px; line-height: 1.7; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 8px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  
  /* Framework page: Step cards mobile fix */
  [style*="grid-template-columns:80px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  [style*="grid-template-columns:80px 1fr"] h3,
  [style*="grid-template-columns:80px 1fr"] p {
    color: #0a1628 !important;
  }
}
