/* ============================================================
   Alphabet Blossom — Bright & Playful Storefront
   ============================================================ */

:root {
  --coral: #ff6b6b;
  --pink: #ff8fb1;
  --yellow: #ffd23f;
  --green: #6dd47e;
  --blue: #4cc9f0;
  --purple: #b388ff;
  --ink: #2b2545;
  --ink-soft: #5a4f7c;
  --paper: #fff9f0;
  --paper-2: #fff3e0;
  --card: #ffffff;
  --shadow-1: 0 6px 0 rgba(43, 37, 69, 0.10);
  --shadow-2: 0 12px 30px rgba(43, 37, 69, 0.12);
  --shadow-hover: 0 18px 40px rgba(43, 37, 69, 0.18);
  --radius: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Nunito', 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', 'Baloo 2', 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Decorative background blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 249, 240, 0.85);
  border-bottom: 2px dashed rgba(43, 37, 69, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 0 rgba(0,0,0,0.08);
  transform: rotate(-6deg);
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(255,107,107,0.12); color: var(--coral); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: var(--shadow-1);
}
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.08); }

.btn-primary {
  background: var(--coral);
  color: white;
}
.btn-primary:hover { background: #ff5252; transform: translateY(-1px); }

.btn-secondary {
  background: var(--ink);
  color: white;
}
.btn-secondary:hover { background: #1d1933; transform: translateY(-1px); }

.btn-ghost {
  background: white;
  color: var(--ink);
  border: 2px solid rgba(43,37,69,0.08);
}
.btn-ghost:hover { background: var(--paper-2); }

.btn-wa {
  background: #25d366;
  color: white;
}
.btn-wa:hover { background: #1ebf5b; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero .blob.b1 { width: 360px; height: 360px; background: var(--pink); top: -80px; left: -120px; }
.hero .blob.b2 { width: 320px; height: 320px; background: var(--blue); top: 60px; right: -120px; }
.hero .blob.b3 { width: 220px; height: 220px; background: var(--yellow); bottom: -80px; left: 40%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
.hero h1 .accent-coral { color: var(--coral); }
.hero h1 .accent-blue { color: var(--blue); }
.hero h1 .accent-green { color: var(--green); }
.hero p.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white;
  border: 2px dashed var(--coral);
  color: var(--coral);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
}
.hero-visual .doodle {
  position: absolute;
  border-radius: 28px;
  box-shadow: var(--shadow-2);
  background: white;
  padding: 18px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.05rem;
  transition: transform .3s;
}
.hero-visual .doodle:hover { transform: scale(1.04) rotate(0deg) !important; }
.doodle.d1 { top: 0; left: 6%; width: 46%; aspect-ratio: 1; background: var(--yellow); transform: rotate(-6deg); }
.doodle.d2 { top: 4%; right: 0; width: 42%; aspect-ratio: 1; background: var(--pink); color: white; transform: rotate(7deg); }
.doodle.d3 { bottom: 0; left: 12%; width: 40%; aspect-ratio: 1; background: var(--blue); color: white; transform: rotate(5deg); }
.doodle.d4 { bottom: 6%; right: 6%; width: 38%; aspect-ratio: 1; background: var(--green); color: white; transform: rotate(-7deg); }
.doodle .big { font-size: 3rem; line-height: 1; display: block; margin-bottom: 6px; }

/* ---------- Section heading ---------- */
.section {
  padding: 70px 0;
  position: relative;
}
.section.alt { background: var(--paper-2); }
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.section-head p {
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}
.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(76, 201, 240, 0.15);
  color: #0d8ab9;
  margin-bottom: 12px;
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 36px;
  max-width: 800px;
}
.chip {
  background: white;
  border: 2px solid rgba(43,37,69,0.08);
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--coral); color: var(--coral); }
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-card .cover {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}
.product-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .cover img { transform: scale(1.06); }
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 0 rgba(0,0,0,0.06);
}
.product-card .cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.05));
}
.product-card .body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card .cat {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-card h3 {
  font-size: 1.15rem;
  margin: 0;
}
.product-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}
.product-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}
.price small {
  font-size: 0.7em;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Accent bands per card */
.accent-coral .cover { background: #ffe3e3; }
.accent-yellow .cover { background: #fff4c2; }
.accent-pink   .cover { background: #ffe1ec; }
.accent-blue   .cover { background: #d6f1fb; }
.accent-green  .cover { background: #dcf5e1; }
.accent-purple .cover { background: #ece1ff; }

/* ---------- Freebies row ---------- */
.freebies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.freebie {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-1);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  border: 3px dashed transparent;
}
.freebie:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--coral);
}
.freebie .thumb {
  width: 92px; height: 92px; flex-shrink: 0;
  border-radius: 18px;
  background: var(--paper-2);
  overflow: hidden;
}
.freebie .thumb img { width: 100%; height: 100%; object-fit: cover; }
.freebie h3 { margin: 0 0 4px; font-size: 1.05rem; }
.freebie p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.freebie .tag-free {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--green);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Upcoming ideas ---------- */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.idea-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  border-top: 8px solid var(--purple);
  box-shadow: var(--shadow-1);
}
.idea-card:nth-child(4n+1) { border-top-color: var(--coral); }
.idea-card:nth-child(4n+2) { border-top-color: var(--blue); }
.idea-card:nth-child(4n+3) { border-top-color: var(--green); }
.idea-card:nth-child(4n+4) { border-top-color: var(--yellow); }
.idea-card .emoji { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.idea-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.idea-card p { color: var(--ink-soft); margin: 0 0 14px; font-size: 0.95rem; }
.idea-card .eta {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  color: var(--ink-soft);
}

.notify-box {
  margin-top: 36px;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .notify-box { grid-template-columns: 1fr; } }
.notify-box h3 { font-size: 1.6rem; margin: 0 0 6px; }
.notify-box p { margin: 0; }
.notify-box .btn { justify-self: end; }
@media (max-width: 720px) { .notify-box .btn { justify-self: start; } }

/* ---------- Tips / articles ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.tip-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.tip-card .cover { aspect-ratio: 16/10; background: var(--paper-2); overflow: hidden; }
.tip-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.tip-card .body { padding: 18px 20px 22px; }
.tip-card .tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(179, 136, 255, 0.15);
  color: #6a3dd6;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.tip-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.tip-card p { color: var(--ink-soft); margin: 0; font-size: 0.92rem; }

/* ---------- About strip ---------- */
.about {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 720px) { .about { grid-template-columns: 1fr; padding: 32px; text-align: center; } }
.about .avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: white;
  display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 3.4rem;
  color: var(--coral);
  box-shadow: 0 10px 0 rgba(0,0,0,0.1);
}
.about h2 { color: white; margin: 0 0 10px; font-size: 2rem; }
.about p { margin: 0 0 6px; opacity: 0.95; max-width: 640px; }

/* ---------- Footer ---------- */
footer {
  padding: 50px 0 30px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
footer .links {
  display: flex; gap: 18px; justify-content: center;
  margin-bottom: 14px; flex-wrap: wrap;
}
footer a { text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--coral); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(43, 37, 69, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  animation: pop .22s ease-out;
}
@keyframes pop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: white;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.modal-header h3 { margin: 0 0 4px; font-size: 1.3rem; }
.modal-header p { margin: 0; opacity: 0.92; font-size: 0.95rem; }
.modal-close {
  background: rgba(255,255,255,0.25);
  border: none;
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}
.modal-close:hover { background: rgba(255,255,255,0.4); }
.modal-body { padding: 26px 28px 28px; }
.modal-body ol { padding-left: 22px; margin: 12px 0 20px; }
.modal-body ol li { margin-bottom: 10px; }
.pay-line {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 6px 0 18px;
  flex-wrap: wrap;
}
.pay-line .label { font-weight: 800; color: var(--ink-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pay-line .val { font-family: 'Fredoka', sans-serif; font-size: 1.4rem; color: var(--ink); }
.pay-line .amount { font-family: 'Fredoka', sans-serif; font-size: 1.8rem; color: var(--coral); }
.copy-btn {
  background: var(--ink);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.copy-btn:hover { background: #1d1933; }
.modal .actions {
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.modal .actions .btn { flex: 1; min-width: 160px; justify-content: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transition: transform .25s, opacity .25s;
  z-index: 200;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  background: #25d366;
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 40;
  text-decoration: none;
  font-size: 1.6rem;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Small helpers ---------- */
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr { position: absolute; left: -9999px; }
