:root {
  --navy: #08233f;
  --ink: #0c2d52;
  --blue: #0f4f94;
  --banner: #0a3d78;
  --promise: #6eb6e4;
  --steel: #d5e1ee;
  --paper: #eef3f8;
  --white: #ffffff;
  --muted: #5b6f86;
  --green: #2ecc71;
  --green-dark: #1fa85a;
  --line: rgba(12, 45, 82, 0.12);
  --danger: #c0392b;
  --shadow: 0 18px 50px rgba(8, 35, 63, 0.16);
  --font: "Montserrat", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

html.i18n-pending body {
  visibility: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}

html[lang="zh-CN"] body,
html[lang="zh"] body {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(90deg, #071c33, #0c335c);
  color: var(--white);
  border-bottom: 3px solid #2ecc71;
  position: relative;
  z-index: 40;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.72;
  font-weight: 600;
}

html[lang="zh-CN"] .brand small,
html[lang="zh"] .brand small {
  letter-spacing: 0.12em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-note {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

html[lang="zh-CN"] .header-note,
html[lang="zh"] .header-note {
  text-transform: none;
  letter-spacing: 0.08em;
}

.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  height: 46px;
  padding: 0 14px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(7, 28, 51, 0.35);
  color: #fff;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover,
.lang-switch.open .lang-btn {
  border-color: rgba(46, 204, 113, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 3px rgba(46, 204, 113, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.lang-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #7ee0a8, #1e7a48 58%, #0b3d77);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  flex: 0 0 30px;
}

.lang-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  flex: 1;
}

.lang-kicker {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
  font-weight: 700;
}

html[lang="zh-CN"] .lang-kicker,
html[lang="zh"] .lang-kicker {
  letter-spacing: 0.12em;
  text-transform: none;
}

.lang-current {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.lang-switch.open .lang-caret {
  transform: rotate(225deg) translateY(-1px);
}

.lang-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 228px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #102844, #0b1e33);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  display: none;
}

.lang-switch.open .lang-panel {
  display: block;
  animation: langIn 0.18s ease;
}

@keyframes langIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-panel-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  padding: 6px 8px 10px;
  font-weight: 700;
}

html[lang="zh-CN"] .lang-panel-title,
html[lang="zh"] .lang-panel-title {
  text-transform: none;
  letter-spacing: 0.08em;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #e8eef6;
  border-radius: 12px;
  padding: 10px 10px;
  cursor: pointer;
  text-align: left;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-option.active {
  background: rgba(46, 204, 113, 0.14);
  box-shadow: inset 0 0 0 1px rgba(46, 204, 113, 0.28);
}

.lang-option b {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.lang-option span {
  display: block;
  font-size: 11px;
  opacity: 0.58;
  margin-top: 1px;
}

.lang-flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.lang-flag-en {
  background:
    linear-gradient(180deg, #012169 0 34%, #fff 34% 39%, #c8102e 39% 61%, #fff 61% 66%, #012169 66%);
}

.lang-flag-zh {
  background:
    radial-gradient(circle at 32% 38%, #ffde00 0 2.4px, transparent 2.6px),
    #de2910;
}

.lang-flag-de {
  background: linear-gradient(180deg, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%);
}

.form-status {
  min-height: 22px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.ok {
  color: var(--green-dark);
}

.form-status.err {
  color: var(--danger);
}

.site-footer {
  background: #071c33;
  color: rgba(255, 255, 255, 0.78);
  padding: 28px 0 36px;
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.footer-brand strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-copy {
  margin: 0;
  max-width: 560px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

html[lang="zh-CN"] .footer-brand span,
html[lang="zh"] .footer-brand span {
  letter-spacing: 0.18em;
  text-transform: none;
}

html[lang="zh-CN"] .footer-copy,
html[lang="zh"] .footer-copy {
  letter-spacing: 0.02em;
}

.hex-bg {
  background-color: #cfdcea;
  background-image:
    radial-gradient(circle at 80% 42%, rgba(14, 70, 140, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M42 1 L63 13 V37 L42 49 L21 37 V13 Z' fill='none' stroke='%239fb6cc' stroke-width='1'/%3E%3C/svg%3E");
}

html[lang="zh-CN"] .hero-title,
html[lang="zh"] .hero-title,
html[lang="zh-CN"] .banner,
html[lang="zh"] .banner,
html[lang="zh-CN"] .promise,
html[lang="zh"] .promise,
html[lang="zh-CN"] .section h2,
html[lang="zh"] .section h2,
html[lang="zh-CN"] .cta-copy h2,
html[lang="zh"] .cta-copy h2,
html[lang="zh-CN"] .card h3,
html[lang="zh"] .card h3,
html[lang="zh-CN"] .faq h3,
html[lang="zh"] .faq h3,
html[lang="zh-CN"] .stat span,
html[lang="zh"] .stat span,
html[lang="zh-CN"] .trust-row span,
html[lang="zh"] .trust-row span,
html[lang="zh-CN"] .fraud-list li,
html[lang="zh"] .fraud-list li {
  text-transform: none;
  letter-spacing: 0.04em;
}
