/* fruitfusion — all lowercase, candy energy */

:root {
  --strawberry: #ff4d6d;
  --orange: #ff9f1c;
  --lemon: #ffd60a;
  --lime: #80ed99;
  --grape: #9b5de5;
  --cherry: #e63946;
  --bg: #fff8f0;
  --bg-dark: #1a1a2e;
  --text: #2d2d2d;
  --text-light: #5c5c5c;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(0,0,0,0.08);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  text-transform: lowercase;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ---------- particles ---------- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.35;
  animation: float-up linear infinite;
  user-select: none;
}

@keyframes float-up {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.logo-icon {
  font-size: 1.6rem;
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:not(.btn) {
  position: relative;
  transition: color 0.2s;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--strawberry);
  transition: width 0.25s;
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--strawberry), var(--orange));
  color: white;
  box-shadow: 0 6px 20px rgba(255, 77, 109, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255, 77, 109, 0.45);
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(0,0,0,0.12);
  color: var(--text);
}

.btn-small {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  background: var(--grape);
  color: white;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 6rem;
  background: linear-gradient(160deg, #fff0f5 0%, #fff8e7 40%, #f0fff4 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--strawberry);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.rainbow-text {
  background: linear-gradient(
    90deg,
    var(--strawberry),
    var(--orange),
    var(--lemon),
    var(--lime),
    var(--grape)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-shift 4s linear infinite;
}

@keyframes rainbow-shift {
  to { background-position: 200% center; }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 32ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.candy-stack {
  position: relative;
  width: 280px;
  height: 280px;
}

.candy {
  position: absolute;
  font-size: 3.2rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
  animation: candy-float 3.5s ease-in-out infinite;
}

.candy.c1 { top: 10%; left: 20%; animation-delay: 0s; }
.candy.c2 { top: 5%; right: 15%; animation-delay: 0.4s; font-size: 2.8rem; }
.candy.c3 { top: 40%; left: 5%; animation-delay: 0.8s; font-size: 3rem; }
.candy.c4 { top: 35%; right: 5%; animation-delay: 1.2s; }
.candy.c5 { bottom: 15%; left: 25%; animation-delay: 0.6s; font-size: 2.6rem; }
.candy.c6 { bottom: 10%; right: 20%; animation-delay: 1s; font-size: 3.4rem; }

@keyframes candy-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-14px) rotate(5deg); }
}

.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  color: var(--bg);
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: 70px;
}

/* ---------- sections ---------- */
.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ---------- flavors ---------- */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}

.flavor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.flavor-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.flavor-emoji {
  font-size: 3.2rem;
  margin-bottom: 0.8rem;
  display: block;
  transition: transform 0.3s;
}

.flavor-card:hover .flavor-emoji {
  transform: scale(1.15) rotate(8deg);
}

.flavor-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.flavor-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 0.9rem;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f0f0f0;
  color: var(--text-light);
}

.flavor-card[data-color="strawberry"] { border-color: #ffd6de; }
.flavor-card[data-color="strawberry"] .tag { background: #ffe0e6; color: var(--strawberry); }

.flavor-card[data-color="citrus"] { border-color: #ffe8c5; }
.flavor-card[data-color="citrus"] .tag { background: #fff0d6; color: #d97706; }

.flavor-card[data-color="tropical"] { border-color: #d4f5e0; }
.flavor-card[data-color="tropical"] .tag { background: #e0f8e8; color: #059669; }

.flavor-card[data-color="grape"] { border-color: #e8d9ff; }
.flavor-card[data-color="grape"] .tag { background: #f0e6ff; color: var(--grape); }

.flavor-card[data-color="apple"] { border-color: #d5f5d5; }
.flavor-card[data-color="apple"] .tag { background: #e4f8e4; color: #16a34a; }

.flavor-card[data-color="cherry"] { border-color: #ffd4d8; }
.flavor-card[data-color="cherry"] .tag { background: #ffe0e3; color: var(--cherry); }

/* ---------- about ---------- */
.about {
  background: linear-gradient(180deg, #f8f0ff 0%, var(--bg) 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
  max-width: 48ch;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--grape);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  font-weight: 600;
  transition: transform 0.2s;
}

.story-card:hover {
  transform: translateX(6px);
}

.story-emoji {
  font-size: 1.8rem;
}

/* ---------- fun ---------- */
.fun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.3rem;
}

.fun-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.fun-card:hover {
  transform: translateY(-4px);
}

.fun-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.7rem;
}

.fun-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.fun-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ---------- contact ---------- */
.contact {
  padding-bottom: 6rem;
}

.contact-inner {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: linear-gradient(145deg, #fff 0%, #fff5f8 100%);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  width: min(560px, 100%);
  box-shadow: 0 20px 50px rgba(255, 77, 109, 0.12);
  text-align: center;
  border: 1px solid rgba(255, 77, 109, 0.1);
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.contact-card > p {
  color: var(--text-light);
  margin-bottom: 1.6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #eee;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: white;
  transition: border-color 0.2s;
  text-transform: lowercase;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--strawberry);
}

.contact-form button {
  margin-top: 0.4rem;
  width: 100%;
}

.form-note {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--grape);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 2.5rem 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}

.footer-tag {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.55;
  margin-top: 0.4rem;
}

/* ---------- responsive ---------- */
@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .candy-stack {
    width: 220px;
    height: 220px;
  }

  .candy {
    font-size: 2.4rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-text {
    text-align: center;
  }

  .about-text p {
    margin-inline: auto;
  }

  .stats {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
