/* ================================================
   HOME PAGE STYLES — home.css
   ================================================ */

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 75% 10%, rgba(133,88,50,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 20% 90%, rgba(76,103,98,0.06) 0%, transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 1.4rem;
}
.hero-heading em { font-style: italic; color: var(--brown); }

.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 480px; line-height: 1.75; margin-bottom: 2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

.hero-trust { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.trust-icon { color: var(--brown); }
.trust-sep { color: var(--border); font-size: 1.2rem; }

/* Book stack */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: 3rem 2rem; }
.book-stack { position: relative; width: 210px; height: 300px; }
.book { position: absolute; width: 200px; height: 290px; transform-style: preserve-3d; filter: drop-shadow(16px 20px 40px rgba(17,21,28,0.3)); transition: transform 0.5s var(--ease); }
.book--front { left: 0; top: 0; transform: perspective(900px) rotateY(-10deg) rotateX(2deg); }
.book--back { left: 25px; top: 15px; transform: perspective(900px) rotateY(-7deg) rotateX(1deg); z-index: 0; opacity: 0.85; }
.book-stack:hover .book--front { transform: perspective(900px) rotateY(-3deg) rotateX(1deg) scale(1.04); }
.book-stack:hover .book--back { transform: perspective(900px) rotateY(-10deg) rotateX(2deg) translateX(-10px); }
.book-spine { position: absolute; left: -24px; top: 0; width: 24px; height: 100%; background: linear-gradient(to right, #4a2e12, var(--brown)); transform: rotateY(90deg); transform-origin: right; }
.book-cover { position: absolute; inset: 0; z-index: 1; }
.book-cover--main { background: linear-gradient(140deg, var(--brown) 0%, #6d3c15 100%); }
.book-cover--workbook { background: linear-gradient(140deg, var(--teal) 0%, #2e4e49 100%); }
.book-cover-inner { padding: 1.75rem 1.5rem; color: white; height: 100%; display: flex; flex-direction: column; gap: 0.4rem; }
.book-tag { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; background: rgba(255,255,255,0.14); display: inline-block; padding: 0.22rem 0.55rem; margin-bottom: 0.4rem; width: fit-content; }
.book-title { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.2; }
.book-subtitle { font-size: 0.75rem; opacity: 0.75; line-height: 1.4; }
.book-deco { margin-top: auto; font-size: 2.2rem; opacity: 0.22; }

.float-tag { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 2rem; padding: 0.45rem 1rem; font-size: 0.78rem; font-weight: 500; box-shadow: 0 4px 16px rgba(17,21,28,0.08); animation: floatY 5s ease-in-out infinite; }
.float-tag--1 { top: 8%; right: 2%; animation-delay: 0s; }
.float-tag--2 { bottom: 28%; right: -4%; animation-delay: 1.8s; }
.float-tag--3 { bottom: 8%; left: 2%; animation-delay: 3.5s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* ── FEATURE STRIP ───────────────────────────── */
.feature-strip { background: var(--dark); color: var(--beige); padding: 1rem 0; }
.feature-strip-inner { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; font-size: 0.83rem; letter-spacing: 0.03em; }
.sep { opacity: 0.25; }

/* ── PRODUCTS ─────────────────────────────────── */
.products-section { padding: var(--gap-section) 0; background: var(--offwhite); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

.product-card { background: var(--white); border: 1px solid var(--border); display: flex; flex-direction: column; position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(17,21,28,0.1); }
.product-card--bundle { border-color: var(--brown); border-width: 2px; }

.bundle-label { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--brown); color: white; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 1rem; z-index: 2; white-space: nowrap; }

.product-card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
/* Hide placeholder when real image loads */
.product-card-image:not(.no-img) .product-card-placeholder { display: none; }
.product-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--brown) 0%, #6d3c15 100%); }
.product-card-placeholder--teal { background: linear-gradient(140deg, var(--teal) 0%, #2e4e49 100%); }
.product-card-placeholder--dark { background: linear-gradient(140deg, var(--dark) 0%, var(--dark-soft) 100%); }
.ph-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; color: white; text-align: center; }
.ph-title { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.2; }
.ph-icon { font-size: 2.2rem; opacity: 0.5; }

.product-badge { position: absolute; top: 1rem; left: 1rem; background: var(--brown); color: white; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding: 0.28rem 0.7rem; }
.product-card-overlay { position: absolute; inset: 0; background: rgba(17,21,28,0.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; }
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: 0.9rem; }
.product-card-body h3 { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.3; }
.product-card-body h3 a { transition: color 0.18s; }
.product-card-body h3 a:hover { color: var(--brown); }

.product-bullets { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-bullets li { font-size: 0.875rem; color: var(--muted); padding-left: 1.1rem; position: relative; line-height: 1.5; }
.product-bullets li::before { content: '→'; position: absolute; left: 0; color: var(--brown); font-size: 0.75rem; top: 0.05em; }

.product-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.price-wrap { display: flex; align-items: baseline; gap: 0.5rem; }
.price-old { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }
.price { font-family: var(--font-heading); font-size: 1.5rem; color: var(--dark); }

/* ── ABOUT STRIP ─────────────────────────────── */
.about-strip { background: var(--dark); color: var(--beige); padding: var(--gap-section) 0; }
.about-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-strip-content h2 { font-family: var(--font-heading); font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.12; margin: 0.6rem 0 1rem; color: var(--white); }
.about-strip-content p { color: rgba(223,223,216,0.6); line-height: 1.75; font-size: 0.97rem; }
.about-strip-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.strip-pillar { padding: 1.25rem; border: 1px solid rgba(223,223,216,0.08); display: flex; flex-direction: column; gap: 0.35rem; transition: border-color 0.2s; }
.strip-pillar:hover { border-color: rgba(223,223,216,0.2); }
.strip-pillar-icon { font-size: 1.4rem; margin-bottom: 0.2rem; }
.strip-pillar strong { color: var(--white); font-size: 0.95rem; }
.strip-pillar p { font-size: 0.82rem; color: rgba(223,223,216,0.45); line-height: 1.55; }

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials-section { padding: var(--gap-section) 0; background: var(--offwhite); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { background: var(--white); border: 1px solid var(--border); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial--dark { background: var(--dark); border-color: transparent; }
.testimonial--dark blockquote, .testimonial--dark cite { color: var(--beige) !important; }
.stars { color: var(--brown); font-size: 0.9rem; letter-spacing: 0.12em; }
.testimonial blockquote { font-size: 0.93rem; line-height: 1.72; color: var(--dark); font-style: italic; flex: 1; }
.testimonial cite { font-size: 0.78rem; color: var(--muted); font-style: normal; font-weight: 500; }

/* ── NEWSLETTER ──────────────────────────────── */
.newsletter-section { background: var(--dark); padding: var(--gap-section) 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.newsletter-content h2 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--white); line-height: 1.15; margin: 0.5rem 0 0.75rem; }
.newsletter-content p { color: rgba(223,223,216,0.55); font-size: 0.95rem; line-height: 1.7; }
.newsletter-input-group { display: flex; gap: 0; margin-bottom: 0.75rem; }
.nl-input { flex: 1; padding: 0.9rem 1.2rem; border: 1.5px solid rgba(223,223,216,0.18); background: rgba(255,255,255,0.05); color: white; font-family: var(--font-body); font-size: 0.93rem; outline: none; transition: border-color 0.2s; }
.nl-input::placeholder { color: rgba(255,255,255,0.3); }
.nl-input:focus { border-color: var(--brown); }
.nl-disclaimer { font-size: 0.76rem; color: rgba(223,223,216,0.3); line-height: 1.5; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-inner { gap: 3rem; }
  .newsletter-inner { gap: 3rem; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .float-tag { display: none; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-strip-pillars { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .newsletter-input-group { flex-direction: column; }
  .newsletter-input-group .btn { width: 100%; justify-content: center; }
  .feature-strip-inner .sep { display: none; }
  .feature-strip-inner { flex-direction: column; gap: 0.5rem; }
}
