:root {
  --bg: #0b1220;
  --bg-soft: #0f1629;
  --card: #121a31;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --text: #e5e7eb;
  --muted: #9aa3b2;
  --border: #1f2942;
  --success: #22c55e;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #0c1426 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link:focus { left: 16px; top: 8px; width: auto; height: auto; padding: 8px 12px; background: var(--primary); color: #fff; border-radius: 6px; }

.container { width: min(1120px, 92vw); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(140%) blur(8px); background: rgba(11,18,32,0.65); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .5px; font-size: 20px; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 8px; transition: color .2s ease, background .2s ease; }
.site-nav a:hover { color: #fff; background: rgba(59,130,246,0.08); }

.nav-toggle { display: none; width: 42px; height: 36px; background: transparent; border: 1px solid var(--border); border-radius: 8px; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: #fff; }

/* Hero */
.section { padding: 72px 0; }
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.15; margin: 0 0 14px; }
.hero .subtitle { color: var(--muted); margin: 0 0 24px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; }
.hero-bg { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 50%, rgba(59,130,246,0.35) 0%, rgba(59,130,246,0.06) 50%, rgba(0,0,0,0) 70%), conic-gradient(from 180deg at 50% 50%, rgba(59,130,246,0.15) 0deg, rgba(37,99,235,0.06) 120deg, rgba(59,130,246,0.15) 240deg, rgba(37,99,235,0.06) 360deg); filter: blur(30px); pointer-events: none; }

/* Common */
h2 { font-size: 28px; margin: 0 0 20px; }
h3 { font-size: 18px; margin: 0 0 10px; }
p { margin: 0 0 12px; color: var(--muted); }
.list-check { padding-left: 18px; }
.list-check li { margin: 6px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: transform .05s ease, background .2s ease, color .2s ease, box-shadow .2s; border: 1px solid var(--border); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 10px 25px rgba(59,130,246,.25); }
.btn.ghost { background: transparent; color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats-item { background: rgba(59,130,246,0.08); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
.stats-item .num { font-size: 24px; font-weight: 700; color: #fff; }
.stats-item .label { color: var(--muted); font-size: 13px; }

/* Cases */
.cases .cards { grid-template-columns: repeat(3, 1fr); }
.case { min-height: 120px; display: flex; flex-direction: column; justify-content: center; }

/* News */
.news-list { display: grid; gap: 10px; }
.news-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); text-decoration: none; background: rgba(255,255,255,0.02); }
.news-item:hover { background: rgba(59,130,246,0.08); }
.news-item time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Contact */
.contact-info { padding-left: 16px; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; color: #fff; background: #0b1220; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.form-tip { min-height: 20px; color: var(--success); font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 20px 0; background: rgba(0,0,0,0.2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icp { color: var(--muted); text-decoration: none; }

/* Back To Top */
.back-to-top { position: fixed; right: 16px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; border: none; display: none; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(59,130,246,.35); }
.back-to-top.show { display: inline-flex; }

/* Responsive */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cases .cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; inset: 62px 0 auto 0; background: rgba(11,18,32,.96); border-bottom: 1px solid var(--border); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .site-nav a { padding: 10px 12px; }
  .section { padding: 56px 0; }
}

