/* Mochi Flowers — Static styles */
@import url('./fonts.css');

:root {
  --background: hsl(350 60% 98%);
  --foreground: hsl(340 25% 22%);
  --card: #ffffff;
  --muted-fg: hsl(340 15% 45%);
  --primary: hsl(345 80% 78%);
  --primary-foreground: hsl(340 40% 20%);
  --primary-glow: hsl(340 95% 88%);
  --secondary: hsl(270 50% 92%);
  --secondary-fg: hsl(270 35% 30%);
  --accent: hsl(130 30% 88%);
  --accent-fg: hsl(130 35% 25%);
  --pink-soft: hsl(345 100% 94%);
  --lavender: hsl(270 70% 88%);
  --cream: hsl(35 70% 94%);
  --sage: hsl(130 35% 82%);
  --border: hsl(340 40% 92%);
  --gradient-hero: linear-gradient(135deg, hsl(345 100% 95%) 0%, hsl(270 80% 94%) 50%, hsl(35 80% 95%) 100%);
  --gradient-primary: linear-gradient(135deg, hsl(345 90% 82%), hsl(330 85% 78%));
  --gradient-soft: linear-gradient(180deg, hsl(345 100% 97%), hsl(270 80% 96%));
  --shadow-soft: 0 10px 40px -10px hsl(345 80% 78% / 0.35);
  --shadow-cute: 0 8px 24px -8px hsl(345 70% 70% / 0.3);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--bounce), opacity .2s, box-shadow .2s;
}
.btn-lg { padding: .95rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--gradient-primary); color: var(--primary-foreground); box-shadow: var(--shadow-cute); }
.btn-primary:hover { opacity: .92; transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,.6); border: 1px solid hsl(345 80% 78% / .4); backdrop-filter: blur(8px); }
.btn-outline:hover { background: var(--card); }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 999px; }
.btn-ghost:hover { background: var(--pink-soft); }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 250, 252, .8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(340 40% 92% / .6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-primary); box-shadow: var(--shadow-cute);
  display: flex; align-items: center; justify-content: center; color: white;
}
.logo-text { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.logo-text span { color: hsl(345 70% 65%); }
.nav-links { display: none; gap: 2rem; font-size: .9rem; font-weight: 500; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: hsl(345 70% 65%); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: inline-flex; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .btn-order-nav { display: inline-flex !important; }
}
.btn-order-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding: 6rem 0; gap: 2rem; align-items: center; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
  border: 1px solid hsl(345 80% 78% / .3);
  color: hsl(345 70% 55%); font-size: .75rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 em { color: hsl(345 70% 65%); font-style: normal; }
.hero-sub { margin-top: 1.5rem; max-width: 28rem; color: var(--muted-fg); font-size: 1.1rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { margin-top: 2.5rem; display: flex; align-items: center; gap: 1.5rem; font-size: .85rem; color: var(--muted-fg); }
.hero-stats > div:not(.divider) { line-height: 1.2; }
.hero-stats .num { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--foreground); }
.divider { width: 1px; height: 32px; background: var(--border); }
.hero-image-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image-wrap::before {
  content: ''; position: absolute; inset: -2rem; border-radius: 50%;
  background: hsl(345 80% 78% / .25); filter: blur(60px);
}
.hero-image {
  position: relative; max-width: 32rem; width: 100%;
  border-radius: 2.5rem; box-shadow: var(--shadow-soft);
  animation: float-soft 4s ease-in-out infinite;
}
.float-card {
  position: absolute; background: var(--card);
  padding: .6rem 1rem; border-radius: 1rem; box-shadow: var(--shadow-cute);
  animation: float-soft 4s ease-in-out infinite;
}
.float-card .label { font-size: .7rem; color: var(--muted-fg); }
.float-card .value { font-family: 'Fraunces', serif; font-weight: 600; }
.float-card.tl { top: 2rem; left: -1rem; animation-delay: 1s; }
.float-card.br { bottom: -1rem; right: -.5rem; animation-delay: 2s; }

/* Sections */
section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }
.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.eyebrow { display: block; font-size: .8rem; font-weight: 500; color: hsl(345 70% 60%); text-transform: uppercase; letter-spacing: .15em; margin-bottom: .75rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 1rem; color: var(--muted-fg); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem;
  padding: 1.5rem; border-radius: 1.5rem; background: var(--card);
  border: 1px solid hsl(340 40% 92% / .6);
  transition: transform .35s var(--bounce), box-shadow .35s;
}
.cat-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-cute); }
.cat-icon {
  width: 64px; height: 64px; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--bounce);
}
.cat-card:hover .cat-icon { transform: rotate(6deg); }
.cat-card .label { font-size: .85rem; font-weight: 500; line-height: 1.2; }

/* Product grid */
#shop { background: var(--gradient-soft); }
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 3rem; }
.product-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product {
  background: var(--card); border-radius: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-cute);
  transition: transform .35s var(--bounce);
}
.product:hover { transform: translateY(-8px) scale(1.02); }
.product-img { aspect-ratio: 1/1; background: var(--pink-soft); overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--bounce); }
.product:hover .product-img img { transform: scale(1.06); }
.tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: .25rem .75rem; border-radius: 999px;
  font-size: .7rem; font-weight: 600; color: hsl(345 70% 55%);
}
.rating {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; align-items: center; gap: .25rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: .2rem .6rem; border-radius: 999px;
  font-size: .7rem; font-weight: 500;
}
.rating svg { color: hsl(345 70% 65%); fill: hsl(345 70% 65%); }
.product-body { padding: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.product-body h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.product-body .desc { color: var(--muted-fg); font-size: .85rem; margin-top: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-body .price { font-family: 'Fraunces', serif; font-size: 1.25rem; color: hsl(345 70% 60%); margin-top: .35rem; }

/* Delivery */
.delivery-card {
  position: relative; max-width: 64rem; margin: 0 auto;
  background: var(--gradient-soft);
  border-radius: 2.5rem; padding: 3.5rem 2rem; box-shadow: var(--shadow-cute); overflow: hidden;
}
@media (min-width: 768px) { .delivery-card { padding: 3.5rem; } }
.delivery-card::before, .delivery-card::after {
  content:''; position: absolute; width: 16rem; height: 16rem; border-radius: 50%; filter: blur(60px);
}
.delivery-card::before { top: -5rem; right: -5rem; background: hsl(345 80% 78% / .3); }
.delivery-card::after { bottom: -5rem; left: -5rem; background: hsl(270 50% 92% / .8); }
.cities { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .cities { grid-template-columns: repeat(3, 1fr); } }
.city {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  padding: 1rem 1.25rem; border-radius: 1rem;
  transition: transform .3s var(--bounce), box-shadow .3s;
}
.city:hover { transform: translateY(-4px); box-shadow: var(--shadow-cute); }
.city .pin {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--gradient-primary); color: white;
  display: flex; align-items: center; justify-content: center;
}
.city .name { font-family: 'Fraunces', serif; font-size: 1.1rem; line-height: 1; }
.city .eta { margin-top: .25rem; font-size: .7rem; color: var(--muted-fg); }

/* Why */
#why { background: var(--gradient-soft); }
.why-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-card {
  background: var(--card); border-radius: 1.5rem; padding: 1.5rem;
  box-shadow: var(--shadow-cute); transition: transform .3s var(--bounce);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon { width: 48px; height: 48px; border-radius: 1rem; background: var(--gradient-primary); color: white; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.why-card h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.why-card p { font-size: .85rem; color: var(--muted-fg); margin-top: .5rem; }

/* Testimonials */
.t-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
.t-card {
  background: var(--card); border: 1px solid hsl(340 40% 92% / .6);
  border-radius: 1.5rem; padding: 1.75rem; box-shadow: var(--shadow-cute);
  transition: transform .3s var(--bounce);
}
.t-card:hover { transform: translateY(-4px); }
.stars { display: flex; gap: 2px; color: hsl(345 70% 65%); margin-bottom: 1rem; }
.t-quote { font-family: 'Fraunces', serif; font-size: 1.25rem; line-height: 1.3; }
.t-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 600; }
.t-name { font-size: .85rem; font-weight: 600; }
.t-role { font-size: .75rem; color: var(--muted-fg); }

/* Combos */
.combo-card {
  background: var(--gradient-hero);
  border-radius: 3rem; padding: 2rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .combo-card { padding: 4rem; } }
.combo-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .combo-grid { grid-template-columns: 1fr 1fr; } }
.combo-card h2 em { color: hsl(345 70% 60%); font-style: normal; }
.combo-card p { margin: 1.25rem 0; max-width: 28rem; color: var(--muted-fg); }
.combo-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.combo-item {
  background: var(--card); padding: 1.5rem; border-radius: 1.5rem;
  box-shadow: var(--shadow-cute); transition: transform .35s var(--bounce);
}
.combo-item:hover { transform: translateY(-8px) rotate(1deg); }
.combo-icon { width: 48px; height: 48px; border-radius: 1rem; background: var(--primary-glow); color: white; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.combo-item .name { font-family: 'Fraunces', serif; font-size: 1.05rem; line-height: 1.2; }
.combo-item .price { color: hsl(345 70% 60%); font-size: .9rem; margin-top: .25rem; }

/* Contact */
#contact { background: var(--gradient-soft); }
.contact-card {
  max-width: 56rem; margin: 0 auto; background: var(--card);
  border-radius: 2.5rem; padding: 2rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .contact-card { padding: 3.5rem; } }
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-row { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 1rem; }
.info-row.pink { background: hsl(345 100% 94% / .6); }
.info-row.lav { background: hsl(270 50% 92% / .6); }
.info-row.cream { background: var(--cream); }
.info-row .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--gradient-primary); color: white; display: flex; align-items: center; justify-content: center; }
.info-row .label { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-fg); }
.info-row .value { font-family: 'Fraunces', serif; font-size: 1.1rem; line-height: 1.3; display: block; margin-top: .15rem; }

/* Footer */
footer { border-top: 1px solid hsl(340 40% 92% / .6); background: var(--background); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding: 3.5rem 0 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; color: var(--muted-fg); }
.footer-grid ul a:hover { color: hsl(345 70% 60%); }
.footer-tag { color: var(--muted-fg); font-size: .9rem; margin-top: 1rem; max-width: 18rem; }
.socials { display: flex; gap: .75rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--bounce);
}
.socials a:hover { transform: translateY(-4px); }
.soc-ig { background: var(--pink-soft); color: hsl(345 70% 55%); }
.soc-tt { background: var(--secondary); color: var(--secondary-fg); }
.soc-wa { background: var(--sage); color: var(--accent-fg); }
.footer-bottom {
  margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid hsl(340 40% 92% / .6);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  font-size: .75rem; color: var(--muted-fg);
}

/* Sticky mobile order */
.sticky-order { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 30; }
@media (min-width: 640px) { .sticky-order { display: none; } }

/* Petals */
.petals { position: fixed; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -10vh; }
.petal.shape {
  background: hsl(345 80% 78% / .5);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-30deg);
}
.petal.heart svg { color: hsl(345 80% 78% / .55); fill: hsl(345 80% 78% / .45); }

/* Animations */
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float-petal {
  0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) translateX(40px) rotate(360deg); opacity: 0; }
}
@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.heart-emoji { display: inline-block; animation: pulse-heart 1.5s ease-in-out infinite; margin-left: .5rem; }
.petal { animation: float-petal linear infinite; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
