:root {
  --bg: #eef0f3;
  --phone-bg: #ffffff;
  --phone-border: rgba(0, 0, 0, 0.06);
  --text-main: #071128;
  --text-soft: #687284;
  --text-faint: #a5adba;
  --blue-1: #2f8cff;
  --blue-2: #1270f7;
  --shadow: 0 26px 80px rgba(7, 17, 40, 0.12);
  --sheet-shadow: 0 -14px 42px rgba(7, 17, 40, 0.18);
  --radius-phone: 36px;
  --radius-card: 18px;
  --radius-pill: 16px;
  --font-ui: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-ui);
  background: radial-gradient(circle at top, #f7f8fa 0%, var(--bg) 58%, #e5e8ee 100%);
  color: var(--text-main);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(100%, 386px);
  min-height: 760px;
  background: var(--phone-bg);
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow);
  border: 1px solid var(--phone-border);
  overflow: hidden;
}

.content {
  padding: 26px 18px 32px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.brand-icon {
  position: relative;
  width: 36px;
  height: 28px;
}

.crown {
  position: absolute;
  bottom: 9px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid #b48b51;
}

.crown::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -12px;
  width: 4px;
  height: 4px;
  background: #5f4a2e;
  border-radius: 50%;
}

.crown-left {
  left: 0;
}

.crown-center {
  left: 12px;
  border-left-width: 7px;
  border-right-width: 7px;
  border-bottom-width: 15px;
}

.crown-right {
  right: 0;
}

.crown-base {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 5px;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #d0b085 0%, #8b6b3f 100%);
}

.brand-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  margin-top: 1px;
  font-size: 7px;
  font-weight: 600;
  color: #838a98;
  letter-spacing: 0.12em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 1px solid #eceef2;
  border-radius: 999px;
  background: #fafafa;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}

.lang-switch:hover {
  background: #f3f4f6;
}

.globe-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #111827;
  border-radius: 50%;
  position: relative;
}

.globe-icon::before,
.globe-icon::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  border-left: 1px solid #111827;
  border-right: 1px solid #111827;
  border-radius: 50%;
}

.globe-icon::after {
  inset: 6px 1px;
  border: 0;
  border-top: 1px solid #111827;
  border-bottom: 1px solid #111827;
  border-radius: 0;
}

.hero {
  padding: 34px 8px 0;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 62px;
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.hero p {
  margin: 17px 0 0;
  font-size: 17px;
  line-height: 1.36;
  color: #6b7280;
  font-weight: 600;
}

.cta-group {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cta-card,
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.cta-card {
  min-height: 76px;
  border-radius: 17px;
  padding: 15px 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.cta-card--primary {
  background: linear-gradient(135deg, #259cff 0%, #1575f6 100%);
  color: #fff;
}

.cta-card--secondary {
  background: #fafafa;
  color: var(--text-main);
  border: 1px solid #eceef2;
}

.cta-icon,
.social-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cta-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.telegram-icon {
  background: linear-gradient(135deg, #45c4ff 0%, #2287ff 100%);
}

.telegram-plane {
  width: 18px;
  height: 16px;
  background: #fff;
  clip-path: polygon(0 45%, 100% 0, 74% 100%, 53% 67%, 39% 79%);
  transform: translateX(1px) rotate(7deg);
}

.other-icon {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 4px;
}

.other-icon span {
  border: 3px solid #0f172a;
  border-radius: 5px;
}

.cta-copy,
.social-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.cta-copy strong,
.social-copy strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.cta-copy small,
.social-copy small {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 500;
}

.cta-card--primary small,
.social-card small {
  color: rgba(255, 255, 255, 0.82);
}

.cta-card--secondary small {
  color: #838b98;
}

.chevron {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.chevron-small {
  width: 7px;
  height: 7px;
  border-width: 1.5px;
  transform: rotate(135deg);
  margin-top: -2px;
}

.chevron-white {
  color: #fff;
}

.chevron-dark {
  color: #0f172a;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 26px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}

.feature-item strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.feature-item small {
  font-size: 10px;
  color: #7e8796;
  line-height: 1.3;
}

.feature-icon {
  width: 28px;
  height: 28px;
  position: relative;
}

.shield-icon::before {
  content: "";
  position: absolute;
  inset: 1px 4px 3px;
  border: 3px solid #111827;
  border-radius: 12px 12px 16px 16px;
  clip-path: polygon(50% 0, 100% 16%, 100% 58%, 50% 100%, 0 58%, 0 16%);
}

.shield-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  width: 4px;
  height: 9px;
  border-right: 3px solid #111827;
  border-bottom: 3px solid #111827;
  transform: rotate(35deg);
}

.flash-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 12px;
  height: 22px;
  background: #111827;
  clip-path: polygon(56% 0, 18% 42%, 45% 42%, 30% 100%, 84% 48%, 54% 48%);
}

.people-icon::before,
.people-icon::after {
  content: "";
  position: absolute;
  border: 3px solid #111827;
  border-radius: 50%;
}

.people-icon::before {
  width: 10px;
  height: 10px;
  left: 3px;
  top: 3px;
  box-shadow:
    12px 0 0 -1px #fff,
    12px 0 0 0 #111827;
}

.people-icon::after {
  left: 3px;
  top: 14px;
  width: 20px;
  height: 10px;
  border-radius: 12px 12px 8px 8px;
  border-top-width: 3px;
}

.lock-outline-icon::before {
  content: "";
  position: absolute;
  inset: 9px 5px 2px;
  border: 3px solid #111827;
  border-radius: 6px;
}

.lock-outline-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 3px solid #111827;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.separator-copy {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #8b93a1;
  font-size: 13px;
  text-align: center;
}

.separator-copy p {
  margin: 2px 0;
  line-height: 1.35;
}

.line {
  height: 1px;
  background: #d7dbe3;
}

.footer {
  margin-top: 32px;
  padding-bottom: 8px;
  text-align: center;
  color: #a8afbb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 29, 40, 0.52);
  transition: opacity 220ms ease;
}

.bottom-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: var(--sheet-shadow);
  padding: 12px 16px 30px;
  transform: translateY(100%);
  transition: transform 260ms ease;
}

.sheet-handle {
  width: 80px;
  height: 5px;
  border-radius: 999px;
  background: #e4e7ec;
  margin: 0 auto 10px;
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 15px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
}

.sheet-header {
  padding-top: 18px;
  text-align: center;
}

.sheet-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.sheet-header p {
  margin: 10px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

.sheet-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.social-card {
  min-height: 74px;
  border-radius: 16px;
  padding: 14px 18px;
}

.social-card--instagram {
  background: linear-gradient(135deg, #ffb239 0%, #ff5f63 34%, #c629df 72%, #8d2dff 100%);
  color: #fff;
}

.social-card--messenger {
  background: linear-gradient(135deg, #2190ff 0%, #0d72f8 100%);
  color: #fff;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.instagram-icon {
  border: 3px solid #fff;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid #fff;
  border-radius: 11px;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: -10px 10px 0 4px transparent;
}

.messenger-icon {
  background: #fff;
  border-radius: 50%;
}

.messenger-icon::before {
  content: "";
  position: absolute;
  inset: 8px 7px 10px;
  background: #1575f6;
  border-radius: 18px 18px 16px 16px;
}

.messenger-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 16px;
  height: 12px;
  background: #fff;
  clip-path: polygon(0 75%, 29% 47%, 45% 62%, 67% 33%, 100% 0, 71% 56%, 54% 40%, 31% 70%);
}

.overlay.hidden,
.bottom-sheet.hidden {
  pointer-events: none;
  visibility: hidden;
}

.overlay.hidden {
  opacity: 0;
}

.bottom-sheet.hidden {
  transform: translateY(100%);
}

.overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet:not(.hidden) {
  transform: translateY(0);
  visibility: visible;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  body {
    padding: 0;
    background: #fff;
  }

  .phone {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .content {
    padding-top: 22px;
  }
}
