* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  color: #222;
  background: #fff;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo { font-size: 1.2rem; font-weight: 900; color: #E63946; }
.nav-links a {
  margin-left: 2rem; text-decoration: none;
  color: #444; font-weight: 700; font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: #E63946; }

/* RAINBOW BAR */
.rainbow-bar {
  height: 6px;
  background: linear-gradient(to right, #E63946, #F4A261, #FFD166, #06D6A0, #457B9D, #8338EC, #FF6B9D);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #fff8f0 0%, #f0f8ff 100%);
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 5rem 2rem;
  gap: 3rem;
}
.badge {
  display: inline-block;
  background: #FFD166; color: #333;
  font-weight: 800; font-size: 0.85rem;
  padding: 0.3rem 1rem; border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero-text h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.15;
  color: #222; margin-bottom: 1.2rem;
}
.hero-text h1 span { color: #E63946; }
.hero-text p {
  font-size: 1.1rem; color: #555; max-width: 420px;
  margin-bottom: 2rem; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 0.8rem 1.8rem;
  border-radius: 30px; font-weight: 800; font-size: 1rem;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn-primary { background: #E63946; color: #fff; }
.btn-outline { background: transparent; color: #E63946; border: 2px solid #E63946; }
.btn-amazon { background: #FF9900; color: #fff; font-size: 1.1rem; padding: 1rem 2.5rem; }
.btn-small { background: #E63946; color: #fff; padding: 0.5rem 1.2rem; font-size: 0.9rem; }

/* BOOK MOCKUP */
.hero-image { flex-shrink: 0; }
.book-mockup {
  perspective: 1000px;
}
.book-cover {
  width: 220px; height: 290px;
  background: linear-gradient(135deg, #fff3e8, #ffe8f2);
  border-radius: 6px 12px 12px 6px;
  box-shadow: -6px 6px 0 #ddd, 8px 15px 40px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  overflow: hidden;
  transform: rotateY(-8deg);
  transition: transform 0.3s;
}
.book-cover:hover { transform: rotateY(0deg); }
.cover-rainbow {
  width: 100%; height: 12px;
  background: linear-gradient(to right, #E63946, #F4A261, #FFD166, #06D6A0, #457B9D, #8338EC);
}
.cover-title {
  text-align: center; padding: 1rem;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.4rem;
}
.cover-label { font-size: 1.6rem; font-weight: 900; color: #E63946; }
.cover-label2 { font-size: 1rem; font-weight: 800; color: #2A9D8F; }
.cover-sub { font-size: 0.7rem; color: #888; }
.cover-badge-wrap { padding-bottom: 1rem; }
.cover-badge {
  background: #E63946; color: #fff;
  font-size: 0.75rem; font-weight: 800;
  padding: 0.3rem 1rem; border-radius: 20px;
}

/* SECTIONS */
.container { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.section-label {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em;
  color: #E63946; text-transform: uppercase; margin-bottom: 0.8rem;
}
h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 0.8rem; }
.section-sub { font-size: 1.05rem; color: #555; max-width: 600px; margin-bottom: 3rem; line-height: 1.7; }

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-bottom: 3rem;
}
.feature-card {
  background: #fff;
  border: 2px solid var(--c);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.feature-title { font-weight: 800; font-size: 0.95rem; color: var(--c); margin-bottom: 0.3rem; }
.feature-desc { font-size: 0.85rem; color: #666; }

.book-cta { text-align: center; }
.book-meta { margin-top: 1rem; font-size: 0.9rem; color: #888; }

/* SHOP */
.shop-section { background: #f9f9ff; }
.shop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.shop-card {
  background: #fff; border-radius: 16px;
  padding: 2rem; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.shop-card:hover { transform: translateY(-4px); }
.shop-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.shop-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.6rem; }
.shop-card p { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 1.5rem; }

/* ABOUT */
.about-section { background: #fff; }
.about-inner {
  display: flex; gap: 4rem; align-items: center; flex-wrap: wrap;
}
.about-text { flex: 1; min-width: 280px; }
.about-text p { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 1rem; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; flex-shrink: 0;
}
.stat {
  background: linear-gradient(135deg, #fff3e8, #ffe8f2);
  border-radius: 16px; padding: 1.5rem; text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 900; color: #E63946; }
.stat-label { font-size: 0.8rem; color: #666; font-weight: 700; }

/* FOOTER */
footer { background: #222; color: #fff; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 2rem; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-weight: 900; font-size: 1.1rem; }
.footer-links a { color: #ccc; text-decoration: none; margin-left: 1.5rem; font-size: 0.9rem; }
.footer-links a:hover { color: #FFD166; }
.footer-copy { font-size: 0.8rem; color: #888; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; padding: 3rem 1.5rem; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; }
  .about-inner { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 0.75rem; }
}
