:root {
  --bg: #0b0614;
  --bg-soft: #140a20;
  --bg-card: rgba(255, 255, 255, 0.04);
  --line: rgba(198, 168, 228, 0.16);
  --text: #e8f0fb;
  --text-dim: #9fb0c8;
  --primary: #c026d3;
  --primary-2: #7e007c;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(11, 6, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  display: block;
  height: 34px;
  width: auto;
}

.brand-logo-sm img { height: 26px; }

.brand-text { font-size: 18px; letter-spacing: 0.04em; }

.brand-text em {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-dim);
  margin-left: 8px;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  color: var(--text-dim);
}

.nav a { transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(192, 38, 211, 0.5);
  color: var(--primary) !important;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary);
  color: #ffffff !important;
}

.lang-switch { position: relative; margin-left: 18px; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover { color: var(--text); border-color: rgba(192, 38, 211, 0.5); }

.lang-btn > svg:first-child { width: 16px; height: 16px; fill: currentColor; }

.lang-caret { width: 14px; height: 14px; fill: currentColor; transition: transform 0.2s ease; }

.lang-switch.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #170c24;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 130;
}

.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }

.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dim);
  white-space: nowrap;
}

.lang-menu a:hover { background: rgba(192, 38, 211, 0.12); color: var(--text); }

.lang-menu a.active { color: var(--primary); font-weight: 600; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% 25%, rgba(192, 38, 211, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(11, 6, 20, 0.55) 0%, rgba(11, 6, 20, 0.88) 55%, var(--bg) 100%);
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(190, 140, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 140, 235, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 72%);
}

.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  margin: 0 0 22px;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.grad-text {
  background: linear-gradient(100deg, #e879f9, #c026d3 45%, #d946ef 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #c3d2e6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #c026d3, #7e007c);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(192, 38, 211, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(192, 38, 211, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(200, 220, 245, 0.28);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(192, 38, 211, 0.65);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 66px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* Sections */
.section { padding: 110px 0; }

.section-alt {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(126, 0, 124, 0.1), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-head h2 {
  margin: 0 0 14px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.25;
}

.section-sub { margin: 0; color: var(--text-dim); font-size: 17px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  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(192, 38, 211, 0.45);
  box-shadow: 0 24px 60px rgba(8, 4, 16, 0.55);
}

.card-media { aspect-ratio: 4 / 3; overflow: hidden; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img { transform: scale(1.06); }

.card-body { padding: 26px 24px 30px; }

.card-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.card-body h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; }

.card-body p { margin: 0 0 16px; color: var(--text-dim); font-size: 15px; }

.card-list { margin: 0; padding: 0; list-style: none; }

.card-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #b9c8dd;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.prod-card {
  padding: 28px 24px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.prod-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 38, 211, 0.45);
  box-shadow: 0 22px 50px rgba(8, 4, 16, 0.55);
}

.prod-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(192, 38, 211, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.3);
}

.prod-icon svg { width: 26px; height: 26px; fill: var(--primary); }

.prod-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }

.prod-card p { margin: 0; font-size: 15px; color: var(--text-dim); }

.prod-note {
  margin: 30px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
}

/* Solutions */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sol-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #c026d3);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.sol-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 38, 211, 0.45);
  box-shadow: 0 22px 50px rgba(8, 4, 16, 0.55);
}

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

.sol-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.sol-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(192, 38, 211, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.3);
}

.sol-icon svg { width: 22px; height: 22px; fill: var(--primary); }

.sol-card h3 { margin: 0; font-size: 19px; font-weight: 600; }

.sol-card p { margin: 0 0 20px; font-size: 15px; color: var(--text-dim); }

.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.sol-tags li {
  padding: 4px 10px;
  font-size: 12.5px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature:hover { border-color: rgba(192, 38, 211, 0.45); transform: translateY(-4px); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(192, 38, 211, 0.12);
  border: 1px solid rgba(192, 38, 211, 0.28);
}

.feature-icon svg { width: 24px; height: 24px; fill: var(--primary); }

.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }

.feature p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  background: linear-gradient(135deg, #1a0f2b, #0e0717);
}

.about-badge {
  position: absolute;
  right: -14px;
  bottom: -14px;
  padding: 18px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.95), rgba(126, 0, 124, 0.95));
  color: #ffffff;
  text-align: center;
  box-shadow: 0 18px 40px rgba(11, 6, 20, 0.6);
}

.about-badge strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  line-height: 1.1;
}

.about-badge span { font-size: 12px; letter-spacing: 0.08em; }

.about-copy h2 { margin: 0 0 18px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.3; }

.about-copy p { margin: 0 0 16px; color: var(--text-dim); }

.about-list {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #c6d4e6;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  display: block;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }

.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* Contact */
.contact { padding-bottom: 120px; }

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 54px;
  border-radius: 26px;
  border: 1px solid rgba(192, 38, 211, 0.28);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(126, 0, 124, 0.22), transparent 65%),
    linear-gradient(160deg, rgba(192, 38, 211, 0.12), rgba(11, 6, 20, 0.6));
}

.contact-copy h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; }

.contact-copy p { margin: 0; color: var(--text-dim); max-width: 440px; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 6, 20, 0.5);
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.contact-item:hover { border-color: rgba(192, 38, 211, 0.6); background: rgba(192, 38, 211, 0.08); }

.contact-label { font-size: 13px; color: var(--text-dim); letter-spacing: 0.08em; }

.contact-value { font-weight: 500; font-size: 15.5px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #070310;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }

.footer-copy { margin: 0; font-size: 13.5px; color: var(--text-dim); }

.footer-top { font-size: 13.5px; color: var(--text-dim); }
.footer-top:hover { color: var(--primary); }

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

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav { gap: 20px; font-size: 14px; }
  .lang-switch { margin-left: 12px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { gap: 40px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(11, 6, 20, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(198, 168, 228, 0.1);
    color: var(--text);
  }

  .nav a:last-child { border-bottom: none; }

  .nav-cta {
    margin-top: 14px;
    display: inline-flex;
    justify-content: center;
    border-bottom: none !important;
  }

  .menu-toggle { display: flex; }

  .lang-switch { margin-left: auto; margin-right: 10px; }

  .lang-menu { right: 0; }

  .cards { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; }

  .about-media img { aspect-ratio: 4 / 3; }

  .about-badge { right: 12px; bottom: -12px; }

  .contact-box { grid-template-columns: 1fr; padding: 34px 26px; gap: 32px; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }

  .hero { padding: 120px 0 70px; }

  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

  .features, .steps, .prod-grid, .sol-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .brand-text { display: none; }
}
