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

:root {
  --bg: #080808;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f4;
  --muted: #8a8a8a;
  --accent: #c6f135;
  --accent-dim: rgba(198, 241, 53, 0.12);
  --accent-glow: rgba(198, 241, 53, 0.35);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Atmosphere */

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow--a {
  width: 500px;
  height: 500px;
  background: var(--accent-glow);
  top: -200px;
  right: -100px;
  opacity: 0.5;
  animation: drift 20s ease-in-out infinite;
}

.glow--b {
  width: 350px;
  height: 350px;
  background: rgba(198, 241, 53, 0.08);
  bottom: -100px;
  left: -80px;
  animation: drift 26s ease-in-out infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

/* Layout */

.page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.screen {
  padding: 0 28px;
}

.screen--hero {
  min-height: calc(100dvh - 88px);
  display: flex;
  flex-direction: column;
}

.screen--seo {
  min-height: 100dvh;
  padding: 48px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.screen--seo::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  left: -120px;
  bottom: -80px;
  background: var(--accent-glow);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
}

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 28px 0;
  margin-bottom: 48px;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

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

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  gap: 2px;
}

.lang-btn {
  padding: 7px 14px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: var(--accent);
  color: var(--bg);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* Hero */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 28px;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin-bottom: 24px;
  animation: rise 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.line {
  display: block;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.line:nth-child(1) { animation-delay: 0.15s; }
.line:nth-child(2) { animation-delay: 0.25s; }
.line:nth-child(3) { animation-delay: 0.35s; }

.line--accent {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 36px;
  animation: rise 0.7s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* CTA */

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: rise 0.7s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.cta:hover::before {
  transform: translateX(100%);
}

.cta-arrow {
  font-size: 1.25rem;
  transition: transform 0.25s;
}

.cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Hero illustration */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rise 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-art {
  width: auto;
  height: min(72vh, 560px);
  max-width: 100%;
  animation: float-soft 6s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SEO / FAQ — второй экран */

.seo {
  position: relative;
  z-index: 1;
  width: 100%;
}

.seo__eyebrow {
  margin-bottom: 24px;
}

.seo__eyebrow span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.seo__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 680px;
}

.seo__intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq__card {
  padding: 28px 28px 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s;
}

.faq__card:hover {
  border-color: rgba(198, 241, 53, 0.22);
  transform: translateY(-3px);
}

.faq__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.faq__q {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.faq__a {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.cta-row--seo {
  margin-top: 48px;
  animation: none;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }

  .hero-visual {
    order: -1;
    justify-content: center;
  }

  .hero-art {
    height: min(50vh, 420px);
  }

  .hero-copy {
    max-width: 100%;
  }

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

  .screen--seo {
    min-height: auto;
    padding: 48px 0 64px;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .screen {
    padding: 0 18px;
  }

  .top {
    padding: 20px 18px 0;
  }

  .screen--seo {
    padding: 40px 0 56px;
  }

  .faq__card {
    padding: 22px 20px 26px;
  }

  .seo__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .top {
    margin-bottom: 32px;
  }

  .brand-name {
    display: none;
  }

  .headline {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }

  .cta {
    width: 100%;
    justify-content: center;
  }

  .hero-art {
    max-width: 260px;
  }
}