@font-face {
  font-family: "HarmonyOS Sans Black";
  src: url("../fonts/HarmonyOS_Sans_Black.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #5c6270;
  --primary: #4c6fff;
  --accent: #ff8c64;
  --border: #e6e8ef;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "HarmonyOS Sans Black", "Inter", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
header.hero {
  background: radial-gradient(circle at 20% 20%, rgba(76,111,255,0.15), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(255,140,100,0.18), transparent 32%),
              linear-gradient(135deg, #f6f8ff 0%, #f9fbff 100%);
  padding: 4.5rem 0 3.5rem;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.lang-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #fff, #f7f9ff);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.45rem;
  box-shadow: var(--shadow);
}
.lang-switch:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,111,255,0.12), var(--shadow);
}
.lang-pill {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-pill:hover { color: var(--text); border-color: var(--border); background: #f2f5ff; }
.lang-pill.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(76,111,255,0.2);
}
.lang-pill:focus { outline: none; box-shadow: 0 0 0 3px rgba(76,111,255,0.14); }
.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
}
.hero p {
  max-width: 700px;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e8edff;
  color: #2f47c3;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(76,111,255,0.25); }

section { padding: 3rem 0; }
.section-title { font-size: 1.5rem; margin: 0 0 1rem; }
.section-desc { color: var(--muted); margin: 0 0 2rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.card h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.list li { display: flex; gap: 0.5rem; color: var(--muted); }
.dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; margin-top: 0.45rem; flex-shrink: 0; }

footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  background: #f1f3f8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.about-grid > * { height: 100%; }
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #e8edff;
  color: #2f47c3;
  font-weight: 600;
  font-size: 0.9rem;
}
.about-highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  color: var(--muted);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.about-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.about-stat h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text);
}
.about-stat p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.contact-form {
  display: grid;
  gap: 0.9rem;
}
.contact-form label {
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--text);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,111,255,0.12);
}
.contact-form small { color: var(--muted); }
button.cta {
  border: none;
  cursor: pointer;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .cta { width: 100%; justify-content: center; }
}
