:root {
  --bg-body: #ffffff;
  --bg-alt: #fafafa;
  --bg-subtle: #f4f4f5;
  --bg-card: #ffffff;
  --bg-dark: #09090b;

  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-tertiary: #71717a;
  --text-muted: #a1a1aa;
  --text-on-dark: #ffffff;

  --accent-black: #18181b;
  --accent-blue: #2563eb;
  --accent-indigo: #4f46e5;
  --accent-subtle: #eff6ff;
  
  --border-light: #e4e4e7;
  --border-subtle: #f4f4f5;
  --border-dark: #27272a;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", "SimSun", "STSong", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --max-width: 1160px;
  --header-height: 64px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px -4px rgba(0, 0, 0, 0.08);

  --transition: all 0.2s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.bg-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
}

.hero {
  position: relative;
  padding: calc(var(--header-height) + 88px) 0 108px;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  max-width: 900px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero-title span.slogan-highlight {
  font-weight: 800;
  position: relative;
  display: inline-block;
  background: linear-gradient(125deg, #09090b 0%, #1e40af 45%, #2563eb 55%, #09090b 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 8s ease-in-out infinite;
}

.hero-title span.slogan-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 6px;
  background: rgba(37, 99, 235, 0.16);
  border-radius: 4px;
  z-index: -1;
  transform-origin: left center;
  animation: lineExpand 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.85;
  margin-bottom: 0;
  font-weight: 400;
  animation: fadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
  animation: fadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--text-primary);
  color: #ffffff;
  border: 1px solid var(--text-primary);
}

.btn-primary:hover {
  background: #27272a;
  border-color: #27272a;
}

.btn-secondary {
  background: var(--bg-body);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--text-secondary);
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  background: var(--bg-body);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 48px;
  animation: fadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.metric-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--border-light);
}

.metric-cell:last-child {
  border-right: none;
}

.metric-number {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineExpand {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
}

.tech-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.matrix-card:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.matrix-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.matrix-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.matrix-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-box {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.scenario-box:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--text-muted);
}

.scenario-badge {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 20px;
}

.scenario-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.scenario-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.scenario-points {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.scenario-points li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.scenario-points li::before {
  content: "—";
  color: var(--accent-blue);
  font-weight: bold;
}

.statement-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.statement-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.3;
}

.statement-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principle-card {
  border-left: 2px solid var(--text-primary);
  padding: 4px 0 4px 18px;
}

.principle-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.principle-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-tile:hover {
  border-color: var(--text-muted);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  background: linear-gradient(125deg, #09090b 0%, #1e40af 45%, #2563eb 55%, #09090b 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 8s ease-in-out infinite;
}

.contact-val {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-note {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 40px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-brand-slogan {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.compliance-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.icp-link {
  color: var(--text-secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icp-link:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.police-badge-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

@media (max-width: 960px) {
  .metric-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-cell:nth-child(2) {
    border-right: none;
  }
  .metric-cell:nth-child(1), .metric-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }
  .tech-matrix, .statement-box, .scenarios-grid, .contact-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .metric-board {
    grid-template-columns: 1fr;
  }
  .metric-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
