/* ═══════════════════════════════════════
   EDWIN OKUGBO — Personal Brand Site
   styles.css
═══════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg:        #080B14;
  --surface:   #0F1523;
  --surface2:  #161D30;
  --border:    rgba(255,255,255,0.07);
  --gold:      #C9A84C;
  --gold-soft: rgba(201,168,76,0.15);
  --gold-glow: rgba(201,168,76,0.35);
  --blue:      #4A90D9;
  --text:      #E8E8F0;
  --muted:     #8891A4;
  --radius:    16px;
  --radius-sm: 10px;
  --nav-h:     72px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p  { color: var(--muted); }
.gold { color: var(--gold); }
em { font-style: italic; font-family: 'Playfair Display', serif; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #080B14;
}
.btn-primary:hover { background: #e0bc5c; transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* ── Section Labels ── */
.section-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; display: block;
}
.section-label.light { color: var(--gold); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-subtitle { font-size: 1.1rem; color: var(--muted); margin-top: 16px; }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 1.2rem; font-weight: 700; }
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gold) !important;
  color: #080B14 !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #e0bc5c !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/images/hero-bg.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,11,20,0.88) 50%, rgba(8,11,20,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-glow);
  background: var(--gold-soft);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-name { color: var(--text); margin-bottom: 24px; font-weight: 800; }
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--muted); margin-bottom: 40px; max-width: 560px;
  font-weight: 300;
}
.hero-tagline em { color: var(--text); font-size: 1.05em; }
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  margin-bottom: 48px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{ opacity:0.4; } 50%{ opacity:1; } }

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
#about { background: var(--surface); }
.about-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 64px; align-items: start;
}
.photo-frame {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 3/4;
}
.photo-placeholder {
  width: 100%; height: 100%;
  background: var(--surface2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}
.photo-initials {
  font-size: 5rem; font-weight: 800; color: var(--gold); opacity: 0.6; line-height: 1;
}
.photo-hint { font-size: 0.78rem; color: var(--muted); text-align: center; }
.photo-glow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 80px;
  background: var(--gold-glow); filter: blur(40px); border-radius: 50%;
}
.about-social-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 500;
  padding: 7px 14px; border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
}
.social-pill svg { width: 14px; height: 14px; }
.social-pill:hover { border-color: var(--gold); color: var(--gold); }
.about-text-col h2 { margin-bottom: 20px; }
.about-lead {
  font-size: 1.1rem; color: var(--text);
  margin-bottom: 20px; line-height: 1.8;
}
.about-text-col p { margin-bottom: 16px; }
.about-text-col strong { color: var(--text); font-weight: 600; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.value-tag {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 7px 18px; border-radius: 50px;
  background: var(--gold-soft); border: 1px solid var(--gold-glow);
  color: var(--gold);
}

/* ════════════════════════════════════════
   WHAT I BUILD
════════════════════════════════════════ */
#build { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.product-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.product-card.featured {
  border-color: var(--gold-glow);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201,168,76,0.05) 100%);
  grid-column: span 2;
}
.product-badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #080B14; background: var(--gold);
  padding: 4px 12px; border-radius: 50px;
}
.product-icon { font-size: 2.2rem; margin-bottom: 16px; }
.product-card h3 { color: var(--text); margin-bottom: 12px; }
.product-card p { font-size: 0.95rem; margin-bottom: 20px; }
.product-features {
  list-style: none; margin-bottom: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.product-features li {
  font-size: 0.85rem; color: var(--muted);
  padding-left: 16px; position: relative;
}
.product-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}

/* ════════════════════════════════════════
   WHAT I WRITE
════════════════════════════════════════ */
#write { background: var(--surface); }
.books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.book-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; grid-template-columns: 200px 1fr;
  transition: var(--transition);
}
.book-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.book-cover { overflow: hidden; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.book-card:hover .book-cover img { transform: scale(1.04); }
.book-info { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.book-genre {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}
.book-info h3 { color: var(--text); font-size: 1.2rem; line-height: 1.3; }
.book-subtitle { font-size: 0.88rem; color: var(--muted); font-style: italic; }
.book-desc { font-size: 0.9rem; line-height: 1.7; flex: 1; }
.book-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* ════════════════════════════════════════
   THE REALISM
════════════════════════════════════════ */
#realism {
  position: relative; overflow: hidden;
  background: var(--bg);
}
.realism-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.realism-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.realism-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 12px; color: var(--text); }
.realism-tagline { font-size: 1.15rem; color: var(--text); margin-bottom: 16px; font-weight: 300; }
.realism-text p { margin-bottom: 24px; }
.realism-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.topic-chip {
  font-size: 0.8rem; font-weight: 500;
  padding: 7px 16px; border-radius: 50px;
  border: 1px solid var(--border); color: var(--muted);
  transition: var(--transition);
}
.topic-chip:hover { border-color: var(--gold); color: var(--gold); }

/* Episode Card */
.realism-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.rc-header {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.rc-dot { width: 12px; height: 12px; border-radius: 50%; }
.rc-dot.red { background: #FF5F57; }
.rc-dot.yellow { background: #FFBD2E; }
.rc-dot.green { background: #28C840; }
.rc-title { font-size: 0.82rem; color: var(--muted); margin-left: auto; letter-spacing: 0.05em; }
.rc-episodes { padding: 8px 0; }
.rc-ep {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
}
.rc-ep:last-child { border-bottom: none; }
.rc-ep:hover { background: var(--surface2); }
.ep-thumb {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border: 1px solid var(--gold-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.9rem; flex-shrink: 0;
}
.ep-title { font-size: 0.88rem; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.ep-meta { font-size: 0.75rem; color: var(--muted); }
.rc-footer {
  display: block; text-align: center;
  padding: 14px 20px;
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  border-top: 1px solid var(--border);
  background: var(--surface2);
  transition: background var(--transition);
}
.rc-footer:hover { background: var(--gold-soft); }

/* ════════════════════════════════════════
   CONNECT
════════════════════════════════════════ */
#connect { background: var(--surface); }
.connect-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.connect-subtitle { font-size: 1.05rem; margin: 16px 0 48px; }
.connect-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.connect-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
.connect-card:hover { border-color: var(--gold-glow); transform: translateY(-4px); }
.cc-icon { font-size: 2rem; }
.connect-card h4 { color: var(--text); font-size: 1rem; }
.connect-card p { font-size: 0.88rem; }

/* Email Capture */
.email-capture {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.email-capture-label { font-size: 1rem; color: var(--text); margin-bottom: 20px; font-weight: 500; }
.email-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto 12px; }
.email-form input {
  flex: 1; padding: 14px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--text); font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color var(--transition);
}
.email-form input:focus { border-color: var(--gold); }
.email-form input::placeholder { color: var(--muted); }
.email-fine { font-size: 0.78rem; color: var(--muted); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
#footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  gap: 32px; margin-bottom: 40px;
}
.footer-name { font-size: 1.3rem; font-weight: 700; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 0.88rem; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-col { max-width: 340px; }
  .realism-inner { grid-template-columns: 1fr; gap: 48px; }
  .product-card.featured { grid-column: span 1; }
  .books-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 180px 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(8,11,20,0.97); backdrop-filter: blur(20px); padding: 16px 0; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-cta { margin: 8px 24px; border-radius: 50px; text-align: center; }
  .nav-toggle { display: flex; }
  section { padding: 72px 0; }
  .hero-stats { gap: 20px; }
  .connect-options { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover { height: 240px; }
  .products-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .email-form input, .email-form .btn { width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
