/* ============================================
   Become Extraordinary in 60 Days
   Color palette from book cover:
     Navy:  #0a1628 → #142b4d
     Gold:  #d4a24e / #f0c060
   ============================================ */

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

:root {
  --navy-dark: #0a1628;
  --navy: #0f1f3a;
  --navy-light: #142b4d;
  --gold: #d4a24e;
  --gold-light: #f0c060;
  --gold-glow: rgba(212, 162, 78, 0.25);
  --white: #f0f0f5;
  --white-muted: #b0b8c8;
  --font-display: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
  --font-body: 'Segoe UI', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utilities ---------- */
.gold {
  color: var(--gold-light);
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 162, 78, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-full {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(170deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 100px 0 60px;
}

/* Glowing light-streak effect */
.hero-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 70%;
  background: radial-gradient(ellipse at center bottom,
    rgba(212, 162, 78, 0.12) 0%,
    rgba(212, 162, 78, 0.04) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-glow::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), var(--gold), var(--gold-glow), transparent);
  filter: blur(1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white-muted);
  max-width: 480px;
  margin-bottom: 12px;
}

.hero-author {
  font-size: 1rem;
  color: var(--white-muted);
  margin-bottom: 32px;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 480px;
  width: auto;
  border-radius: 8px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px var(--gold-glow);
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  text-align: center;
}

/* Light-streak divider between sections */
.about-book::before,
.about-author::before,
.notify-section::before {
  content: '';
  display: block;
  width: 200px;
  height: 2px;
  margin: 0 auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
  top: -50px;
}

/* ============================================
   ABOUT THE BOOK
   ============================================ */
.about-book {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.about-book-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-book-content p {
  color: var(--white-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin: 40px 0 24px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 24px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 162, 78, 0.08);
  border-radius: 10px;
}

.feature-list li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.feature-list li span {
  color: var(--white-muted);
  font-size: 0.95rem;
}

/* ============================================
   ABOUT THE AUTHOR
   ============================================ */
.about-author {
  background: var(--navy);
}

.author-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.author-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 40px var(--gold-glow);
  flex-shrink: 0;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  font-size: 0.8rem;
}

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

.author-bio h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--gold-light);
}

.author-bio p {
  color: var(--white-muted);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

/* ============================================
   EMAIL CAPTURE / NOTIFY
   ============================================ */
.notify-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
}

.notify-subtitle {
  color: var(--white-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#notify-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(176, 184, 200, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: rgba(176, 184, 200, 0.5);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Success state */
.form-success {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.form-success p {
  color: var(--white-muted);
}

/* Error state */
.form-error {
  max-width: 420px;
  margin: 12px auto 0;
  padding: 12px 16px;
  background: rgba(220, 60, 60, 0.15);
  border: 1px solid rgba(220, 60, 60, 0.3);
  border-radius: 6px;
  color: #ff8a8a;
  font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(176, 184, 200, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-content p {
  color: var(--white-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  color: var(--white-muted);
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--gold-light);
}

/* ============================================
   RESPONSIVE — DESKTOP (768px+)
   ============================================ */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-image {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .author-card {
    flex-direction: row;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .hero {
    text-align: center;
    padding: 80px 0 40px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    max-height: 360px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
