/* ============================================
   THE IGP TRACK BOOK — Master Stylesheet
   Editorial, spacious, premium — inspired by on.energy
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #E8E5E0;
  --bg-alt: #F5F3EF;
  --dark: #2D2D2D;
  --dark-card: #353535;
  --headline: #1A1A1A;
  --body: #2D2D2D;
  --body-muted: #6B6862;
  --gold: #C9A84C;
  --gold-dark: #B0923F;
  --gold-light: #D9BF6E;
  --border: #D1CEC8;
  --card-bg: #FFFFFF;
  --dark-text: #F5F3EF;
  --dark-muted: #A8A5A0;
  --dark-border: #454545;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--gold); }

::selection {
  background: rgba(201, 168, 76, 0.2);
  color: var(--headline);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Utility --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Global heading style --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--headline);
  font-weight: 700;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold);
  color: var(--headline);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--dark-text);
  border: 1px solid rgba(245, 243, 239, 0.3);
}
.btn-outline:hover {
  border-color: rgba(245, 243, 239, 0.6);
  background: rgba(245, 243, 239, 0.06);
}

.btn-outline-dark {
  background: transparent;
  color: var(--headline);
  border: 1px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-sm { padding: 0.7rem 1.5rem; font-size: 0.8rem; }

/* --- Section spacing --- */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section-light { background: var(--bg); }
.section-light-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-header .section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--body-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.gold-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 1.5rem auto 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.site-nav.nav-scrolled {
  padding: 0.75rem 0;
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav.nav-scrolled.nav-light {
  background: rgba(245, 243, 239, 0.95);
}

.site-nav.nav-light .nav-logo { color: var(--headline); }
.site-nav.nav-light .nav-logo span { color: var(--gold-dark); }
.site-nav.nav-light .nav-menu a { color: var(--body-muted); }
.site-nav.nav-light .nav-menu a:hover { color: var(--gold-dark); }
.site-nav.nav-light .nav-cta-link { color: var(--gold-dark) !important; }
.site-nav.nav-light .nav-toggle span { background: var(--headline); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark-muted);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.nav-menu a:hover { color: var(--gold); }

.nav-cta-link {
  color: var(--gold) !important;
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-text);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(45, 45, 45, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
  }
  .site-nav.nav-light .nav-menu {
    background: rgba(245, 243, 239, 0.98);
    border-bottom-color: var(--border);
  }
  .nav-menu-open { display: flex; }
}

/* ============================================
   1. HERO — full viewport, centered, cinematic
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-text);
  text-align: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767px) {
  .hero {
    min-height: 70vh;
    background: var(--dark) url('../../assets/Book-Cover.png') center 20% / cover no-repeat;
  }

  .hero-video-wrap { display: none; }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(20, 20, 20, 0.4) 0%,
      rgba(20, 20, 20, 0.5) 50%,
      rgba(30, 30, 30, 0.92) 100%
    );
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.45) 0%,
    rgba(20, 20, 20, 0.55) 50%,
    rgba(30, 30, 30, 0.92) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.hero-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  margin-bottom: 1.75rem;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--dark-muted);
  margin-bottom: 3rem;
  line-height: 1.75;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   2. STATS BAR — oversized numbers
   ============================================ */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body-muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================
   3. EMAIL CAPTURE (light)
   ============================================ */
.email-capture-section {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
}

.email-capture {
  max-width: 520px;
  margin: 0 auto;
}

.email-capture-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.email-capture p {
  font-size: 0.95rem;
  color: var(--body-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.email-form {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.email-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.email-form input[type="email"] {
  flex: 1;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--headline);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}

.email-form input[type="email"]::placeholder {
  color: #A5A29C;
}

.email-form button {
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--headline);
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

.email-form button:hover {
  background: var(--gold-light);
}

.email-note {
  font-size: 0.75rem;
  color: #A5A29C;
  margin-top: 0.75rem;
}

/* Dark section email form */
.section-dark-email .email-form,
.scarcity-section .email-form {
  border-color: var(--dark-border);
  background: var(--dark-card);
}

.section-dark-email .email-form input[type="email"],
.scarcity-section .email-form input[type="email"] {
  color: var(--dark-text);
}

.section-dark-email .email-form input[type="email"]::placeholder,
.scarcity-section .email-form input[type="email"]::placeholder {
  color: #777;
}

.section-dark-email .email-form:focus-within,
.scarcity-section .email-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.section-dark-email .email-note,
.scarcity-section .email-note {
  color: #666;
}

/* ============================================
   4. PROBLEM STATEMENT
   ============================================ */
.problem-section {
  background: var(--bg);
}

.problem-section .problem-content {
  max-width: 720px;
  margin: 0 auto;
}

.problem-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.problem-section .highlight-text {
  color: var(--gold-dark);
}

.problem-text {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.9;
  color: var(--body-muted);
}

.problem-text strong {
  color: var(--headline);
  font-weight: 600;
}

.problem-accent {
  display: block;
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: rgba(201, 168, 76, 0.04);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--headline);
  line-height: 1.45;
}

/* ============================================
   5. WHAT'S INSIDE — with book mockup
   ============================================ */
.whats-inside {
  background: var(--bg-alt);
}

.whats-inside-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.book-mockup {
  width: 100%;
  position: relative;
}

.book-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 30px 60px rgba(0, 0, 0, 0.2),
    4px 4px 16px rgba(0, 0, 0, 0.15);
}

.whats-inside-text h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--headline);
}

.whats-inside-text p {
  font-size: 1rem;
  color: var(--body-muted);
  line-height: 1.8;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.topic-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.topic-card:hover::before { transform: scaleX(1); }

.topic-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.topic-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.topic-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--headline);
}

.topic-card p {
  font-size: 0.88rem;
  color: var(--body-muted);
  line-height: 1.65;
}

/* ============================================
   6. AUTHORS
   ============================================ */
.authors-section {
  background: var(--bg);
}

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.author-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

.author-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.author-title {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.author-info p {
  font-size: 0.95rem;
  color: var(--body-muted);
  line-height: 1.75;
}

/* ============================================
   7. TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.25rem;
  transition: all 0.35s;
}

.testimonial-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.testimonial-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  opacity: 0.4;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.testimonial-meta strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--headline);
}

.testimonial-meta span {
  font-size: 0.78rem;
  color: var(--gold-dark);
}

/* ============================================
   8. SCARCITY CTA (dark section)
   ============================================ */
.scarcity-section {
  background: var(--dark);
  color: var(--dark-text);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.scarcity-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.scarcity-section .container {
  position: relative;
  z-index: 1;
}

.scarcity-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--dark-text);
}

.scarcity-section .section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--dark-muted);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.scarcity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
}

.scarcity-badge svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
}

.scarcity-form {
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   9. BLOG PREVIEW
   ============================================ */
.blog-preview-section {
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.35s;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #ddd9d3, #ccc8c2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A5A29C;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body { padding: 1.5rem; }

.blog-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--headline);
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--body-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.blog-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s;
}

.blog-card:hover .blog-card-link { gap: 0.65rem; }

/* ============================================
   10. FOOTER (dark)
   ============================================ */
.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.75;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-size: 0.85rem;
  color: var(--dark-muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold); }

.footer-social svg { width: 15px; height: 15px; fill: var(--dark-text); }
.footer-social a:hover svg { fill: var(--dark); }

.footer-newsletter .email-form {
  margin-top: 0.5rem;
  border-color: var(--dark-border);
  background: var(--dark-card);
}
.footer-newsletter .email-form input[type="email"] { color: var(--dark-text); }
.footer-newsletter .email-form input[type="email"]::placeholder { color: #777; }
.footer-newsletter .email-form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.75rem; color: #777; }

.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.75rem; color: #777; }
.footer-bottom-links a:hover { color: var(--gold); }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
}
.footer-logo span { color: var(--gold); }

/* ============================================
   SCROLL ANIMATIONS — subtle, smooth
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Keep old class for compatibility */
.fade-up { opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.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; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero .container { padding-top: 7rem; }

  .whats-inside-intro {
    grid-template-columns: 200px 1fr;
  }

  .authors-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .whats-inside-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whats-inside-intro .book-mockup {
    max-width: 200px;
    margin: 0 auto;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-photo { margin: 0 auto; }

  .email-form {
    flex-direction: column;
  }
  .email-form button { padding: 1rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .topics-grid { grid-template-columns: 1fr; }

  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-row { flex-direction: column; width: 100%; }
  .hero-cta-row .btn { width: 100%; }
}
