/* ============================
   产品展示中心 — 暗色主题设计系统
   对标 Tomas Mrazek 风格
   ============================ */


:root {
  --primary: #ff4848;
  --primary-hover: #e63939;
  --primary-light: rgba(255,72,72,.12);
  --primary-gradient: linear-gradient(135deg, #ff4848 0%, #ff6b6b 50%, #ff8787 100%);

  --bg: #0a0a0b;
  --bg-alt: #111113;
  --bg-raised: #151517;
  --card-bg: #111113;
  --card-bg-hover: #18181a;
  --card-border: rgba(255,255,255,.06);
  --card-border-hover: rgba(255,255,255,.12);

  --text: #ffffff;
  --text-secondary: rgba(255,255,255,.65);
  --text-muted: rgba(255,255,255,.35);
  --text-dim: rgba(255,255,255,.18);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --border: rgba(255,255,255,.08);
  --border-light: rgba(255,255,255,.04);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.5), 0 2px 4px -2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.6), 0 4px 6px -4px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.7);
  --shadow-xl: 0 25px 50px rgba(0,0,0,.8);
  --shadow-glow: 0 0 30px rgba(255,72,72,.15);

  --font-heading: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
}

/* ==================== 全局重置 ==================== */

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

html {
  font-size: 0.7vw;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
@media only screen and (min-width: 1920px) { html { font-size: 13px; } }
@media only screen and (max-width: 991px) { html { font-size: 1.8vw; } }
@media only screen and (max-width: 767px) { html { font-size: 2.4vw; } }
@media only screen and (max-width: 490px) { html { font-size: 3.2vw; } }

body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .6s ease, color .6s ease;
}

/* 亮色段落 — 明暗交替 */
body.bg-light {
  --bg: #e8e9eb;
  --bg-alt: #f2f3f5;
  --bg-raised: #ffffff;
  --card-bg: #ffffff;
  --card-bg-hover: #fafafa;
  --card-border: rgba(0,0,0,.06);
  --card-border-hover: rgba(0,0,0,.1);
  --text: #111113;
  --text-secondary: rgba(0,0,0,.65);
  --text-muted: rgba(0,0,0,.35);
  --text-dim: rgba(0,0,0,.12);
  --border: rgba(0,0,0,.08);
  --border-light: rgba(0,0,0,.04);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.08);
  --shadow-xl: 0 25px 50px rgba(0,0,0,.1);
  --shadow-glow: 0 0 30px rgba(255,72,72,.08);
}

body.bg-light .header-nav .nav-link:hover {
  color: #111;
}

strong { font-weight: 800; }

a { color: inherit; text-decoration: none; }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ==================== 通用动画 ==================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(3rem); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}

/* 滚动揭示 */
.reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity .7s ease, transform .7s cubic-bezier(.25,.1,.25,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Header ==================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 3rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .6s ease, backdrop-filter .6s ease, border-color .6s ease;
}
.site-header.scrolled {
  background: rgba(10,10,11,.85);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

/* 亮色模式：毛玻璃更透 */
body.bg-light .site-header.scrolled {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
  width: 100%;
  max-width: 170rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  justify-self: start;
}
.brand-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transform-origin: bottom center;
}
.brand-icon.wobble {
  animation: logoWobble 1.5s ease-in-out forwards;
}
@keyframes logoWobble {
  0%   { transform: rotate(0deg); }
  8%   { transform: rotate(18deg); }
  16%  { transform: rotate(-15deg); }
  24%  { transform: rotate(12deg); }
  32%  { transform: rotate(-9deg); }
  40%  { transform: rotate(6deg); }
  48%  { transform: rotate(-3deg); }
  56%  { transform: rotate(1.5deg); }
  64%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand-text span {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 导航 */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: center;
}
.header-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.6rem;
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 600;
  transition: color .3s;
  text-decoration: none;
  letter-spacing: .3px;
}
.header-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: .2rem; left: 1.6rem; right: 1.6rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.25,.1,.25,1);
}
.header-nav .nav-link:hover { color: var(--text); }
.header-nav .nav-link:hover::after { transform: scaleX(1); }
.header-nav .nav-link i { font-size: 1.4rem; }

/* ==================== 汉堡菜单 ==================== */

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .6rem; z-index: 110;
}
.hamburger span {
  display: block; width: 2.2rem; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .site-header { padding: 0 1.6rem; height: 6rem; max-width: 100vw; overflow: hidden; }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    position: relative; width: 100%; height: 100%; max-width: 100%;
  }
  .hamburger { display: flex; z-index: 120; flex-shrink: 0; }
  .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
  #userNavArea { z-index: 120; flex-shrink: 0; }
  .header-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: rgba(10,10,11,.97); backdrop-filter: blur(20px);
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 1.2rem; padding: 1.2rem 2rem;
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.25,.1,.25,1);
  }
  body.bg-light .header-nav { background: rgba(255,255,255,.95); }
  body.bg-light .header-nav .nav-link { color: #111; }
  .header-nav.active { transform: translateY(0); }
  .header-nav .nav-link { font-size: 2rem; padding: 1rem 2rem; }
  .brand-icon { width: 3.4rem; height: 3.4rem; }
}

#userNavArea {
  justify-self: end;
  display: inline-flex;
  align-items: center;
}
#userNavArea .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.6rem;
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 600;
  transition: color .3s;
  text-decoration: none;
  letter-spacing: .3px;
}
#userNavArea .nav-link::after {
  content: "";
  position: absolute;
  bottom: .2rem; left: 1.6rem; right: 1.6rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.25,.1,.25,1);
}
#userNavArea .nav-link:hover { color: var(--text); }
#userNavArea .nav-link:hover::after { transform: scaleX(1); }
#userNavArea .nav-link i { font-size: 1.4rem; }

/* ==================== Hero 区 ==================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 4rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  width: 60rem;
  height: 60rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,72,72,.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s infinite;
}
.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 3rem 3rem;
  opacity: .5;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 13rem);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow, .hero-title, .hero-subtitle {
  opacity: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2.4rem;
  padding-bottom: .5rem;
  white-space: nowrap;
}
.hero-title em {
  font-style: normal;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: .5rem;
  display: inline-block;
}

.hero-subtitle {
  font-size: 3.5rem;
  color: var(--text-secondary);
  max-width: 100rem;
  margin: 0 auto 5rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 auto;
}

/* ==================== Hero 打字渐变揭示 ==================== */

.hero-reveal {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: heroTypeIn .8s cubic-bezier(.25,.1,.25,1) forwards;
}
@keyframes heroTypeIn {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* 出场顺序：第二行(标题) → 第一行(eyebrow) → 第三行(subtitle) */
.hero-reveal.d1 { animation-delay: .6s; animation-duration: 1.2s; }
.hero-reveal.d2 { animation-delay: 1.4s; animation-duration: .8s; }
.hero-reveal.d3 { animation-delay: 2s; animation-duration: 1s; }

/* 按钮延迟出场 */
.hero-actions {
  opacity: 0;
  animation: heroFadeUp .8s ease forwards;
  animation-delay: 2.6s;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(2rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  margin-top: auto;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 4rem;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ==================== 按钮 ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.4rem 3.2rem;
  border-radius: 5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.1,.25,1);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,72,72,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,72,72,.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-sm { padding: .9rem 2rem; font-size: 1.3rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==================== Section 通用 ==================== */

.section {
  padding: 4rem 3rem;
}
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}
.section-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.6rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.6rem;
}
.section-desc {
  font-size: 1.6rem;
  color: var(--text-secondary);
  max-width: 50rem;
  margin: 0 auto;
  font-weight: 300;
}

.container {
  max-width: 170rem;
  margin: 0 auto;
}

/* ==================== 重点推荐 ==================== */

.featured-section {
  padding: 0 3rem 4rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  max-width: 170rem;
  margin: 0 auto;
}

.featured-card {
  position: relative;
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-xl);
  padding: 4rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.25,.1,.25,1), box-shadow .35s cubic-bezier(.25,.1,.25,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.08);
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.08);
}

.featured-card .card-icon-wrap {
  width: 5.6rem; height: 5.6rem;
  border-radius: var(--radius);
  background: var(--primary-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.6rem;
  margin-bottom: 2rem;
}

.featured-card .card-tags { display: none; }

.featured-card .card-name {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -.3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .8rem;
}

.featured-card .card-desc {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.featured-card .card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem;
  gap: 1.6rem;
}
.featured-card .card-price {
  display: flex; align-items: baseline; gap: .6rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.featured-card .price-original {
  font-size: 1.4rem; color: var(--text-muted); text-decoration: line-through;
}
.featured-card .price-sale {
  font-size: 2.8rem; font-weight: 700; color: var(--primary);
  font-family: var(--font-heading);
}
.featured-card .price-unit {
  font-size: 1.2rem; color: var(--text-muted); font-weight: 400;
}
.card-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex-shrink: 0;
}

/* 图片模式 */
.featured-card.has-image {
  padding: 0;
  flex-direction: row;
  align-items: stretch;
}
.featured-card-image {
  width: 50%; flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.featured-card-image-bg {
  position: absolute; inset: -2rem;
  background-size: cover; background-position: center;
  filter: blur(10px) brightness(.5);
  transform: scale(1.1);
}
.featured-card-image-title {
  position: absolute; z-index: 0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-family: var(--font-heading);
  font-size: 8.5rem; font-weight: 900;
  color: rgba(255,255,255,.3);
  white-space: nowrap; pointer-events: none;
  letter-spacing: -.5px; text-transform: uppercase;
}
.featured-card-image-main {
  position: relative; z-index: 1;
  max-width: 85%; max-height: 85%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: transform .35s;
}
.featured-card-image-main:hover { transform: scale(1.03); }
.featured-card-info {
  flex: 1; min-width: 0;
  padding: 3.2rem 3.2rem 3.2rem 3.2rem;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.featured-card.has-image .card-desc {
  font-size: 1.4rem;
  color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 1.4rem;
}
.featured-card.has-image .card-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
  margin-top: auto;
}

/* ==================== 分类筛选 ==================== */

.filter-section {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 3.2rem; gap: 1.6rem; flex-wrap: wrap;
}
.category-pills { display: flex; gap: .8rem; flex-wrap: wrap; }
.pill {
  padding: .8rem 2rem;
  border-radius: 5rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
  font-family: var(--font-body);
}
.pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.pill.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

.search-box {
  position: relative;
  width: 26rem;
}
.search-box i {
  position: absolute; left: 1.4rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 1.4rem;
}
.search-box input {
  width: 100%;
  padding: .9rem 1.4rem .9rem 3.8rem;
  border: 1.5px solid var(--border);
  border-radius: 5rem;
  font-size: 1.3rem;
  background: var(--card-bg);
  color: var(--text);
  outline: none;
  transition: all .25s;
  font-family: var(--font-body);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,72,72,.1);
}

/* ==================== 系统卡片网格 ==================== */

.systems-section { min-height: 20rem; }

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 170rem;
  margin: 0 auto;
}

.system-card {
  position: relative;
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 0 1px rgba(0,0,0,.08);
  transition: box-shadow .35s ease;
  transform-style: preserve-3d;
  perspective: 800px;
}
.system-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.08);
}

.system-card .card-top {
  display: flex; align-items: flex-start; gap: 1.4rem;
  margin-bottom: 1rem;
}
.system-card .card-icon {
  width: 4.8rem; height: 4.8rem;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: #fff; flex-shrink: 0;
}
.system-card .card-icon.c1 { background: linear-gradient(135deg, #ff4848, #ff6b6b); }
.system-card .card-icon.c2 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.system-card .card-icon.c3 { background: linear-gradient(135deg, #10b981, #34d399); }
.system-card .card-icon.c4 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.system-card .card-icon.c5 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.system-card .card-icon.c6 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.system-card .card-icon.c7 { background: linear-gradient(135deg, #f97316, #fb923c); }
.system-card .card-icon.c0 { background: linear-gradient(135deg, #64748b, #94a3b8); }

.system-card .card-info { flex: 1; min-width: 0; }
.system-card .card-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.system-card .card-category {
  font-size: 1.1rem; color: var(--text-muted);
}
.system-card .card-desc {
  font-size: 1.3rem; color: var(--text-secondary);
  line-height: 1.6; flex: 1;
  margin-bottom: 1.4rem;
}
.system-card .card-meta {
  display: flex; flex-direction: column; gap: .6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.system-card .card-meta-row {
  display: flex; align-items: center; gap: .4rem;
}
.system-card .card-price-wrap {
  display: flex; align-items: baseline; gap: .5rem;
  min-width: 0; margin-right: auto;
}
.system-card .price-original {
  font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; white-space: nowrap;
}
.system-card .price-sale {
  font-size: 1.8rem; font-weight: 700; color: var(--primary); white-space: nowrap;
  font-family: var(--font-heading);
}
.system-card .price-original {
  font-size: 1.3rem; color: var(--text-muted); text-decoration: line-through; white-space: nowrap;
}
.system-card .price-unit {
  font-size: 1.1rem; color: var(--text-muted); font-weight: 400;
}
.system-card .price-free {
  font-size: 1.5rem; font-weight: 700; color: var(--success);
  font-family: var(--font-heading);
}

/* ==================== 卡片角标 ==================== */

.card-ribbon {
  position: absolute;
  top: 0; right: 0;
  padding: .5rem 1.4rem;
  font-size: 1.2rem; font-weight: 700;
  color: #fff;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
  z-index: 2;
  pointer-events: none;
  background: #ff4848;
}
.card-ribbon.red    { background: #ef4444; }
.card-ribbon.green  { background: #10b981; }
.card-ribbon.blue   { background: #3b82f6; }
.card-ribbon.orange { background: #f59e0b; }
.card-ribbon.purple { background: #8b5cf6; }
.card-ribbon.gradient {
  background: linear-gradient(135deg, #ff4848, #f59e0b, #10b981, #3b82f6, #8b5cf6, #ff4848);
  background-size: 300% 100%;
  animation: ribbon-shift 3s linear infinite;
}
@keyframes ribbon-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.card-ribbon.shine {
  overflow: hidden;
}
.card-ribbon.shine::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-25deg);
  animation: ribbon-sweep 2.5s ease-in-out infinite;
}
@keyframes ribbon-sweep {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ==================== 标签徽章 ==================== */

.card-name-row { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.card-badges { display: inline-flex; gap: .4rem; flex-shrink: 0; }
.card-badge {
  font-size: 1rem; padding: .2rem .7rem;
  border-radius: 5rem; font-weight: 700;
  letter-spacing: .3px; white-space: nowrap;
}
.card-badge.pinned { color: var(--primary); }

/* ==================== 促销标签 ==================== */

.promo-badge {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.4rem;
}

/* ==================== 空状态 ==================== */

.empty-state {
  text-align: center; padding: 10rem 2rem; color: var(--text-muted);
}
.empty-state i { font-size: 5rem; margin-bottom: 2rem; opacity: .3; }
.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 2rem; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: .8rem;
}
.empty-state p { font-size: 1.4rem; }

/* ==================== 幻灯片 ==================== */

.slideshow-section { width: 100%; margin-bottom: 0; }
.slideshow-wrap {
  position: relative; width: 100%;
  aspect-ratio: 21/9; max-height: 50rem;
  overflow: hidden; background: #000;
}
.slideshow-track {
  display: flex; width: 100%; height: 100%;
  transition: transform .5s cubic-bezier(.25,.1,.25,1);
}
.slideshow-track .slide {
  min-width: 100%; height: 100%;
  background-size: cover; background-position: center;
  cursor: pointer; flex-shrink: 0;
}
.slideshow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 5rem; height: 5rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4); backdrop-filter: blur(10px);
  color: #fff; font-size: 2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; z-index: 2;
}
.slideshow-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slideshow-arrow.prev { left: 2.4rem; }
.slideshow-arrow.next { right: 2.4rem; }
.slideshow-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 1rem; z-index: 2;
}
.slideshow-dots .dot {
  width: 1rem; height: 1rem; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none;
  cursor: pointer; transition: all .3s; padding: 0;
}
.slideshow-dots .dot.active {
  background: var(--primary); width: 3rem; border-radius: 5rem;
}

/* ==================== 公告栏 ==================== */

.announce-section {
  max-width: 170rem; margin: 0 auto;
  padding: 2.8rem 3rem 0;
}
.announce-wrap { display: flex; gap: 2.4rem; }
.announce-col {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.announce-col-header {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.2rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: #fff;
  background: var(--primary-gradient);
}
.announce-scroll { height: 3.4rem; overflow: hidden; position: relative; }
.announce-scroll-inner { padding: 0 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.announce-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1rem; height: 3.4rem;
  border-radius: .6rem; background: rgba(255,255,255,.02);
  cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.announce-item:hover { background: rgba(255,255,255,.05); }
.announce-item-title {
  flex: 1; font-size: 1.3rem; font-weight: 600;
  color: var(--text); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; padding-right: 1rem;
}
.announce-item-date { font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; }
.announce-empty { text-align: center; color: var(--text-muted); padding: 1.2rem 0; font-size: 1.3rem; }

/* 公告详情弹窗 */
.announce-detail-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.8); backdrop-filter: blur(6px);
  z-index: 1000; align-items: center; justify-content: center;
}
.announce-detail-overlay.active { display: flex; }
.announce-detail-dialog {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 60rem; max-width: 92vw; max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp .3s ease;
}
.announce-detail-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 2.4rem; border-bottom: 1px solid var(--border);
}
.announce-detail-header h3 { font-family: var(--font-heading); font-size: 1.8rem; text-transform: uppercase; }
.announce-detail-close {
  width: 3.2rem; height: 3.2rem; border-radius: .8rem;
  border: none; background: none; font-size: 2.2rem;
  color: var(--text-muted); cursor: pointer;
}
.announce-detail-close:hover { background: rgba(255,255,255,.06); color: var(--text); }
.announce-detail-body {
  padding: 2.4rem; font-size: 1.4rem; line-height: 1.8; color: var(--text-secondary);
}
.announce-detail-body p { margin-bottom: 1.2rem; }
.announce-detail-body ul, .announce-detail-body ol { margin-bottom: 1.2rem; padding-left: 2rem; }

/* ==================== 灯箱 ==================== */

.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.92); z-index: 999;
  align-items: center; justify-content: center; padding: 4rem;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 25px 80px rgba(0,0,0,.5);
  animation: fadeInUp .3s ease;
}
.lightbox-close {
  position: absolute; top: 2rem; right: 2.4rem;
  width: 4.4rem; height: 4.4rem; border-radius: 50%;
  border: none; background: rgba(255,255,255,.08);
  color: #fff; font-size: 2.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ==================== Toast ==================== */

.toast-container {
  position: fixed; top: 2rem; right: 2rem; z-index: 9999;
  display: flex; flex-direction: column; gap: .8rem;
}
.toast {
  padding: 1.2rem 2rem; border-radius: var(--radius-sm);
  color: #fff; font-size: 1.3rem; font-weight: 500;
  animation: slideIn .3s ease, slideOut .3s ease 2.7s forwards;
  box-shadow: var(--shadow-md); max-width: 36rem;
}
.toast-success { background: var(--success); }
.toast-error   { background: var(--danger); }
.toast-info    { background: var(--primary); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100%); opacity: 0; }
}

/* ==================== Footer ==================== */

.site-footer {
  text-align: center;
  padding: 4rem 2.4rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: 1.3rem;
  border-top: 1px solid var(--border);
}
.footer-links {
  margin-bottom: 1.2rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 0;
}
.footer-links a {
  color: var(--text-muted); text-decoration: none; font-size: 1.3rem;
  padding: 0 .8rem; transition: color .15s;
}
.footer-links a:hover { color: var(--primary); }
.footer-sep { color: var(--border); padding: 0 .2rem; }
.footer-copyright { font-size: 1.2rem; color: var(--text-muted); }

/* ==================== 倒计时 ==================== */

.countdown-timer {
  display: inline-flex; align-items: center; gap: .8rem;
  background: rgba(255,72,72,.06);
  border: 1px solid rgba(255,72,72,.15);
  border-radius: var(--radius-sm);
  padding: .8rem 1.2rem;
  margin-bottom: 1.4rem;
  max-width: 100%;
}
.countdown-timer .countdown-label {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--primary); white-space: nowrap;
  letter-spacing: .5px; text-transform: uppercase;
  flex-shrink: 0;
}
.countdown-nums { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.cd-item { display: flex; align-items: baseline; gap: .2rem; }
.cd-item em {
  font-size: 1.3rem; font-weight: 800; font-style: normal;
  color: var(--text); background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: .3rem; padding: .1rem .4rem;
  min-width: 2.2rem; text-align: center;
  line-height: 1.3; font-family: var(--font-heading);
}
.cd-item i { font-size: .9rem; font-style: normal; color: var(--text-muted); }
.cd-sep { font-size: 1.1rem; font-weight: 300; color: var(--text-dim); padding: 0 .1rem; line-height: 1; }

/* ==================== 用户下拉 ==================== */

#userNavArea { display: inline-flex; }
.user-dropdown { position: relative; display: inline-flex; }
.user-dropdown .dropdown-toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.8rem; border-radius: 5rem;
  color: #fff; font-size: 1.3rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  background: var(--primary-gradient);
  border: none;
  font-family: var(--font-body);
  letter-spacing: .5px;
}
.user-dropdown .dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0;
  padding-top: .6rem; z-index: 110;
}
.user-dropdown:hover .dropdown-menu { display: block; }
.user-dropdown .dropdown-menu-inner {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 14rem; overflow: hidden;
}
.dropdown-menu-inner a, .dropdown-menu-inner button {
  display: flex; align-items: center; gap: .8rem;
  width: 100%; padding: 1rem 1.6rem;
  font-size: 1.3rem; color: var(--text-secondary);
  text-decoration: none; border: none;
  background: none; cursor: pointer;
  transition: all .15s; font-family: var(--font-body);
}
.dropdown-menu-inner a:hover, .dropdown-menu-inner button:hover {
  background: var(--primary-light); color: var(--primary);
}
.dropdown-menu-inner button { color: var(--danger); }
.dropdown-menu-inner button:hover { background: rgba(239,68,68,.1); color: var(--danger); }

/* ==================== 骨架屏 ==================== */

.system-card.skeleton, .featured-card.skeleton {
  background: linear-gradient(90deg, rgba(128,128,128,.08) 25%, rgba(128,128,128,.15) 50%, rgba(128,128,128,.08) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border: none;
  border-radius: var(--radius);
  pointer-events: none;
}
.featured-card.skeleton { min-height: 24rem; }
.system-card.skeleton { min-height: 18rem; }

/* ==================== 人偶 ==================== */

.mascot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 26rem;
  position: relative;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  margin-top: -24rem;
  margin-bottom: -3rem;
}
.mascot-img {
  height: 20rem;
  width: auto;
  position: relative;
  z-index: 2;
  image-rendering: auto;
  will-change: contents;
}
.mascot-shadow {
  width: 7rem;
  height: 1rem;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: -4.6rem;
  z-index: 1;
}
@media (max-width: 768px) {
  .mascot-wrapper { display: none; }
}

/* ==================== 响应式 ==================== */

@media (max-width: 1200px) {
  .systems-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .slideshow-wrap { aspect-ratio: 16/9; max-height: 32rem; }
  .announce-wrap { flex-direction: column; }
  .hero-title { font-size: 6.5rem; letter-spacing: -2px; }
  .hero-subtitle { font-size: 2.6rem; }
  .hero-eyebrow { font-size: 1.8rem; }
  .section-title { font-size: 3.6rem; }
  .featured-card.has-image { flex-direction: column; }
  .featured-card-image { width: 100%; aspect-ratio: 21/9; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .featured-card-image-bg { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .featured-card-info { padding: 2.4rem; }
  .featured-card.has-image .card-desc { margin-bottom: 1rem; }
  .featured-card.has-image .card-footer { padding-top: 1.4rem; }
  .pricing-grid { flex-direction: column; }
  .pricing-card { max-width: none; }
  .header-nav .nav-link { padding: .6rem 1.2rem; font-size: 1.2rem; }
}
@media (max-width: 640px) {
  .systems-grid { grid-template-columns: 1fr; }
  .slideshow-wrap { aspect-ratio: 4/3; max-height: 28rem; }
  .filter-section { flex-direction: column; align-items: stretch; max-width: 100%; }
  .search-box { width: 100%; }
  .category-pills {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; width: 100%; padding-bottom: .4rem;
  }
  .category-pills::-webkit-scrollbar { display: none; }
  .pill { flex-shrink: 0; white-space: nowrap; font-size: 1.2rem; padding: .6rem 1.4rem; }
  .hero-section { min-height: 100vh; min-height: 100dvh; padding: 8rem 2rem 4rem; }
  .hero-title { font-size: 4.5rem; letter-spacing: -1px; white-space: normal; word-break: break-all; }
  .hero-content { padding: 0; }
  .hero-subtitle { font-size: 2.2rem; }
  .hero-eyebrow { font-size: 1.6rem; }
  .section-title { font-size: 2.8rem; }
  .site-header { padding: 0 1.2rem; height: 6rem; }
  .header-nav { gap: 0; }
  .header-nav .nav-link { padding: .5rem .8rem; font-size: 1.1rem; }
  .brand-icon { width: 3.4rem; height: 3.4rem; }
  .featured-card { padding: 2.4rem; }
  .featured-card .card-name { font-size: 2.2rem; }
  .countdown-timer { padding: .6rem 1rem; gap: .6rem; flex-wrap: wrap; justify-content: center; }
  .cd-item em { font-size: 1.1rem; min-width: 1.8rem; padding: .1rem .3rem; }
  .countdown-nums { flex-wrap: wrap; justify-content: center; }
  .detail-hero { min-height: 32rem; }
  .detail-hero-content { padding: 6rem 2rem 4rem; }
  .detail-hero-name { font-size: 2.8rem; }
  .detail-hero-actions { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-body { flex-direction: column; gap: 3rem; text-align: center; }
  .contact-frame { width: 22rem; height: 22rem; }
  .contact-frame-figure { width: 16rem; height: 16rem; }
  .contact-brand-mark { justify-content: center; }
  .contact-links { justify-content: center; }
  .contact-cards { flex-direction: column; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 3.6rem; white-space: normal; }
  .hero-subtitle { font-size: 1.8rem; }
  .hero-eyebrow { font-size: 1.4rem; }
  .header-nav .nav-link { padding: .4rem .6rem; font-size: 1rem; letter-spacing: 0; }
  .btn { padding: 1rem 2rem; font-size: 1.3rem; }
  .btn-sm { padding: .7rem 1.4rem; font-size: 1.1rem; }
}
