/* ===== jojotalk · styles ===== */
:root {
  --ink: #2a1a3e;
  --ink-soft: #6b5b7e;
  --bg: #fffaf3;
  --bg-alt: #fff2e6;
  --card: #ffffff;
  --primary: #ff5d8f;
  --primary-d: #e8407a;
  --accent: #7c5cff;
  --accent-2: #ffb13c;
  --line: #f0e3d6;
  --shadow: 0 14px 40px rgba(124, 92, 255, .12);
  --shadow-sm: 0 6px 18px rgba(42, 26, 62, .08);
  --radius: 22px;
  --radius-sm: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, .brand__name { font-family: 'Fredoka', sans-serif; font-weight: 600; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--primary); }

.container { width: min(1140px, 92vw); margin-inline: auto; }
.container--narrow { width: min(760px, 92vw); }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--primary); color: #fff;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem;
  border: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 93, 143, .35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--primary-d); box-shadow: 0 12px 26px rgba(255, 93, 143, .45); }
.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn--small { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); color: var(--primary); }

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; }
.brand__mark { font-size: 1.5rem; }
.brand__name { color: var(--ink); }
.brand__name span { color: var(--primary); }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-weight: 700; }
.nav__links a:not(.btn) { color: var(--ink-soft); transition: color .15s; }
.nav__links a:not(.btn):hover { color: var(--primary); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ===== hero ===== */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 2; }
.pill {
  display: inline-block; background: #fff; color: var(--accent);
  font-weight: 800; font-size: .9rem; padding: .4rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.5px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); margin: 1.2rem 0 2rem; max-width: 30ch; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: .6rem; margin-top: 1.8rem; color: var(--ink-soft); font-weight: 600; }
.stars { color: var(--accent-2); letter-spacing: 2px; }

.hero__blob { position: absolute; border-radius: 50%; filter: blur(20px); z-index: 1; opacity: .5; }
.hero__blob--1 { width: 380px; height: 380px; background: radial-gradient(circle, #ffd0e0, transparent 70%); top: -80px; right: -60px; }
.hero__blob--2 { width: 320px; height: 320px; background: radial-gradient(circle, #d9ccff, transparent 70%); bottom: -100px; left: -80px; }

/* ===== phone demo ===== */
.hero__demo { display: flex; justify-content: center; }
.phone {
  position: relative; width: 280px; height: 560px;
  background: linear-gradient(160deg, #2a1a3e, #4a2d6e);
  border-radius: 42px; padding: 14px;
  box-shadow: var(--shadow), 0 0 0 2px rgba(255,255,255,.06);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #1c0f2e; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__screen { width: 100%; height: 100%; background: linear-gradient(180deg, #fff6fb, #fff0e4); border-radius: 30px; overflow: hidden; display: flex; }
.demo { width: 100%; padding: 3rem 1.5rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.demo__avatar { font-size: 4.5rem; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)); }
.demo__label { color: var(--ink-soft); font-weight: 700; margin: .8rem 0 1.4rem; }
.demo__btn {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff; border: none; cursor: pointer; font-weight: 800; font-size: .85rem;
  box-shadow: 0 12px 26px rgba(255, 93, 143, .4);
  transition: transform .15s;
}
.demo__btn:active, .demo__btn.recording { transform: scale(.94); }
.demo__btn.recording { animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(124,92,255,.4);} 50% { box-shadow: 0 0 0 16px rgba(124,92,255,0);} }
.demo__mic { font-size: 2rem; }
.demo__wave { display: flex; gap: 5px; align-items: center; height: 40px; margin: 1.2rem 0 .4rem; opacity: 0; transition: opacity .2s; }
.demo__wave.active { opacity: 1; }
.demo__wave span { width: 5px; height: 8px; background: var(--accent); border-radius: 4px; animation: wave 1s ease-in-out infinite; }
.demo__wave span:nth-child(2){animation-delay:.1s} .demo__wave span:nth-child(3){animation-delay:.2s}
.demo__wave span:nth-child(4){animation-delay:.3s} .demo__wave span:nth-child(5){animation-delay:.4s}
.demo__wave span:nth-child(6){animation-delay:.5s} .demo__wave span:nth-child(7){animation-delay:.6s}
@keyframes wave { 0%,100% { height: 8px; } 50% { height: 34px; } }
.demo__result { margin-top: auto; background: #fff; border-radius: var(--radius-sm); padding: .9rem 1rem; box-shadow: var(--shadow-sm); width: 100%; opacity: 0; transform: translateY(8px); transition: all .3s; }
.demo__result.show { opacity: 1; transform: translateY(0); }
.demo__from { font-size: .8rem; color: var(--ink-soft); }
.demo__to { font-family: 'Fredoka'; font-size: 1.15rem; color: var(--primary); margin-top: .2rem; }

/* ===== trust ===== */
.trust { padding: 1.5rem 0 .5rem; }
.trust__inner { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; color: var(--ink-soft); }
.trust__inner > span { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.trust__logos { display: flex; gap: 2rem; flex-wrap: wrap; }
.trust__logos em { font-family: 'Fredoka'; font-weight: 600; font-size: 1.2rem; color: var(--ink); opacity: .45; }

/* ===== sections ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; margin-bottom: .6rem; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section__head p { color: var(--ink-soft); margin-top: .8rem; font-size: 1.1rem; }

/* ===== grid + cards ===== */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { font-size: 2.2rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); }

/* ===== steps ===== */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; background: var(--card); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg, var(--primary), var(--accent)); color: #fff; font-family: 'Fredoka'; font-size: 1.4rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); }
.step__arrow { display: flex; align-items: center; font-size: 1.8rem; color: var(--primary); font-weight: 800; }

/* ===== pets ===== */
.pets__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: .8rem; }
.checklist li { font-weight: 700; font-size: 1.1rem; }
.pets__copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pets__copy p { color: var(--ink-soft); margin-top: .8rem; font-size: 1.1rem; }
.pets__art { position: relative; min-height: 340px; }
.floaty { position: absolute; font-size: 4rem; background: #fff; width: 110px; height: 110px; border-radius: 28px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.floaty--a { top: 10%; left: 18%; }
.floaty--b { top: 30%; right: 10%; animation-delay: 1s; }
.floaty--c { bottom: 10%; left: 8%; animation-delay: 2s; font-size: 3rem; width: 90px; height: 90px; }
.floaty--d { bottom: 18%; right: 22%; animation-delay: 1.5s; }

/* ===== quotes ===== */
.quote { background: var(--card); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.quote p { margin: .8rem 0; font-size: 1.05rem; }
.quote footer { color: var(--ink-soft); font-weight: 700; font-size: .9rem; }

/* ===== pricing ===== */
.pricing { align-items: stretch; }
.plan { position: relative; background: var(--card); border-radius: var(--radius); padding: 2.2rem 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--primary); box-shadow: var(--shadow); transform: scale(1.03); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-weight: 800; font-size: .78rem; padding: .3rem .9rem; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan__price { font-family: 'Fredoka'; font-size: 2.6rem; color: var(--ink); margin-top: .4rem; }
.plan__price span { font-size: 1rem; color: var(--ink-soft); font-family: 'Nunito'; font-weight: 700; }
.plan__per { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.2rem; }
.plan ul { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.6rem; flex: 1; }
.plan li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); font-weight: 600; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ===== faq ===== */
.faq { display: grid; gap: 1rem; }
.faq__item { background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm); }
.faq__item summary { font-family: 'Fredoka'; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq__item summary::after { content: "+"; color: var(--primary); font-size: 1.6rem; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); margin-top: .8rem; }

/* ===== cta ===== */
.cta { padding: clamp(3.5rem, 7vw, 6rem) 0; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; text-align: center; }
.cta__inner h2 { font-size: clamp(2rem, 5vw, 3rem); }
.cta__inner p { font-size: 1.2rem; margin: 1rem 0 2rem; opacity: .95; }
.cta__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: .7rem; background: #1a1024; color: #fff; padding: .8rem 1.4rem; border-radius: 14px; transition: transform .15s; }
.store:hover { transform: translateY(-3px); }
.store__icon { font-size: 1.6rem; width: 1.6rem; text-align: center; }
.store__icon::before { content: ""; }
.store:first-child .store__icon::before { content: ""; }
.store__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store__text small { font-size: .7rem; opacity: .8; }
.store__text strong { font-family: 'Fredoka'; font-size: 1.1rem; }

/* ===== footer ===== */
.footer { background: #1f1430; color: #cbbfdc; padding: 3rem 0 1.5rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__name { color: #fff; font-size: 1.5rem; }
.footer__brand p { margin-top: .6rem; opacity: .7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__cols h4 { color: #fff; margin-bottom: .8rem; font-size: 1rem; }
.footer__cols a { display: block; padding: .25rem 0; opacity: .75; transition: opacity .15s; }
.footer__cols a:hover { opacity: 1; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: .85rem; opacity: .6; flex-wrap: wrap; gap: .5rem; }

/* ===== reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== responsive ===== */
@media (max-width: 920px) {
  .hero__inner, .pets__inner { grid-template-columns: 1fr; }
  .hero__demo { order: -1; }
  .lede { max-width: none; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: var(--bg); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--line); transform: translateY(-150%); transition: transform .3s; box-shadow: var(--shadow-sm); }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: block; }
  .grid--3 { grid-template-columns: 1fr; }
  .step__arrow { transform: rotate(90deg); }
  .plan--featured { transform: none; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
