/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 48px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 248, 240, 0.85); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(139, 111, 94, 0.06);
}
.logo {
  font-family: 'Baloo 2', cursive; font-size: 30px; font-weight: 800;
  color: var(--dark-choc); text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.logo-icon { width: 36px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--soft-brown); text-decoration: none; transition: color 0.3s; }
.nav-link:hover { color: var(--dark-choc); }
.nav-cta {
  font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 600;
  padding: 10px 28px; background: var(--warm-pink); color: var(--white);
  border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.nav-cta:hover { background: #e85a79; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255,107,138,0.25); }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 160px 24px 100px; position: relative; z-index: 1;
  overflow: visible;
}
.hero-content { max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--dark-choc); letter-spacing: 0.02em;
  background: var(--white); padding: 10px 24px; border-radius: 50px;
  margin-bottom: 32px; border: 2px solid var(--dark-choc);
  box-shadow: 3px 3px 0 var(--dark-choc);
  opacity: 0; animation: fadeUp 0.6s ease 0.2s forwards;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-badge:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--dark-choc); }
.badge-pin { color: var(--warm-pink); flex-shrink: 0; }

.hero h1 {
  font-family: 'Fredoka', sans-serif; font-size: clamp(44px, 7vw, 78px);
  font-weight: 700; line-height: 1.06; color: var(--dark-choc);
  margin-bottom: 28px; opacity: 0; animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero h1 .highlight { color: var(--warm-pink); position: relative; display: inline-block; }
.hero h1 .highlight::after {
  content: ''; position: absolute; bottom: 4px; left: -6px; right: -6px;
  height: 14px; background: rgba(255,107,138,0.12); border-radius: 6px; z-index: -1;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px); font-weight: 300; line-height: 1.7;
  color: var(--soft-brown); max-width: 560px; margin: 0 auto 48px;
  opacity: 0; animation: fadeUp 0.6s ease 0.6s forwards;
}
.hero-cta-group {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.6s ease 0.8s forwards;
}
.hero-hand {
  font-family: 'Kalam', cursive; font-size: 18px; font-weight: 400;
  color: var(--warm-pink); margin-top: 24px; opacity: 0;
  animation: fadeUp 0.6s ease 1s forwards;
  transform: rotate(-2deg);
}

/* What We Do */
.what-section { background: var(--white); border-top: 1px solid rgba(139,111,94,0.06); border-bottom: 1px solid rgba(139,111,94,0.06); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.what-visual {
  background: linear-gradient(145deg, var(--frosting), #fff5eb);
  border-radius: 32px; padding: 40px 28px; position: relative; overflow: visible;
}
.what-visual-line {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: var(--white); border-radius: 16px;
  margin-bottom: 12px; box-shadow: 0 2px 12px var(--shadow); transition: transform 0.3s;
}
.what-visual-line:hover { transform: translateX(6px); }
.what-visual-line:last-child { margin-bottom: 0; }
.line-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.line-icon.i-cal { background: rgba(255,107,138,0.1); }
.line-icon.i-cake { background: rgba(255,176,136,0.15); }
.line-icon.i-truck { background: rgba(168,230,207,0.2); }
.line-icon.i-check { background: rgba(135,206,235,0.15); }
.line-content { flex: 1; }
.line-label { font-size: 11px; font-weight: 600; color: var(--soft-brown); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.line-value { font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 500; color: var(--dark-choc); }
.line-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.line-dot.green { background: var(--mint); }
.line-dot.amber { background: var(--peach); }

.what-copy h2 { font-family: 'Fredoka', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--dark-choc); margin-bottom: 24px; line-height: 1.15; }
.what-copy p { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--soft-brown); margin-bottom: 18px; }
.what-copy p:last-child { margin-bottom: 0; }
.what-copy p strong { font-weight: 600; color: var(--dark-choc); }
.what-hand { font-family: 'Kalam', cursive; font-size: 17px; color: var(--warm-pink); font-weight: 400; display: block; margin-top: 8px; }

/* Integrations */
.integrations-section { background: var(--dark-choc); color: var(--cream); position: relative; }
.integrations-section::before {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--dark-choc);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50 C80 50 80 8 160 8 C240 8 240 50 320 50 C400 50 400 12 480 12 C560 12 560 50 640 50 C720 50 720 6 800 6 C880 6 880 50 960 50 C1040 50 1040 10 1120 10 C1160 10 1200 30 1200 50Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'%3E%3Cpath d='M0 50 C80 50 80 8 160 8 C240 8 240 50 320 50 C400 50 400 12 480 12 C560 12 560 50 640 50 C720 50 720 6 800 6 C880 6 880 50 960 50 C1040 50 1040 10 1120 10 C1160 10 1200 30 1200 50Z' fill='black'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  z-index: 1;
}
.integrations-marquee { overflow: hidden; }
.integrations-section .section-tag { color: var(--peach); }
.integrations-section .section-title { color: var(--cream); }
.integrations-section .section-desc { color: rgba(255,248,240,0.6); }
.integrations-marquee { margin-top: 56px; }
.integrations-toggle {
  text-align: center; margin-top: 40px;
}

/* Waitlist */
.waitlist-section { background: linear-gradient(160deg, var(--frosting) 0%, var(--cream) 50%, rgba(168,230,207,0.15) 100%); }
.waitlist-wrap { max-width: 580px; margin: 0 auto; text-align: center; position: relative; overflow: visible; }
.waitlist-form { display: flex; gap: 12px; margin-top: 8px; }
.waitlist-form input[type="email"] {
  font-family: 'Outfit', sans-serif; font-size: 16px; padding: 18px 28px;
  border: 1.5px solid rgba(139,111,94,0.12); border-radius: 50px;
  background: var(--white); color: var(--dark-choc); flex: 1; outline: none; transition: border-color 0.3s;
}
.waitlist-form input[type="email"]:focus { border-color: var(--warm-pink); }
.waitlist-form input[type="email"]::placeholder { color: rgba(139,111,94,0.4); }
.waitlist-note { font-size: 13px; color: rgba(139,111,94,0.4); margin-top: 16px; }
.waitlist-hand { font-family: 'Kalam', cursive; font-size: 15px; color: var(--warm-pink); margin-top: 8px; }
.form-success { display: none; font-family: 'Fredoka', sans-serif; font-size: 22px; color: var(--warm-pink); margin-top: 28px; }

/* Footer */
footer {
  padding: 64px 48px 40px; position: relative; z-index: 1;
  border-top: 1px solid rgba(139,111,94,0.06);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 300px; }
.footer-logo-text { font-family: 'Baloo 2', cursive; font-size: 28px; font-weight: 800; color: var(--dark-choc); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 4px; }
.footer-desc { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--soft-brown); }
.footer-col h4 { font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 600; color: var(--dark-choc); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; font-weight: 400; color: var(--soft-brown); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--warm-pink); }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid rgba(139,111,94,0.06); }
.footer-bottom p { font-size: 13px; color: rgba(139,111,94,0.4); }
.footer-hand { font-family: 'Kalam', cursive; font-size: 14px; color: var(--warm-pink); margin-top: 8px; display: block; }

/* Responsive */
@media (max-width: 900px) {
  .steps-flow { flex-direction: column; gap: 0; }
  .flow-step { max-width: 100%; }
  .flow-arrow { padding: 12px 0; display: flex; justify-content: center; }
  .flow-arrow path { transform: rotate(90deg); transform-origin: 20px 20px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .what-grid { grid-template-columns: 1fr; }
  .what-visual { order: -1; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-top { flex-direction: column; }
  .hero-mascot { width: 100px; right: 5px; bottom: 5%; }
  .what-visual-mascot { width: 70px; right: -14px; bottom: -18px; }
  .waitlist-mascot { display: none; }
}
@media (max-width: 640px) {
  .integrations-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .integrations-grid.visible { max-height: 1400px; }
  .integrations-marquee { margin-top: 28px; }
  .integrations-section .section-header { margin-bottom: 0; }
  .hero-hand { font-size: 14px; white-space: nowrap; }
  nav { padding: 14px 20px; }
  .nav-link { display: none; }
  .logo { font-size: 26px; }
  .section { padding: 80px 20px; }
  .hero { padding: 120px 20px 70px; }
  .hero-diorama { margin-top: 36px; border-radius: 20px; }
  .diorama-mascot { width: 16%; }
  .diorama-heart:nth-child(1) { width: 20px; height: 20px; }
  .diorama-heart:nth-child(2) { width: 16px; height: 16px; }
  .diorama-heart:nth-child(3) { width: 14px; height: 14px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn-primary { justify-content: center; }
  .intro-scene { width: 300px; height: 300px; }
  .skip-intro { bottom: 24px; right: 24px; }
  footer { padding: 48px 20px 32px; }
  .hero-mascot { display: none; }
  .what-visual-mascot { display: none; }
  .what-section { display: none !important; }
}
