:root {
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --card: #ffffff;
  --card-2: #f8fafc;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-soft: #ecfdf5;
  --indigo: #4338ca;
  --indigo-soft: #eef2ff;
  --blue: #0284c7;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1180px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(5, 150, 105, 0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --page-pad: 40px;
}

*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: max(var(--page-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-pad), env(safe-area-inset-right, 0px));
}

/* Top Notification Bar */
.top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.04em;
}

.top-bar strong {
  color: var(--accent-soft);
  margin-right: 8px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover, .nav-links a.is-on {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 980px;
  background: linear-gradient(135deg, var(--accent), #047857);
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.25);
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-hover), #065f46);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35);
}

.btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn-line {
  background: var(--card);
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-line:hover {
  background: #fff;
  color: var(--accent) !important;
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  padding: 68px 0 40px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 980px;
  border: 1px solid #a7f3d0;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 auto 18px;
  max-width: 840px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* 4-Item Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #a7f3d0;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

/* Simulated Client Status Card */
.client-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 760px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.client-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.client-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.client-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 13.5px;
}

.client-details span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

/* Trust Badges Row */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 12px;
}

.section-lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 40px;
}

/* Grid 4 (Core Capabilities & Use Cases) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.section-alt .card-item {
  background: #f8fafc;
}

.card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #a7f3d0;
}

.card-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.card-item p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  flex-grow: 1;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* Node Coverage (4 Regions) */
.node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.node-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.node-flag {
  font-size: 24px;
  margin-bottom: 10px;
}

.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 980px;
  width: fit-content;
  margin-top: 14px;
}

/* Pricing Matrix (3 Tiers) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(to bottom, #ffffff, #f0fdf4);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 980px;
}

.pricing-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}

.pricing-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--text);
  margin: 16px 0;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Security Capabilities Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

th {
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

tr:last-child td {
  border-bottom: none;
}

td strong {
  color: var(--text);
}

/* Testimonial Cards */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.test-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 12px;
}

.test-card blockquote {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
}

.test-author {
  font-weight: 700;
  font-size: 15px;
}

.test-role {
  font-size: 13px;
  color: var(--muted);
}

/* FAQ Details */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 18px 22px;
  transition: all 0.2s ease;
}

details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
}

details[open] summary::after {
  content: "–";
}

details ol {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

details li {
  margin-bottom: 8px;
}

/* Download Platform Cards */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin: 36px 0 56px;
}

.dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.dl-card.highlight {
  border: 2px solid var(--accent);
  background: linear-gradient(to bottom, #ffffff, #f0fdf4);
  position: relative;
}

.dl-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 980px;
}

.dl-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.dl-card-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.dl-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.dl-card .btn {
  width: 100%;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 68px;
  font-size: 13.5px;
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .grid-4, .stats-grid, .pricing-grid, .node-grid, .test-grid {
    grid-template-columns: 1fr;
  }
  .client-details {
    grid-template-columns: 1fr 1fr;
  }
}
