@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'AvenirNext'; src: url('/assets/fonts/AvenirNextCyr-Heavy.ttf') format('truetype'); font-weight: 800; font-display: swap; }

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

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 40%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

:root {
  --bg: #eeedf2;
  --text: #111118;
  --muted: #5e5878;
  --accent: #7b5ea7;
  --card-radius: 28px;
  --input-radius: 12px;
  --max: 1100px;
  --font: 'AvenirNext', system-ui, -apple-system, sans-serif;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  position: relative;
}


/* ── Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px 140px;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 20%, transparent 50%);
}

.top-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-radius: 999px;
  pointer-events: all;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
}

.nav-lang-globe {
  width: 16px;
  height: 16px;
  stroke: #000000;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.nav-lang select {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}


/* ── Hero ── */
.hero {
  margin: -160px 0 96px;
}

.hero-card {
  background: linear-gradient(to right,
    #b09ee8 0%,
    #d8d4ee 30%,
    #e2e0ec 50%,
    #d0d8f0 70%,
    #9ab8ff 100%
  );
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 48px 0;
  min-height: 560px;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.09;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  width: 100%;
  position: relative;
  z-index: 20;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.hero-logo-icon {
  height: 216px;
  width: auto;
  filter: brightness(0);
}

.hero-logo-text {
  height: 44px;
  width: auto;
  filter: brightness(0);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: #111118;
  margin-bottom: 20px;
}

.hero-text h1 strong { font-weight: 800; color: #111118; }
.hero-text h1 span   { font-weight: 300; color: #111118; }

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111118;
  margin-bottom: 14px;
}

.hero-body {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(17,17,24,0.62);
  margin-bottom: 36px;
}

.hero-form {
  width: 100%;
  max-width: 560px;
  padding: 0 48px;
}

.input-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.email-input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid rgba(17,17,24,0.18);
  border-radius: var(--input-radius);
  background: rgba(255,255,255,0.55);
  color: #111118;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  -webkit-appearance: none;
}

.email-input::placeholder { color: rgba(17,17,24,0.35); }
.email-input:focus {
  border-color: rgba(17,17,24,0.4);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 0 0 3px rgba(17,17,24,0.07);
}

.submit-btn {
  padding: 14px 24px;
  background: #000000;
  border: none;
  border-radius: var(--input-radius);
  color: #fff;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.1s;
  -webkit-appearance: none;
}

.submit-btn:hover  { background: #222222; }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.store-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 28px;
}

.store-badges img {
  height: 50px;
  width: auto;
  display: block;
}

.form-message {
  font-size: 0.83rem;
  font-weight: 500;
  margin-top: 12px;
  min-height: 1.2em;
  line-height: 1.4;
}
.form-message.success { color: #1a6a3a; }
.form-message.warning { color: #7a5200; }
.form-message.error   { color: #b02020; }

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 32px;
  position: relative;
  z-index: 20;
}

.hero-visual img {
  width: 55%;
  max-width: 560px;
  height: auto;
  display: block;
  margin-left: 113px;
  filter: drop-shadow(0 24px 48px rgba(80,60,140,0.28));
}

/* ── Sections ── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 96px;
  position: relative;
  z-index: 20;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 52px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: #aaaaaa;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.step-title {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.step-body {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.72;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(123,94,167,0.1);
  border-radius: 20px;
  padding: 32px 28px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #111118;
  border-radius: 12px;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-body {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
}

/* Quality strip */
.quality-strip {
  border-top: 1px solid rgba(123,94,167,0.13);
  padding: 80px 32px;
  text-align: center;
  position: relative;
  z-index: 20;
}

.quality-strip p {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.3;
}

/* Footer */
footer {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 24px 32px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

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

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-header { padding: 12px 16px 80px; }
  .top-nav { padding: 8px 12px; gap: 0; }
  .nav-logo img { height: 26px; }
  .nav-links {
    gap: 14px;
    flex-shrink: 1;
    min-width: 0;
  }
  .nav-links a { font-size: 0.78rem; }
  .hero-card { padding: 52px 28px 0; }
  .hero { margin-bottom: 64px; }
  .hero-visual img { width: 80%; margin-left: 0; }
  .section { padding: 0 20px 64px; }
  .input-row { flex-direction: column; }
  .submit-btn { width: 100%; text-align: center; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .quality-strip { padding: 56px 20px; }
}
