:root {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --text: #e5e7eb;
  --muted: #a7b0c0;
  --primary: #2563eb;
  --primary-900: #1e40af;
  --accent: #22d3ee;
  --surface: #111827;
  --card: #0f1629;
  --border: #1f2937;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #0b1426 100%);
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(10, 16, 28, 0.6);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  font-weight: 700;
  font-size: 13px;
  color: white;
}
.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

/* Nav */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}
.site-nav a:hover {
  color: white;
  background: rgba(255,255,255,.06);
}
.site-nav .cta-link {
  color: white;
  background: var(--primary);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 60px;
}
.hero-content {
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.12;
}
.subtitle {
  margin: 0 auto 24px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
}
.hero-actions {
  display: inline-flex;
  gap: 12px;
  margin-top: 8px;
}
.hero-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero-badges span {
  font-size: 12px;
  color: #c7d2fe;
  background: rgba(37, 99, 235, .12);
  border: 1px dashed rgba(99, 102, 241, .4);
  padding: 6px 10px;
  border-radius: 100px;
}

/* Hero BG */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 50% -120px, rgba(56, 189, 248, .12), transparent 60%),
    radial-gradient(800px 360px at 10% 0%, rgba(37, 99, 235, .18), transparent 70%),
    radial-gradient(600px 280px at 90% 10%, rgba(168, 85, 247, .12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary {
  color: white;
  background: var(--primary);
  border-color: var(--primary-900);
}
.btn-ghost {
  background: rgba(255,255,255,.06);
}

/* Trust */
.trust {
  padding: 10px 0 26px;
}
.trust-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #cbd5e1;
  font-size: 14px;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section.alt {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #0c172b 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 24px;
}
.section-header h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.6vw, 32px);
}
.section-header p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
}

/* Grid */
.grid {
  display: grid;
  gap: 16px;
}
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0 0 10px;
  color: var(--muted);
}
.card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: #cbd5e1;
}

/* Solutions */
.solutions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .solutions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .solutions { grid-template-columns: 1fr; }
}
.solution {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.solution .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #a5b4fc;
  border: 1px dashed rgba(165,180,252,.5);
  padding: 4px 8px;
  border-radius: 999px;
}

/* Benefits */
.benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .benefits { grid-template-columns: 1fr; }
}
.benefit {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

/* Cases */
.cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cases { grid-template-columns: 1fr; }
}
.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

/* About */
.about {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.about-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: #cbd5e1;
}

/* Contact */
.contact-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-note {
  max-width: 740px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0b1323;
}
.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 20px 0;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 12px;
}
.footer-links a:hover { color: var(--text); }
.footer-meta small {
  display: block;
  color: var(--muted);
}

/* Responsive Nav */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    top: 64px;
    right: 14px;
    width: min(280px, 88vw);
    background: #0c162a;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 6px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; box-shadow: none; }
}