/* =========================================================
   PetnotePlus — LP v2 components (problem → solution layout)
   Loaded AFTER lp.css on every language's lp/index.html.
   Mobile-first: 375px → 768px → 1024px+.
   ========================================================= */

:root {
  --coral-soft: #FFE3DC;
  --peach-soft: #FFEBD2;
  --mint-soft: #DDF3EA;
  --star: #FFB400;
}

h1, h2, h3 { text-wrap: balance; }
/* Korean wraps between words, not syllables */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
.section-head h2 { margin-bottom: .4em; }

/* ---------- Device frame for raw app screens ---------- */
.hero-visual > img,
.feature-media img,
.final-cta-v2 .final-visual img {
  border: 7px solid #2B2522;
  border-radius: 34px;
  background: #fff;
}
.step-thumb {
  width: 130px;
  border: 4px solid #2B2522;
  border-radius: 20px;
  background: #fff;
}

/* ---------- Header ---------- */
.brand span { white-space: nowrap; }
.site-header .main-nav { display: none; }

/* ---------- Hero ---------- */
.hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 28px 0 56px;
}
.hero-kicker {
  display: inline-block;
  background: #fff;
  color: var(--coral-dark);
  font-weight: 800;
  font-size: .85rem;
  line-height: 1.5;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin: 0 0 14px;
}
.hero-v2 h1 {
  font-size: 1.85rem;
  line-height: 1.4;
  margin-bottom: .5em;
}
.h1-brand {
  display: block;
  font-size: .52em;
  color: var(--coral);
  letter-spacing: .08em;
  margin-bottom: .35em;
}
.hero-v2 h1 em {
  font-style: normal;
  background: linear-gradient(transparent 64%, #FFD3A8 64%);
}
.hero-v2 .lead { font-size: 1rem; line-height: 1.85; }

.hero-proof {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 440px;
}
.hero-proof li {
  margin: 0;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  line-height: 1.35;
}
.hero-proof strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--coral-dark);
}
.hero-proof span { font-size: .72rem; font-weight: 700; color: #5c5148; }
.hero-proof .stars { color: var(--star); letter-spacing: .05em; }

/* Phone with floating UI chips */
.hero-visual {
  position: relative;
  isolation: isolate;
  width: 230px;
  margin: 8px auto 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -30%;
  border-radius: 50%;
  background: radial-gradient(circle, #FFCDB8 0%, rgba(255, 205, 184, 0) 68%);
}
.hero-visual > img {
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px 12px;
  font-weight: 800;
  font-size: .78rem;
  line-height: 1.3;
  white-space: nowrap;
  animation: chip-float 5s ease-in-out infinite;
}
.float-chip .ci { font-size: 1.2rem; line-height: 1; }
.float-chip small { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); }
.chip-1 { top: 31%; left: -26%; }
.chip-2 { top: 49%; right: -28%; animation-delay: -1.6s; }
.chip-3 { top: 67%; left: -22%; animation-delay: -3.2s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Decorative paw prints */
.deco-paw {
  position: absolute;
  z-index: 0;
  width: 56px;
  fill: var(--coral);
  opacity: .1;
  pointer-events: none;
}
.deco-paw.p1 { top: 18px; right: 6%; transform: rotate(18deg); }
.deco-paw.p2 { bottom: 26px; left: 4%; width: 40px; transform: rotate(-22deg); }
.deco-paw.p3 { top: 46%; left: 46%; width: 32px; transform: rotate(8deg); display: none; }
.hero-v2 .container { position: relative; z-index: 1; }

/* ---------- Pet chips ---------- */
.pet-strip {
  background: #fff;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  text-align: center;
}
.pet-strip p {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: .9rem;
  color: #5c5148;
}
.pet-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pet-chips li {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
  font-size: .85rem;
}

/* ---------- Pain points ---------- */
.pain {
  position: relative;
  background: linear-gradient(180deg, #FF8C7A 0%, #F26D6D 100%);
  padding: 52px 0 72px;
}
.pain .section-head h2 { color: #fff; }
.pain .section-head p { color: rgba(255, 255, 255, .92); }
.pain-grid {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.pain-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px 14px 12px;
  box-shadow: 0 10px 28px rgba(120, 30, 20, .18);
}
.pain-card img { width: 82px; flex-shrink: 0; }
.pain-card p {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.6;
}
.pain-card p small {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  font-size: .84rem;
  color: var(--muted);
}
/* Downward pointer into the solution section */
.pain::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -27px;
  transform: translateX(-50%);
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 28px solid #F26D6D;
}

/* ---------- Solution + feature rows ---------- */
.solve { padding-top: 72px; }
.solve-head h2 { font-size: 1.6rem; }
.brandmark {
  color: var(--coral);
  white-space: nowrap;
}
.feature-rows { display: grid; gap: 56px; }
.feature-row { display: grid; gap: 22px; align-items: center; }
.feature-media {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.feature-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 6%;
  border-radius: 40px;
  background: var(--coral-soft);
}
.tint-peach .feature-media::before { background: var(--peach-soft); }
.tint-mint .feature-media::before { background: var(--mint-soft); }
.feature-media img {
  width: 200px;
  box-shadow: var(--shadow-lg);
}
.feature-media.duo img:first-child {
  width: 160px;
  margin-right: -44px;
  transform: rotate(-6deg) translateY(18px);
}
.feature-media.duo img + img { position: relative; }
.feature-media .chip-share { top: 12%; right: 4%; z-index: 1; }

.feature-label {
  display: inline-block;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-weight: 800;
  font-size: .82rem;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.feature-text h3 { font-size: 1.4rem; margin-bottom: .45em; }
.feature-text > p { color: #4d443c; margin-bottom: .8em; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 8px 0;
  font-weight: 700;
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.more-features {
  margin-top: 48px;
  text-align: center;
}
.more-features h3 { font-size: 1.1rem; }
.more-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.more-features li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: var(--shadow);
}

/* ---------- Scenes ---------- */
.scene-grid { display: grid; gap: 14px; }
.scene-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.scene-card img { width: 52px; flex-shrink: 0; }
.scene-card h3 { font-size: 1.06rem; color: var(--coral-dark); margin: 0 0 .2em; }
.scene-card p { margin: 0; font-size: .94rem; color: #574d45; }
.scene-card.scene-cta {
  background: linear-gradient(135deg, #F26D6D 0%, #F0913F 100%);
  border: none;
  color: #fff;
  align-items: center;
}
.scene-cta h3, .scene-cta p { color: #fff; }
.scene-cta a { color: #fff; font-weight: 800; text-decoration: underline; }
.scene-cta .si { font-size: 2.4rem; line-height: 1; flex-shrink: 0; }

/* ---------- Stats + voices ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 0 auto 40px;
  list-style: none;
  padding: 0;
}
.stats li {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 8px;
  text-align: center;
  line-height: 1.4;
}
.stats strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1.15;
}
.stats strong small { font-size: .55em; }
.stats span { font-size: .8rem; font-weight: 700; color: #5c5148; }

.voice-grid {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  margin: 0;
}
.voice-card::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 18px;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--coral);
  opacity: .18;
}
.voice-card .stars { color: var(--star); letter-spacing: .12em; font-size: 1.05rem; margin: 0; }
.voice-card blockquote {
  flex: 1;
  margin: 8px 0 16px;
  font-size: .96rem;
  color: #3f372f;
}
.voice-card blockquote p { margin: 0; }
.voice-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: .9rem;
}
.voice-who img { width: 40px; height: 40px; border-radius: 50%; }
.voices-note {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin: 18px 0 0;
}

/* ---------- Mid / final CTA ---------- */
.download-strip .badge-link img,
.final-cta .badge-link img { border-radius: 10px; }
.final-cta-v2 .final-inner { display: grid; gap: 28px; align-items: center; }
.final-cta-v2 h2 { font-size: 1.6rem; }
.final-cta-v2 .final-visual img {
  width: 190px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.final-cta-v2 .free-note {
  display: inline-block;
  font-weight: 800;
  color: var(--coral-dark);
  margin-bottom: 8px;
}

/* ---------- Sticky download bar (mobile only) ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 18px;
  padding: 10px 10px 10px 12px;
  box-shadow: 0 12px 32px rgba(38, 33, 29, .22);
  transform: translateY(160%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta img { width: 40px; height: 40px; border-radius: 10px; }
.sticky-cta p { flex: 1; margin: 0; font-size: .74rem; line-height: 1.4; color: var(--muted); font-weight: 700; }
.sticky-cta p strong { display: block; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.sticky-cta .btn { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

/* =========================================================
   768px (tablet)
   ========================================================= */
@media (min-width: 768px) {
  .hero-v2 { padding: 56px 0 72px; }
  .hero-v2 h1 { font-size: 2.3rem; }
  .hero-visual { width: 250px; margin-right: 70px; }
  .deco-paw.p3 { display: block; }

  .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pain-card img { width: 92px; }

  .solve-head h2 { font-size: 2rem; }
  .feature-rows { gap: 72px; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-row:nth-child(even) .feature-media { order: 2; }
  .feature-media img { width: 220px; }

  .scene-grid { grid-template-columns: repeat(2, 1fr); }

  .stats { grid-template-columns: repeat(4, 1fr); }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }

  .final-cta-v2 .final-inner {
    grid-template-columns: 1.4fr 1fr;
    text-align: left;
    max-width: 880px;
    margin: 0 auto;
  }
  .final-cta-v2 p { margin-left: 0; }
  .final-cta-v2 .trust-row { justify-content: flex-start; }
  .final-cta-v2 h2 { font-size: 2rem; }

  .sticky-cta { display: none; }
}

/* =========================================================
   1024px+ (desktop)
   ========================================================= */
@media (min-width: 1024px) {
  .hero-v2 h1 { font-size: 2.9rem; }
  .hero-v2 .lead { font-size: 1.08rem; }
  .hero-visual { width: 270px; margin-right: 100px; }

  .feature-row { gap: 64px; }
  .feature-media img { width: 240px; }
  .feature-media.duo img:first-child { width: 190px; }
  .feature-text h3 { font-size: 1.65rem; }

  .site-header .main-nav { display: block; }
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
  .stats strong { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
}
