:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card: #0f172a;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --border-subtle: rgba(148, 163, 184, 0.3);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 40%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%)
      fixed,
    linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #bfdbfe, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1120;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.7);
}

.logo-title {
  font-weight: 600;
  font-size: 15px;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.lang-switch button {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
}

.lang-switch button.active {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

html[data-lang="en"] [data-i18n-zh] {
  display: none !important;
}

html[data-lang="zh"] [data-i18n-en] {
  display: none !important;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover {
  background: rgba(31, 41, 55, 0.9);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  background:
    linear-gradient(to right, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.7)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero-content p {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.16s ease,
    box-shadow 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: rgba(191, 219, 254, 0.5);
  color: #e5f0ff;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.85);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.95);
}

.btn-full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #bfdbfe;
}

.hero-panel {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.4), transparent 65%),
    radial-gradient(circle at bottom, rgba(55, 65, 81, 0.9), #020617);
  border-radius: 28px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: grid;
  gap: 10px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.stat-label {
  font-size: 11px;
  color: #cbd5f5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 3px;
}

.stat-value.small {
  font-size: 16px;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.section {
  padding: 46px 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.card-img {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 10px;
  display: block;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.card p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 13px;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #e5e7eb;
}

.card-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 7px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 26px;
  align-items: flex-start;
}

.about-grid p {
  color: var(--text-muted);
  font-size: 14px;
}

.about-meta {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 14px 14px 12px;
  border: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 13px;
}

.license-box {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px 18px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-main);
}

.license-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  padding-top: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.contact-grid p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
}

.contact-list li {
  margin-bottom: 6px;
}

.contact-list span {
  color: #e5e7eb;
}

.contact-form {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border-subtle);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--text-main);
}

input,
textarea {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.6);
  background: #020617;
}

.form-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #000);
  padding: 16px 0 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-sub {
  margin-top: 4px;
  max-width: 30em;
}

.footer-right a {
  color: #cbd5f5;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  font-size: 12px;
}

.footer-right a:hover {
  background: rgba(15, 23, 42, 1);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    max-width: 420px;
    margin: 0 auto;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: auto;
    padding: 10px 0 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 34px;
  }
}


