:root {
  --brand: #0B1F3A;
  --brand-light: #153057;
  --accent: #00C2CB;
  --accent-dark: #009DA5;
  --cta: #FF6B35;
  --bg: #ffffff;
  --bg-2: #F7F9FC;
  --text: #1F2937;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(11,31,58,0.08);
  --shadow-lg: 0 12px 40px rgba(11,31,58,0.12);
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(11,31,58,0.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; min-height: 104px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 75px; width: auto; }
.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--text); font-weight: 500;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { background: var(--bg-2); color: var(--brand); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brand); margin: 6px 0; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-wrap { padding: 10px 0; min-height: 72px; }
  .logo img { height: 52px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--border);
    transform: translateY(-150%); opacity: 0; pointer-events: none; transition: .25s;
    align-items: stretch;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .15s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--brand); box-shadow: 0 6px 18px rgba(0,194,203,0.28); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--brand); color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 76vh; display: flex; align-items: center; color: #fff;
  background: var(--brand) url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,31,58,0.78) 0%, rgba(11,31,58,0.42) 70%, rgba(11,31,58,0.18) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.15; margin: 0 0 20px; font-weight: 800; letter-spacing: -1px; }
.hero p { font-size: 18px; max-width: 560px; margin: 0 0 32px; opacity: 0.92; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats div strong { display: block; font-size: 32px; color: var(--accent); }
.hero-stats div span { font-size: 14px; opacity: 0.85; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; margin: 0 0 10px; color: var(--brand); }
.section-title p { color: var(--muted); margin: 0; }

/* Cards */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 16/10; background: var(--bg-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:14px; background:linear-gradient(135deg,#f0f2f5,#e5e7eb); }
.card-body { padding: 22px; }
.card-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,194,203,0.12); color: var(--accent-dark); font-weight: 600; }
.tag.brand { background: rgba(11,31,58,0.08); color: var(--brand); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.card-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.card-meta { font-size: 13px; color: var(--brand); background: var(--bg-2); border-radius: 8px; padding: 6px 10px; display: inline-block; margin: 0 0 10px; }
.card-actions a { flex: 1; min-width: 90px; text-align: center; padding: 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.btn-sm-primary { background: var(--accent); color: var(--brand); }
.btn-sm-outline { border: 1px solid var(--border); color: var(--text); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Feature icons */
.feature { text-align: center; padding: 24px; }
.feature .icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(0,194,203,0.12); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--accent-dark); }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* Store page */
.store-hero { background: var(--brand); color: #fff; padding: 60px 0 40px; }
.store-hero h1 { font-size: 40px; margin: 0 0 10px; }
.store-hero .lead { opacity: 0.9; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; opacity: 0.8; margin-bottom: 24px; }
.breadcrumb a { color: #fff; opacity: 0.8; }
.info-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 40px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); color: var(--text); }
.info-card h3 { margin: 0 0 20px; font-size: 20px; color: var(--brand); }
.info-row { display: flex; gap: 12px; margin-bottom: 16px; }
.info-row .label { width: 70px; color: var(--muted); flex-shrink: 0; font-size: 14px; }
.info-row .value { font-weight: 500; }
.info-row a { color: var(--accent-dark); }
.qr-card { text-align: center; }
.qr-card img { max-width: 180px; margin: 0 auto 12px; border-radius: 12px; }
.store-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.store-gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } .store-gallery { grid-template-columns: repeat(2,1fr); } }

/* Environment gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* FAQ */
.faq-item { background: #fff; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq-item h4 { margin: 0 0 8px; color: var(--brand); }
.faq-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-2); font-weight: 700; color: var(--brand); }
.data-table { font-size: 14px; white-space: nowrap; }
.data-table td { border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { white-space: normal; min-width: 150px; }
.data-table td.price { color: #d9480f; font-weight: 700; }
.tag-warn { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff3bf; color: #a1670a; font-size: 12px; }
.block-title { margin: 56px 0 20px; font-size: 22px; color: var(--brand); }
.periph-card { background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); margin-top: 20px; }
.periph-card h4 { margin: 0 0 12px; font-size: 16px; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--bg-2); font-size: 13px; color: var(--text); }
.price-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-item { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.price-item h4 { margin: 0 0 8px; font-size: 16px; color: var(--brand); }
.price-item .num { font-size: 26px; font-weight: 700; color: #d9480f; }
.price-item p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .price-overview { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .price-overview { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--brand); color: #fff; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { height: 48px; margin-bottom: 16px; }
.footer-brand p { margin: 0 0 12px; opacity: 0.9; max-width: 300px; }
.footer-brand .small, .footer-qr .small { font-size: 13px; opacity: 0.7; }
.footer-links h4, .footer-qr h4 { font-size: 16px; margin: 0 0 16px; }
.footer-links a { display: block; color: rgba(255,255,255,0.78); margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-qr img { width: 120px; border-radius: 10px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; opacity: 0.7; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; padding: 60px 0; text-align: center; }
.cta-band h2 { font-size: 28px; margin: 0 0 12px; }
.cta-band p { opacity: 0.9; margin: 0 0 24px; }

/* Misc */
.text-center { text-align: center; }
.muted { color: var(--muted); }
/* 视觉隐藏但对搜索引擎与 AI 爬虫可读 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* 发展历程 · 横向时间轴 */
.timeline { overflow-x: auto; padding: 8px 0 4px; -webkit-overflow-scrolling: touch; }
.tl-track { position: relative; display: grid; grid-template-columns: repeat(11, minmax(118px, 1fr)); grid-template-rows: 148px 44px 148px; min-width: 1180px; }
.tl-line { position: absolute; left: 0; right: 0; top: 168px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #7FE6E9); }
.tl-card { position: relative; margin: 0 7px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 8px; text-align: center; box-shadow: var(--shadow); }
.tl-card.up { grid-row: 1; align-self: end; }
.tl-card.up::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 2px; height: 24px; background: var(--border); transform: translateX(-50%); }
.tl-card.down { grid-row: 3; align-self: start; }
.tl-card.down::before { content: ""; position: absolute; left: 50%; top: -24px; width: 2px; height: 24px; background: var(--border); transform: translateX(-50%); }
.tl-date { font-size: 12px; font-weight: 700; color: var(--accent-dark); letter-spacing: .3px; }
.tl-name { font-size: 15px; font-weight: 800; color: var(--brand); margin: 4px 0 3px; }
.tl-desc { font-size: 11px; color: var(--muted); line-height: 1.5; }
.tl-gen { display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--border); color: var(--accent-dark); font-size: 10px; font-weight: 700; }
.tl-tag { display: inline-block; margin-top: 7px; padding: 3px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; }
.tl-dot { grid-row: 2; justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); z-index: 2; }
.tl-dot.first { width: 22px; height: 22px; background: var(--cta); box-shadow: 0 0 0 3px #FFE0D3; }
.tl-dot.flag { width: 22px; height: 22px; background: var(--brand); box-shadow: 0 0 0 3px rgba(11,31,58,.18); }
.tl-dot.latest { width: 20px; height: 20px; background: var(--accent-dark); box-shadow: 0 0 0 3px rgba(0,194,203,.25); }
.tl-hint { text-align: center; font-size: 12px; margin-top: 14px; }
.tl-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.tl-summary > div { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 12px; text-align: center; }
/* 门店代际 */
.gen-points { margin: 10px 0 0; padding-left: 18px; }
.gen-points li { font-size: 14px; color: var(--muted); line-height: 1.9; }
.gen-card .badge { background: var(--accent); color: #fff; }
.gen-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.gen-legend > div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.gen-legend h4 { margin: 0 0 6px; font-size: 15px; color: var(--brand); }
.gen-legend p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.tl-summary b { display: block; font-size: 22px; color: var(--brand); }
.tl-summary span { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .tl-summary { grid-template-columns: repeat(2, 1fr); }
  .gen-legend { grid-template-columns: repeat(2, 1fr); }
}
.mt-4 { margin-top: 24px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--brand); font-weight: 700; font-size: 13px; }

/* Reviews */
.review-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.review-stat { background: #fff; border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.review-stat .num { font-size: 32px; font-weight: 800; color: var(--brand); }
.review-stat .label { font-size: 14px; color: var(--muted); margin-top: 4px; }
.review-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
.review-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 600; }
.review-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.review-card .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-card img.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.review-card .review-user { font-weight: 600; font-size: 14px; }
.review-card .review-shop { font-size: 12px; color: var(--muted); }
.review-card .stars { color: #ff9500; font-size: 14px; letter-spacing: -1px; }
.review-card .review-text { font-size: 14px; color: var(--text); margin: 10px 0; line-height: 1.5; }
.review-card .review-date { font-size: 12px; color: var(--muted); }
.review-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.review-imgs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.review-platform-tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--muted); margin-left: 6px; }
@media (max-width: 900px) { .review-stats { grid-template-columns: repeat(2, 1fr); } .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }

/* Ranking table */
.ranking-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.ranking-summary .rs-item { background: #fff; border-radius: var(--radius); padding: 18px 12px; text-align: center; box-shadow: var(--shadow); }
.ranking-summary .rs-item strong { display: block; font-size: 28px; color: var(--brand); }
.ranking-summary .rs-item span { font-size: 13px; color: var(--muted); }
.ranking-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ranking-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ranking-table th { background: var(--brand); color: #fff; padding: 14px 12px; text-align: left; font-weight: 600; }
.ranking-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.ranking-table tr.dolphin { background: rgba(0,194,203,0.04); }
.ranking-table tr.dolphin:hover { background: rgba(0,194,203,0.10); }
.ranking-table tr.other:hover { background: var(--bg-2); }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--bg-2); color: var(--text); font-weight: 800; font-size: 14px; }
.rank-badge.rank-1 { background: #FFD700; color: var(--brand); }
.rank-badge.rank-2 { background: #C0C0C0; color: var(--brand); }
.rank-badge.rank-3 { background: #CD7F32; color: #fff; }
.rank-name { font-weight: 700; color: var(--text); }
.rank-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.brand-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--brand); font-weight: 700; margin-left: 8px; }
.rank-score { font-weight: 800; color: #ff9500; font-size: 16px; }
.rank-tag { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,107,53,0.10); color: var(--cta); font-weight: 600; }
@media (max-width: 900px) {
  .ranking-summary { grid-template-columns: repeat(2, 1fr); }
  .ranking-table th:nth-child(4), .ranking-table td:nth-child(4),
  .ranking-table th:nth-child(6), .ranking-table td:nth-child(6) { display: none; }
}
@media (max-width: 600px) {
  .ranking-table { font-size: 13px; }
  .ranking-table th, .ranking-table td { padding: 10px 8px; }
  .ranking-table th:nth-child(5), .ranking-table td:nth-child(5) { display: none; }
  .brand-tag { display: none; }
}
