/* 指纹隔离浏览器官网 — 轻量静态样式，移动端优先 */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --brand: #0f766e;
  --brand-light: #14b8a6;
  --brand-dark: #0d5c56;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 118, 110, 0.15);
  --header-h: 64px;
  --max-w: 1120px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--brand); }

.nav-cta {
  padding: 0.45rem 1rem;
  background: var(--brand);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(20, 184, 166, 0.18), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(15, 118, 110, 0.1), transparent),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { max-width: 540px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow-light { color: var(--brand-light); }

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.8);
}

.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li { display: flex; flex-direction: column; }

.hero-stats strong {
  font-size: 1.25rem;
  color: var(--brand-dark);
}

.hero-stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Browser mock */
.browser-mock {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-bar span:first-child { background: #f87171; }
.mock-bar span:nth-child(2) { background: #fbbf24; }
.mock-bar span:nth-child(3) { background: #4ade80; }

.mock-url {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--white);
  border-radius: 6px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-body {
  position: relative;
  min-height: 220px;
  padding: 1.25rem;
  background: linear-gradient(160deg, #ecfdf5 0%, #f8fafc 100%);
}

.mock-card {
  padding: 0.85rem 1rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.mock-card small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.mock-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.mock-card em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--brand);
}

.mock-card-a { width: 58%; margin-bottom: 0.75rem; }
.mock-card-b { width: 62%; margin-left: auto; }

.mock-shield {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
}

.mock-shield svg { width: 18px; height: 18px; }

/* Sections */
.section { padding: 4rem 0; }

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: linear-gradient(145deg, #0f172a 0%, #134e4a 100%);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.section-head p { margin: 0; color: var(--text-muted); }

.section-dark .section-head p { color: rgba(255, 255, 255, 0.7); }

/* Features */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.feature-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  max-width: 640px;
  margin-inline: auto;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-light);
  line-height: 1;
}

.steps h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.steps p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* Scenes */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.scene-item {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  border-radius: 12px;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  color: var(--brand-dark);
}

/* Security */
.security-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.security-copy h2 { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 4vw, 1.85rem); }

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-light);
  font-weight: 700;
}

.security-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.layer {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
}

.layer span { display: block; font-weight: 700; font-size: 1rem; }
.layer small { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }

.layer-arrow {
  text-align: center;
  padding: 0.35rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* CTA */
.cta-section { padding-bottom: 5rem; }

.cta-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(20, 184, 166, 0.12));
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.cta-box h2 { margin: 0 0 0.5rem; font-size: clamp(1.35rem, 4vw, 1.75rem); }
.cta-box > p { margin: 0 0 1.5rem; color: var(--text-muted); }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-wechat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-id {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  letter-spacing: 0.06em;
  color: var(--brand-dark);
}

.cta-note {
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.footer-inner p { margin: 0; font-size: 0.85rem; }
.footer-sub { margin-top: 0.35rem !important; font-size: 0.75rem !important; opacity: 0.6; }

/* Reveal animation — only when JS enabled */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Tablet+ */
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .security-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 8px;
  }

  .site-nav a:hover { background: var(--bg-alt); }

  .nav-cta { text-align: center; margin-top: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature-card:hover { transform: none; }
}
