/* ============ 门店首页 ============ */
.landing-body {
  overflow-x: hidden;
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(217, 164, 65, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(27, 92, 70, 0.08), transparent 60%),
    var(--cream);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(228, 220, 203, 0.7);
  background: rgba(246, 241, 230, 0.82);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-brand img {
  border-radius: 11px;
  box-shadow: 0 7px 16px -7px rgba(18, 59, 46, 0.5);
}

.site-brand-text {
  display: flex;
  flex-direction: column;
}

.site-brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.site-brand-text small {
  color: var(--muted);
  font-size: 7.5px;
  letter-spacing: 0.16em;
}

.site-links {
  display: flex;
  gap: 26px;
  margin-left: 26px;
  color: var(--ink-soft);
  font-size: 12px;
}

.site-links a:hover {
  color: var(--green);
}

.nav-admin {
  margin-left: auto;
  padding: 9px 13px;
  font-size: 11.5px;
}

.nav-admin .icon {
  width: 14px;
  height: 14px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 34px;
  align-items: center;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 66px 24px 38px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.7);
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43a874;
  box-shadow: 0 0 0 3px rgba(67, 168, 116, 0.14);
}

.hero-copy h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.23;
  letter-spacing: -0.01em;
}

.accent {
  position: relative;
  color: var(--green);
  white-space: nowrap;
}

.accent::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  z-index: -1;
  height: 9px;
  border-radius: 2px;
  background: rgba(217, 164, 65, 0.32);
  content: "";
}

.hero-sub {
  max-width: 520px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.hero-actions .btn {
  padding-inline: 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 10.5px;
}

.hero-meta strong {
  margin-right: 2px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- Hero 手机插画 ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 570px;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.28), rgba(27, 92, 70, 0.08) 55%, transparent 72%);
  transform: translate(-50%, -50%);
  filter: blur(6px);
}

.mock-phone {
  position: relative;
  z-index: 2;
  width: 312px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 38px;
  background: #f9f5eb;
  box-shadow:
    0 50px 90px -35px rgba(20, 42, 30, 0.5),
    0 0 0 1px rgba(18, 59, 46, 0.06);
  transform: rotate(-1.4deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-phone:hover {
  transform: rotate(0deg) translateY(-4px);
}

.mock-notch {
  width: 72px;
  height: 5px;
  margin: 4px auto 8px;
  border-radius: 99px;
  background: #ded5c4;
}

.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px 10px;
}

.mock-head img {
  border-radius: 9px;
}

.mock-head > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mock-head strong {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.mock-head small {
  color: var(--muted);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.mock-table {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  font-size: 8px;
  font-weight: 700;
}

.mock-call {
  position: relative;
  margin: 0 4px;
  padding: 13px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(217, 164, 65, 0.3), transparent 50%),
    linear-gradient(145deg, #174735, #123b2e 65%);
  color: var(--paper);
}

.mock-eyebrow {
  color: #e3bd7f;
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.mock-call h3 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.36;
}

.mock-call-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 10px;
}

.mock-call-grid div {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgba(255, 253, 247, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.075);
}

.mock-call-grid div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.mock-call-grid span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 253, 247, 0.1);
  font-size: 9px;
}

.mock-call-grid em {
  color: rgba(255, 253, 247, 0.82);
  font-size: 7px;
  font-style: normal;
  white-space: nowrap;
}

.mock-menu-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 7px 3px;
}

.mock-menu-title strong {
  font-size: 10px;
  font-weight: 700;
}

.mock-menu-title span {
  color: var(--muted);
  font-size: 6px;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px;
  border-bottom: 1px dashed var(--line);
}

.mock-thumb {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 16px;
}

.mock-item-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.mock-item-text strong {
  font-size: 8.5px;
  font-weight: 600;
}

.mock-item-text small {
  overflow: hidden;
  color: var(--muted);
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-item-text b {
  margin-top: 1px;
  font-size: 8.5px;
  font-weight: 700;
}

.mock-add {
  display: grid;
  flex: none;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--paper);
  font-size: 12px;
  line-height: 1;
}

.mock-cart {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 4px 4px;
  padding: 8px 9px;
  border-radius: 11px;
  background: var(--green-deep);
  color: var(--paper);
}

.mock-cart-count {
  font-size: 7.5px;
}

.mock-cart b {
  margin-left: auto;
  font-size: 9px;
}

.mock-cart em {
  padding: 4px 7px;
  border-radius: 5px;
  background: #f2e3c6;
  color: #40311b;
  font-size: 6.5px;
  font-style: normal;
  font-weight: 700;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 11px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  box-shadow: 0 16px 30px -16px rgba(20, 40, 30, 0.35);
  backdrop-filter: blur(8px);
  animation: chip-float 5s ease-in-out infinite;
}

.float-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.chip-a {
  top: 120px;
  left: max(6px, calc(50% - 230px));
}

.chip-b {
  right: max(6px, calc(50% - 240px));
  bottom: 150px;
  animation-delay: -2.2s;
  color: var(--green);
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- 功能 ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 28px 24px 44px;
}

.feature-card {
  position: relative;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-num {
  position: absolute;
  top: 10px;
  right: 16px;
  color: rgba(27, 92, 70, 0.09);
  font-family: var(--font-display);
  font-size: 47px;
  font-weight: 600;
  line-height: 1;
}

.feature-ico {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
}

.feature-ico.warm {
  background: var(--orange-soft);
  color: var(--orange);
}

.feature-ico.blue {
  background: #e6eef6;
  color: #4c7c9e;
}

.feature-card h3 {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

/* ---------- 体验 ---------- */
.demo-section {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.demo-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(217, 164, 65, 0.26), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(224, 122, 63, 0.15), transparent 55%),
    linear-gradient(145deg, #174735, #123b2e 65%, #0f3127);
  color: var(--paper);
  box-shadow: 0 30px 70px -30px rgba(15, 51, 40, 0.55);
}

.demo-panel::before {
  position: absolute;
  top: -120px;
  right: 18%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 253, 247, 0.1);
  border-radius: 50%;
  content: "";
}

.demo-copy {
  position: relative;
  z-index: 1;
}

.demo-copy .eyebrow {
  color: #e3bd7f;
}

.demo-copy h2 {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.35;
}

.demo-copy > p {
  max-width: 520px;
  margin-top: 10px;
  color: rgba(255, 253, 247, 0.62);
  font-size: 12px;
  line-height: 1.9;
}

.demo-copy code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 253, 247, 0.12);
  color: #f0d19b;
  font-family: var(--font-mono);
  font-size: 11px;
}

.table-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.table-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 9px;
  background: rgba(255, 253, 247, 0.07);
  color: rgba(255, 253, 247, 0.85);
  font-size: 10.5px;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.table-link em {
  color: rgba(255, 253, 247, 0.4);
  font-size: 8px;
  font-style: normal;
}

.table-link:hover {
  border-color: rgba(255, 253, 247, 0.36);
  background: rgba(255, 253, 247, 0.14);
}

.loading-line {
  color: rgba(255, 253, 247, 0.45);
  font-size: 10.5px;
}

.demo-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 253, 247, 0.45) !important;
  font-size: 9.5px !important;
}

.demo-hint .icon {
  width: 13px;
  height: 13px;
}

.demo-qr {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 244px;
  max-width: 100%;
  justify-self: end;
  padding: 14px;
  border-radius: 19px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35);
}

.qr-frame {
  display: grid;
  width: 100%;
  place-items: center;
  padding: 8px;
  border-radius: 12px;
  background: #fbf7ed;
}

.qr-frame img {
  width: 180px;
  height: 180px;
}

.demo-qr strong {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
}

/* ---------- 流程 ---------- */
.flow-section {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 46px 24px 30px;
}

.flow-head {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.flow-head .eyebrow {
  color: var(--orange);
}

.flow-head h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
}

.flow-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
}

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 36px;
}

.flow-grid::before {
  position: absolute;
  top: 17px;
  right: 16%;
  left: 16%;
  border-top: 1px dashed var(--line-strong);
  content: "";
}

.flow-step {
  position: relative;
  padding-top: 45px;
}

.flow-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.flow-step h3 {
  font-size: 14px;
  font-weight: 700;
}

.flow-step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

/* ---------- CTA ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1200px, calc(100% - 48px));
  margin: 40px auto 60px;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(80% 150% at 100% 0%, rgba(217, 164, 65, 0.12), transparent 60%),
    var(--paper);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
}

.cta-band p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
}

.cta-actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.btn-cream {
  background: var(--green-deep);
  color: var(--paper);
}

.btn-cream:hover {
  background: var(--green);
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--cream);
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 24px 24px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
}

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

.footer-brand img {
  border-radius: 8px;
}

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

.footer-links a:hover {
  color: var(--green);
}

.footer-note {
  margin-left: auto;
  font-size: 8.5px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    max-width: 600px;
  }

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

  .hero-visual {
    min-height: 580px;
    margin-top: 8px;
  }

  .demo-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 32px;
    text-align: center;
  }

  .demo-copy > p {
    margin-inline: auto;
  }

  .table-links {
    justify-content: center;
  }

  .demo-hint {
    justify-content: center;
  }

  .demo-qr {
    justify-self: center;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 14px;
    align-items: start;
  }

  .feature-num {
    top: 6px;
  }

  .feature-card h3 {
    margin-top: 2px;
  }

  .feature-card p {
    grid-column: 2;
    margin-top: 4px;
  }

  .feature-ico {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .site-nav {
    height: 62px;
    padding-inline: 16px;
    gap: 12px;
  }

  .site-brand-text small,
  .site-links {
    display: none;
  }

  .nav-admin {
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero {
    padding: 34px 16px 20px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

  .hero-sub {
    font-size: 12.5px;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .mock-phone {
    width: 285px;
    transform: none;
  }

  .chip-a {
    top: 50px;
    left: 0;
  }

  .chip-b {
    right: 0;
    bottom: 90px;
  }

  .feature-strip,
  .demo-section,
  .flow-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .demo-panel {
    padding: 24px 18px;
    gap: 24px;
    border-radius: 22px;
  }

  .demo-copy h2 {
    font-size: 27px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flow-grid::before {
    display: none;
  }

  .flow-step {
    padding-top: 0;
    padding-left: 48px;
  }

  .flow-num {
    top: 0;
  }

  .flow-head h2 {
    font-size: 28px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 32px);
    padding: 24px 20px;
    margin-bottom: 40px;
  }

  .cta-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-note {
    width: 100%;
    margin-left: 0;
  }
}
