*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #f7f9fc;
}

a {
  color: #0f4c81;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: #0f4c81;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 18px;
  flex: 1;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #444;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: #0f4c81;
}

.lang-toggle {
  display: flex;
  gap: 4px;
  background: #eef2f7;
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  color: #666;
}

.lang-btn.on {
  background: #fff;
  color: #0f4c81;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f4c81;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111;
}

.lead {
  margin: 0 auto 28px;
  max-width: 640px;
  color: #555;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background: #0f4c81;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #0f4c81;
  border: 1px solid #c5d4e4;
}

.trust {
  max-width: 920px;
  margin: 0 auto 16px;
  padding: 0 24px;
}

.trust ul {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 76, 129, 0.06);
}

.trust li {
  font-size: 0.9rem;
  color: #555;
}

.section {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-muted {
  background: #eef2f7;
  max-width: none;
}

.section-muted > h2,
.section-muted > .section-intro,
.section-muted > .demo-list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 28px;
  color: #666;
  max-width: 640px;
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #e8edf2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.card-featured {
  border-color: #0f4c81;
  box-shadow: 0 4px 20px rgba(15, 76, 129, 0.12);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.5;
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #0f4c81;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}

.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.demo-list a {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #dde4ec;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.demo-list a:hover {
  border-color: #0f4c81;
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.1);
}

.demo-list strong {
  display: block;
  color: #111;
  margin-bottom: 4px;
}

.demo-list span {
  font-size: 0.88rem;
  color: #666;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f4c81;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
}

.steps p {
  margin: 0;
  color: #555;
  font-size: 0.92rem;
}

.section-contact {
  text-align: center;
}

.section-contact .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 640px;
  margin: 0 auto 20px;
}

.contact-card {
  display: block;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid #dde4ec;
  transition: border-color 0.15s;
}

.contact-card:hover {
  border-color: #0f4c81;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 6px;
}

.contact-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f4c81;
  word-break: break-all;
}

.contact-note {
  margin: 0;
  font-size: 0.88rem;
  color: #888;
}

.footer {
  text-align: center;
  padding: 32px 24px 48px;
  font-size: 0.88rem;
  color: #888;
}

.footer-links a {
  color: #666;
}

@media (max-width: 640px) {
  .nav {
    order: 3;
    width: 100%;
  }

  .hero {
    padding-top: 36px;
  }
}
