:root {
  color-scheme: dark;
  --bg: #02090c;
  --bg-soft: #06191c;
  --panel: rgba(246, 252, 251, 0.94);
  --panel-dark: rgba(6, 31, 34, 0.74);
  --text: #f2fbfa;
  --muted: #a7c3c1;
  --ink: #07151a;
  --ink-soft: #587074;
  --line: rgba(80, 255, 226, 0.18);
  --accent: #22dcc2;
  --accent-strong: #5dffe7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 220, 194, 0.22), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(0, 120, 110, 0.24), transparent 26%),
    linear-gradient(135deg, #021013 0%, #02090c 48%, #000406 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 255, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 255, 231, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(1, 14, 17, 0.78);
  border-bottom: 1px solid var(--line);
}

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

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

.brand img {
  width: 38px;
  height: 38px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 9px 13px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(94, 255, 231, 0.1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px 5px 12px;
  border: 1px solid rgba(94, 255, 231, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-switcher label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.language-switcher select {
  min-width: 112px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: rgba(2, 24, 27, 0.9);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 54px;
  padding: 78px 0 56px;
}

.hero-art {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-card {
  width: min(380px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(16, 80, 75, 0.92), rgba(0, 17, 22, 0.96));
  border: 1px solid rgba(94, 255, 231, 0.35);
  box-shadow: var(--shadow), 0 0 55px rgba(34, 220, 194, 0.16);
}

.hero-card img {
  width: 68%;
  height: 68%;
}

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

h1 {
  margin: 12px 0 12px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: #d7efed;
  font-size: clamp(18px, 2.4vw, 22px);
  max-width: 620px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(94, 255, 231, 0.35);
}

.button.primary {
  background: linear-gradient(135deg, #23e4c9, #0b8f82);
  color: #001316;
  box-shadow: 0 16px 36px rgba(34, 220, 194, 0.22);
}

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

.section {
  padding: 30px 0 74px;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.feature {
  padding: 22px;
  min-height: 136px;
  border-radius: 18px;
  background: rgba(244, 251, 250, 0.96);
  color: var(--ink);
  border: 1px solid rgba(7, 42, 45, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #dffbf5;
  color: #007b70;
  font-weight: 900;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.content-page {
  padding: 58px 0 80px;
}

.page-panel {
  max-width: 860px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.page-panel h1 {
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.page-panel h2 {
  margin-top: 34px;
  color: var(--ink);
}

.page-panel p,
.page-panel li {
  color: #344b50;
}

.page-panel ul {
  padding-left: 22px;
}

.notice {
  margin-top: 28px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(34, 220, 194, 0.1);
  border: 1px solid rgba(11, 143, 130, 0.22);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 13px;
}

.footer-content {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d9f7f3;
  text-decoration: none;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 46px;
  }

  .hero-art {
    min-height: auto;
  }

  .hero-card {
    width: min(260px, 72vw);
    border-radius: 34px;
  }

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

  .footer-content,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-switcher {
    align-self: stretch;
    justify-content: space-between;
  }

  .page-panel h1 {
    font-size: clamp(28px, 5.4vw, 40px);
    line-height: 1.12;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .page-panel h1 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.14;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
