/* ============================================================
   存储销售官网 — 设计系统
   深色科技风 + 红色点缀
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg-soft: #10131a;
  --surface: #151922;
  --surface-2: #1b2029;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1f5;
  --text-muted: #9aa3af;
  --text-dim: #6b7482;
  --accent: #e0263c;
  --accent-strong: #c81f33;
  --accent-glow: rgba(224, 38, 60, 0.35);
  --accent-soft: rgba(224, 38, 60, 0.12);
  --gold: #e7b85c;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, monospace;
  --maxw: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tint {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #f0334a, var(--accent-strong));
  color: #fff;
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-soft);
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------------- Header ---------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 13, 18, 0.9);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand .logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0334a, var(--accent-strong));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 22px var(--accent-glow);
}

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active {
  background: var(--accent-soft);
}

.nav a.has-drop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav .drop {
  position: relative;
}

.nav .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 170px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  box-shadow: var(--shadow);
}

.nav .drop:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.nav .dropdown a:hover {
  background: var(--surface);
  color: #fff;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .tel {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-muted);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(224, 38, 60, 0.18), transparent 55%),
    radial-gradient(900px 600px at 10% 110%, rgba(60, 90, 180, 0.16), transparent 55%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: 0.35;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(224, 38, 60, 0.25);
  color: #ff8a98;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero h1 .grad {
  background: linear-gradient(120deg, #ff6a7c, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.hero-stats .stat b em {
  font-style: normal;
  color: var(--accent);
}

.hero-stats .stat span {
  font-size: 13px;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
}

.hero-visual .ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.hero-visual .ring.r2 {
  inset: 13%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 34s;
}

.hero-visual .ring.r3 {
  inset: 27%;
  border-color: rgba(224, 38, 60, 0.35);
  animation-duration: 20s;
}

.hero-visual .core {
  position: absolute;
  inset: 38%;
  border-radius: 22%;
  background: linear-gradient(135deg, #222833, #12151c);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  box-shadow: 0 0 70px rgba(224, 38, 60, 0.25), var(--shadow);
}

.hero-visual .core span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}

.hero-visual .chip {
  position: absolute;
  width: 58px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #232a36, #151a23);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

.hero-visual .chip.c1 { top: 8%; left: 46%; }
.hero-visual .chip.c2 { top: 42%; right: -2%; }
.hero-visual .chip.c3 { bottom: 6%; left: 34%; }
.hero-visual .chip.c4 { top: 42%; left: -2%; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------------- Marquee ---------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll 28s linear infinite;
}

.marquee-track span {
  font-size: 15px;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------------- Cards ---------------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 38, 60, 0.4);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before { opacity: 1; }

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

.card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* product card */
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 38, 60, 0.4);
}

.product-card .thumb {
  height: 190px;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, #1b212c, #12151c);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.product-card .thumb .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--text-muted);
}

.product-card .thumb svg {
  width: 76px;
  height: 76px;
  color: var(--text-muted);
}

.product-card .body {
  padding: 22px 22px 24px;
}

.product-card .body h3 {
  font-size: 18px;
  font-weight: 700;
}

.product-card .body .desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
  min-height: 44px;
}

.product-card .body .specs {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card .body .specs span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text-muted);
}

.product-card .body .foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card .body .price {
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
}

.product-card .body .price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  margin-right: 2px;
}

/* ---------------- News ---------------- */
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 38, 60, 0.4);
}

.news-card .thumb {
  height: 180px;
  background: linear-gradient(135deg, #1d2430, #12151c);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
}

.news-card .thumb svg {
  width: 54px;
  height: 54px;
}

.news-card .body {
  padding: 22px;
}

.news-card .date {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0;
  line-height: 1.45;
}

.news-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(224, 38, 60, 0.35), transparent 60%),
    linear-gradient(135deg, #161b24, #0e1116);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
}

.cta-band p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ---------------- Footer ---------------- */
.footer {
  background: #08090d;
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer .brand {
  margin-bottom: 16px;
}

.footer .about {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 320px;
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.footer ul li {
  margin-bottom: 11px;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer ul a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-contact li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------------- Page hero (sub pages) ---------------- */
.page-hero {
  padding: 150px 0 72px;
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(224, 38, 60, 0.16), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-hero p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------------- Feature split ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 30% 10%, #1d2430, #10131a);
  display: grid;
  place-items: center;
  color: var(--text-dim);
}

.split .visual svg {
  width: 120px;
  height: 120px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.check-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 2px;
}

/* ---------------- Contact form ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

/* ---------------- Reveal animation ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    padding: 16px;
    gap: 4px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; }
  .nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 12px;
  }
  .header-cta .tel { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .section { padding: 64px 0; }
}
