:root {
  --color-primary: #e98657;
  --color-primary-dark: #c86e42;
  --color-primary-light: #f7aa78;
  --color-accent-bg: #fff1e7;
  --color-bg-page: #fff8f0;
  --color-bg-card: #fffdf8;
  --color-bg-subtle: #fff4e9;
  --color-text-primary: #5b4535;
  --color-text-heading: #4e3729;
  --color-text-secondary: #8c6a52;
  --color-text-tertiary: #a98972;
  --color-border: #f2dec9;
  --color-success: #6fa462;
  --shadow-card: 0 10px 28px rgba(132, 90, 58, 0.1);
  --shadow-btn: 0 10px 22px rgba(233, 134, 87, 0.24);
  --radius-card: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --container: 1120px;
  --font: "Nunito", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--color-primary-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 210, 174, 0.7), transparent 280px),
    radial-gradient(circle at 88% 18%, rgba(233, 134, 87, 0.14), transparent 320px),
    linear-gradient(180deg, #fff4e7 0%, #fff9f2 42%, #fffdf9 100%);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(242, 222, 201, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
  background: rgba(255, 253, 248, 0.8);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 222, 201, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(154, 111, 78, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--color-text-heading);
  font-size: 18px;
  font-weight: 800;
}

.brand-text small {
  color: var(--color-text-tertiary);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover { color: var(--color-primary); }

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-bg);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.eyebrow.subtle {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.18;
  color: var(--color-text-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 16px rgba(132, 90, 58, 0.06);
  color: var(--color-text-heading);
  font-size: 13px;
  font-weight: 700;
}

.hero-pills img {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

.hero-stage {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 86%;
  height: 78%;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 248, 0.95), transparent 55%),
    linear-gradient(145deg, #ffe8d4, #ffd7bc 50%, #f4c4a0);
  box-shadow: 0 24px 50px rgba(154, 111, 78, 0.16);
  animation: blobPulse 6s ease-in-out infinite;
}

.hero-pet {
  position: relative;
  z-index: 2;
  width: min(420px, 92%);
  filter: drop-shadow(0 18px 28px rgba(132, 90, 58, 0.18));
  animation: floatY 4.5s ease-in-out infinite;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(242, 222, 201, 0.9);
  box-shadow: 0 14px 30px rgba(132, 90, 58, 0.14);
  backdrop-filter: blur(8px);
  animation: floatY 5s ease-in-out infinite;
}

.float-card img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--color-accent-bg);
}

.float-card strong {
  display: block;
  color: var(--color-text-heading);
  font-size: 14px;
  font-weight: 800;
}

.float-card span {
  color: var(--color-text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

.float-card-a {
  left: 0;
  top: 18%;
  animation-delay: -1s;
}

.float-card-b {
  right: 0;
  bottom: 14%;
  animation-delay: -2.2s;
}

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

@keyframes blobPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.03) rotate(2deg); }
}

/* Sections */
.section { padding: 72px 0; }

.section-soft {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.55), rgba(255, 241, 231, 0.75));
}

.section-head {
  text-align: left;
  max-width: 680px;
  margin: 0 0 36px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.5vw, 34px);
  color: var(--color-text-heading);
  padding-left: 14px;
  border-left: 5px solid var(--color-primary);
  font-weight: 800;
  line-height: 1.25;
}

.section-sub {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px 22px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(132, 90, 58, 0.14);
}

.feature-art {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--color-text-heading);
  font-size: 18px;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.check-list {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px dashed rgba(242, 222, 201, 0.8);
}

.check-list li:last-child { border-bottom: 0; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 35%, transparent 36%),
    var(--color-primary);
  box-shadow: 0 4px 10px rgba(233, 134, 87, 0.25);
}

/* Phone mock */
.phone-frame {
  width: min(340px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(160deg, #5b4535, #8c6a52);
  box-shadow: 0 28px 50px rgba(78, 55, 41, 0.22);
}

.phone-notch {
  width: 96px;
  height: 8px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.25);
}

.phone-screen {
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 5%, rgba(245, 210, 174, 0.55), transparent 160px),
    linear-gradient(180deg, #fff4e7 0%, #fff9f2 100%);
  padding: 18px 14px 20px;
  min-height: 520px;
}

.mock-greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.mock-greet strong {
  display: block;
  color: var(--color-text-heading);
  font-size: 18px;
  font-weight: 800;
}

.mock-greet span {
  color: var(--color-text-tertiary);
  font-size: 11px;
  font-weight: 600;
}

.mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.mock-hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 150px;
  padding: 18px 14px;
  margin-bottom: 12px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.85);
  box-shadow: var(--shadow-card);
}

.mock-hero h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--color-text-heading);
}

.mock-hero p {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--color-text-tertiary);
  font-weight: 600;
}

.mock-hero img {
  position: absolute;
  right: -18px;
  bottom: -8px;
  width: 170px;
}

.mock-hero .pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.mock-reserve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, var(--color-accent-bg));
  border: 1px solid rgba(242, 222, 201, 0.7);
  box-shadow: var(--shadow-card);
}

.mock-reserve h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--color-text-heading);
}

.mock-reserve p {
  margin: 0;
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.mock-reserve img { width: 72px; }

.mock-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-mini {
  padding: 14px 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.mock-mini img {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.mock-mini span {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-text-heading);
}

/* Merchant board */
.merchant-board {
  padding: 24px;
}

.board-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.board-head img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-accent-bg);
  padding: 8px;
}

.board-head strong {
  display: block;
  color: var(--color-text-heading);
  font-size: 18px;
  font-weight: 800;
}

.board-head span {
  color: var(--color-text-tertiary);
  font-size: 13px;
  font-weight: 600;
}

.board-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.board-stats > div {
  text-align: center;
  padding: 14px 8px;
  border-radius: 18px;
  background: var(--color-accent-bg);
}

.board-stats img {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
}

.board-stats strong {
  display: block;
  font-size: 24px;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-style: italic;
}

.board-stats span {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 700;
}

.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.board-row img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-bg-subtle);
  padding: 6px;
}

.board-row strong {
  display: block;
  color: var(--color-text-heading);
  font-size: 15px;
  font-weight: 800;
}

.board-row span {
  color: var(--color-text-tertiary);
  font-size: 12px;
  font-weight: 600;
}

/* CTA */
.section-cta { padding-top: 12px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  align-items: center;
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f7aa78, #e98657 48%, #c86e42);
  box-shadow: 0 20px 40px rgba(233, 134, 87, 0.28);
  color: #fff;
}

.cta-pet {
  width: min(280px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 12px 18px rgba(78, 55, 41, 0.2));
}

.cta-copy h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
}

.cta-copy p {
  margin: 0 0 22px;
  opacity: 0.94;
  max-width: 480px;
  font-weight: 600;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 10px 22px rgba(78, 55, 41, 0.16);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.contact-list { margin: 28px 0 0; }

.contact-list div { margin-bottom: 18px; }

.contact-list dt {
  font-size: 13px;
  color: var(--color-text-tertiary);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
  font-size: 16px;
  color: var(--color-text-heading);
  font-weight: 700;
}

.contact-card { padding: 26px; }

.contact-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.contact-brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-accent-bg);
}

.contact-brand h3 {
  margin: 0 0 4px;
  color: var(--color-text-heading);
  font-weight: 800;
}

.contact-brand p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.qr-placeholder {
  min-height: 180px;
  border: 1.5px dashed var(--color-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-text-tertiary);
  background: var(--color-bg-subtle);
  font-weight: 700;
}

.qr-placeholder img {
  width: 72px;
  margin-bottom: 4px;
}

.qr-placeholder small {
  font-size: 12px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 36px 0 44px;
  background: linear-gradient(180deg, #5b4535, #4e3729);
  color: rgba(255, 248, 240, 0.72);
}

.footer-inner { display: grid; gap: 18px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 12px;
  background: #fff;
}

.footer-brand strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
  font-weight: 800;
}

.footer-brand span { font-size: 13px; font-weight: 600; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 248, 240, 0.78);
  font-weight: 700;
  font-size: 14px;
}

.footer-legal {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.footer-legal a {
  color: rgba(255, 248, 240, 0.72);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-note {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 248, 240, 0.55);
}

@media (max-width: 960px) {
  .nav { display: none; }

  .hero-grid,
  .feature-grid,
  .split,
  .contact-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .split.reverse { direction: ltr; }

  .hero-stage { min-height: 360px; }

  .float-card-a { left: 4%; top: 6%; }
  .float-card-b { right: 4%; bottom: 4%; }

  .cta-panel {
    text-align: center;
    padding: 28px 22px;
  }

  .cta-copy p { margin-left: auto; margin-right: auto; }
}
