* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #07111b;
  --panel: rgba(13, 29, 43, 0.78);
  --panel-strong: rgba(17, 41, 58, 0.92);
  --text: #f2fbff;
  --muted: #a7bcc9;
  --line: rgba(95, 226, 229, 0.22);
  --accent: #63f1e2;
  --accent-strong: #8bf7d4;
  --gold: #f4c867;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(84, 241, 226, 0.18), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(244, 200, 103, 0.12), transparent 28%),
    linear-gradient(135deg, #07111b 0%, #0a1624 52%, #07111b 100%);
}

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

.page {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(95, 226, 229, 0.16);
  background: rgba(7, 17, 27, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 0 24px rgba(99, 241, 226, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(95, 226, 229, 0.22);
  border-radius: 8px;
  background: rgba(7, 17, 27, 0.58);
}

.language-switch button {
  min-width: 38px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.language-switch button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #061018;
}

.language-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 7vw, 96px) clamp(20px, 5vw, 72px) 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(99, 241, 226, 0.38);
  border-radius: 8px;
  background: rgba(99, 241, 226, 0.13);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #061018;
  box-shadow: 0 18px 42px rgba(99, 241, 226, 0.22);
}

.hero-media {
  position: relative;
}

.hero-media img,
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.section {
  padding: 52px clamp(20px, 5vw, 72px);
}

.section-header {
  max-width: 780px;
  margin-bottom: 26px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: 0;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.feature-card,
.support-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card {
  padding: 22px;
}

.feature-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 17px;
}

.feature-card p,
.support-card p,
.info-card p,
.support-card li {
  color: var(--muted);
  line-height: 1.7;
}

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

.screenshot-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #081521;
}

.screenshot-card p {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--muted);
  font-weight: 700;
}

.support-hero {
  padding: 62px clamp(20px, 5vw, 72px) 34px;
  border-bottom: 1px solid rgba(95, 226, 229, 0.14);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.38fr);
  gap: 18px;
  align-items: start;
  padding: 36px clamp(20px, 5vw, 72px) 56px;
}

.support-stack {
  display: grid;
  gap: 18px;
}

.support-card,
.info-card {
  padding: 24px;
}

.support-card h2,
.info-card h3 {
  margin-bottom: 12px;
  letter-spacing: 0;
}

.support-card ul {
  margin: 0;
  padding-left: 20px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(95, 226, 229, 0.12);
  color: var(--muted);
}

.contact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list strong {
  color: var(--text);
}

.footer {
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(95, 226, 229, 0.14);
  color: var(--muted);
  font-size: 14px;
}

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

  .feature-grid,
  .screenshots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-right {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .feature-grid,
  .screenshots {
    grid-template-columns: 1fr;
  }

  .contact-list li {
    display: block;
  }

  .contact-list span {
    display: block;
    margin-top: 4px;
  }
}
