:root {
  --bg: #fbfaff;
  --text: #17113d;
  --muted: #656077;
  --purple: #7c3cff;
  --purple-dark: #5f28dc;
  --border: #ddd0ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 88% 12%, rgba(124, 60, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  overflow: hidden;
}

.page {
  width: 100vw;
  height: 100vh;
  padding: clamp(28px, 4vh, 48px) clamp(36px, 4.5vw, 70px);
  overflow: hidden;
}

.language-switcher {
  position: fixed;
  top: clamp(22px, 3.5vh, 38px);
  right: clamp(24px, 4vw, 54px);
  z-index: 10;
}

.language-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switcher__select {
  appearance: none;
  min-width: 64px;
  border: 1px solid rgba(124, 60, 255, 0.24);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.72);
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 9px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  box-shadow: 0 10px 26px rgba(53, 28, 118, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 8px 28px 8px 12px;
}

.language-switcher__select option {
  color: var(--text);
  background: #ffffff;
}

.language-switcher__select:focus {
  outline: 2px solid rgba(124, 60, 255, 0.32);
  outline-offset: 2px;
}

.brand {
  height: 42px;
  display: flex;
  align-items: center;
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 850;
  letter-spacing: 0.26em;
  color: #120d3c;
}

.hero {
  height: calc(100vh - 42px - clamp(28px, 4vh, 48px) * 2);
  display: grid;
  grid-template-columns: 54% 46%;
  align-items: center;
  gap: clamp(26px, 3.2vw, 64px);
}

.hero-visual {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(6px);
}

.hero-visual img {
  width: min(50vw, 900px);
  max-height: 62vh;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 28px 38px rgba(53, 28, 118, 0.11));
}

.hero-content {
  z-index: 2;
  transform: translateY(-1vh);
}

h1 {
  margin: 0 0 clamp(18px, 2.3vh, 28px);
  font-size: clamp(42px, 4.15vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 850;
}

h1 strong {
  color: var(--purple);
  font-weight: 850;
}

p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(18px, 1.35vw, 25px);
  line-height: 1.42;
  color: var(--muted);
  letter-spacing: -0.03em;
}

.actions {
  display: flex;
  gap: 14px;
  margin-top: clamp(30px, 5vh, 54px);
  align-items: center;
}

.button {
  min-width: 178px;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 13px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button .icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 21px;
  line-height: 1;
  flex: 0 0 auto;
}

.button strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

.button small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.1;
}

.primary {
  color: white;
  background: linear-gradient(135deg, #843dff, #6d28e8);
  box-shadow: 0 16px 32px rgba(124, 60, 255, 0.2);
}

.primary .icon {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.primary small {
  color: rgba(255, 255, 255, 0.72);
}

.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--border);
}

.secondary .icon {
  color: var(--purple);
  background: rgba(124, 60, 255, 0.08);
}

.secondary small {
  color: var(--muted);
}

@media (max-width: 1050px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 0%, rgba(175, 120, 255, 0.25), transparent 34%),
      linear-gradient(180deg, #250067 0%, #140036 100%);
    color: #ffffff;
  }

  .page {
    width: 100vw;
    height: 100vh;
    padding: 22px 24px;
    overflow: hidden;
  }

  .language-switcher {
    top: 17px;
    right: 18px;
  }

  .language-switcher__select {
    min-width: 58px;
    border-color: rgba(255, 255, 255, 0.24);
    background-color: #210055;
    box-shadow: none;
    color: #ffffff;
    font-size: 11px;
    padding: 6px 24px 6px 10px;
  }

  .language-switcher__select option {
    color: #17113d;
    background: #ffffff;
  }

  .brand {
    height: 28px;
    justify-content: flex-start;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.24em;
    margin: 0;
  }

  .hero {
    height: calc(100vh - 28px - 44px);
    display: grid;
    grid-template-rows: 34% 66%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

.hero-visual {
  order: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  transform: translateY(20px);
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28))
    saturate(1.08)
    contrast(1.08);
}

  .hero-content {
    order: 2;
    width: 100%;
    height: 100%;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 900;
  }

  h1 strong {
    color: #ffffff;
  }

  p {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 4.3vw, 21px);
    line-height: 1.36;
    letter-spacing: 0.03em;
  }

  .actions {
    width: 100%;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    gap: 10px;
  }

  .button .icon {
    width: 30px;
    height: 30px;
    font-size: 19px;
    border-radius: 8px;
  }

  .button strong {
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .button small {
    display: none;
  }

  .primary {
    background: linear-gradient(135deg, #c8a6ff, #8d52ff);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  }

  .primary .icon {
    border: 1px solid rgba(255, 255, 255, 0.28);
  }

  .secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .secondary .icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 430px) {
  .page {
    padding: 20px 22px;
  }

  .brand {
    font-size: 14px;
  }

  .hero {
    height: calc(100vh - 28px - 40px);
    grid-template-rows: 31% 69%;
  }

    .hero-visual img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    }

  h1 {
    font-size: clamp(31px, 10.8vw, 42px);
    margin-bottom: 12px;
  }

  p {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.33;
  }

  .actions {
    margin-top: 18px;
    gap: 9px;
  }

  .button {
    min-height: 50px;
  }
}

@media (max-height: 760px) and (max-width: 620px) {
  .page {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    height: 22px;
    font-size: 12px;
  }

  .hero {
    height: calc(100vh - 22px - 32px);
    grid-template-rows: 28% 72%;
  }

  h1 {
    font-size: clamp(28px, 9.4vw, 38px);
    margin-bottom: 10px;
  }

  p {
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.28;
  }

  .actions {
    margin-top: 14px;
  }

  .button {
    min-height: 46px;
    padding: 9px 14px;
  }

  .button .icon {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .button strong {
    font-size: 13px;
  }
}
