/* ===========================================================
   诺可私域外卖 · 项目介绍官网
   品牌色：青绿 #00aec4 / 薄荷 #b2d9c4 / 强调橙红 #ee5f37
   =========================================================== */

:root {
  --brand: #00aec4;
  --brand-dark: #0094a8;
  --brand-darker: #007d8f;
  --brand-light: #e6f7f9;
  --brand-lighter: #f1fbfc;
  --mint: #b2d9c4;
  --accent: #ee5f37;
  --accent-dark: #d94e28;
  --ink: #15303a;
  --text: #4a5a66;
  --muted: #8593a0;
  --bg: #f5f7fa;
  --white: #ffffff;
  --border: #e7edf2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(21, 48, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(21, 48, 58, 0.14);
  --maxw: 1280px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 84px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 0; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(0,174,196,.32); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,174,196,.42); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(238,95,55,.30); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: all .25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(21,48,58,.05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .brand-name { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.nav-logo .brand-name em { color: var(--brand); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(178,217,196,.45), transparent 60%),
    radial-gradient(700px 360px at 0% 0%, rgba(0,174,196,.18), transparent 55%),
    linear-gradient(180deg, #f3fbfc 0%, #ffffff 70%);
}
.hero-grid { display: grid; grid-template-columns: 7fr 3fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand-darker); font-size: 13px; font-weight: 700; margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(238,95,55,.18); }
.hero h1 { font-size: 46px; line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--text); margin: 22px 0 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 30px; font-weight: 800; color: var(--brand-darker); line-height: 1; }
.hero-stats .stat .lbl { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* Hero 右侧产品卡 */
.hero-card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 26px;
  border: 1px solid var(--border); position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: 24px; padding: 2px;
  background: linear-gradient(135deg, var(--brand), var(--mint));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none;
}
.hc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.hc-head .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-light); display: grid; place-items: center; font-size: 22px; }
.hc-head .t { font-weight: 700; color: var(--ink); }
.hc-head .s { font-size: 12px; color: var(--muted); }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid #f1f4f7; font-size: 14px; }
.hc-row:last-child { border-bottom: 0; }
.hc-row .k { color: var(--text); }
.hc-row .v { font-weight: 700; color: var(--ink); }
.hc-row .v.ok { color: var(--brand); }
.hc-foot { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.hc-foot b { color: var(--accent); }

/* ---------- 通用区块标题 ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head .eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.sec-head h2 { font-size: 34px; color: var(--ink); font-weight: 800; margin: 12px 0 14px; letter-spacing: -.5px; }
.sec-head p { font-size: 17px; color: var(--muted); }

/* ---------- 优势 ---------- */
.bg-soft { background: var(--bg); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: all .25s ease;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feat .ic {
  width: 54px; height: 54px; border-radius: 14px; background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.feat h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; font-weight: 700; }
.feat p { font-size: 14.5px; color: var(--text); }

/* ---------- 功能模块 ---------- */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mod {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px 20px;
  transition: all .22s ease; position: relative; overflow: hidden;
}
.mod::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--brand); transition: height .25s ease; }
.mod:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mod:hover::after { height: 100%; }
.mod .ic { font-size: 26px; margin-bottom: 12px; }
.mod h4 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.mod p { font-size: 13.5px; color: var(--text); }

/* ---------- 多端 ---------- */
.ends { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.end {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center;
  transition: all .25s ease;
}
.end:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.end .pic {
  width: 100%; height: 120px; border-radius: 12px; margin-bottom: 18px; display: grid; place-items: center;
  font-size: 44px; color: #fff;
}
.end:nth-child(1) .pic { background: linear-gradient(135deg, #00aec4, #3fd0c9); }
.end:nth-child(2) .pic { background: linear-gradient(135deg, #ee5f37, #f59042); }
.end:nth-child(3) .pic { background: linear-gradient(135deg, #2b8a99, #00aec4); }
.end:nth-child(4) .pic { background: linear-gradient(135deg, #5b6b7a, #8593a0); }
.end h4 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.end p { font-size: 13.5px; color: var(--text); }

/* ---------- 定价 ---------- */
/* 价格横向排列：同一行展示；超出 4 张时左右滑动（兼容后续更多价格体系） */
.price-scroll { position: relative; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price {
  min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 34px 28px; display: flex; flex-direction: column;
  position: relative; transition: all .25s ease;
}
.price:hover { box-shadow: var(--shadow); }
.price.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price.featured::before {
  content: "主推"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 16px; border-radius: 999px;
}
.price .ptag { font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: 1px; }
.price h3 { font-size: 22px; color: var(--ink); margin: 8px 0 4px; font-weight: 800; min-height: 75px; }
.price .pdesc { font-size: 13.5px; color: var(--muted); min-height: 38px; }
.price .pamount { margin: 18px 0 6px; }
.price .pamount .cur { font-size: 20px; font-weight: 700; color: var(--ink); vertical-align: top; }
.price .pamount .num { font-size: 44px; font-weight: 800; color: var(--ink); line-height: 1; }
.price .pamount .per { font-size: 14px; color: var(--muted); }
.price .pamount.negotiable .cur { display: none; }
.price .ptrial { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent);
  background: #fdeee8; padding: 5px 12px; border-radius: 999px; align-self: flex-start; margin-bottom: 16px; }
.price ul.feat-list { margin: 14px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price ul.feat-list li { font-size: 14px; color: var(--text); display: flex; gap: 9px; align-items: flex-start; }
.price ul.feat-list li .ck { color: var(--brand); font-weight: 800; flex-shrink: 0; }
.price ul.feat-list li.no { color: #aab2bb; }
.price ul.feat-list li.no .ck { color: #c4ccd4; }
.price ul.feat-list li.no .nt { text-decoration: line-through; text-decoration-color: #cdd4db; }
.price .btn { width: 100%; }
.price .note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

.price-banner {
  margin-top: 30px; background: linear-gradient(120deg, var(--brand), #2bb6c4); border-radius: var(--radius);
  padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #fff;
}
.price-banner .pb-t { font-size: 18px; font-weight: 700; }
.price-banner .pb-s { font-size: 14px; opacity: .9; margin-top: 4px; }

/* ---------- 案例 ---------- */
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 7fr 3fr; box-shadow: var(--shadow);
}
.case-left { background: linear-gradient(150deg, #0f3b46, #00aec4); color: #fff; padding: 44px 38px; display: flex; flex-direction: column; justify-content: center; }
.case-left .quote { font-size: 22px; line-height: 1.6; font-weight: 600; }
.case-left .who { margin-top: 22px; font-size: 14px; opacity: .85; }
.case-left .who b { font-size: 16px; display: block; opacity: 1; }
.qr-show { text-align: center; margin-bottom: 22px; }
.qr-img { width: 150px; height: 150px; background: #fff; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.qr-cap { font-size: 13px; color: rgba(255,255,255,.9); margin-top: 12px; }
.case-right { padding: 40px 38px; }
.case-right h3 { font-size: 20px; color: var(--ink); margin-bottom: 18px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.case-metrics .m { text-align: center; background: var(--brand-light); border-radius: 12px; padding: 16px 8px; }
.case-metrics .m .v { font-size: 26px; font-weight: 800; color: var(--brand-darker); }
.case-metrics .m .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.case-right p { font-size: 14.5px; color: var(--text); }

/* ---------- 案例：左侧简介 + 右侧模拟手机 ---------- */
.case-left h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.case-left .intro { color: rgba(255,255,255,.9); font-size: 14.5px; line-height: 1.85; }
.case-left .intro-tip { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 18px; }
.case-phone, .hero-phone { display: flex; align-items: center; justify-content: center; }
.phone-mock { display: flex; flex-direction: column; align-items: center; }
.case-dash { display: flex; align-items: center; justify-content: center; }
.case-dash .hero-card { width: 100%; max-width: 420px; }
.phone-screen {
  position: relative; width: 300px; height: 600px; background: #0d2b33;
  border: 6px solid #0d2b33; border-radius: 40px; overflow: hidden;
  box-shadow: 0 22px 45px rgba(0,0,0,.28);
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 20px; background: #0d2b33; border-radius: 0 0 14px 14px; z-index: 4; }
.phone-slides { position: absolute; inset: 0; }
.pslide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease; user-select: none; -webkit-user-drag: none;
}
.pslide.active { opacity: 1; }
.phone-dots { display: flex; gap: 8px; margin-top: 18px; }
.phone-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #cdd4db; cursor: pointer; transition: all .3s ease; }
.phone-dots .dot.active { background: var(--brand); width: 22px; border-radius: 5px; }

/* ---------- 合作商家小程序码 ---------- */
.merchant-wrap { margin-top: 40px; }
.merchant-head { text-align: center; margin-bottom: 30px; }
.merchant-head .eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--brand); font-weight: 700; }
.merchant-head h3 { font-size: 22px; color: var(--ink); margin: 8px 0 8px; }
.merchant-head p { font-size: 14px; color: var(--muted); }
.merchant-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.merchant-item { flex: 1 1 0; min-width: 168px; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 14px; text-align: center; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.merchant-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.merchant-item img { width: 168px; height: 168px; object-fit: contain; border-radius: 12px; background: #f6f8fa; padding: 8px; margin: 0 auto; }
.merchant-name { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- CTA 带 ---------- */
.cta-band { background: linear-gradient(120deg, #0f3b46 0%, #00aec4 100%); color: #fff; border-radius: 24px; padding: 56px 48px; text-align: center; }
.cta-band h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 17px; opacity: .9; margin-bottom: 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */
.footer { background: #0f2228; color: #aebcc4; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .brand img { height: 32px; filter: brightness(0) invert(1); }
.footer .brand span { font-size: 18px; font-weight: 800; color: #fff; }
.footer p.desc { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer ul li { font-size: 14px; margin-bottom: 11px; }
.footer ul li a:hover { color: var(--mint); }
.footer .contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; }
.footer .contact-item .ci { color: var(--mint); }
.footer .kf-link { color: var(--mint); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 13px; color: #7e8c94; }
.footer-bottom a { color: #9fb0b8; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; font-size: 20px; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--brand-dark); transform: translateY(-3px); }

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

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .feat-grid, .mods, .ends, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .merchant-grid { min-width: 0; }
  .merchant-item { min-width: 150px; }
  .case-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 18px 20px; gap: 16px; box-shadow: var(--shadow); border-top: 1px solid var(--border);
  }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  .feat-grid, .mods, .ends, .price-grid { grid-template-columns: 1fr; }
  .sec-head h2, .hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-banner { flex-direction: column; text-align: center; }
}
