@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=Baloo+2:wght@400;500;600;700;800&display=swap');

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

:root {
  --honey:       #F5A623;
  --honey-deep:  #C47D0E;
  --honey-light: #FEF3D7;
  --honey-pale:  #FFFBF0;
  --forest:      #1E3A2F;
  --forest-mid:  #2D5A44;
  --forest-soft: #3D7A5C;
  --parchment:   #FDF6E3;
  --parchment-2: #F0E6C8;
  --ink:         #1A1209;
  --ink-soft:    #4A3520;
  --ink-muted:   #7A6548;
  --coral:       #E8634A;
  --coral-deep:  #C04830;
  --lavender:    #9B7FD4;
  --sky:         #5BB8D4;
  --cream:       #FFFDF5;
  --success:     #2D8A5E;
  --success-bg:  #E6F5EE;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Baloo 2', cursive;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zm0 34L0 84V52l28 16 28-16v32L28 100z' fill='none' stroke='%23F5A62315' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

.cursor {
  width: 20px; height: 20px;
  border: 2px solid var(--honey);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.15s, background 0.15s;
  transform: translate(-50%, -50%);
}
.cursor.hover { transform: translate(-50%,-50%) scale(1.8); background: rgba(245,166,35,0.15); }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(255,253,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--parchment-2);
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-bee {
  width: 38px; height: 38px;
  background: var(--honey); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 3px 0 var(--honey-deep);
  animation: beeBob 2.5s ease-in-out infinite;
}
.logo-text { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.logo-text span { color: var(--honey); font-style: italic; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 14px;
  padding: 9px 22px; border-radius: 100px; border: none;
  cursor: none; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.01em; position: relative; z-index: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--parchment-2); }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey-deep); }
.btn-honey { background: var(--honey); color: var(--ink); box-shadow: 0 4px 0 var(--honey-deep); font-weight: 800; }
.btn-honey:hover { box-shadow: 0 6px 0 var(--honey-deep); }
.btn-honey:active { box-shadow: 0 1px 0 var(--honey-deep); transform: translateY(3px); }
.btn-forest { background: var(--forest); color: var(--honey-light); box-shadow: 0 4px 0 #0D2018; font-weight: 800; font-size: 15px; padding: 12px 28px; }
.btn-forest:hover { box-shadow: 0 6px 0 #0D2018; }
.btn-forest:active { box-shadow: 0 1px 0 #0D2018; transform: translateY(3px); }
.btn-coral { background: var(--coral); color: white; box-shadow: 0 4px 0 var(--coral-deep); font-weight: 800; font-size: 15px; padding: 12px 28px; }
.btn-coral:hover { box-shadow: 0 6px 0 var(--coral-deep); }
.btn-coral:active { box-shadow: 0 1px 0 var(--coral-deep); transform: translateY(3px); }
.btn-lg { font-size: 16px; padding: 14px 36px; }

/* CHALLENGE BANNER (weekly + monthly) */
#challengeBanner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
#challengeBanner:empty { display: none; }
.challenge-card { display: flex; align-items: center; gap: 14px; background: var(--honey-light); border: 1.5px solid var(--honey); border-radius: 16px; padding: 14px 18px; }
.challenge-card.is-monthly { background: #E8F5F0; border-color: var(--forest-soft); }
.challenge-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.challenge-info { flex: 1; min-width: 0; }
.challenge-label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 2px; }
.challenge-card.is-monthly .challenge-label { color: var(--forest-soft); }
.challenge-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.challenge-bar-wrap { background: white; border-radius: 100px; height: 7px; overflow: hidden; margin-bottom: 4px; }
.challenge-bar { height: 100%; border-radius: 100px; background: var(--honey); }
.challenge-card.is-monthly .challenge-bar { background: var(--forest-soft); }
.challenge-meta { font-size: 11px; color: var(--ink-muted); font-weight: 600; }

/* PAGE WRAPPER */
.page-content { padding-top: 72px; position: relative; z-index: 1; }

/* SECTION */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 48px; }
.section-eyebrow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--honey-deep); margin-bottom: 10px; text-transform: uppercase; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 44px); font-weight: 900; text-align: center; color: var(--ink); margin-bottom: 10px; line-height: 1.15; }
.section-sub { text-align: center; font-size: 16px; color: var(--ink-muted); margin-bottom: 56px; font-weight: 500; line-height: 1.65; }

/* FOOTER */
footer {
  background: var(--ink); padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 900; color: white; display: flex; align-items: center; gap: 8px; }
.footer-logo span { color: var(--honey); font-style: italic; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; font-weight: 600; transition: color 0.15s; }
.footer-links a:hover { color: var(--honey); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 500; }

/* ANIMATIONS */
@keyframes beeBob { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-4px) rotate(5deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatEl { 0%,100% { transform: translateY(0px) rotate(-5deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
@keyframes twinkle { 0%,100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes checkPop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }

.animate-fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
