/* ============ Rabbit Food – One Page Site ============ */

:root {
  --orange: #F28C28;
  --orange-dark: #DA7A1A;
  --orange-light: #FFE3C2;
  --green: #7DBB4C;
  --green-light: #A7D96A;
  --green-dark: #5B9A38;
  --white-warm: #FFFDF8;
  --white: #FFFFFF;
  --text-dark: #4A3B2A;
  --text-body: #6B5D4F;
  --shadow: rgba(74, 59, 42, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-heading: 'Baloo 2', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white-warm);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { text-decoration: none; color: inherit; }

img, svg { max-width: 100%; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 20px var(--shadow);
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green-light); color: var(--text-dark); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-small { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.logo-badge {
  font-size: 1.8rem;
}
.logo-text span { color: var(--orange); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a:not(.btn) {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--text-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-heading.align-left {
  text-align: left;
  margin: 0 0 28px;
}
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-heading p { color: var(--text-body); font-size: 1.05rem; }

.tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-orange { background: var(--orange-light); color: var(--orange-dark); }
.tag-white { background: var(--white); color: var(--green-dark); box-shadow: 0 4px 12px var(--shadow); }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 0;
  position: relative;
  background: linear-gradient(180deg, #FFF6E8 0%, var(--white-warm) 60%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  z-index: 0;
}
.blob-green { width: 320px; height: 320px; background: var(--green-light); top: 60px; left: -120px; }
.blob-orange { width: 260px; height: 260px; background: var(--orange-light); top: 220px; right: -80px; }

.deco {
  position: absolute;
  font-size: 2.4rem;
  opacity: 0.8;
  animation: float 5s ease-in-out infinite;
  z-index: 0;
}
.deco-leaf-1 { top: 140px; left: 6%; animation-delay: 0.2s; }
.deco-carrot-1 { top: 220px; right: 8%; animation-delay: 1s; font-size: 2rem; }
.deco-leaf-2 { bottom: 60px; left: 12%; animation-delay: 1.8s; font-size: 1.8rem; }
.deco-leaf-3 { top: 30px; left: 6%; font-size: 2.2rem; animation-delay: 0.4s; }
.deco-carrot-2 { bottom: 40px; right: 8%; font-size: 2.2rem; animation-delay: 1.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-block;
  background: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
  box-shadow: 0 4px 14px var(--shadow);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.hero-tagline {
  font-size: 1.15rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.hero-trust span {
  background: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px var(--shadow);
}

.hero-art { position: relative; }
.bunny-illustration {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.wave-divider {
  line-height: 0;
  position: relative;
  z-index: 1;
}
.wave-divider svg { width: 100%; height: 70px; }

/* ---------- Why Choose ---------- */
.why-choose {
  padding: 30px 0 90px;
  background: var(--white);
}

.card-grid {
  display: grid;
  gap: 26px;
}
.card-grid-6 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.icon-badge.badge-lg { width: 74px; height: 74px; font-size: 2rem; }
.badge-orange { background: var(--orange-light); }
.badge-green { background: var(--green-light); }
.badge-white { background: var(--white-warm); box-shadow: 0 4px 10px var(--shadow); flex-shrink: 0; }

.feature-card, .benefit-card {
  background: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover, .benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px var(--shadow);
}
.feature-card h3, .benefit-card h3 { font-size: 1.2rem; }
.feature-card p, .benefit-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Ingredients ---------- */
.ingredients {
  background: var(--green);
  padding: 70px 0 90px;
  color: var(--white);
}
.ingredients .section-heading p,
.ingredients h2 { color: var(--white); }

.ingredients-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.ingredient-blob {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.15);
}
.ingredient-blob span { font-size: 6rem; }

.ingredient-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.ingredient-list h4 { color: var(--white); margin-bottom: 4px; font-size: 1.1rem; }
.ingredient-list p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.9); }
.ingredient-list .icon-badge { margin-bottom: 0; width: 48px; height: 48px; font-size: 1.4rem; }

/* ---------- Benefits ---------- */
.benefits { padding: 90px 0; background: var(--white-warm); }

/* ---------- Feeding Guide ---------- */
.feeding-guide {
  background: var(--green);
  padding: 30px 0 90px;
  color: var(--white);
}
.feeding-guide .section-heading h2,
.feeding-guide .section-heading p { color: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  position: relative;
}
.step-number {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.step-emoji { font-size: 2.2rem; display: block; margin: 10px 0 12px; }
.step-card h4 { color: var(--white); font-size: 1.05rem; }
.step-card p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin: 0; }

/* ---------- Best For ---------- */
.best-for { padding: 90px 0; background: var(--white-warm); }
.best-for-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 10px 30px var(--shadow);
  max-width: 780px;
  margin: 0 auto;
}
.check-list li {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
  padding: 10px 0;
  border-bottom: 1px dashed var(--orange-light);
}
.check-list li:last-child { border-bottom: none; }

.note-box {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--orange-light);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--orange-dark);
  font-weight: 700;
}

/* ---------- Reviews ---------- */
.reviews { padding: 90px 0; background: var(--white); }
.review-card {
  background: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}
.review-stars { font-size: 0.9rem; margin-bottom: 10px; }
.review-bubble {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
  margin-top: 14px;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; background: var(--white-warm); }
.accordion { max-width: 720px; margin: 0 auto; }
.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: 0 6px 18px var(--shadow);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}
.accordion-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-body);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--green) 100%);
  padding: 90px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-emoji { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.final-cta h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.final-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.95); }
.final-cta .hero-actions { justify-content: center; }

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.social-links a {
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 10px 20px;
  border-radius: 50px;
  transition: background 0.2s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.32); }

/* ---------- Product Video ---------- */
.product-video {
  background: var(--white);
  padding: 90px 0;
}
.product-video-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--text-dark);
  box-shadow: 0 14px 34px var(--shadow);
  cursor: pointer;
}
.feature-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  background: rgba(255,255,255,0.92);
  color: var(--orange-dark);
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-frame:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.video-frame.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

/* ---------- QR Code Popup ---------- */
.qr-section {
  background: var(--white);
  padding: 0 24px 70px;
  text-align: center;
}
.qr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border: 0;
  border-radius: 50px;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}
.qr-button:hover {
  transform: translateY(-3px);
  background: var(--green);
}
.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.62);
}
.qr-overlay.qr-open {
  display: flex;
}
.qr-modal {
  position: relative;
  width: min(92vw, 420px);
  padding: 34px 28px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-body);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}
.qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.qr-title {
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.qr-code {
  display: flex;
  justify-content: center;
  margin: 0 auto 18px;
}
.qr-code img,
.qr-code canvas {
  width: 260px;
  height: 260px;
}
.qr-url {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-body);
}
.qr-popup-open {
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 30px;
  text-align: center;
}
.site-footer .logo { justify-content: center; color: var(--white); }
.site-footer .logo-text span { color: var(--orange-light); }
.footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin: 18px 0;
  flex-wrap: wrap;
  font-weight: 700;
}
.footer-links a:hover { color: var(--orange-light); }
.footer-copy { font-size: 0.85rem; opacity: 0.7; margin-top: 20px; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  z-index: 90;
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-float.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 8px 22px rgba(0,0,0,0.3), 0 0 0 10px rgba(91,154,56,0.25); }
}

/* ================= Responsive ================= */
@media (max-width: 960px) {
  .card-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredients-inner { grid-template-columns: 1fr; }
  .ingredients-art { order: -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white-warm);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 30px;
    gap: 18px;
    box-shadow: 0 12px 24px var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a:not(.btn) { padding: 6px 0; }
  .main-nav .btn { align-self: flex-start; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { margin: 0 auto 24px; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-art { order: -1; }
}

@media (max-width: 640px) {
  .card-grid-6, .card-grid-4, .steps-grid { grid-template-columns: 1fr; }
  .best-for-card { padding: 30px 22px; }
  .hero { padding-top: 120px; }
}
