:root {
  color-scheme: dark;
  --bg: #070a12;
  --surface: #101522;
  --surface-soft: #151b2b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #aab3c5;
  --cyan: #20d6d2;
  --pink: #ff4f8b;
  --lime: #b8f24b;
  --gold: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(32, 214, 210, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 30%, rgba(255, 79, 139, 0.14), transparent 26rem),
    linear-gradient(180deg, #070a12 0%, #0a0f1b 46%, #070a12 100%);
}

a {
  color: inherit;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  gap: 18px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(32, 214, 210, 0.28);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  min-width: 70px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.language-option {
  min-width: 46px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-option:hover,
.language-option:focus-visible,
.language-option[aria-pressed="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.language-option:focus-visible {
  outline: 2px solid rgba(32, 214, 210, 0.7);
  outline-offset: 2px;
}

.hero {
  display: flex;
  width: min(860px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 42px 0 58px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  animation: fade-up 700ms ease both;
}

.app-icon {
  width: clamp(96px, 22vw, 142px);
  height: clamp(96px, 22vw, 142px);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 44px rgba(32, 214, 210, 0.18);
}

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

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: #dbe2ef;
  font-size: clamp(1.05rem, 3.5vw, 1.28rem);
  line-height: 1.5;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
}

.store-button {
  display: inline-flex;
  min-width: min(100%, 210px);
  min-height: 64px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  border-color: rgba(32, 214, 210, 0.46);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 58px rgba(32, 214, 210, 0.16);
  transform: translateY(-2px);
}

.store-button small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.store-logo {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.developer {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.app-sections {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 88px;
}

.feature-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(16, 21, 34, 0.78);
  box-shadow: var(--shadow);
}

.feature-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  line-height: 1.08;
}

.feature-card p {
  margin: 18px 0 0;
  color: #d7deea;
  font-size: 1rem;
  line-height: 1.72;
}

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

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: #d7deea;
  line-height: 1.6;
}

.feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.content-page {
  width: min(920px, calc(100% - 32px));
  min-height: calc(100vh - 152px);
  margin: 0 auto;
  padding: 54px 0 82px;
}

.policy-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 48px);
  background: rgba(16, 21, 34, 0.78);
  box-shadow: var(--shadow);
  animation: fade-up 520ms ease both;
}

.policy-panel[hidden] {
  display: none;
}

.policy-panel h1 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 10vw, 4.2rem);
}

.policy-panel h2 {
  margin: 34px 0 12px;
  font-size: 1.15rem;
}

.policy-panel h3 {
  margin: 24px 0 8px;
  color: var(--text);
  font-size: 1rem;
}

.policy-panel p {
  color: #d7deea;
  font-size: 1rem;
  line-height: 1.78;
}

.policy-panel ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #d7deea;
  line-height: 1.78;
}

.policy-panel a {
  color: var(--cyan);
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.support-panel {
  max-width: 720px;
  margin: 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 128px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    min-width: 0;
    padding-inline: 8px;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .language-option {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .store-button {
    width: 100%;
  }

  .app-sections {
    padding-bottom: 54px;
  }
}
