/* ===== Font ===== */
@font-face {
  font-family: "Mayke";
  src: url("assets/fonts/Mayke-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

/* ===== Tokens (from Howdy brand guideline) ===== */
:root {
  --indigo: #4F12DC;       /* Blue Indigo */
  --violet: #8243F6;       /* Illusion */
  --ashley: #BBADE0;       /* Ashley */
  --pink: #FFEBF0;         /* Pink Crystal */
  --lime: #B5BF50;         /* Tender Coconut */
  --lime-light: #B6E293;   /* Citrusy Lime */
  --cream: #F0F2DC;
  --white: #FFFFFF;
  --ink: #1a1033;
  --ink-soft: #5a5170;

  --grad: linear-gradient(135deg, #4F12DC 0%, #8243F6 100%);
  --radius: 28px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -20px rgba(79, 18, 220, 0.45);
  --shadow-soft: 0 16px 40px -16px rgba(26, 16, 51, 0.25);
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; }

.script { font-family: "Allura", cursive; font-weight: 400; }
.script--violet { color: var(--violet); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime-light);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--violet); }

.h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.04; font-weight: 800; letter-spacing: -0.02em;
}
.h2 .script { font-size: 1.18em; line-height: 0.8; }
.h2--light { color: var(--white); }

.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section-sub { color: var(--ink-soft); margin-top: 16px; font-size: 1.08rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--primary { background: var(--white); color: var(--indigo); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.4); }
.btn--lime { background: var(--lime-light); color: var(--ink); }
.btn--lime:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(182,226,147,0.7); }
.btn--ghost { background: transparent; border-color: rgba(26,16,51,0.18); color: var(--ink); }
.btn--ghost:hover { background: rgba(26,16,51,0.05); }
.btn--ghost-light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn--pill { background: var(--lime-light); color: var(--ink); padding: 11px 22px; }
.btn--pill:hover { transform: translateY(-2px); }

/* ===== Age gate ===== */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  background: var(--grad);
  display: grid; place-items: center; padding: 24px;
  transition: opacity 0.5s, visibility 0.5s;
}
.age-gate.hidden { opacity: 0; visibility: hidden; }
.age-gate__card {
  background: var(--white); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 52px); max-width: 440px; text-align: center;
  box-shadow: var(--shadow);
}
.age-gate__logo { width: 130px; margin: 0 auto 22px; }
.age-gate__card h2 { font-size: 1.7rem; margin-bottom: 12px; }
.age-gate__card p { color: var(--ink-soft); margin-bottom: 26px; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; }
.age-gate__actions .btn--primary { background: var(--indigo); color: var(--white); }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  padding: 10px 0; background: rgba(79,18,220,0.85);
  backdrop-filter: blur(14px); box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { color: var(--white); font-weight: 500; font-size: 0.98rem; opacity: 0.92; transition: opacity 0.2s; }
.nav__links a:not(.nav__cta):hover { opacity: 1; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  position: relative; background: var(--grad); color: var(--white);
  padding: clamp(140px, 16vw, 200px) 0 0; overflow: hidden;
}
.hero__glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(182,226,147,0.35), transparent 60%);
  top: -150px; right: -120px; filter: blur(20px);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
  padding-bottom: clamp(80px, 10vw, 130px);
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6rem); line-height: 0.95;
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero h1 .script { font-size: 1.25em; color: var(--lime-light); display: inline-block; }
.hero__lede { font-size: 1.18rem; max-width: 520px; opacity: 0.92; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.social-proof { display: flex; align-items: center; gap: 16px; }
.social-proof p { font-size: 0.95rem; opacity: 0.9; }
.social-proof strong { color: var(--lime-light); }
.avatars { display: flex; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c, var(--ashley)); border: 3px solid var(--indigo);
  display: grid; place-items: center; font-size: 1.1rem; margin-left: -12px;
}
.avatar:first-child { margin-left: 0; }
.avatar--sm { width: 38px; height: 38px; border: none; font-weight: 700; color: var(--ink); font-size: 0.95rem; }

/* hero visual */
.hero__visual { position: relative; min-height: 420px; }
.leaf-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 420px; box-shadow: var(--shadow);
  background: radial-gradient(circle at 70% 30%, #6a2ff0, #1a0a4d);
}
.leaf-card__tag {
  position: absolute; top: 24px; left: 26px; z-index: 2;
  font-family: "Allura", cursive; font-size: 2rem; color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.leaf {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23b58bff' stroke-width='3' stroke-linecap='round' opacity='0.9'%3E%3Cpath d='M100 175 L100 95'/%3E%3Cpath d='M100 95 C100 60 100 30 100 20 C92 35 88 55 92 80'/%3E%3Cpath d='M100 100 C75 80 55 55 48 35 C58 60 72 82 96 100'/%3E%3Cpath d='M100 105 C70 95 45 80 28 62 C45 88 68 104 98 110'/%3E%3Cpath d='M100 118 C72 118 45 112 25 100 C48 122 72 130 100 128'/%3E%3Cpath d='M100 100 C125 80 145 55 152 35 C142 60 128 82 104 100'/%3E%3Cpath d='M100 105 C130 95 155 80 172 62 C155 88 132 104 102 110'/%3E%3Cpath d='M100 118 C128 118 155 112 175 100 C152 122 128 130 100 128'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.85;
  animation: sway 6s ease-in-out infinite;
}
@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.float-card {
  position: absolute; background: var(--white); color: var(--ink);
  border-radius: var(--radius-pill); padding: 12px 20px; font-weight: 600; font-size: 0.92rem;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 10px;
  animation: bob 4s ease-in-out infinite;
}
.float-card .dot { width: 12px; height: 12px; border-radius: 50%; }
.float-card--a { top: 40px; right: -18px; }
.float-card--b { bottom: 50px; left: -24px; animation-delay: 1.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* marquee */
.marquee {
  position: relative; z-index: 2; background: var(--lime-light); color: var(--ink);
  overflow: hidden; padding: 16px 0; font-family: "Mayke", cursive; font-size: 1.5rem;
}
.marquee__track { display: flex; gap: 30px; white-space: nowrap; width: max-content; animation: scroll 28s linear infinite; }
.marquee__track span { padding-right: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__body p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 20px; }
.stat-row { display: flex; gap: 40px; margin-top: 36px; }
.stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--indigo); letter-spacing: -0.02em; }
.stat span { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Products ===== */
.products { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-top: 5px solid var(--accent);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card__art {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 18%, white);
  display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 20px;
}
.product-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 18px; }
.link-arrow { font-weight: 600; color: var(--violet); transition: gap 0.2s; }
.link-arrow:hover { opacity: 0.7; }

/* ===== Balance ===== */
.balance { background: var(--grad); color: var(--white); position: relative; overflow: hidden; }
.balance__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.balance__copy p { opacity: 0.9; font-size: 1.1rem; margin-bottom: 26px; max-width: 520px; }
.check-list { display: grid; gap: 14px; margin-bottom: 36px; }
.check-list li { position: relative; padding-left: 36px; font-size: 1.05rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime-light); color: var(--indigo);
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}
.balance__cards { display: grid; gap: 16px; }
.value-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm); padding: 24px 26px; backdrop-filter: blur(6px);
  transition: background 0.3s, transform 0.3s;
}
.value-card:hover { background: rgba(255,255,255,0.18); transform: translateX(6px); }
.value-card__num { font-family: "Allura", cursive; font-size: 2rem; color: var(--lime-light); }
.value-card h4 { font-size: 1.25rem; margin: 4px 0 6px; }
.value-card p { opacity: 0.85; font-size: 0.98rem; }

/* ===== Reviews ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--white); border: 1px solid #ece8f7; border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-soft);
}
.review p { font-size: 1.08rem; margin-bottom: 24px; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; }

/* ===== CTA ===== */
.cta { background: var(--ink); color: var(--white); padding: clamp(70px, 10vw, 130px) 0; text-align: center; }
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta h2 .script { color: var(--lime-light); font-size: 1.2em; }
.cta p { opacity: 0.8; font-size: 1.1rem; margin-bottom: 32px; }
.cta__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto 16px; }
.cta__form input {
  flex: 1; padding: 16px 22px; border-radius: var(--radius-pill);
  border: none; font-size: 1rem; font-family: inherit;
}
.cta__form input:focus { outline: 3px solid var(--violet); }
.cta__note { font-size: 0.85rem; opacity: 0.55; }
.cta__note.success { color: var(--lime-light); opacity: 1; font-weight: 600; }

/* ===== Footer ===== */
.footer { background: #120a26; color: var(--white); padding: 70px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer__brand p { opacity: 0.6; max-width: 280px; font-size: 0.95rem; }
.footer__col h5 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; color: var(--ashley); }
.footer__col a { display: block; opacity: 0.7; margin-bottom: 10px; font-size: 0.95rem; transition: opacity 0.2s; }
.footer__col a:hover { opacity: 1; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; opacity: 0.55;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__inner, .about__grid, .balance__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 360px; margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(78%, 320px);
    background: var(--indigo); flex-direction: column; justify-content: center;
    gap: 28px; padding: 40px; transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav__links.open { transform: none; }
  .nav__links a { font-size: 1.2rem; }
  .nav__toggle { display: flex; z-index: 110; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .product-grid, .footer__inner { grid-template-columns: 1fr; }
  .stat-row { gap: 24px; }
  .cta__form { flex-direction: column; }
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}
