/* ---------- RESET & GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #050505;
  color: #f0f0f0;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: white;
  color: black;
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: white;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 20% 30%, #111, #000);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800" opacity="0.05"><path fill="none" stroke="white" stroke-width="0.8" d="M0 400 L1200 400 M600 0 L600 800 M300 200 L900 600 M900 200 L300 600"/></svg>') repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  background: rgba(255,255,255,0.1);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: #fff;
  border-bottom: 3px solid white;
}

.hero-desc {
  font-size: 1.2rem;
  color: #bbb;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* ---------- AUTHOR GRID ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.author-bio h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.tagline {
  font-size: 1rem;
  color: #aaa;
  border-left: 3px solid white;
  padding-left: 16px;
  margin-bottom: 24px;
}

.author-bio p {
  margin-bottom: 20px;
  color: #cfcfcf;
}

.author-quote {
  font-style: italic;
  padding: 20px 0 0 16px;
  border-top: 1px solid #333;
  margin-top: 20px;
  color: #ddd;
}

.author-img img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.6);
}

/* ---------- BOOK SPOTLIGHT ---------- */
.book-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: #0c0c0c;
  border-radius: 32px;
  padding: 48px;
}

.book-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.book-highlights {
  list-style: none;
  margin: 24px 0;
}

.book-highlights li {
  margin-bottom: 12px;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.keyword-cloud span {
  background: #1e1e1e;
  padding: 6px 14px;
  border-radius: 60px;
  font-size: 0.8rem;
}

.mock-cover {
  background: #111;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 60px 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.mock-cover span {
  display: block;
  font-size: 0.9rem;
  margin-top: 12px;
  color: #aaa;
}

/* ---------- THEME GRID ---------- */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.theme-card {
  background: #0f0f0f;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid #222;
}

.seo-context {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #aaa;
  font-size: 0.95rem;
}

/* ---------- SOCIAL GRID ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.social-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid #2a2a2a;
  border-radius: 60px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: #f0f0f0;
  transition: all 0.2s;
}

.social-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* ---------- FORM CARD ---------- */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: #0a0a0a;
  padding: 40px 32px;
  border-radius: 32px;
  border: 1px solid #222;
  text-align: center;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.input-group {
  margin-bottom: 20px;
}

input, select {
  width: 100%;
  background: #111;
  border: 1px solid #2c2c2c;
  padding: 14px 18px;
  border-radius: 28px;
  color: white;
  font-size: 1rem;
}

.phone-flex {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.phone-flex select { width: 35%; }
.phone-flex input { width: 65%; }

.gender-group {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: center;
}

.gender-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  background: white;
  color: black;
  font-weight: 700;
  padding: 14px;
  border-radius: 40px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

#formMsg {
  margin-top: 16px;
  font-size: 0.9rem;
}

.form-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #777;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #0c0c0c;
  margin-bottom: 16px;
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  border: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: #bbb;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
  display: inline-block;
}

/* ---------- BUY SECTION ---------- */
.buy-options {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.buy-card {
  background: #111;
  padding: 32px 40px;
  border-radius: 28px;
  text-align: center;
  min-width: 200px;
  border: 1px solid #2a2a2a;
}

.charity-note {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #020202;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #1a1a1a;
  color: #6f6f6f;
}

.footer-keywords {
  font-size: 0.75rem;
  margin-top: 12px;
  letter-spacing: 0.3px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid, .book-showcase {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #050505;
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    border-bottom: 1px solid #222;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-stats {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .section-title {
    font-size: 1.8rem;
  }
  .phone-flex {
    flex-direction: column;
  }
  .phone-flex select, .phone-flex input {
    width: 100%;
  }
  .book-showcase {
    padding: 24px;
  }
}