/* ==========================================
   INDEX PAGE — Hero & Home Specific Styles
   ========================================== */

/* ── Hero Section ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 60%, #FFF8E8 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Animated honeycomb background */
.honeycomb-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='70' height='61' viewBox='0 0 70 61' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='35,3 65,19 65,51 35,67 5,51 5,19' fill='none' stroke='rgba(200,134,10,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 70px 61px;
  animation: hexDrift 40s linear infinite;
}

@keyframes hexDrift {
  from { background-position: 0 0; }
  to { background-position: 70px 61px; }
}

/* Bee canvas */
#bee-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-light);
  animation: floatParticle linear infinite;
  opacity: 0;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) translateX(var(--drift)) scale(1.5); opacity: 0; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.hero-text h1 em {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: italic;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-divider {
  color: var(--gold);
  opacity: 0.5;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.honey-jar-container {
  position: relative;
  animation: jarFloat 4s ease-in-out infinite;
}

@keyframes jarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.honey-jar-svg {
  width: min(380px, 90vw);
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(200, 134, 10, 0.3));
}

.floating-hex {
  position: absolute;
  animation: hexFloat ease-in-out infinite;
  font-size: 1.8rem;
  pointer-events: none;
}

.hex-1 {
  top: 10%;
  right: -10%;
  animation-duration: 5s;
  animation-delay: 0s;
}
.hex-2 {
  bottom: 15%;
  left: -8%;
  animation-duration: 6s;
  animation-delay: 1.5s;
  font-size: 1.2rem;
}
.hex-3 {
  top: 40%;
  right: -15%;
  animation-duration: 4.5s;
  animation-delay: 0.8s;
  color: var(--gold);
  font-size: 2.5rem;
  opacity: 0.3;
}

@keyframes hexFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ── Stats Bar ── */
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-divider {
  color: var(--gold);
  font-size: 1.4rem;
  opacity: 0.4;
}

/* Interactive Bee Tip & Nose Mode */
.interactive-bee-tip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.bee-tip-icon {
  font-size: 1.1rem;
}

.cam-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cream);
  color: var(--amber-deep);
  border: 1px solid var(--gold-pale);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.cam-btn:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  transform: translateY(-1px);
}

.cam-btn.active {
  background: #16A34A;
  color: white;
  border-color: #15803D;
}

.cam-preview-box {
  position: fixed;
  bottom: 5.5rem;
  left: 2rem;
  width: 140px;
  height: 105px;
  background: #111;
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cam-preview-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.cam-close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.cam-nose-marker {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #F59E0B;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 8px #F59E0B;
  transition: all 0.1s ease;
}

/* ── Variety Cards ── */
.variety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.variety-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.variety-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.variety-icon {
  width: 60px;
  height: 60px;
}

.variety-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.variety-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.variety-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.variety-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.variety-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-from {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── About Strip ── */
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--gold);
}

.feature-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Benefits Quick ── */
.benefits-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-quick-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.bq-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-quick-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.benefit-quick-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  display: block;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #240E02 0%, #3D1804 50%, #150600 100%);
  border-top: 1px solid rgba(200, 134, 10, 0.35);
  border-bottom: 1px solid rgba(200, 134, 10, 0.35);
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 4.5rem) 0;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='70' height='61' viewBox='0 0 70 61' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='35,3 65,19 65,51 35,67 5,51 5,19' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 70px 61px;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.cta-deco {
  width: 90px;
  height: 90px;
  opacity: 0.15;
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Dark mode adaptations ── */
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 60%, #1A0E03 100%);
}

[data-theme="dark"] .hero-text h1 {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .variety-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-content { grid-template-columns: 1fr; }
  .cta-deco { display: none; }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    gap: 3rem;
  }
  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-text .subtitle { margin: 1.5rem auto 0; }
  .variety-grid { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 3rem; }
  .benefits-quick-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .honey-jar-svg { width: 220px; }
}
