:root {
  --bg: #ffffff;
  --soft: #f7f8fa;
  --text: #101318;
  --muted: #68707c;
  --line: #e5e7eb;
  --primary: #7c3aed;
  --primary-dark: #6021c7;
  --primary-soft: #f1eaff;
  --dark: #11131a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 19, 26, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.i18n-pending { visibility: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,.8);
}
.nav-wrap { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 18px; white-space: nowrap; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 8px 20px rgba(124,58,237,.25);
}
.brand-accent { color: var(--primary); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: #505762; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav-cta { margin-left: 2px; }
.lang-switch { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
.lang-switch select {
  appearance: none;
  min-height: 42px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang-switch::after {
  content: '';
  position: absolute;
  right: 12px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #6b7280;
}
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 14px;
  transition: .2s ease; border: 1px solid transparent;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px rgba(124,58,237,.22); }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary, .button-outline { background: #fff; color: var(--text); border-color: var(--line); }
.button-secondary:hover, .button-outline:hover { border-color: #c7cbd2; }
.button-small { min-height: 42px; padding: 0 16px; }
.button-large { min-height: 56px; padding: 0 26px; }
.button-light { background: #fff; color: var(--dark); }

.hero { position: relative; overflow: hidden; padding: 86px 0 72px; background: radial-gradient(circle at 77% 20%, rgba(124,58,237,.12), transparent 30%), linear-gradient(180deg, #fff 0%, #faf9ff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 76px; align-items: center; position: relative; z-index: 1; }
.hero-copy h1 { max-width: 690px; margin: 18px 0 20px; font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -.055em; }
.hero-lead { max-width: 650px; margin: 0; color: var(--muted); font-size: 19px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34,197,94,.12); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: #6b7280; font-size: 13px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(15px); pointer-events: none; }
.hero-glow-one { width: 360px; height: 360px; background: rgba(124,58,237,.09); right: -120px; top: 40px; }
.hero-glow-two { width: 250px; height: 250px; background: rgba(56,189,248,.08); left: -150px; bottom: -100px; }

/* --- Ваши исходные стили --- */
.phone-card { display: grid; place-items: center; }
.phone-shell {
  position: relative; /* Добавлено: нужно для правильного скругления и позиционирования */
  width: min(355px, 100%);
  padding: 12px;
  border-radius: 38px;
  background: #16181f;
  box-shadow: 0 35px 80px rgba(18,20,30,.24);
  border: 1px solid #30333b;
  transform: rotate(2deg);
}
.phone-notch {
  position: relative; /* Добавлено: поднимаем челку поверх экрана */
  z-index: 2;
  width: 92px;
  height: 21px;
  margin: 0 auto -21px; /* Изменено: накладываем челку поверх верхнего края экрана */
  border-radius: 0 0 15px 15px;
  background: #0b0d10;
}

/* --- Новые стили для экрана и картинки --- */
.phone-screen {
    width: 100%;
    height: 580px;         /* Или любая нужная вам высота */
    /* Применяем рассчитанный радиус */
    border-radius: 26px;
    /* ОБЯЗАТЕЛЬНО: Обрезает острые углы картинки по форме контейнера */
    overflow: hidden;
    position: relative;    /* Чтобы элементы внутри выравнивались правильно */
}
/* Сам скриншот */
.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    /* Принудительно закругляем саму картинку */
    border-radius: 26px;
}
.telegram-top { display: flex; align-items: center; gap: 10px; padding: 16px 12px; color: white; }
.telegram-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #6d28d9); font-weight: 800; }
.telegram-top strong { display: block; font-size: 13px; }
.telegram-top small { color: #9aa0aa; font-size: 11px; }
.online-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #22c55e; }
.chat-bg { min-height: 490px; padding: 24px 12px; border-radius: 25px; background: radial-gradient(circle at 20% 30%, rgba(124,58,237,.1), transparent 35%), #eef1f5; }
.notification-bubble { display: grid; grid-template-columns: 110px 1fr; gap: 11px; max-width: 315px; margin-left: auto; padding: 10px; border-radius: 17px 5px 17px 17px; background: white; box-shadow: 0 10px 25px rgba(0,0,0,.09); }
.listing-image { min-height: 128px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #f7f7f7, #dfe3e8); color: #252932; font-weight: 900; letter-spacing: .08em; }
.listing-title { font-size: 12px; line-height: 1.3; font-weight: 700; }
.listing-price { margin-top: 8px; font-size: 16px; font-weight: 800; }
.listing-details { color: #7a818d; font-size: 10px; margin-top: 2px; }
.show-link { display: inline-block; margin-top: 11px; color: var(--primary); font-size: 10px; font-weight: 800; }
.time { text-align: right; color: #7b8390; font-size: 10px; margin-top: 8px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; color: #6c7380; font-size: 13px; font-weight: 600; }
.mini-trust { display: inline-flex; gap: 7px; align-items: center; color: #4b5563; }
.mini-trust span { color: var(--primary); }

.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.07; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.pricing-note { display: inline-block; margin-top: 16px !important; padding: 12px 18px; border: 1px solid #ded2ff; border-radius: 14px; background: var(--primary-soft); color: var(--primary) !important; font-size: 15px !important; font-weight: 600; line-height: 1.5; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature-card.featured { border-color: #ded2ff; box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-soft); font-size: 21px; }
.feature-card h3 { margin: 20px 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.step-number { position: absolute; top: 20px; right: 22px; color: #e9e3fb; font-size: 44px; line-height: 1; font-weight: 800; }
.step-icon { font-size: 30px; margin: 8px 0 25px; }
.step-card h3 { margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }
.center-action { display: flex; justify-content: center; margin-top: 30px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.price-card.popular { border-color: #cdb9ff; box-shadow: var(--shadow); transform: translateY(-8px); }
.popular-ribbon { position: absolute; top: -13px; left: 24px; padding: 5px 10px; border-radius: 999px; background: var(--primary); color: white; font-size: 11px; font-weight: 800; }
.price-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.price-label { font-size: 14px; color: #5b6470; font-weight: 700; }
.price-badge { padding: 4px 8px; border-radius: 999px; background: #f3f4f6; color: #5b6470; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.price-value { margin-top: 22px; font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.price-value small { font-size: 24px; vertical-align: 7px; }
.price-period { color: var(--muted); margin-top: 7px; font-size: 13px; }
.price-card ul { margin: 26px 0 28px; padding: 0; list-style: none; display: grid; gap: 11px; color: #59616d; font-size: 13px; }
.price-card li::before { content: '✓'; color: var(--primary); font-weight: 900; margin-right: 8px; }
.price-card .button { width: 100%; }
.long-plan { margin-top: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.long-plan strong { display: block; }
.long-plan span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.long-plan a { color: var(--primary); font-weight: 800; font-size: 13px; white-space: nowrap; }

.section-dark { background: var(--dark); color: #fff; }
.split-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.eyebrow-dark { color: #b9a3ff; }
.split-section h2 { max-width: 700px; margin: 12px 0 18px; font-size: clamp(36px, 4.5vw, 57px); line-height: 1.05; letter-spacing: -.05em; }
.split-section p { max-width: 620px; color: #b4bac4; font-size: 17px; }
.split-section .button { margin-top: 16px; }
.check-panel { padding: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.check-row { display: flex; gap: 13px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.check-row:last-child { border-bottom: 0; }
.check-row span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(124,58,237,.22); color: #d7c9ff; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--primary); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin: -8px 0 22px; font-size: 14px; max-width: 700px; }

.final-cta { padding: 72px 0; background: linear-gradient(135deg, #f6f2ff, #ffffff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-cta h2 { margin: 10px 0 7px; max-width: 780px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.final-cta p { margin: 0; color: var(--muted); }

.footer { background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: 48px 0; }
.footer-grid p { max-width: 410px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-items: center; gap: 22px; color: #636b77; font-size: 13px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; color: #8a919d; font-size: 11px; border-top: 1px solid var(--line); }

@media (max-width: 920px) {
  .nav { position: absolute; left: 20px; right: 20px; top: 70px; padding: 16px; flex-direction: column; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav-cta { margin-left: auto; }
  .lang-switch { margin-left: auto; }
  .menu-toggle { display: block; }
  .hero-grid, .split-section, .faq-wrap { grid-template-columns: 1fr; }
  .phone-card { order: -1; }
  .hero { padding-top: 55px; }
  .feature-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { gap: 38px; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-wrap { height: 66px; gap: 10px; }
  .nav-cta { display: none; }
  .brand { font-size: 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { padding: 52px 0 60px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-lead { font-size: 17px; }
  .hero-proof { display: grid; gap: 8px; }
  .trust-inner { display: grid; padding: 17px 0; gap: 10px; }
  .section { padding: 76px 0; }
  .feature-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .long-plan { flex-direction: column; align-items: flex-start; }
  .split-section { gap: 30px; }
  .phone-shell { transform: none; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-links { flex-wrap: wrap; }
  .hero-actions .button { width: 100%; }
}

