:root {
  --ink: #10213d;
  --muted: #60708a;
  --line: #dce5f0;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --brand: #2768f2;
  --brand-dark: #1648b7;
  --teal: #21a99a;
  --amber: #f2a23a;
  --danger: #b4473b;
  --shadow: 0 24px 70px rgba(31, 55, 91, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fc;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 229, 240, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #3479ff, #174bc7); box-shadow: 0 10px 25px rgba(39, 104, 242, 0.28); font-weight: 900; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 18px; letter-spacing: -0.02em; }
.brand-copy small { margin-top: 4px; color: #79879a; font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { color: #4d5f7a; font-size: 14px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font-size: 21px; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; color: #fff; background: var(--brand); box-shadow: 0 9px 22px rgba(39, 104, 242, 0.18); font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { background: var(--brand-dark); box-shadow: 0 12px 28px rgba(39, 104, 242, 0.26); transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button.secondary { border-color: #cdd9e8; color: #29405f; background: #fff; box-shadow: none; }
.button.secondary:hover { border-color: #9db9e0; color: var(--brand); background: #f8fbff; }
.button.ghost { min-height: 40px; padding: 0 13px; color: #3e5270; background: transparent; box-shadow: none; }

.hero { position: relative; padding: 96px 0 82px; background: radial-gradient(circle at 80% 20%, rgba(60, 204, 187, 0.16), transparent 25%), radial-gradient(circle at 10% 30%, rgba(39, 104, 242, 0.13), transparent 29%), linear-gradient(180deg, #fff, #f5f8fc); }
.hero:after { content: ""; position: absolute; right: -120px; bottom: -190px; width: 460px; height: 460px; border: 1px solid rgba(39, 104, 242, 0.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(39,104,242,.025), 0 0 0 110px rgba(39,104,242,.018); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--brand); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--brand); }
.hero h1 { max-width: 720px; margin: 0; color: #10213d; font-size: clamp(42px, 5.5vw, 70px); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 span { color: var(--brand); }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 31px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px 25px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: #52647e; font-size: 13px; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row i { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-size: 12px; font-style: normal; }

.product-visual { position: relative; padding: 17px; border: 1px solid rgba(202, 216, 233, .9); border-radius: 30px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.mock-window { overflow: hidden; border: 1px solid #dfe7f1; border-radius: 20px; background: #fff; }
.mock-top { height: 55px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid #e6ecf4; background: #fbfcfe; }
.mock-top i { width: 8px; height: 8px; border-radius: 50%; background: #d8e0eb; }
.mock-top strong { margin-left: 8px; color: #52627a; font-size: 12px; }
.mock-body { padding: 18px; }
.mock-title { display: flex; align-items: center; justify-content: space-between; }
.mock-title div span, .mock-card span, .mock-table span { display: block; color: #8d99aa; font-size: 12px; }
.mock-title div strong { display: block; margin-top: 2px; font-size: 17px; }
.live-pill { padding: 6px 9px; border-radius: 99px; color: #16805d; background: #e8f7f0; font-size: 12px; font-weight: 800; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px; }
.mock-card { min-width: 0; padding: 12px; border: 1px solid #e4eaf2; border-radius: 11px; background: #fbfcfe; }
.mock-card strong { display: block; margin-top: 5px; font-size: 16px; white-space: nowrap; }
.mock-card em { display: block; margin-top: 6px; color: #25886b; font-size: 12px; font-style: normal; }
.mock-chart { height: 145px; position: relative; margin-top: 13px; overflow: hidden; border: 1px solid #e6ebf2; border-radius: 12px; background: repeating-linear-gradient(0deg, #fff, #fff 28px, #edf1f6 29px); }
.mock-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-table { display: grid; gap: 8px; margin-top: 13px; }
.mock-table div { display: grid; grid-template-columns: 1.4fr .6fr .6fr; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; background: #f5f8fc; }
.mock-table strong { color: #334761; font-size: 12px; }
.floating-note { position: absolute; right: -34px; bottom: 54px; width: 185px; padding: 13px 15px; border: 1px solid #d7e8e4; border-radius: 14px; background: #fff; box-shadow: 0 16px 35px rgba(22, 69, 64, .14); transform: rotate(-1.2deg); }
.floating-note span { display: block; color: var(--teal); font-size: 12px; font-weight: 900; }
.floating-note strong { display: block; margin-top: 3px; font-size: 13px; }

.section { padding: 88px 0; }
.section.white { background: #fff; }
.section.tint { background: #eef4fb; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-right: auto; margin-left: auto; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.17; letter-spacing: -.035em; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { box-shadow: 0 18px 45px rgba(34, 61, 98, .1); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: #eaf2ff; font-size: 21px; font-weight: 900; }
.feature-card:nth-child(2) .feature-icon, .feature-card:nth-child(5) .feature-icon { color: #8b5bd4; background: #f2ebff; }
.feature-card:nth-child(3) .feature-icon, .feature-card:nth-child(6) .feature-icon { color: #158779; background: #e5f7f3; }
.feature-card h3 { margin: 22px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-card a { display: inline-block; margin-top: 17px; color: var(--brand); font-size: 13px; font-weight: 800; text-decoration: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 6px 42px 6px 0; counter-increment: step; }
.step:not(:last-child):after { content: ""; position: absolute; top: 28px; right: 18px; width: 32px; height: 1px; background: #b7c9df; }
.step-number { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--brand); box-shadow: 0 10px 25px rgba(39,104,242,.22); font-weight: 900; }
.step h3 { margin: 19px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.security-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; padding: 48px; border-radius: 30px; color: #fff; background: linear-gradient(135deg, #11233f, #183760 65%, #145f65); box-shadow: var(--shadow); }
.security-band h2 { margin: 0; font-size: 36px; line-height: 1.18; letter-spacing: -.035em; }
.security-band p { margin: 14px 0 0; color: #c8d6e8; }
.security-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.security-list div { padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.06); }
.security-list strong { display: block; font-size: 14px; }
.security-list span { display: block; margin-top: 4px; color: #bbcadc; font-size: 12px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-card.featured { border-color: #79a7ff; box-shadow: 0 18px 45px rgba(39,104,242,.14); }
.price-card .tag { position: absolute; top: 18px; right: 18px; padding: 5px 9px; border-radius: 99px; color: #fff; background: var(--brand); font-size: 12px; font-weight: 900; }
.price-card h3 { margin: 0; font-size: 20px; }
.price-card > p { min-height: 48px; margin: 8px 0 20px; color: var(--muted); font-size: 13px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; }
.price strong { font-size: 38px; letter-spacing: -.04em; }
.price span { color: #77869a; font-size: 13px; }
.price-card ul { flex: 1; display: grid; gap: 10px; margin: 0 0 24px; padding: 19px 0 0; border-top: 1px solid var(--line); list-style: none; }
.price-card li { position: relative; padding-left: 24px; color: #50617b; font-size: 13px; }
.price-card li:before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.pricing-note { margin: 20px 0 0; color: #78869a; font-size: 12px; text-align: center; }

.faq { display: grid; gap: 10px; }
.faq details { padding: 0 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { padding: 19px 0; color: #263a57; font-size: 15px; font-weight: 800; cursor: pointer; }
.faq p { margin: -4px 0 20px; color: var(--muted); font-size: 14px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 45px 50px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #2768f2, #1648b7); box-shadow: 0 22px 55px rgba(39,104,242,.24); }
.cta h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.cta p { margin: 8px 0 0; color: #d8e5ff; }
.cta .button { color: var(--brand); background: #fff; white-space: nowrap; }

.legal-hero { padding: 70px 0 46px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7f9fc); }
.legal-hero h1 { max-width: 800px; margin: 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.1; letter-spacing: -.04em; }
.legal-hero p { max-width: 750px; margin: 16px 0 0; color: var(--muted); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 21px; }
.legal-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: #61718a; background: #fff; font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 790px); justify-content: center; gap: 52px; padding: 54px 0 90px; }
.legal-toc { position: sticky; top: 100px; align-self: start; display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.legal-toc strong { padding: 7px 9px; font-size: 13px; }
.legal-toc a { padding: 7px 9px; border-radius: 8px; color: #677790; font-size: 12px; text-decoration: none; }
.legal-toc a:hover { color: var(--brand); background: #eef4ff; }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 105px; margin-bottom: 38px; }
.legal-content h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.02em; }
.legal-content h3 { margin: 24px 0 9px; font-size: 17px; }
.legal-content p, .legal-content li { color: #53647e; font-size: 14px; }
.legal-content ul { display: grid; gap: 8px; padding-left: 21px; }
.legal-callout { padding: 17px 19px; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; color: #415572; background: #edf4ff; font-size: 13px; }

.security-hero-card { display: grid; grid-template-columns: 1fr .9fr; gap: 50px; align-items: center; margin-top: 35px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.security-score { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.security-score article { min-height: 120px; padding: 18px; border-radius: 15px; background: var(--surface-soft); }
.security-score b { color: var(--brand); font-size: 23px; }
.security-score strong, .security-score span { display: block; }
.security-score strong { margin-top: 7px; font-size: 14px; }
.security-score span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.auth-page { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 58px 20px 80px; background: radial-gradient(circle at 20% 0%, rgba(39,104,242,.13), transparent 30%), #f5f8fc; }
.auth-card { width: min(540px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.auth-card.wide { width: min(760px, 100%); }
.auth-card h1 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.auth-card > p { margin: 9px 0 25px; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field span { color: #41536d; font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #d3deeb; border-radius: 11px; color: #253852; background: #fff; outline: none; }
.field textarea { min-height: 116px; padding-top: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #72a3ff; box-shadow: 0 0 0 3px rgba(39,104,242,.1); }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.check { display: flex; align-items: flex-start; gap: 9px; color: #61718a; font-size: 12px; }
.check input { margin-top: 4px; accent-color: var(--brand); }
.check a { color: var(--brand); font-weight: 700; }
.form-actions { display: grid; gap: 11px; margin-top: 21px; }
.form-actions .button { width: 100%; border: 0; }
.form-note { padding: 11px 13px; border-radius: 9px; color: #6f5a2d; background: #fff7e7; font-size: 12px; }
.form-message { display: none; margin-top: 16px; padding: 13px; border: 1px solid #bde2d8; border-radius: 10px; color: #176e60; background: #ecfaf6; font-size: 13px; }
.form-message.visible { display: block; }
.form-message.error { border-color: #efc7c1; color: #8b3f34; background: #fff3f1; }
.form-message a { color: inherit; font-weight: 800; }
.auth-switch { margin: 20px 0 0; color: #718096; font-size: 13px; text-align: center; }
.auth-switch a { color: var(--brand); font-weight: 800; text-decoration: none; }

.site-footer { padding: 56px 0 28px; color: #c3cddd; background: #101d32; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 45px; }
.footer-brand p { max-width: 390px; margin: 16px 0 0; color: #94a3b8; font-size: 13px; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy small { color: #8493a9; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column strong { margin-bottom: 4px; color: #fff; font-size: 13px; }
.footer-column a, .footer-column span { color: #97a6b9; font-size: 12px; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #7f8ea3; font-size: 12px; }

@media (max-width: 980px) {
  .site-nav { position: absolute; top: 76px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; border-radius: 8px; }
  .site-nav a:hover { background: #f3f7fd; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav-actions .ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .product-visual { width: min(650px, 100%); margin: 0 auto; }
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .security-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, .8fr); }
  .footer-column:last-child { grid-column: 2; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; }
  .security-hero-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-copy small { display: none; }
  .nav-actions > .button { display: none; }
  .hero { padding: 66px 0 56px; }
  .hero-grid { gap: 48px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .floating-note { right: -5px; bottom: 28px; }
  .mock-cards { grid-template-columns: 1fr 1fr; }
  .mock-card:last-child { display: none; }
  .section { padding: 62px 0; }
  .feature-grid, .pricing-grid, .steps, .security-list, .footer-grid, .form-grid, .security-score { grid-template-columns: 1fr; }
  .step { padding: 8px 0 28px 68px; }
  .step-number { position: absolute; top: 5px; left: 0; }
  .step h3 { margin-top: 0; }
  .step:not(:last-child):after { top: 61px; right: auto; bottom: 4px; left: 26px; width: 1px; height: auto; }
  .security-band { padding: 30px 22px; }
  .security-band h2 { font-size: 30px; }
  .cta { align-items: stretch; flex-direction: column; padding: 32px 24px; }
  .legal-hero { padding-top: 50px; }
  .legal-layout { padding-top: 34px; }
  .auth-card { padding: 27px 21px; }
  .form-grid .full { grid-column: auto; }
  .footer-grid { gap: 30px; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
