/* ============== 全局 ============== */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0d1b2a;
  background: #f5f5f7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-feature-settings: "ss01" on, "cv11" on;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 980px; }

/* Reveal 动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============== Header ============== */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  gap: 32px;
}
.logo {
  font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: #0d1b2a; flex-shrink: 0;
}
.logo img { max-height: 34px; width: auto; }
.main-nav {
  display: flex; gap: 30px; flex: 1; justify-content: center; flex-wrap: wrap;
  font-size: 13.5px; color: #475569;
}
.main-nav a { padding: 6px 0; position: relative; transition: color .2s; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: #1a4ed8; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: #1a4ed8; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.search-form { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.search-btn {
  background: transparent; border: none; cursor: pointer; color: #475569; padding: 6px;
  display: inline-flex; transition: color .2s;
}
.search-btn:hover { color: #1a4ed8; }
.search-form input {
  border: 0; border-bottom: 1px solid transparent; padding: 4px 6px; font-size: 13px;
  background: transparent; width: 0; transition: width .25s ease, border-color .25s;
  outline: none;
}
.search-form input:focus,
.search-form:hover input { width: 180px; border-bottom-color: #1a4ed8; }

/* ============== Hero ============== */
.hero {
  position: relative;
  height: clamp(420px, 60vw, 620px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  isolation: isolate;
  animation: heroZoom 14s ease-out both;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.45) 100%);
}
@keyframes heroZoom {
  from { background-size: 108%; }
  to   { background-size: 100%; }
}
.hero-inner {
  position: relative; z-index: 1; text-align: center; color: #fff;
  padding: 24px 32px; max-width: 960px;
  animation: heroFade 1s ease-out .1s both;
}
@keyframes heroFade { from { opacity:0; transform: translateY(14px);} to {opacity:1; transform:none;} }
.hero-pill {
  display: inline-block;
  background: rgba(15,23,42,0.7); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-subtitle {
  margin: 22px auto 0;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

/* ============== Sections ============== */
.featured-section { padding: 84px 0 40px; background: #f5f5f7; }
.latest-section { padding: 80px 0 40px; background: #f5f5f7; }

.section-heading {
  font-size: 28px; font-weight: 800; margin: 0 0 36px; letter-spacing: -0.015em;
}
.section-heading .heading-rule {
  display: block; width: 56px; height: 3px; background: #1a4ed8; margin-top: 10px; border-radius: 2px;
}
.heading-rule.center { margin: 10px auto 0; }

.eyebrow {
  font-size: 12px; font-weight: 700; color: #1a4ed8; letter-spacing: 0.2em;
  text-transform: uppercase; text-align: center;
}
.big-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 5vw, 60px); font-weight: 900; letter-spacing: -0.02em; text-align: center;
  margin: 14px 0 0; line-height: 1.05;
}
.latest-head { text-align: center; margin-bottom: 44px; }
.archive-link {
  display: inline-block; margin-top: 22px;
  font-size: 12px; font-weight: 700; color: #0d1b2a; letter-spacing: 0.14em;
  position: relative; padding-bottom: 4px;
}
.archive-link::after {
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background: #0d1b2a;
  transform: scaleX(.8); transform-origin: left; transition: transform .25s, background .25s;
}
.archive-link:hover { color: #1a4ed8; }
.archive-link:hover::after { background: #1a4ed8; transform: scaleX(1); }

/* ============== Featured Cards ============== */
.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .featured-grid { grid-template-columns: 1fr; } }

.featured-card {
  position: relative; background: #fff; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.05);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
  border: 1px solid rgba(15,23,42,0.04);
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(13,27,42,0.10);
}
.badge-verified {
  position: absolute; top: 16px; left: 16px;
  background: #eef2ff; color: #1a4ed8; font-size: 10px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.14em; z-index: 2;
}
.featured-cover {
  height: 220px; background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 36px; overflow: hidden;
}
.featured-cover img {
  max-height: 150px; max-width: 100%; object-fit: contain;
  transition: transform .5s ease;
}
.featured-card:hover .featured-cover img { transform: scale(1.04); }
.featured-cover .placeholder {
  font-weight: 800; font-size: 22px; color: #94a3b8; letter-spacing: 0.05em; text-align: center;
}
.featured-body { padding: 20px 22px 22px; border-top: 1px solid #f1f1f4; }
.cat-label {
  font-size: 11px; font-weight: 700; color: #1a4ed8; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.card-title {
  font-size: 17px; font-weight: 800; line-height: 1.35; margin: 10px 0 16px;
  color: #0d1b2a; min-height: 46px; letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; gap: 14px; font-size: 12px; color: #6b7280;
}
.meta-item { display: inline-flex; align-items: center; gap: 5px; color: #1a4ed8; }
.meta-item svg { color: #1a4ed8; }
.read-intel {
  margin-left: auto; font-size: 11px; font-weight: 800; color: #1a4ed8; letter-spacing: 0.14em;
}

/* ============== Latest List ============== */
.latest-list { display: flex; flex-direction: column; gap: 14px; max-width: 920px; margin: 0 auto; }
.latest-row {
  display: flex; align-items: center; gap: 22px; background: #ebebef; padding: 18px 22px;
  border-radius: 12px;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.latest-row:hover {
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(13,27,42,0.06);
  border-color: rgba(15,23,42,0.06);
}
.latest-cover {
  width: 110px; height: 80px; flex-shrink: 0; background: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px;
  border: 1px solid rgba(15,23,42,0.05);
}
.latest-cover img { max-width: 100%; max-height: 100%; object-fit: contain; }
.latest-cover .placeholder { font-weight: 800; color: #94a3b8; font-size: 13px; }
.latest-content { flex: 1; min-width: 0; }
.latest-meta {
  display: flex; align-items: center; gap: 14px; font-size: 11px; color: #6b7280; margin: 4px 0 6px;
}
.latest-title {
  font-size: 17px; font-weight: 800; color: #1a4ed8; margin: 0; letter-spacing: -0.01em;
  line-height: 1.4;
}
.latest-arrow {
  width: 40px; height: 40px; border-radius: 50%; background: #cfd9ff; color: #1a4ed8;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 16px; transition: transform .2s, background .2s;
}
.latest-row:hover .latest-arrow { background: #1a4ed8; color: #fff; transform: translateX(4px); }

/* ============== Post Detail ============== */
.post-detail { padding: 70px 0 60px; background: #fff; }
.post-top { text-align: center; margin-bottom: 36px; }
.post-tags {
  display: inline-flex; align-items: center; gap: 18px; font-size: 12px; color: #1a4ed8;
  letter-spacing: 0.14em; font-weight: 700; margin-bottom: 22px; flex-wrap: wrap; justify-content: center;
}
.tag-blue { color: #1a4ed8; font-weight: 800; }
.post-title {
  font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 auto 32px; max-width: 820px;
}
.post-author-inline {
  display: inline-flex; align-items: center; gap: 12px;
}
.post-author-inline .avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: #fde2c4; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #92400e;
}
.post-author-inline .avatar img { width:100%; height:100%; object-fit:cover; }
.post-author-inline .by { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: #0d1b2a; }
.post-author-inline .role { font-size: 10px; color: #6b7280; letter-spacing: 0.16em; margin-top: 2px; }

.post-cover {
  max-width: 880px; margin: 0 auto 48px; border-radius: 14px; overflow: hidden;
  background: #0d1b2a; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 60px rgba(13,27,42,0.18);
}
.post-cover img { max-height: 100%; max-width: 100%; object-fit: contain; }

.post-body-wrap {
  display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 56px;
  align-items: start; max-width: 980px; margin: 0 auto;
}
@media (max-width: 900px) { .post-body-wrap { grid-template-columns: 1fr; } }

.post-content {
  font-size: 16px; line-height: 1.85; color: #1a2332;
}
.post-content p { margin: 0 0 1.3em; }
.post-content h2 { font-size: 24px; margin: 1.6em 0 0.5em; letter-spacing: -0.01em; }
.post-content h3 { font-size: 19px; margin: 1.4em 0 0.4em; }
.post-content a { color: #1a4ed8; text-decoration: underline; text-underline-offset: 3px; }
.post-content em { color: #1a4ed8; font-style: normal; font-weight: 700; }
.post-content img { margin: 18px 0; border-radius: 8px; }
.post-content strong { color: #0d1b2a; }

.curator-card {
  background: #f5f5f7; border-radius: 14px; padding: 28px; text-align: center;
  position: sticky; top: 96px;
  border: 1px solid rgba(15,23,42,0.05);
}
.curator-eyebrow {
  font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: #6b7280; margin-bottom: 16px;
}
.curator-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
  background: #fde2c4; display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #92400e; font-size: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.curator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.curator-name { font-size: 19px; font-weight: 800; }
.curator-title { font-size: 11px; font-weight: 800; color: #1a4ed8; letter-spacing: 0.16em; margin-top: 4px; }
.curator-bio { font-size: 12.5px; color: #6b7280; line-height: 1.7; margin-top: 12px; }

/* ============== Precision Selections ============== */
.precision { margin-top: 70px; padding-top: 36px; border-top: 1px solid #ececef; }
.precision-title {
  display: inline-flex; align-items: center; gap: 10px; color: #1a4ed8; font-size: 22px;
  font-weight: 800; margin: 0 0 28px;
}
.precision-list { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.product-card {
  display: flex; align-items: center; gap: 22px; background: #fff;
  border: 1px solid #ececef; border-radius: 12px; padding: 18px;
  box-shadow: 0 2px 8px rgba(13,27,42,0.04);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(13,27,42,0.08); }
.product-image {
  width: 150px; height: 116px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
  background: #1a2332; display: flex; align-items: center; justify-content: center;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .placeholder { color: #fff; font-size: 12px; font-weight: 700; padding: 8px; text-align: center; }
.product-body { flex: 1; min-width: 0; }
.rank-pill {
  display: inline-block; background: #cfd9ff; color: #1a4ed8;
  font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 999px; letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.product-title { font-size: 22px; font-weight: 900; margin: 4px 0; letter-spacing: 0.02em; }
.product-sub { font-size: 13px; color: #6b7280; margin: 0 0 16px; }
.cta-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1a4ed8; color: #fff !important; font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(26,78,216,0.28);
}
.cta-button:hover { background: #143ab0; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,78,216,0.34); }
.cta-button span { font-size: 16px; }

/* ============== Footer ============== */
.site-footer {
  margin-top: 90px;
  padding: 70px 0 28px;
  background: #f5f5f7;
  border-top: 1px solid rgba(15,23,42,0.06);
  color: #1f2937;
}
.footer-tagline { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.footer-title {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 12px;
  color: #0d1b2a; line-height: 1.15;
}
.footer-sub { color: #6b7280; font-size: 15px; margin: 0; }

.footer-cols {
  display: flex; gap: 64px; justify-content: center; flex-wrap: wrap;
  padding: 32px 0; border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.footer-col h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: #0d1b2a; margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #475569; font-size: 13.5px; transition: color .2s;
}
.footer-col a:hover { color: #1a4ed8; }
.footer-copy {
  text-align: center; padding-top: 28px; color: #94a3b8; font-size: 12px;
}

.empty-tip { text-align: center; color: #6b7280; padding: 40px 0; }

@media (max-width: 720px) {
  .latest-row { flex-wrap: wrap; }
  .latest-cover { width: 80px; height: 60px; }
  .product-card { flex-direction: column; align-items: stretch; }
  .product-image { width: 100%; height: 170px; }
  .header-inner { gap: 12px; flex-wrap: wrap; padding: 14px 18px; }
  .main-nav { gap: 16px; font-size: 13px; }
  .featured-section { padding: 56px 0 30px; }
  .latest-section { padding: 56px 0 30px; }
  .container { padding: 0 20px; }
  .footer-cols { gap: 36px; padding: 24px 0; }
}
