/* MD Passive Income — Global Stylesheet */
:root {
  --navy: #0a1628;
  --navy2: #0f1f3d;
  --navy3: #16294f;
  --border: #1e3160;
  --gold: #c9993a;
  --gold-light: #e8b85c;
  --white: #f0f4f8;
  --muted: #7a8fad;
  --text: #d8e4f0;
  --font: 'Lora', 'Georgia', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }

/* NAV */
nav {
  background: var(--navy2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--muted); font-family: var(--sans); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

/* HERO */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(170deg, var(--navy) 0%, #091a38 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,153,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(201,153,58,0.3);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  background: rgba(201,153,58,0.08);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 780px;
  margin: 0 auto 1.2rem;
  color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-style: normal;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,153,58,0.35); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* SECTIONS */
section { padding: 4.5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--muted); font-family: var(--sans); max-width: 560px; margin-bottom: 2.5rem; font-size: 1rem; }

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-family: var(--sans); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.card-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ARTICLE PAGE */
.article-hero {
  background: linear-gradient(170deg, var(--navy) 0%, #091a38 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3rem;
}
.breadcrumb { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.read-time { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); margin-top: 0.8rem; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.55rem; font-weight: 700; color: var(--white); margin: 3rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin: 2rem 0 0.6rem; }
.article-body p { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.8; }
.article-body p strong { color: var(--text); font-weight: 600; }
.article-body ul, .article-body ol { color: var(--muted); padding-left: 1.6rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.75; }
.article-body a { color: var(--gold-light); border-bottom: 1px solid rgba(232,184,92,0.3); }

.callout {
  background: var(--navy2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}
.callout p { color: var(--text); margin: 0; font-style: italic; }
.callout strong { color: var(--white); }

.cta-box {
  background: linear-gradient(135deg, rgba(201,153,58,0.12), rgba(10,22,40,0.6));
  border: 1px solid rgba(201,153,58,0.35);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.cta-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.cta-box p { font-family: var(--sans); color: var(--muted); margin-bottom: 1.3rem; font-size: 0.92rem; }

/* AUTHOR BOX */
.author-box {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin: 3rem 0 1.5rem;
}
.author-avatar {
  width: 64px;
  height: 64px;
  background: var(--navy3);
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.author-info h4 { font-size: 1rem; color: var(--white); margin-bottom: 0.2rem; }
.author-info p { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* NEWSLETTER */
.newsletter-section {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 4rem 1.5rem;
}
.newsletter-form { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.newsletter-form input {
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  width: 280px;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--muted); }

/* FOOTER */
footer {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--text); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--gold); }
.disclosure {
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 0.78rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
  .author-box { flex-direction: column; }
}
