/* ================================================================
   BONITA VERGARA-JONES — COMPLETE STYLESHEET
   ================================================================ */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Raleway:wght@400;500;600;700&display=swap');

/* ── BASE / RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  scroll-behavior: smooth;
  --green: #5fa89a;
  --cream: #f4f1eb;
  --dark: #111;
  --accent: #FF9D01;
  --white: #ffffff;
  --gray: #888;
  --light-gray: #f8f8f8;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid var(--dark);
}

.btn-primary:hover {
  background: transparent;
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--dark);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── HEADER & NAVIGATION ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f4f2ed;
    padding: 11px 50px;
}

.header-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
}


/* LEFT SIDE LOGO */
.logo-box{
       align-items: center;
    gap: 18px;
    text-decoration: none;
    /* margin-bottom: -9px; */
    margin-top: -15px;
    size: 33px;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--white);
}


/* IMAGE */
.logo-box img{
    width: 68px;
    animation: floatLogo 3s ease-in-out infinite;
    margin-left: 114px;
    height: 68px;
}


/* TEXT */
.logo-text h1{
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: #111;
    animation: slideText 1.5s ease;
}

.logo-text p{
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 3px;
    color: #5ea89f;
    animation: fadeText 2s ease;
    margin-left: 30px;
}

/* Hamburger Button */
.hamburger-btn {
    position: fixed;
    top: 64px;
    right: 54px;
    width: 36px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(12.5px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-12.5px) rotate(-45deg);
}

.side-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #f4f1eb;
  z-index: 100002;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.side-nav.open {
  right: 0;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid rgba(95, 168, 154, 0.2);
}

.nav-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.close-btn {
  background: none;
  border: none;
  font-size: 30px;
  color: #111;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(95, 168, 154, 0.15);
  color: #5fa89a;
}

.nav-links {
  list-style: none;
  padding: 12px 0;
  margin: 0;
    display: grid;
}

.nav-links li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-links a {
  display: block;
  padding: 18px 30px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #5fa89a;
  padding-left: 40px;
  border-left-color: #5fa89a;
  background: rgba(95, 168, 154, 0.05);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}


/* ANIMATIONS */
@keyframes floatLogo{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
}

@keyframes slideText{
  from{
    opacity:0;
    transform:translateX(-40px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes fadeText{
  from{opacity:0;}
  to{opacity:1;}
}

/* ── HERO SECTION ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 50px 100px;
  gap: 60px;
  min-height: 90vh;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-left .tag {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-highlight {
  position: relative;
  display: inline-block;
}

.hero-highlight svg {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 14px;
}

.hero-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right .img-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hero-right .img-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── BONITA SECTION ── */
.bonita-section {
  padding: 100px 50px;
  background: var(--white);
}

.bonita-container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
}

.bonita-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.bonita-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.bonita-flip-card {
  width: 100%;
  max-width: 450px;
  height: 580px;
  perspective: 1200px;
  cursor: pointer;
}

.bonita-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.bonita-flip-card:hover .bonita-flip-inner,
.bonita-flip-card.flipped .bonita-flip-inner {
  transform: rotateY(180deg);
}

.bonita-flip-front,
.bonita-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.bonita-flip-front img,
.bonita-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bonita-flip-back {
  transform: rotateY(180deg);
}

.flip-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

.bonita-flip-card:hover .flip-hint {
  opacity: 1;
}

.bonita-accent-shape {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.1;
  top: -40px;
  right: -40px;
  z-index: -1;
}

.bonita-dots {
  position: absolute;
  bottom: -30px;
  left: -30px;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 10px;
  z-index: -1;
}

.bonita-dots span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.4;
}

.bonita-right {
  flex: 1;
  max-width: 600px;
}

.bonita-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}

.bonita-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.bonita-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.bonita-bio {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.bonita-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 6px;
}

.bonita-quote {
  font-style: italic;
  font-size: 18px;
  color: var(--dark);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 30px 0;
  font-family: 'Raleway', serif;
}

.bonita-signature {
  margin-top: 20px;
}

.signature-svg {
  width: 200px;
  height: 60px;
}

.signature-text {
  font-size: 14px;
  color: var(--gray);
  font-style: italic;
}

/* ── BOOKS SECTION ── */
.books-section {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}

.books-header {
  margin-bottom: 50px;
  padding: 0 50px;
}

.books-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}

.books-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.books-subtitle {
  font-size: 16px;
  color: var(--gray);
}

/* ── INFINITE LOOP CAROUSEL ── */
.track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollLoop 35s linear infinite;
  will-change: transform;
}

.track-wrap:hover .track {
  animation-play-state: paused;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── BOOK CARDS ── */
.book-card {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  width: 200px;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.book-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,157,1,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.book-card:hover::before {
  opacity: 1;
}

.book-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,157,1,0.15);
}

.book-cover {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover {
  transform: perspective(800px) rotateY(-5deg) rotateX(3deg);
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(0,0,0,0.1));
  z-index: 2;
}

.book-meta {
  text-align: left;
}

.book-title-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.buy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  justify-content: center;
  position: relative;
  z-index: 1;
}

.buy-btn:hover {
  background: var(--green);
}

.btn-row {
  margin-top: 50px;
  padding: 0 50px;
}

.browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.browse-btn:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.browse-btn svg {
  width: 18px;
  height: 18px;
}

/* ── PAYMENT MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 100003;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--gray);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(0,0,0,0.05);
  color: var(--dark);
}

.modal-book-info {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.modal-cover {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.modal-book-details h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--green);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

.divider-text {
  font-size: 12px;
  color: var(--gray);
  white-space: nowrap;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.payment-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0,0,0,0.03);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-tab.active {
  border-color: var(--green);
  background: rgba(95, 168, 154, 0.08);
  color: var(--green);
}

#card-element {
  padding: 12px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  margin-bottom: 8px;
}

#card-errors {
  font-size: 13px;
  color: #e53e3e;
  margin-bottom: 16px;
  min-height: 20px;
}

.pay-btn {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pay-btn:hover {
  background: var(--green);
}

.pay-btn.loading .btn-label {
  opacity: 0;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
  opacity: 0;
}

.pay-btn.loading .spinner {
  opacity: 1;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skrill-info {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.skrill-btn {
  width: 100%;
  padding: 14px;
  background: #862583;
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.skrill-btn:hover {
  background: #6b1d68;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-top: 20px;
}

.secure-note svg {
  width: 16px;
  height: 16px;
}

.result-state {
  text-align: center;
  padding: 20px 0;
}

.result-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.result-icon.success {
  background: #d4edda;
  color: #155724;
}

.result-icon.error {
  background: #f8d7da;
  color: #721c24;
}

.result-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.result-msg {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.result-download {
  display: inline-block;
  padding: 12px 24px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.result-download:hover {
  background: #4a9689;
}

.result-retry {
  padding: 12px 24px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.result-retry:hover {
  background: var(--green);
}

/* ── BENEFITS SECTION ── */
.benefits-section {
  padding: 100px 50px;
  background: var(--white);
}

.benefits-grid {
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
}

.benefits-left {
  flex: 1;
}

.benefits-left h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark);
}

.benefits-left > p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 16px;
}

.benefits-list li i {
  color: var(--green);
  font-size: 18px;
}

/* ── FEATURES SECTION ── */
.features-section {
  padding: 100px 50px;
  background: var(--cream);
}

.features-container {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
}

.features-list {
  flex: 1;
}

.feature-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.feature-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.features-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.features-flip-card {
  width: 100%;
  max-width: 480px;
  height: 520px;
  perspective: 1200px;
  cursor: pointer;
}

.features-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.features-flip-card:hover .features-flip-inner,
.features-flip-card.flipped .features-flip-inner {
  transform: rotateY(180deg);
}

.features-flip-front,
.features-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.features-flip-front img,
.features-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-flip-back {
  transform: rotateY(180deg);
}

.features-accent-shape {
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.1;
  bottom: -30px;
  right: -30px;
  z-index: -1;
}

.features-dots {
  position: absolute;
  top: -20px;
  left: -20px;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 10px;
  z-index: -1;
}

.features-dots span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── AUTHORS SECTION ── */
.authors-section {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 50px;
  gap: 80px;
  background: var(--white);
}

.authors-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.authors-flip-card {
  width: 100%;
  max-width: 480px;
  height: 520px;
  perspective: 1200px;
  cursor: pointer;
}

.authors-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.authors-flip-card:hover .authors-flip-inner,
.authors-flip-card.flipped .authors-flip-inner {
  transform: rotateY(180deg);
}

.authors-flip-front,
.authors-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.authors-flip-front img,
.authors-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authors-flip-back {
  transform: rotateY(180deg);
}

.authors-accent-shape {
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.1;
  top: -30px;
  left: -30px;
  z-index: -1;
}

.authors-dots {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 10px;
  z-index: -1;
}

.authors-dots span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.4;
}

.authors-content {
  flex: 1;
  max-width: 600px;
}

.authors-content h2 {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}

.authors-content h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.authors-content p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 50px 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--green);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-3d {
  opacity: 0;
  transform: perspective(1000px) rotateY(25deg) translateX(40px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-3d.active {
  opacity: 1;
  transform: perspective(1000px) rotateY(0) translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }
.delay-5 { transition-delay: 0.6s; }
.delay-6 { transition-delay: 0.75s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero,
  .bonita-container,
  .features-container,
  .authors-section,
  .benefits-grid {
    flex-direction: column;
    gap: 50px;
  }

  .hero-left,
  .hero-right,
  .bonita-left,
  .bonita-right,
  .authors-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 36px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero,
  .bonita-section,
  .books-section,
  .benefits-section,
  .features-section,
  .authors-section,
  footer {
    padding: 60px 24px;
  }

  .hero-title {
    font-size: 28px;
  }

  .bonita-title,
  .books-title,
  .benefits-left h2 {
    font-size: 32px;
  }

  .bonita-flip-card,
  .features-flip-card,
  .authors-flip-card {
    height: 400px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .track {
    gap: 20px;
  }

  .book-card {
    width: 160px;
  }

  .book-cover {
    height: 220px;
  }
}

:root {
  scroll-behavior: smooth;
      --green: #5fa89a;
      --cream: #f4f1eb;
      --dark: #111;
      --accent: #FF9D01;
    }

    #intro-screen {
      position: fixed;
      inset: 0;
      background: linear-gradient(135deg, var(--cream) 0%, #e8e4db 100%);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 99999;
      transition: opacity 0.8s ease, visibility 0.8s ease;
    }

    #intro-screen.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .intro-logo-wrap {
      text-align: center;
      position: relative;
      padding: 40px;
    }

    /* Logo container with pulse effect */
    .logo-container {
      position: relative;
      display: inline-block;
      animation: logoFloat 3s ease-in-out infinite;
    }

    .intro-logo {
      width: 200px;
      height: auto;
      opacity: 0;
      transform: scale(0) rotate(-180deg);
      animation: logoLoad 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
      filter: drop-shadow(0 20px 40px rgba(95, 168, 154, 0.3));
    }

    /* Decorative rings around logo */
    .logo-ring {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 2px solid var(--green);
      border-radius: 50%;
      opacity: 0;
    }

    .logo-ring:nth-child(1) {
      width: 250px;
      height: 250px;
      animation: ringExpand 2s ease-out 0.5s forwards, ringPulse 3s ease-in-out 2.5s infinite;
    }

    .logo-ring:nth-child(2) {
      width: 300px;
      height: 300px;
      border-color: rgba(95, 168, 154, 0.3);
      animation: ringExpand 2s ease-out 0.7s forwards, ringPulse 3s ease-in-out 2.7s infinite;
    }

    .brand-name {
      margin-top: 30px;
      font-size: 48px;
      font-weight: 800;
      color: var(--dark);
      opacity: 0;
      transform: translateY(30px);
      animation: textRise 1s ease forwards;
      animation-delay: 1.2s;
      letter-spacing: -1px;
    }

    .brand-sub {
      margin-top: 12px;
      font-size: 16px;
      letter-spacing: 4px;
      color: var(--green);
      opacity: 0;
      transform: translateY(20px);
      animation: textRise 1s ease forwards;
      animation-delay: 1.6s;
      text-transform: uppercase;
      font-weight: 500;
    }

    /* Loading bar */
    .loading-bar {
      width: 200px;
      height: 3px;
      background: rgba(95, 168, 154, 0.2);
      margin: 40px auto 0;
      border-radius: 3px;
      overflow: hidden;
      opacity: 0;
      animation: fadeIn 0.5s ease 2s forwards;
    }

    .loading-progress {
      width: 0%;
      height: 100%;
      background: var(--green);
      border-radius: 3px;
      animation: loadingProgress 2s ease-in-out 2.2s forwards;
    }

    /* Particle effects */
    .particle {
      position: absolute;
      width: 6px;
      height: 6px;
      background: var(--green);
      border-radius: 50%;
      opacity: 0;
    }

    .particle:nth-child(1) { top: 20%; left: 20%; animation: particleFloat 3s ease-in-out infinite; animation-delay: 0s; }
    .particle:nth-child(2) { top: 30%; right: 20%; animation: particleFloat 3s ease-in-out infinite; animation-delay: 0.5s; }
    .particle:nth-child(3) { bottom: 30%; left: 15%; animation: particleFloat 3s ease-in-out infinite; animation-delay: 1s; }
    .particle:nth-child(4) { bottom: 20%; right: 25%; animation: particleFloat 3s ease-in-out infinite; animation-delay: 1.5s; }

    /* ===== EXIT ANIMATION: Intro lifts UP ===== */
    @keyframes contentExit {
      0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
      }
      100% {
        opacity: 0;
        transform: translateY(-80px) scale(1.08);
        filter: blur(12px);
      }
    }

    .intro-exit .intro-logo-wrap {
      animation: contentExit 0.8s cubic-bezier(0.77, 0, 0.18, 1) forwards;
    }

    /* ===== WEBSITE RISE-UP (handled by style.css, but fallback here) ===== */
    /* Remove old #mainContent/#mainHeader rules — they don't exist in HTML */

    /* Keyframes */
    @keyframes logoLoad {
      0% { opacity: 0; transform: scale(0) rotate(-180deg); }
      50% { opacity: 1; transform: scale(1.1) rotate(5deg); }
      100% { opacity: 1; transform: scale(1) rotate(0deg); }
    }

    @keyframes logoFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    @keyframes ringExpand {
      0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
      100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    }

    @keyframes ringPulse {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
      50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.2; }
    }

    @keyframes textRise {
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      to { opacity: 1; }
    }

    @keyframes loadingProgress {
      0% { width: 0%; }
      50% { width: 70%; }
      100% { width: 100%; }
    }

    @keyframes particleFloat {
      0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
      50% { opacity: 0.6; transform: translateY(-20px) scale(1); }
    }

/* ===================== INLINE EXTRACTED ===================== */



/* ===================== INLINE EXTRACTED ===================== */

.benefits-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .benefit-card {
      background: #fff;
      padding: 30px 20px;
      border-radius: 16px;
      text-align: center;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      opacity: 0;
      transform: translateY(30px);
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    /* Shimmer overlay on hover */
    .benefit-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 157, 1, 0.08),
        transparent
      );
      transition: left 0.6s ease;
    }

    .benefit-card:hover::before {
      left: 100%;
    }

    .benefit-card:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 157, 1, 0.2);
    }

    .benefit-card:active {
      transform: translateY(-6px) scale(0.98);
    }

    .benefit-icon {
      width: 60px;
      height: 60px;
      background: #F2EDE5;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      font-size: 24px;
      color: #FF9D01;
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      position: relative;
    }

    /* Glow ring behind icon */
    .benefit-icon::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      background: transparent;
      border: 2px solid transparent;
      transition: all 0.4s ease;
    }

    .benefit-card:hover .benefit-icon {
      transform: scale(1.15) rotate(10deg);
      background: #FF9D01;
      color: #fff;
      box-shadow: 0 8px 25px rgba(255, 157, 1, 0.4);
    }

    .benefit-card:hover .benefit-icon::after {
      border-color: rgba(255, 157, 1, 0.3);
      transform: scale(1.2);
    }

    .benefit-card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
      transition: color 0.3s ease;
    }

    .benefit-card:hover h3 {
      color: #FF9D01;
    }

    .benefit-card p {
      font-size: 13px;
      color: #888;
      line-height: 1.6;
      transition: color 0.3s ease;
    }

    .benefit-card:hover p {
      color: #666;
    }

    /* Reveal Animation States */
    .reveal-scale {
      transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                  transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal-scale.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Staggered delays */
    .delay-1.visible { transition-delay: 0s; }
    .delay-2.visible { transition-delay: 0.15s; }
    .delay-3.visible { transition-delay: 0.3s; }

    /* Icon pop animation on reveal */
    @keyframes iconPop {
      0% { transform: scale(0); }
      70% { transform: scale(1.2); }
      100% { transform: scale(1); }
    }

    .benefit-card.visible .benefit-icon {
      animation: iconPop 0.5s ease-out 0.3s backwards;
    }

    /* Floating particles on hover */
    @keyframes floatUp {
      0% {
        opacity: 0;
        transform: translateY(0) scale(0);
      }
      50% {
        opacity: 1;
      }
      100% {
        opacity: 0;
        transform: translateY(-30px) scale(1);
      }
    }

    .benefit-card .particle {
      position: absolute;
      width: 6px;
      height: 6px;
      background: rgba(255, 157, 1, 0.6);
      border-radius: 50%;
      pointer-events: none;
      opacity: 0;
    }

    .benefit-card:hover .particle:nth-child(1) {
      animation: floatUp 0.8s ease-out 0s;
      left: 20%;
      bottom: 20%;
    }

    .benefit-card:hover .particle:nth-child(2) {
      animation: floatUp 0.8s ease-out 0.15s;
      left: 50%;
      bottom: 15%;
    }

    .benefit-card:hover .particle:nth-child(3) {
      animation: floatUp 0.8s ease-out 0.3s;
      left: 80%;
      bottom: 25%;
    }

    /* Reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
      .benefit-card {
        opacity: 1;
        transform: none;
        transition: none;
      }
      .reveal-scale {
        transition: none;
      }
      .benefit-card:hover {
        transform: none;
      }
    }

    /* Mobile responsiveness */
    @media (max-width: 768px) {
      .benefits-cards {
        grid-template-columns: 1fr;
      }
    }