/* =========================================================
   海口海誉科技官网 - 全局样式
   配色：电光紫 / 霓虹青 / 玫瑰粉 / 深空黑紫
   风格：未来科技 + 高级感（与赤兔产品LOGO红黑金区分）
   ========================================================= */

:root {
  /* 主题色 - 紫青粉霓虹系 */
  --color-red: #A855F7;          /* 主紫（变量名保留兼容，实为紫色） */
  --color-red-deep: #6D28D9;     /* 深紫 */
  --color-red-bright: #C084FC;   /* 亮紫 */
  --color-gold: #EC4899;         /* 玫瑰粉（变量名保留兼容，实为粉色） */
  --color-gold-bright: #F472B6;  /* 亮粉 */
  --color-cyan: #06B6D4;         /* 霓虹青 */
  --color-cyan-deep: #0E7490;    /* 深青 */
  --color-accent: #FFD48F;       /* 高光金 - 仅作点睛 */

  /* 中性色 - 深空黑紫底 */
  --color-bg: #06040F;
  --color-bg-2: #0B0820;
  --color-bg-3: #131032;
  --color-surface: rgba(255,255,255,0.04);
  --color-surface-2: rgba(255,255,255,0.07);
  --color-border: rgba(168,85,247,0.22);
  --color-border-cyan: rgba(6,182,212,0.26);
  --color-text: #F8FAFC;
  --color-text-2: #B0B7D4;
  --color-text-3: #6E7596;

  /* 字体 */
  --font-sans: "PingFang SC","Microsoft YaHei","Hiragino Sans GB","Source Han Sans CN","Noto Sans CJK SC",sans-serif;
  --font-mono: "JetBrains Mono","Consolas","SF Mono",monospace;

  /* 阴影 - 霓虹紫粉光晕 */
  --shadow-glow-red: 0 0 40px rgba(168,85,247,0.45), 0 0 80px rgba(168,85,247,0.25);
  --shadow-glow-gold: 0 0 30px rgba(236,72,153,0.35);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.55);

  /* 容器 */
  --container: 1200px;
}

/* ============ 重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ 全局背景 ============ */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(168,85,247,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(6,182,212,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(236,72,153,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(236,72,153,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,72,153,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ============ 容器 ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============ 顶部导航 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all .35s ease;
  background: linear-gradient(180deg, rgba(6,7,13,0.92) 0%, rgba(6,7,13,0.4) 80%, transparent 100%);
  backdrop-filter: blur(0px);
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(6,7,13,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 44px; height: 44px;
  filter: drop-shadow(0 0 12px rgba(168,85,247,0.6));
  transition: transform .4s;
}
.nav-brand:hover .nav-logo { transform: rotate(-6deg) scale(1.06); }
.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-title .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-bright) 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-title .slogan {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--color-text-3);
  margin-top: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 16px;
  font-size: 14px;
  color: var(--color-text-2);
  letter-spacing: 1px;
  position: relative;
  transition: color .25s;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--color-gold-bright);
}
.nav-menu a:hover::after, .nav-menu a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-deep) 100%);
  border: 1px solid rgba(236,72,153,0.4);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.nav-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,212,143,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-red); }
.nav-cta:hover::before { transform: translateX(120%); }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-gold);
  transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(168,85,247,0.35) 0%, rgba(168,85,247,0.08) 35%, transparent 70%);
  filter: blur(40px);
  animation: floatGlow 12s ease-in-out infinite;
}
.hero-glow.g1 { top: -200px; left: -100px; }
.hero-glow.g2 {
  bottom: -250px; right: -150px;
  background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, rgba(6,182,212,0.06) 35%, transparent 70%);
  animation-delay: -6s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--color-gold-bright);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(236,72,153,0.06);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--color-red-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-red-bright);
  animation: pulse 1.6s infinite;
}
.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--color-red-bright) 0%, var(--color-gold) 60%, var(--color-gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), transparent);
}
.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-2);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  transition: all .3s;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-deep) 100%);
  border: 1px solid rgba(236,72,153,0.5);
  box-shadow: 0 8px 30px rgba(168,85,247,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(168,85,247,0.6); }
.btn-ghost {
  color: var(--color-gold-bright);
  background: rgba(236,72,153,0.04);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: rgba(236,72,153,0.12); border-color: var(--color-gold); }
.btn svg { width: 14px; height: 14px; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-gold-bright);
  line-height: 1;
  letter-spacing: 1px;
}
.hero-stat .num .unit { font-size: 16px; color: var(--color-text-3); margin-left: 4px; }
.hero-stat .label {
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 2px;
  margin-top: 6px;
}

/* Hero 视觉区 - LOGO 展示 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.hero-logo-frame {
  position: relative;
  width: 380px; height: 380px;
  display: flex; justify-content: center; align-items: center;
}
.hero-logo-frame::before, .hero-logo-frame::after {
  content: "";
  position: absolute;
  border: 1px solid var(--color-border);
  border-radius: 50%;
}
.hero-logo-frame::before {
  width: 100%; height: 100%;
  border-color: rgba(168,85,247,0.4);
  animation: spinSlow 30s linear infinite;
  border-style: dashed;
}
.hero-logo-frame::after {
  width: 85%; height: 85%;
  border-color: rgba(236,72,153,0.3);
  animation: spinSlow 20s linear infinite reverse;
}
.hero-logo {
  width: 280px;
  filter: drop-shadow(0 0 40px rgba(168,85,247,0.6)) drop-shadow(0 0 80px rgba(236,72,153,0.3));
  animation: floatY 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.hero-orbit {
  position: absolute;
  width: 110%; height: 110%;
  pointer-events: none;
}
.hero-orbit .node {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-cyan);
}
.hero-orbit .node.n1 { top: 5%; left: 50%; }
.hero-orbit .node.n2 { bottom: 10%; right: 8%; background: var(--color-gold); box-shadow: 0 0 12px var(--color-gold); }
.hero-orbit .node.n3 { bottom: 20%; left: 5%; background: var(--color-red-bright); box-shadow: 0 0 12px var(--color-red-bright); }
.hero-orbit .ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(6,182,212,0.18);
  border-radius: 50%;
  animation: spinSlow 40s linear infinite;
}
.hero-orbit .ring.r2 { inset: 8%; border-color: rgba(236,72,153,0.14); animation-duration: 28s; animation-direction: reverse; }

/* 滚动提示 */
.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--color-text-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 30%;
  background: var(--color-gold-bright);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============ 通用 Section ============ */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--color-gold);
  padding: 4px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(236,72,153,0.05);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  font-size: 15px;
  color: var(--color-text-2);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============ 产品矩阵 ============ */
.product-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.product-card {
  position: relative;
  padding: 40px;
  background: linear-gradient(160deg, var(--color-bg-2) 0%, var(--color-bg-3) 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all .4s;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-6px); border-color: var(--color-gold); }
.product-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-gold);
  padding: 4px 10px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  margin-bottom: 18px;
}
.product-card h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.product-card h3 .small {
  font-size: 14px;
  color: var(--color-text-3);
  font-weight: 400;
  margin-left: 8px;
}
.product-card p {
  color: var(--color-text-2);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.product-card .features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.product-card .features li {
  font-size: 12px;
  color: var(--color-text-2);
  padding: 4px 10px;
  background: rgba(236,72,153,0.06);
  border: 1px solid var(--color-border);
  letter-spacing: 1px;
}
.product-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold-bright);
  font-size: 13px;
  letter-spacing: 2px;
  transition: gap .3s;
}
.product-card .more:hover { gap: 14px; }
.product-card .more svg { width: 14px; height: 14px; }

.product-card.featured {
  background: linear-gradient(160deg, rgba(168,85,247,0.18) 0%, rgba(11,14,24,0.95) 60%);
  border-color: rgba(168,85,247,0.4);
}
.product-card.featured::before {
  background: linear-gradient(90deg, var(--color-red-bright), var(--color-gold), var(--color-red-bright));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  transform: scaleX(1);
}
.product-card .deco {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  opacity: .15;
  pointer-events: none;
}

/* ============ 模块特性卡 ============ */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.module-card {
  position: relative;
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all .35s;
  overflow: hidden;
}
.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168,85,247,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.module-card:hover { transform: translateY(-4px); border-color: rgba(168,85,247,0.5); }
.module-card:hover::before { opacity: 1; }
.module-card .ico {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.module-card .ico svg { width: 100%; height: 100%; }
.module-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.module-card p {
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.7;
  position: relative; z-index: 1;
}
.module-card .num {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 1px;
  z-index: 1;
}

/* ============ 收银终端特性 ============ */
.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pos-card {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--color-bg-2) 0%, var(--color-bg-3) 100%);
  border: 1px solid var(--color-border);
  transition: all .4s;
  overflow: hidden;
}
.pos-card:hover { border-color: var(--color-cyan); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(6,182,212,0.15); }
.pos-card .ico {
  width: 56px; height: 56px;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(236,72,153,0.1));
  border: 1px solid var(--color-border);
  position: relative;
}
.pos-card .ico::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px dashed rgba(236,72,153,0.3);
  opacity: 0;
  transition: opacity .4s;
}
.pos-card:hover .ico::before { opacity: 1; animation: spinSlow 8s linear infinite; }
.pos-card .ico svg { width: 28px; height: 28px; }
.pos-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--color-gold-bright);
}
.pos-card p {
  font-size: 14px;
  color: var(--color-text-2);
  line-height: 1.8;
}
.pos-card .tag {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-3);
  letter-spacing: 1px;
}

/* ============ 解决方案 Tab ============ */
.solution-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.solution-tab {
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-text-2);
  border: 1px solid var(--color-border);
  background: transparent;
  transition: all .3s;
  position: relative;
}
.solution-tab:hover { color: var(--color-gold-bright); border-color: var(--color-gold); }
.solution-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  border-color: var(--color-red);
  box-shadow: 0 8px 24px rgba(168,85,247,0.35);
}
.solution-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.solution-content.active { display: grid; animation: fadeUp .6s ease; }
.solution-text h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-red-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.solution-text p {
  color: var(--color-text-2);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.solution-text ul li {
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: var(--color-text-2);
  position: relative;
  border-bottom: 1px solid rgba(236,72,153,0.08);
}
.solution-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 14px; height: 1px;
  background: var(--color-gold);
}
.solution-text ul li::after {
  content: "";
  position: absolute;
  left: 14px; top: 15px;
  width: 6px; height: 6px;
  border: 1px solid var(--color-gold);
  transform: rotate(45deg);
}
.solution-visual {
  position: relative;
  height: 380px;
  background: linear-gradient(135deg, var(--color-bg-2), var(--color-bg-3));
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.solution-visual .frame {
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(236,72,153,0.2);
  pointer-events: none;
}
.solution-visual .corner {
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--color-gold);
}
.solution-visual .corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.solution-visual .corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.solution-visual .corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.solution-visual .corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.solution-visual svg { width: 100%; height: 100%; }

/* ============ 数据条 ============ */
.data-band {
  background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(11,14,24,0.6) 50%, rgba(6,182,212,0.08) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 60px 0;
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.data-item .num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(180deg, var(--color-gold-bright), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  line-height: 1;
}
.data-item .num .unit { font-size: 18px; color: var(--color-text-3); }
.data-item .label {
  font-size: 13px;
  color: var(--color-text-2);
  letter-spacing: 3px;
  margin-top: 12px;
}

/* ============ 案例 ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  position: relative;
  padding: 32px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all .35s;
  overflow: hidden;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--color-gold); }
.case-card .industry {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.case-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.case-card p {
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.case-card .metrics {
  display: flex;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(236,72,153,0.12);
}
.case-card .metrics .m {
  flex: 1;
}
.case-card .metrics .m .v {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--color-gold-bright);
  font-weight: 700;
}
.case-card .metrics .m .l {
  font-size: 11px;
  color: var(--color-text-3);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============ 流程 ============ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-grid::before {
  content: "";
  position: absolute;
  top: 30px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-red), var(--color-gold), transparent);
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow-step .num {
  width: 60px; height: 60px;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-2);
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--color-gold-bright);
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(236,72,153,0.3);
}
.flow-step h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.7;
}

/* ============ 关于 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h3 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.3;
}
.about-text h3 .accent {
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-text p {
  color: var(--color-text-2);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.about-text .values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-text .values .v {
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--color-red);
}
.about-text .values .v .t {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold-bright);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.about-text .values .v .d {
  font-size: 12px;
  color: var(--color-text-3);
  line-height: 1.7;
}

.about-visual {
  position: relative;
  height: 460px;
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(6,182,212,0.05));
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-visual .corner { position: absolute; width: 24px; height: 24px; border: 2px solid var(--color-gold); }
.about-visual .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.about-visual .corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.about-visual .corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.about-visual .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.about-visual .logo { width: 60%; filter: drop-shadow(0 0 40px rgba(168,85,247,0.5)); }
.about-visual .ring {
  position: absolute;
  border: 1px dashed rgba(236,72,153,0.2);
  border-radius: 50%;
}
.about-visual .ring.r1 { inset: 10%; animation: spinSlow 40s linear infinite; }
.about-visual .ring.r2 { inset: 20%; animation: spinSlow 30s linear infinite reverse; border-color: rgba(168,85,247,0.2); }

/* ============ 联系 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info {
  padding: 40px;
  background: linear-gradient(160deg, rgba(168,85,247,0.12), var(--color-bg-2));
  border: 1px solid var(--color-border);
}
.contact-info h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.contact-info .sub {
  font-size: 13px;
  color: var(--color-text-3);
  letter-spacing: 2px;
  margin-bottom: 32px;
}
.contact-info .item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(236,72,153,0.1);
}
.contact-info .item:last-child { border-bottom: none; }
.contact-info .item .ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(236,72,153,0.08);
  border: 1px solid var(--color-border);
}
.contact-info .item .ico svg { width: 18px; height: 18px; }
.contact-info .item .text .l {
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.contact-info .item .text .v {
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: 1px;
}
.contact-form {
  padding: 40px;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.contact-form .sub {
  font-size: 13px;
  color: var(--color-text-3);
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 12px;
  color: var(--color-text-2);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.form-row label .req { color: var(--color-red-bright); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  outline: none;
  transition: all .25s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--color-gold);
  background: var(--color-surface-2);
  box-shadow: 0 0 0 3px rgba(236,72,153,0.1);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; }

/* ============ 页脚 ============ */
.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(236,72,153,0.1);
}
.footer-brand .logo-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.footer-brand .logo-row img { width: 48px; }
.footer-brand .logo-row .name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand p {
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.9;
  margin-bottom: 20px;
}
.footer-brand .slogan-row {
  display: inline-flex;
  align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 2px;
  padding: 8px 14px;
  border: 1px dashed var(--color-border);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold-bright);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: var(--color-text-2);
  letter-spacing: 1px;
  transition: all .25s;
}
.footer-col ul li a:hover { color: var(--color-gold); padding-left: 4px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .copy {
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 1px;
}
.footer-bottom .copy a { color: var(--color-text-2); }
.footer-bottom .copy a:hover { color: var(--color-gold); }
.footer-bottom .links {
  display: flex; gap: 20px;
  font-size: 12px;
  color: var(--color-text-3);
}
.footer-bottom .links a:hover { color: var(--color-gold); }

/* ============ Page Hero (内页) ============ */
.page-hero {
  padding: 180px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168,85,247,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(6,182,212,0.08) 0%, transparent 50%);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-text-3);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-text-3); }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .desc {
  font-size: 16px;
  color: var(--color-text-2);
  max-width: 720px;
  line-height: 1.8;
}

/* ============ 子页面 section 容器 ============ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-split:nth-child(even) .feature-text { order: 2; }
.feature-split .feature-text h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.feature-split .feature-text h3 .accent {
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-split .feature-text p {
  color: var(--color-text-2);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.feature-split .feature-text ul li {
  padding: 10px 0 10px 30px;
  font-size: 14px;
  color: var(--color-text-2);
  position: relative;
  border-bottom: 1px solid rgba(236,72,153,0.06);
}
.feature-split .feature-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}
.feature-split .feature-visual {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--color-bg-2), var(--color-bg-3));
  border: 1px solid var(--color-border);
  overflow: hidden;
  padding: 30px;
}
.feature-split .feature-visual .corner { position: absolute; width: 24px; height: 24px; border: 2px solid var(--color-gold); }
.feature-split .feature-visual .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.feature-split .feature-visual .corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.feature-split .feature-visual .corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.feature-split .feature-visual .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* 终端视觉占位 */
.pos-mockup {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* ============ 硬件参数表 ============ */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.spec-table th, .spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(236,72,153,0.1);
  font-size: 14px;
}
.spec-table th {
  color: var(--color-gold-bright);
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(236,72,153,0.05);
  width: 25%;
}
.spec-table td { color: var(--color-text-2); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: rgba(168,85,247,0.05); }

/* ============ CTA Band ============ */
.cta-band {
  background: linear-gradient(135deg, rgba(168,85,247,0.18) 0%, rgba(11,14,24,0.6) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(236,72,153,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236,72,153,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 16px;
  position: relative;
}
.cta-band h2 .accent {
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-band p {
  color: var(--color-text-2);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 32px;
  position: relative;
}
.cta-band .actions {
  display: flex; gap: 16px; justify-content: center;
  position: relative;
}

/* ============ 时间线 ============ */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--color-red), var(--color-gold), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 4px;
  width: 12px; height: 12px;
  background: var(--color-bg);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-gold);
}
.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-gold-bright);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 13px;
  color: var(--color-text-2);
  line-height: 1.8;
}

/* ============ 动画 ============ */
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatGlow {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(.95); }
}
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 滚动入场 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 360px; }
  .hero-logo-frame { width: 320px; height: 320px; }
  .hero-logo { width: 230px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-grid, .case-grid, .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid::before { display: none; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .about-grid, .contact-grid, .solution-content, .feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-split:nth-child(even) .feature-text { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(6,7,13,0.98);
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .module-grid, .pos-grid, .case-grid, .flow-grid, .data-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat .num { font-size: 26px; }
  .product-card, .pos-card, .case-card, .contact-info, .contact-form { padding: 24px; }
  .btn { padding: 12px 22px; font-size: 13px; }
}
