:root {
  --bg: #070b14;
  --bg-soft: #0c1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(34, 211, 238, 0.4);
  --text: #f2f6ff;
  --muted: #9aa8c0;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --gradient: linear-gradient(120deg, #3b82f6 0%, #22d3ee 48%, #8b5cf6 100%);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }
svg { display: block; width: 100%; height: 100%; }
::selection { background: rgba(34, 211, 238, 0.35); }

.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.page-glow { position: fixed; border-radius: 50%; filter: blur(120px); opacity: 0.22; pointer-events: none; z-index: 0; }
.page-glow--one { width: 520px; height: 520px; background: #2563eb; top: -200px; left: -140px; }
.page-glow--two { width: 460px; height: 460px; background: #7c3aed; top: 32%; right: -200px; opacity: 0.14; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: 0.04em; }
.brand-text small { font-size: 9px; letter-spacing: 0.22em; color: var(--muted); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { font-size: 14px; color: var(--muted); position: relative; transition: color 0.25s; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--gradient); transition: width 0.3s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 7px 13px; font-size: 12px; cursor: pointer; transition: border-color 0.25s, color 0.25s;
}
.lang-toggle:hover { border-color: var(--border-bright); color: var(--text); }
.lang-active { color: var(--cyan); font-weight: 700; }
.lang-slash { opacity: 0.4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .62; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: var(--gradient); color: #06111f; box-shadow: 0 12px 34px rgba(34, 211, 238, 0.22); }
.btn--primary:hover { box-shadow: 0 16px 44px rgba(34, 211, 238, 0.36); }
.btn--ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-bright); background: var(--surface-strong); }
.btn--small { padding: 9px 18px; font-size: 13px; }
.btn--full { width: 100%; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; z-index: 1; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 45%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, black 10%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; font-size: 12px; letter-spacing: 0.08em; color: #cbd7ea; margin-bottom: 28px; }
.eyebrow-dot, .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.15); animation: pulse 2.4s infinite; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 24px; }
.hero-lead { max-width: 570px; color: var(--muted); font-size: 17px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta strong { font-size: 15px; }
.hero-meta span { font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; margin: 0 auto; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.orbit--outer { width: 100%; height: 100%; animation: spin 38s linear infinite; }
.orbit--middle { width: 74%; height: 74%; border-color: rgba(34,211,238,.18); animation: spin 26s linear infinite reverse; }
.orbit--inner { width: 50%; height: 50%; border-color: rgba(139,92,246,.25); animation: spin 18s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.orbit--middle::after { background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.core { width: 128px; height: 128px; border-radius: 34px; background: var(--gradient); display: grid; place-items: center; box-shadow: 0 0 90px rgba(34,211,238,.35); animation: float 6s ease-in-out infinite; }
.core span { font-size: 34px; font-weight: 800; letter-spacing: .05em; color: #06111f; }
.node { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.node--one { top: 12%; left: 26%; } .node--two { top: 30%; right: 12%; background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.node--three { bottom: 18%; left: 14%; } .node--four { bottom: 8%; right: 30%; }
.floating-card {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 17px; border-radius: 14px; font-size: 13px;
  background: rgba(12,18,32,.78); border: 1px solid var(--border); backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.floating-card svg { width: 17px; height: 17px; color: var(--cyan); }
.floating-card--top { top: 20%; right: -4%; animation: float 5s ease-in-out infinite; }
.floating-card--bottom { bottom: 18%; left: -6%; animation: float 7s ease-in-out infinite reverse; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--border); border-radius: 14px; display: grid; place-items: start center; padding-top: 8px; }
.scroll-hint span { width: 3px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s infinite; }

.section { position: relative; padding: 120px 0; z-index: 1; }
.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker { display: inline-block; font-size: 12px; letter-spacing: 0.24em; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 20px; }
.section-heading p { color: var(--muted); font-size: 16px; }
.section--about { background: linear-gradient(180deg, transparent, rgba(12,18,32,.6), transparent); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-card { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s, background .3s; }
.about-card:hover { transform: translateY(-6px); border-color: var(--border-bright); background: var(--surface-strong); }
.icon-box { width: 50px; height: 50px; border-radius: 14px; background: rgba(34,211,238,.1); color: var(--cyan); display: grid; place-items: center; padding: 12px; margin-bottom: 22px; border: 1px solid rgba(34,211,238,.18); }
.about-card h3 { font-size: 19px; margin-bottom: 9px; }
.about-card p { color: var(--muted); font-size: 14px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 38px 32px 34px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--border); transition: transform .35s, border-color .35s, box-shadow .35s;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.service-card--featured { border-color: rgba(34,211,238,.35); background: linear-gradient(160deg, rgba(34,211,238,.1), rgba(139,92,246,.05)); }
.service-card--featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gradient); }
.service-number { position: absolute; right: 24px; top: 18px; font-size: 54px; font-weight: 800; color: rgba(255,255,255,.045); line-height: 1; }
.service-icon { width: 54px; height: 54px; border-radius: 16px; padding: 13px; color: var(--cyan); background: rgba(34,211,238,.09); border: 1px solid rgba(34,211,238,.16); margin-bottom: 26px; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 24px; min-height: 68px; }
.service-card ul { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); }
.service-card li { font-size: 13px; color: #c9d4e8; padding-left: 20px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); }

.advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.advantage-item { padding: 28px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
.adv-index { grid-row: span 2; font-size: 14px; font-weight: 700; color: var(--cyan); padding-top: 5px; }
.advantage-item h3 { font-size: 18px; margin-bottom: 6px; }
.advantage-item p { font-size: 14px; color: var(--muted); }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; padding: 36px; border-radius: 24px; background: linear-gradient(120deg, rgba(59,130,246,.11), rgba(139,92,246,.08)); border: 1px solid var(--border); }
.stats-bar div { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stats-bar strong { font-size: 38px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stats-bar span { font-size: 13px; color: var(--muted); }

.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.2; margin-bottom: 18px; }
.contact-copy > p { color: var(--muted); font-size: 16px; margin-bottom: 36px; max-width: 440px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-detail { display: flex; align-items: center; gap: 15px; }
.contact-icon { width: 44px; height: 44px; flex: 0 0 44px; padding: 11px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); color: var(--cyan); }
.contact-detail div { display: flex; flex-direction: column; }
.contact-detail small { font-size: 12px; color: var(--muted); }
.contact-detail a, .contact-detail span:last-child { font-size: 15px; font-weight: 500; transition: color .2s; }
.contact-detail a:hover { color: var(--cyan); }
.contact-form { padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; font-size: 13px; color: #cbd7ea; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: rgba(7,11,20,.6); border: 1px solid var(--border); color: var(--text);
  border-radius: 12px; padding: 13px 15px; font-size: 14px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--border-bright); box-shadow: 0 0 0 3px rgba(34,211,238,.08); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form select option { background: var(--bg-soft); }
.form-note { min-height: 20px; margin-top: 14px; font-size: 13px; color: var(--cyan); text-align: center; }
.form-note.is-error { color: #fb7185; }

.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 48px 0 30px; background: rgba(7,11,20,.7); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { font-size: 18px; }
.footer-brand span { font-size: 13px; color: var(--muted); }
.footer-brand small { font-size: 12px; color: rgba(154,168,192,.65); margin-top: 6px; }
.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--cyan); }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: rgba(154,168,192,.6); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,211,238,.14); } 50% { box-shadow: 0 0 0 9px rgba(34,211,238,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70%,100% { transform: translateY(14px); opacity: 0; } }

@media (max-width: 1024px) {
  .main-nav { gap: 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 400px; }
  .hero { padding-top: 130px; }
  .section { padding: 96px 0; }
  .contact-inner { gap: 40px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px; background: rgba(7,11,20,.97); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: transform .35s, opacity .35s;
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .about-grid, .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }
  .advantage-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { height: 68px; }
  .main-nav { top: 68px; }
  .hero { padding: 110px 0 70px; }
  .hero-meta { gap: 22px; }
  .hero-meta div { min-width: 40%; }
  .floating-card { font-size: 11px; padding: 8px 12px; }
  .floating-card--top { right: -2%; }
  .floating-card--bottom { left: -2%; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 40px; }
  .service-card, .about-card, .contact-form { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stats-bar { padding: 26px 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
