/* ============ 基础与变量 ============ */
:root {
  --primary: #0369a1;
  --primary-light: #0ea5e9;
  --primary-dark: #075985;
  --cyan: #22d3ee;
  --ink: #0f2540;
  --text: #45607d;
  --muted: #7d93a9;
  --bg: #ffffff;
  --bg-alt: #f2f9fd;
  --border: #e3eef6;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(3, 105, 161, .10);
  --shadow-lg: 0 20px 60px rgba(3, 105, 161, .16);
  --gradient: linear-gradient(120deg, #0ea5e9 0%, #0369a1 60%, #06b6d4 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 165, 233, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14, 165, 233, .45); }

.btn-ghost {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .28); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
}
.btn-outline:hover { background: var(--primary-light); color: #fff; }

.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ 顶部通栏 ============ */
.topbar {
  background: var(--gradient);
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a:hover { text-decoration: underline; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.divider { opacity: .5; }

/* ============ 导航栏 ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(3, 105, 161, .10); border-color: var(--border); }

.nav-inner { display: flex; align-items: center; gap: 32px; padding: 14px 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { display: grid; place-items: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; color: var(--ink); }
.logo-text strong { font-size: 22px; letter-spacing: 2px; }
.logo-text em { font-style: normal; font-size: 10px; letter-spacing: 2.5px; color: var(--primary-light); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2.5px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { padding: 10px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: all .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ 英雄区 ============ */
.hero {
  position: relative;
  background: var(--gradient);
  color: #fff;
  padding: 90px 0 140px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 85% 20%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(ellipse 500px 500px at 10% 90%, rgba(34, 211, 238, .25), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 14px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.28; color: #fff; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(90deg, #a5f3fc, #67e8f9, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 17px; max-width: 540px; color: rgba(255, 255, 255, .88); margin-bottom: 32px; }
.hero p strong { color: #a5f3fc; font-size: 20px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; color: #fff; font-family: Georgia, serif; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .75); }

.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(2, 52, 84, .45);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}
.hero-card {
  position: absolute;
  left: -28px; bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.hero-card .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, .18);
  flex-shrink: 0;
}
.hero-card b { display: block; font-size: 14px; }
.hero-card small { color: var(--muted); font-size: 12px; }

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

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }

/* ============ 通用区块 ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ============ 产品中心 ============ */
.product-card { overflow: hidden; padding-bottom: 24px; text-align: center; }
.product-img { height: 220px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-card h3 { color: var(--ink); font-size: 20px; margin: 18px 0 8px; }
.product-card p { font-size: 14px; color: var(--muted); padding: 0 22px; margin-bottom: 14px; }
.price { color: var(--primary); font-size: 26px; font-weight: 700; font-family: Georgia, serif; }
.price span { font-size: 13px; color: var(--muted); font-weight: 400; font-family: inherit; }

/* ============ 服务特色 ============ */
.feature-card { padding: 34px 28px; }
.feature-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  font-size: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f2fe, #cffafe);
  margin-bottom: 18px;
}
.feature-card h3 { color: var(--ink); font-size: 19px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ============ 订购流程 ============ */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 20px; }
.step {
  flex: 1;
  max-width: 340px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { color: var(--ink); margin-bottom: 8px; font-size: 19px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step-arrow { align-self: center; font-size: 40px; color: #bae6fd; font-weight: 700; }

/* ============ 订阅套餐 ============ */
.pricing-grid { align-items: stretch; }
.pricing-card { padding: 38px 32px; text-align: center; position: relative; display: flex; flex-direction: column; }
.pricing-card h3 { color: var(--ink); font-size: 21px; }
.pricing-desc { font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.pricing-price { color: var(--primary); margin-bottom: 24px; }
.pricing-price span { font-size: 20px; font-weight: 700; }
.pricing-price strong { font-size: 48px; font-weight: 800; font-family: Georgia, serif; letter-spacing: -1px; }
.pricing-price em { font-style: normal; color: var(--muted); font-size: 15px; }
.pricing-card ul { text-align: left; margin: 0 auto 28px; max-width: 260px; flex: 1; }
.pricing-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(249, 115, 22, .4);
}
.pricing-card.featured {
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }

/* ============ 配送范围 ============ */
.coverage-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chip {
  padding: 10px 26px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
  transition: all .25s;
  cursor: default;
}
.chip:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; transform: translateY(-3px); }
.chip-more { background: #ecfeff; border-style: dashed; color: var(--primary); }
.coverage-note { text-align: center; margin-top: 32px; color: var(--muted); }
.coverage-note a { color: var(--primary); font-weight: 600; }
.coverage-note a:hover { text-decoration: underline; }

/* ============ 用户评价 ============ */
.testimonial-card { padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: #f59e0b; letter-spacing: 3px; font-size: 15px; }
.testimonial-card blockquote { font-size: 14.5px; color: var(--text); flex: 1; line-height: 1.8; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-card b { display: block; color: var(--ink); font-size: 15px; }
.testimonial-card small { color: var(--muted); font-size: 12.5px; }

/* ============ 常见问题 ============ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item.open { box-shadow: var(--shadow); border-color: #bae6fd; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  font-family: inherit;
}
.faq-icon { font-style: normal; font-size: 22px; font-weight: 400; color: var(--primary-light); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > p { overflow: hidden; padding: 0 22px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 18px; }
.faq-link { color: var(--primary); font-weight: 600; }
.faq-link:hover { text-decoration: underline; }

/* ============ 关于我们 ============ */
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.about-content .section-tag { margin-bottom: 14px; }
.about-content h2 { font-size: clamp(24px, 2.8vw, 34px); color: var(--ink); margin-bottom: 16px; }
.about-content > p { margin-bottom: 22px; }
.about-points li { padding: 6px 0; font-size: 15px; }
.about-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .25s, box-shadow .25s;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe, #cffafe);
  flex-shrink: 0;
}
.contact-item b { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-item a { color: var(--primary); font-size: 17px; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.contact-item small { color: var(--muted); display: block; margin-top: 2px; }

.contact-form { padding: 36px; }
.contact-form h3 { color: var(--ink); font-size: 21px; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fbfdff;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}
.form-tip { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ============ 页脚 ============ */
.footer { background: #0b2239; color: rgba(255, 255, 255, .78); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .logo-text { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; padding: 5px 0; font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer-col a:hover { color: #67e8f9; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a:hover { color: #67e8f9; }

/* ============ 轻量提示 Toast ============ */
.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translate(-50%, -16px);
  padding: 14px 28px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 14px 40px rgba(2, 52, 84, .3);
  opacity: 0;
  transition: all .3s ease;
  z-index: 200;
  max-width: 88vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-success { background: linear-gradient(120deg, #059669, #10b981); }
.toast-error { background: linear-gradient(120deg, #dc2626, #f97316); }

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 165, 233, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ============ 入场动画 ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .hero-card { left: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step { width: 100%; max-width: 480px; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .topbar-right .divider, .topbar-right > span:last-child { display: none; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    gap: 8px;
    padding: 90px 32px 32px;
    box-shadow: -10px 0 40px rgba(3, 105, 161, .15);
    transition: right .35s ease;
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 101; }
  .nav-cta { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 120px; }
  .hero-stats { gap: 24px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none; }
}
