:root {
  --ocean-deep: #0A2E38;
  --ocean: #14505C;
  --ocean-light: #1F7A8C;
  --gold: #C98A4B;
  --gold-light: #DBA76E;
  --paper: #F6F3EF;
  --paper-white: #FCFAF7;
  --ink: #1C2B36;
  --muted: #64748B;
  --line: #DCD6CE;
  --shadow: rgba(10, 46, 56, 0.06);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
button, a, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed; top: -60px; left: 18px; z-index: 100;
  padding: 10px 16px; background: var(--ocean-deep); color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ───── header ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: 68px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 14px; color: inherit;
}
.brand-icon {
  width: 34px; height: 34px; border-radius: 6px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  display: grid; place-items: center;
  font-size: 16px; font-weight: 800; color: #fff; letter-spacing: 0;
}
.brand-text {
  font-size: 20px; font-weight: 800; letter-spacing: 0.04em;
}
.site-header nav {
  display: flex; align-items: center; gap: 24px;
  font-size: 13px; color: var(--muted);
}
.site-header nav a {
  color: var(--ink); font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.site-header nav a:hover { border-color: var(--gold); }

/* ───── hero ───── */
.hero {
  min-height: 560px;
  padding: 80px 5vw 100px;
  display: grid; grid-template-columns: 1fr 380px; gap: 6vw;
  align-items: center;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, #0F3E4C 50%, #1A5A6A 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(201, 138, 75, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(31, 122, 140, 0.2) 0%, transparent 50%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 24px;
}
.hero-eyebrow span {
  opacity: 0.7; font-weight: 400; color: rgba(255,255,255,0.5);
}
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lead {
  max-width: 560px; font-size: 17px; line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
}
.hero-action {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 14px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.hero-action:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero-stats {
  position: relative; z-index: 1;
  padding: 36px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 20px;
}
.hero-stats-header {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-light);
}
.hero-stats-number {
  font-size: clamp(52px, 6vw, 82px); font-weight: 800;
  line-height: 1; letter-spacing: -0.04em;
}
.hero-stats p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.65); }
.hero-stats-footer {
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ───── catalog ───── */
.catalog, .detail { padding: 80px 5vw 100px; }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: 48px;
}
.section-header h2, .detail h2 {
  margin: 8px 0 0; font-size: clamp(36px, 5vw, 62px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
}
.section-header .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ocean-light);
}
.filters {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px;
}
.filters button {
  padding: 8px 16px; border: 1px solid var(--line);
  background: var(--paper-white);
  font-size: 12px; font-weight: 500;
  border-radius: 20px;
  transition: all 0.2s;
}
.filters button:hover { border-color: var(--ocean-light); color: var(--ocean); }
.filters button.active {
  background: var(--ocean); border-color: var(--ocean); color: #fff;
}

/* ───── product grid ───── */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--paper-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-2px);
}
.product-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.product-cover {
  position: relative; width: 100%; aspect-ratio: 16/10;
  padding: 0; border: 0; background: var(--line);
  overflow: hidden; cursor: pointer; display: block;
}
.product-card:nth-child(1) .product-cover { aspect-ratio: 16/9; }
.product-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.product-cover:hover img { transform: scale(1.03); }
.cover-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #DCE2E8, #B8CDD4);
  font-size: 60px; font-weight: 800; color: var(--ocean); opacity: 0.5;
}

.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 10px; font-size: 11px; color: var(--muted);
  letter-spacing: 0.03em;
}
.product-meta-tag {
  display: inline-block; padding: 2px 10px;
  background: rgba(31, 122, 140, 0.08);
  border-radius: 12px; color: var(--ocean); font-weight: 600;
}
.product-body h3 {
  margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3;
}
.product-card:nth-child(1) .product-body h3 { font-size: 26px; }
.product-body h3 button {
  padding: 0; border: 0; background: none; text-align: left;
  color: var(--ink); cursor: pointer;
}
.product-body h3 button:hover { color: var(--ocean-light); }
.product-body > p {
  margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7;
  flex: 1;
}
.product-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
}
.product-tags span {
  padding: 2px 8px; background: var(--paper);
  border-radius: 4px; font-size: 11px; color: var(--muted);
}
.product-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.product-foot b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.product-foot small { font-size: 11px; color: var(--muted); font-weight: 400; margin-right: 4px; }
.product-foot .btn-detail {
  padding: 8px 18px; background: var(--ocean); color: #fff;
  font-size: 12px; font-weight: 600; border: none;
  border-radius: 6px; transition: background 0.2s;
}
.product-foot .btn-detail:hover { background: var(--ocean-light); }

/* ───── empty & error ───── */
.empty-state {
  grid-column: 1 / -1; text-align: center;
  padding: 100px 20px; color: var(--muted);
}
.empty-state-icon {
  font-size: 48px; margin-bottom: 16px; opacity: 0.4;
}
.empty-state h3 { margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.empty-state p { margin: 0; font-size: 14px; }

/* ───── detail ───── */
.detail { min-height: 100dvh; }
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 36px; padding: 0; border: 0; background: none;
  font-size: 14px; font-weight: 600; color: var(--ocean);
  transition: gap 0.2s;
}
.detail-back:hover { gap: 12px; }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.1fr;
  gap: 5vw; align-items: center; margin-bottom: 56px;
}
.detail-cover {
  aspect-ratio: 16/10; background: var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.detail-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.detail-intro .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--ocean-light); text-transform: uppercase;
}
.detail-intro h2 {
  font-size: clamp(32px, 4vw, 52px); margin: 10px 0 20px;
}
.detail-intro > p:not(.eyebrow) {
  color: var(--muted); line-height: 1.8; font-size: 15px;
  margin-bottom: 28px;
}
.detail-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.detail-specs > div {
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.detail-specs > div:nth-child(odd) { border-right: 1px solid var(--line); }
.detail-specs dt {
  font-size: 11px; color: var(--muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.detail-specs dd {
  margin: 0; font-size: 14px; font-weight: 600;
}

/* ───── detail editorial ───── */
.detail-sections {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin: 48px 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--paper-white);
}
.detail-sections > section {
  padding: 28px 24px; border-right: 1px solid var(--line);
}
.detail-sections > section:last-child { border-right: 0; background: rgba(31, 122, 140, 0.04); }
.detail-sections .section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.detail-sections .section-label::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.detail-sections h3 {
  font-size: 18px; margin: 0 0 12px;
}
.detail-sections ul { margin: 0; padding: 0; list-style: none; }
.detail-sections li {
  margin: 8px 0; font-size: 13px; line-height: 1.7; color: #374151;
  padding-left: 16px; position: relative;
}
.detail-sections li::before {
  content: '·'; position: absolute; left: 2px; color: var(--ocean-light);
  font-weight: 700;
}
.detail-sections p {
  margin: 0; font-size: 13px; line-height: 1.8; color: #374151;
}

/* ───── tiers ───── */
.tiers-block {
  margin: 48px 0;
}
.tiers-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 24px 0; border-bottom: 2px solid var(--ink);
}
.tiers-header h3 {
  margin: 6px 0 0; font-size: 26px; font-weight: 700;
}
.tiers-header p { margin: 0; font-size: 13px; color: var(--muted); }
.tier-list { }
.tier-item {
  display: grid; grid-template-columns: 44px 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 8px; border-bottom: 1px solid var(--line);
  color: var(--ink); transition: background 0.15s;
}
.tier-item:hover { background: rgba(201, 138, 75, 0.04); }
.tier-number {
  font-size: 12px; font-weight: 700; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.tier-info { display: flex; flex-direction: column; gap: 4px; }
.tier-name { font-size: 17px; font-weight: 700; }
.tier-desc { font-size: 12px; color: var(--muted); }
.tier-price {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.tier-arrow { color: var(--gold); font-size: 18px; font-weight: 400; }
.delivery-note {
  max-width: 720px; margin: 24px 0;
  color: var(--muted); font-size: 13px; line-height: 1.9;
}

/* ───── footer ───── */
.site-footer {
  padding: 36px 5vw; border-top: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: space-between;
  background: var(--paper-white);
}
.site-footer-brand {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 700;
}
.site-footer-brand span {
  font-size: 11px; font-weight: 400; color: var(--muted);
}
.site-footer p { margin: 0; font-size: 12px; color: var(--muted); }

/* ───── focus ───── */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ───── reduced motion ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ───── responsive ───── */
@media (max-width: 1100px) {
  .product-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 5vw 70px; }
  .hero-stats { max-width: 400px; }
  .hero h1 { font-size: clamp(40px, 8vw, 56px); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:nth-child(1) { grid-column: span 2; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-sections { grid-template-columns: 1fr; }
  .detail-sections > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-sections > section:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .site-header { min-height: 60px; padding: 0 20px; }
  .brand-text { font-size: 17px; }
  .site-header nav span { display: none; }
  .hero { min-height: auto; padding: 48px 20px 56px; }
  .hero-stats { padding: 24px; }
  .hero-action { width: 100%; justify-content: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .filters { justify-content: flex-start; }
  .catalog, .detail { padding: 48px 16px 64px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card:nth-child(1) { grid-column: 1; }
  .product-card:nth-child(1) .product-body h3 { font-size: 20px; }
  .detail-hero { gap: 24px; }
  .detail-specs { grid-template-columns: 1fr; }
  .detail-specs > div:nth-child(odd) { border-right: 0; }
  .tiers-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tier-item { grid-template-columns: 30px 1fr; }
  .tier-price { grid-column: 1 / -1; justify-content: flex-end; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
