:root {
  --bg: #050814;
  --bg-soft: #0b1224;
  --card: rgba(14, 22, 42, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #9aa6b8;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --purple: #8b5cf6;
  --orange: #fb923c;
  --green: #34d399;
  --pink: #f472b6;
  --teal: #2dd4bf;
  --red: #f87171;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(700px 420px at 90% 8%, rgba(139, 92, 246, 0.16), transparent 55%),
    radial-gradient(800px 500px at 70% 90%, rgba(34, 211, 238, 0.08), transparent 50%),
    linear-gradient(180deg, #07101f 0%, #050814 40%, #070b16 100%);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 20, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 36px;
  width: auto;
  mix-blend-mode: lighten;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: #fff;
}

.hero {
  padding: 92px 0 48px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.2);
  color: #cfe4ff;
  font-size: 13px;
  margin-bottom: 28px;
}

.hero-badge img {
  width: 16px;
  height: 16px;
  mix-blend-mode: lighten;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 1px;
}

.gradient-text {
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 22px auto 36px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions,
.tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn img {
  width: 16px;
  height: 16px;
  mix-blend-mode: lighten;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-block {
  width: 100%;
}

h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

.stats,
.platforms,
.services,
.about,
.contact {
  padding: 72px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-card,
.service-card,
.platform-card,
.about-stats article,
.contact-form,
.mission {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
}

.accent-blue::before { background: linear-gradient(90deg, #3b82f6, #22d3ee); box-shadow: 0 0 16px #3b82f6; }
.accent-purple::before { background: linear-gradient(90deg, #8b5cf6, #c084fc); }
.accent-orange::before { background: linear-gradient(90deg, #fb923c, #f59e0b); }

.stat-value {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 1px;
}

.accent-blue .stat-value { color: #60a5fa; }
.accent-purple .stat-value { color: #c4b5fd; }
.accent-orange .stat-value { color: #fdba74; }

.stat-label {
  color: var(--muted);
  margin-top: 6px;
}

.tabs {
  margin-bottom: 28px;
}

.tab {
  min-width: 120px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  border-color: transparent;
}

.platform-grid,
.service-grid {
  display: grid;
  gap: 20px;
}

.platform-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.platform-card,
.service-card {
  padding: 24px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}

.p-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
}

.platform-card h3,
.service-card h3 {
  font-size: 20px;
}

.platform-card p,
.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tags span {
  font-size: 12px;
  color: #c9d4e5;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.svc-icon img {
  width: 24px;
  height: 24px;
  mix-blend-mode: lighten;
}

.tone-red { background: rgba(248, 113, 113, 0.18); }
.tone-green { background: rgba(52, 211, 153, 0.18); }
.tone-orange { background: rgba(251, 146, 60, 0.18); }
.tone-blue { background: rgba(59, 130, 246, 0.18); }
.tone-pink { background: rgba(244, 114, 182, 0.18); }
.tone-teal { background: rgba(45, 212, 191, 0.18); }

.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.about-grid,
.contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

.about-copy h2,
.contact h2 {
  text-align: left;
}

.contact .section-sub {
  text-align: left;
}

.mission {
  margin-top: 22px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.9));
}

.mission h3 {
  margin-bottom: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stats article {
  padding: 28px 18px;
  text-align: center;
}

.about-stats strong {
  display: block;
  font-size: 32px;
  color: #93c5fd;
}

.about-stats span {
  color: var(--muted);
  font-size: 14px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.contact-list img {
  width: 28px;
  height: 28px;
  mix-blend-mode: lighten;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-list a,
.contact-list em {
  font-style: normal;
  font-size: 16px;
}

.why-us {
  margin-top: 28px;
}

.why-us ul {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.why-us li {
  margin: 8px 0;
}

.contact-form {
  padding: 28px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #d5deea;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(2, 6, 18, 0.65);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.7);
}

.form-ok {
  color: var(--green);
  font-size: 14px;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  background: #060910;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  padding-bottom: 28px;
}

.footer-logo {
  height: 32px;
  width: auto;
  mix-blend-mode: lighten;
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

.footer h4 {
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin: 6px 0;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #7b8696;
  font-size: 13px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}

.back-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0b1224;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .stat-grid,
  .platform-grid,
  .service-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 64px; }
  .about-copy h2,
  .contact h2,
  .contact .section-sub { text-align: center; }
}
