:root {
  --brand: #C62828;
  --brand-deep: #8E1B1B;
  --brand-soft: #FDECEC;
  --blue: #1466BF;
  --blue-soft: #E8F1FB;
  --sky-1: #EAF3FB;
  --sky-2: #F7FAFD;
  --ink: #16283C;
  --ink-2: #46586E;
  --ink-3: #7E8FA1;
  --paper: #FFFFFF;
  --night: #0F1B2D;
  --night-2: #14263E;
  --night-line: #243A57;
  --night-text: #E8EEF6;
  --night-dim: #8FA5C0;
  --line: #E3EBF3;
  --seal: #B5432A;
  --cream: #FFFDF8;
  --cream-line: #EAE0CC;
  --success: #2E7D32;
  --success-soft: #E8F3EA;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(22, 40, 60, 0.05), 0 2px 10px rgba(22, 40, 60, 0.06);
  --shadow-lg: 0 24px 60px rgba(22, 40, 60, 0.16);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "PingFang TC", "Segoe UI", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Songti SC", "Noto Serif SC", "Noto Serif TC", "SimSun", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; vertical-align: middle; }

a { color: var(--blue); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 253, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.lang-menu a) {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:not(.lang-menu a):hover { color: var(--brand); }

.lang-switch { position: relative; }

.lang-switch > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s;
}

.lang-switch > button:hover { border-color: var(--blue); }

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 138px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
}

.lang-menu.open { display: block; }

.lang-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}

.lang-menu a:hover { background: var(--sky-1); color: var(--ink); }

.lang-menu a[aria-current="true"] { color: var(--brand); font-weight: 600; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 0;
  text-align: center;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 64%, var(--paper) 100%);
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before { top: -220px; left: -160px; background: radial-gradient(circle, #CFE4F7 0%, rgba(207, 228, 247, 0) 70%); }

.hero::after { top: -180px; right: -180px; background: radial-gradient(circle, #F6D9D9 0%, rgba(246, 217, 217, 0) 70%); }

.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.hero h1 {
  margin: 22px 0 16px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero h1 .accent { color: var(--brand); }

.hero-sub {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 18px;
  color: var(--ink-2);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(198, 40, 40, 0.32);
}

.btn-primary:hover { background: var(--brand-deep); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover { border-color: var(--ink-3); }

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 68px;
  padding: 0 20px;
}

.phone {
  width: 252px;
  flex: none;
  border-radius: 42px;
  background: #0C1420;
  padding: 9px;
  box-shadow: 0 30px 70px rgba(15, 27, 45, 0.35), 0 4px 14px rgba(15, 27, 45, 0.18);
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 9 / 19.2;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.phone-side { width: 226px; margin-bottom: 26px; }

.phone-left { transform: rotate(-7deg) translateY(-6px); z-index: 1; }

.phone-right { transform: rotate(7deg) translateY(-6px); z-index: 1; }

.phone-center { z-index: 2; }

.mock-status {
  flex: none;
  display: flex;
  justify-content: space-between;
  padding: 8px 18px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.phone-dark .mock-status { color: var(--night-text); }

.mock-appbar {
  flex: none;
  padding: 10px 16px 8px;
}

.mock-appbar .mock-title { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }

.mock-appbar .mock-sub { font-size: 10px; color: var(--ink-3); margin-top: 1px; }

.phone-dark .mock-appbar .mock-sub { color: var(--night-dim); }

.mock-search {
  margin: 8px 16px 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--ink-3);
  font-size: 11px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px;
}

.mock-card {
  border: 1px solid #EDF2F7;
  border-radius: 14px;
  padding: 8px;
  background: var(--paper);
}

.mock-avatar {
  aspect-ratio: 1;
  border-radius: 10px;
}

.avatar-grey { background: linear-gradient(135deg, #C3D2E2, #8CA3BE); }

.avatar-rain { background: linear-gradient(135deg, #9FB2C8, #5C7291); }

.avatar-red { background: linear-gradient(135deg, #D89A8C, #A9503F); }

.avatar-white { background: linear-gradient(135deg, #EDF2F7, #C4D0DE); }

.mock-ring {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

.mock-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mock-name { font-size: 12px; font-weight: 700; }

.mock-badge {
  font-size: 9px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  border-radius: 999px;
  padding: 1px 7px;
  white-space: nowrap;
}

.mock-badge.racing { color: var(--blue); background: var(--blue-soft); }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px 14px 0;
}

.mock-stat {
  border-radius: 12px;
  background: var(--night-2);
  padding: 9px 10px;
}

.mock-stat-value { font-size: 15px; font-weight: 800; color: #fff; }

.mock-stat-value.accent { color: #FF8A80; }

.mock-stat-label { font-size: 9px; color: var(--night-dim); margin-top: 1px; }

.mock-chart { padding: 10px 14px 0; }

.mock-chart svg { display: block; width: 100%; height: auto; }

.mock-list { padding: 2px 14px 0; }

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #EEF2F7;
  font-size: 11px;
}

.mock-row:last-child { border-bottom: none; }

.mock-row .ring { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }

.mock-tree { flex: 1; padding: 4px 10px 0; }

.mock-tree svg { width: 100%; height: auto; display: block; }

.trust { background: var(--paper); border-bottom: 1px solid var(--line); }

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 26px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.trust-item svg { color: var(--brand); flex: none; }

.section { padding: 92px 0; }

.section-alt { background: #F4F8FC; }

.section-header {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.section-subtitle { margin: 0; color: var(--ink-2); font-size: 17px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 16px;
}

.feature-icon.blue { background: var(--blue-soft); color: var(--blue); }

.feature-card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }

.feature-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }

.hardware-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--night) 0%, #173A5E 100%);
  color: var(--night-text);
}

.hardware-icon {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 195, 247, 0.14);
  color: #4FC3F7;
}

.hardware-banner h3 { margin: 0 0 4px; font-size: 18px; color: #fff; }

.hardware-banner h3 .dev {
  font-size: 12px;
  font-weight: 600;
  color: #4FC3F7;
  background: rgba(79, 195, 247, 0.14);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 10px;
  vertical-align: 2px;
  white-space: nowrap;
}

.hardware-banner p { margin: 0; font-size: 15px; color: var(--night-dim); line-height: 1.65; }

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-showcase:last-child { margin-bottom: 0; }

.feature-showcase-text h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.feature-showcase-text > p { margin: 0 0 6px; color: var(--ink-2); }

.feature-list { list-style: none; margin: 14px 0 0; padding: 0; }

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
  font-size: 16px;
  color: var(--ink-2);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-card {
  border-radius: 24px;
  padding: 30px 30px 26px;
  background: linear-gradient(160deg, #14273F 0%, var(--night) 100%);
  color: var(--night-text);
  box-shadow: 0 26px 60px rgba(15, 27, 45, 0.32);
}

.data-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.data-card-title { font-size: 16px; font-weight: 700; color: #fff; }

.data-card-chip {
  font-size: 12px;
  font-weight: 600;
  color: #69F0AE;
  background: rgba(105, 240, 174, 0.12);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}

.data-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.data-stat {
  border-radius: 14px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  padding: 14px 14px 12px;
}

.data-stat-value { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }

.data-stat-value .unit { font-size: 12px; font-weight: 600; color: var(--night-dim); margin-left: 3px; }

.data-stat-label { font-size: 12px; color: var(--night-dim); margin-top: 2px; }

.data-chart svg { display: block; width: 100%; height: auto; }

.pedigree-card {
  position: relative;
  border-radius: 24px;
  padding: 34px 34px 30px;
  background: var(--cream);
  border: 1px solid var(--cream-line);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
}

.pedigree-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.pedigree-name { font-size: 19px; font-weight: 700; }

.pedigree-ring { font-size: 12px; font-family: var(--font-mono); color: var(--ink-2); }

.seal {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 88px;
  height: 88px;
  border: 3px solid var(--seal);
  border-radius: 50%;
  color: var(--seal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  transform: rotate(-12deg);
  opacity: 0.82;
  pointer-events: none;
}

.seal .seal-top { font-size: 17px; letter-spacing: 0.2em; margin-left: 0.2em; }

.seal .seal-bottom { font-size: 10px; letter-spacing: 0.3em; margin-left: 0.3em; margin-top: 3px; }

.seal::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--seal);
  border-radius: 50%;
  opacity: 0.6;
}

.pedigree-tree svg { width: 100%; height: auto; display: block; }

.pedigree-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--cream-line);
  margin-top: 14px;
  padding-top: 10px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-sans);
}

.radar-card {
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.radar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.radar-card-title { font-size: 16px; font-weight: 700; }

.radar-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}

.radar-card svg { width: 100%; height: auto; display: block; }

.radar-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

.privacy-banner {
  border-radius: 24px;
  padding: 44px 36px;
  background: linear-gradient(135deg, var(--night) 0%, #1B3A5C 100%);
  color: var(--night-text);
  text-align: center;
}

.privacy-banner h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 32px); color: #fff; letter-spacing: -0.01em; }

.privacy-banner > .container p { margin: 0 auto 22px; max-width: 560px; color: var(--night-dim); font-size: 16px; }

.privacy-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.privacy-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--night-text);
  background: rgba(232, 238, 246, 0.07);
  border: 1px solid var(--night-line);
  border-radius: 999px;
  padding: 8px 18px;
}

.privacy-item svg { color: #69F0AE; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 780px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
}

.pricing-card.pro {
  border: 2px solid var(--brand);
  box-shadow: 0 22px 52px rgba(198, 40, 40, 0.14);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 16px;
  white-space: nowrap;
}

.pricing-card h3 { margin: 0 0 4px; font-size: 20px; }

.pricing-tagline { margin: 0 0 18px; font-size: 14px; color: var(--ink-3); }

.pricing-price { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }

.pricing-price .currency { font-size: 20px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }

.pricing-price .period { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-left: 6px; }

.pricing-note { margin: 10px 0 20px; font-size: 13px; color: var(--ink-3); }

.pricing-features { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }

.pricing-features li {
  position: relative;
  padding-left: 26px;
  margin: 11px 0;
  font-size: 15px;
  color: var(--ink-2);
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.pricing-card.free .pricing-features li::before { background: var(--blue); }

.pricing-btn { width: 100%; }

.faq { max-width: 780px; margin: 0 auto; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2px 24px;
  margin-bottom: 12px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq-a { padding: 0 0 18px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }

.footer { background: var(--night); color: var(--night-dim); padding: 52px 0 42px; text-align: center; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-tag { font-size: 14px; margin: 0 0 22px; }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.footer-links a { color: #C6D5E8; font-size: 14px; text-decoration: none; }

.footer-links a:hover { color: #fff; }

.footer-copy { margin: 4px 0 0; font-size: 13px; color: #66798F; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .feature-showcase { grid-template-columns: 1fr; gap: 40px; margin-bottom: 76px; }
  .feature-showcase-visual { order: -1; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-links li:not(.lang-switch) { display: none; }
  .nav-links { gap: 14px; }
  .section { padding: 68px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .phone-side { display: none; }
  .hero-phones { margin-top: 52px; }
  .phone { width: 240px; }
  .hardware-banner { flex-direction: column; align-items: flex-start; }
  .privacy-banner { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature-card { transition: none; }
  .feature-card:hover { transform: none; }
}
