:root {
  color-scheme: dark;
  --bg: #03050d;
  --surface: #121421;
  --surface-2: #191d30;
  --surface-3: #20243a;
  --text: #f6f7fb;
  --muted: #c9d2e2;
  --dim: #7c879c;
  --cyan: #17a9f7;
  --pink: #d264f9;
  --green: #34c759;
  --amber: #ffc857;
  --line: rgba(201, 210, 226, 0.16);
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 18%, rgba(23, 169, 247, 0.16), transparent 32rem),
    radial-gradient(circle at 84% 10%, rgba(210, 100, 249, 0.16), transparent 30rem),
    linear-gradient(180deg, #08080c 0%, var(--bg) 44%, #08090f 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(201, 210, 226, 0.1);
  background: rgba(3, 5, 13, 0.78);
  backdrop-filter: blur(18px);
}

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

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(23, 169, 247, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

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

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(201, 210, 226, 0.12);
  border-radius: 8px;
  background: rgba(246, 247, 251, 0.04);
}

.language-switcher a {
  width: 36px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.12rem;
  line-height: 1;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  background: rgba(23, 169, 247, 0.14);
}

.language-switcher a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(23, 169, 247, 0.38);
}

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

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 48px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(201, 210, 226, 0.14);
  border-radius: 8px;
  background: rgba(246, 247, 251, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.store-link[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.48;
}

.store-link small {
  display: block;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-link svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

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

.logo-orbit {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(23, 169, 247, 0.2), transparent 40%),
    linear-gradient(315deg, rgba(210, 100, 249, 0.22), transparent 42%);
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}

.app-logo {
  position: relative;
  width: min(320px, 74vw);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), 0 0 70px rgba(23, 169, 247, 0.16);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(32, 36, 58, 0.82), rgba(18, 20, 33, 0.72));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(23, 169, 247, 0.12);
  color: var(--cyan);
}

.feature-card:nth-child(2n) .feature-icon {
  background: rgba(210, 100, 249, 0.12);
  color: var(--pink);
}

.feature-card:nth-child(3n) .feature-icon {
  background: rgba(52, 199, 89, 0.12);
  color: var(--green);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

.workflow-step {
  min-height: 168px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: rgba(18, 20, 33, 0.5);
  counter-increment: step;
}

.workflow-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.workflow-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 96px;
}

.privacy-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.privacy-page h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

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

.privacy-page ul {
  padding-left: 1.2rem;
}

.legal-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 20, 33, 0.72);
}

.site-footer {
  border-top: 1px solid rgba(201, 210, 226, 0.12);
  background: rgba(3, 5, 13, 0.7);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--dim);
  font-size: 0.92rem;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

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

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

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher {
    margin-left: 0;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions {
    display: grid;
  }

  .store-link {
    justify-content: center;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
