@charset "UTF-8";

:root {
  --bg: #040712;
  --bg2: #08101f;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #9ca8bb;
  --accent: #7c5cff;
  --accent2: #33c8f5;
  --accent3: #47d7a2;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max-width: 1160px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(124, 92, 255, 0.14), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(51, 200, 245, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, #060b16 100%);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(4, 7, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 12px 30px rgba(124, 92, 255, 0.28);
}

.brand-name {
  font-size: 1rem;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible { color: var(--text); }

.nav .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #6446ff 58%, #4c9eff);
  color: #fff;
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.32);
}

.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.84rem;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switcher a:hover,
.lang-switcher a:focus-visible {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(124, 92, 255, 0.42);
}

.lang-switcher a[aria-current="page"] {
  color: var(--text);
  background: rgba(124, 92, 255, 0.14);
  border-color: rgba(124, 92, 255, 0.5);
}

.hero {
  padding: 80px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #d9d3ff;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.24);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent3);
  box-shadow: 0 0 12px rgba(71, 215, 162, 0.75);
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero h1 strong {
  display: block;
  background: linear-gradient(90deg, #ffffff 0%, #b8b0ff 40%, #77d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0 0 28px;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-1px); }

.button.primary {
  background: linear-gradient(135deg, var(--accent), #5b47ff 56%, #4ea1ff);
  color: #fff;
  box-shadow: 0 16px 34px rgba(124, 92, 255, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.placeholder {
  pointer-events: auto;
}

.hero-note {
  color: #aeb9cc;
  font-size: 0.93rem;
}

.hero-panel {
  border-radius: calc(var(--radius) + 6px);
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(9, 14, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

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

.metric {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric .value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric .label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 38px 0 24px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9b3c7;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.section-head h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

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

.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::before { opacity: 1; }

.card .index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.13);
  color: #cdc6ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

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

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.wide {
  grid-column: 1 / -1;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #d9e2ef;
  font-size: 0.9rem;
}

.seo-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-box strong {
  font-size: 1rem;
}

.contact-box span {
  color: var(--muted);
}

.footer {
  padding: 32px 0 46px;
  color: #8d98ab;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

html.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

[dir="rtl"] body {
  direction: rtl;
}

[dir="rtl"] .topbar-inner,
[dir="rtl"] .hero-grid,
[dir="rtl"] .hero-actions,
[dir="rtl"] .contact-row,
[dir="rtl"] .footer-inner {
  direction: rtl;
}

[dir="rtl"] .nav,
[dir="rtl"] .lang-switcher {
  justify-content: flex-start;
}

[dir="rtl"] .section-head,
[dir="rtl"] .hero p,
[dir="rtl"] .card,
[dir="rtl"] .faq-item,
[dir="rtl"] .contact-box {
  text-align: right;
}

[dir="rtl"] .card ul,
[dir="rtl"] .seo-list {
  padding-left: 0;
  padding-right: 18px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .container { width: min(var(--max-width), calc(100% - 32px)); }
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 44px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.3rem);
  }
}
