/* /css/style.css
   MobileSeek — стили лендинга. */

/* ============================================================
   1. Шрифт Inter
   ============================================================ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable.woff2') format('woff2-variations'),
         url('/fonts/InterVariable.woff2') format('woff2');
}

/* ============================================================
   2. Переменные и сброс
   ============================================================ */
:root {
    --dark:        #0A2540;
    --dark-2:      #143151;
    --dark-3:      #0d1e35;
    --lime:        #00E5A0;
    --lime-h:      #00c98c;
    --orange:      #FF6B00;
    --orange-h:    #e05f00;
    --text:        #1d1d1f;
    --text-2:      #6e6e73;
    --text-3:      #86868b;
    --bg:          #ffffff;
    --bg-soft:     #f5f5f7;
    --bg-dark:     #0A2540;
    --divider:     #e5e7eb;
    --radius:      14px;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.05);
    --shadow:      0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.12);
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --container:   1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.lp-body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--dark); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
    color: var(--text);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 22px; }

p { margin: 0 0 16px; }

ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 8px; }

/* ============================================================
   3. Контейнер и общие утилиты
   ============================================================ */
.lp-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section {
    padding: 80px 0;
}
.lp-section-dark {
    background: var(--dark);
    color: #fff;
}
.lp-section-dark h1,
.lp-section-dark h2,
.lp-section-dark h3 {
    color: #fff;
}
.lp-section-soft {
    background: var(--bg-soft);
}

.lp-section-title {
    text-align: center;
    margin-bottom: 48px;
}
.lp-section-title h2 {
    font-size: 40px;
    margin-bottom: 16px;
}
.lp-section-title p {
    font-size: 18px;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto;
}
.lp-section-dark .lp-section-title p {
    color: #b8c5d1;
}

.lp-accent { color: var(--lime); }

/* ============================================================
   4. Кнопки
   ============================================================ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    white-space: nowrap;
}
.lp-btn:active { transform: translateY(1px); }

.lp-btn-primary {
    background: var(--lime);
    color: var(--dark);
    box-shadow: 0 8px 24px rgba(0,229,160,0.35);
}
.lp-btn-primary:hover {
    background: var(--lime-h);
    color: var(--dark);
    box-shadow: 0 12px 32px rgba(0,229,160,0.45);
}

.lp-btn-dark {
    background: var(--dark);
    color: #fff;
}
.lp-btn-dark:hover { background: var(--dark-2); color: #fff; }

.lp-btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}
.lp-btn-outline:hover { background: var(--dark); color: #fff; }

.lp-btn-lg {
    padding: 20px 44px;
    font-size: 19px;
}

/* ============================================================
   5. Header
   ============================================================ */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--divider);
}
.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 20px;
}
.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    letter-spacing: -0.02em;
}
.lp-logo:hover { color: var(--dark); }
.lp-logo img,
.lp-logo svg {
    width: 32px;
    height: 32px;
}
.lp-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}
.lp-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-2);
}
.lp-nav a:hover { color: var(--dark); }
.lp-nav a.lp-nav-cta {
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--lime);
    font-weight: 600;
}
.lp-nav a.lp-nav-cta:hover { background: var(--lime-h); color: var(--dark); }

/* ============================================================
   6. Hero (первый экран)
   ============================================================ */
.lp-hero {
    background: var(--dark);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,229,160,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.lp-hero-text h1 {
    color: #fff;
    font-size: 56px;
    margin-bottom: 24px;
}
.lp-hero-sub {
    font-size: 20px;
    line-height: 1.55;
    color: #b8c5d1;
    margin-bottom: 32px;
    max-width: 520px;
}
.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.lp-hero-note {
    font-size: 13px;
    color: #6e8095;
    line-height: 1.55;
    max-width: 480px;
}

/* Мокап смартфона */
.lp-phone {
    position: relative;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));
}

/* ============================================================
   7. Карточки "Почему MobileSeek"
   ============================================================ */
.lp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.lp-feature {
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.lp-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0,229,160,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.lp-feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: #00875f;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lp-feature h3 {
    font-size: 19px;
    margin-bottom: 10px;
}
.lp-feature p {
    font-size: 15px;
    color: var(--text-2);
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   8. "Как это работает" — 4 шага
   ============================================================ */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.lp-step {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--divider);
    position: relative;
}
.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dark);
    color: var(--lime);
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px;
}
.lp-step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.lp-step p {
    font-size: 15px;
    color: var(--text-2);
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   9. Тарифы (краткий блок на лендинге)
   ============================================================ */
.lp-tariffs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.lp-tariff {
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}
.lp-tariff:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--lime);
}
.lp-tariff-featured {
    border-color: var(--lime);
    border-width: 2px;
}
.lp-tariff-featured::after {
    content: 'Популярный';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lime);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.lp-tariff-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}
.lp-tariff-price {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}
.lp-tariff-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-2);
}
.lp-tariff-desc {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 20px;
    min-height: 40px;
}
.lp-tariff-words {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}
.lp-tariff-more {
    text-align: center;
    margin-top: 8px;
}

/* ============================================================
   10. "Для кого" — 5 сегментов
   ============================================================ */
.lp-audience {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.lp-audience-item {
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.lp-audience-item:hover {
    border-color: var(--lime);
    transform: translateY(-2px);
}
.lp-audience-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}
.lp-audience-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lp-audience-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

/* ============================================================
   11. FAQ
   ============================================================ */
.lp-faq {
    max-width: 820px;
    margin: 0 auto;
}
.lp-faq details {
    background: #fff;
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: border-color 0.15s;
}
.lp-faq details[open] {
    border-color: var(--lime);
}
.lp-faq summary {
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--dark);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--text-2);
    transition: transform 0.2s;
    flex-shrink: 0;
    line-height: 1;
}
.lp-faq details[open] summary::after {
    content: '−';
    color: var(--lime);
}
.lp-faq details p {
    margin: 16px 0 0;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
}

/* ============================================================
   12. Юридический блок
   ============================================================ */
.lp-legal {
    text-align: center;
    padding: 48px 0;
    border-top: 1px solid var(--divider);
    font-size: 14px;
    color: var(--text-3);
}
.lp-legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.lp-legal-links a {
    color: var(--text-2);
    font-weight: 500;
}
.lp-legal-links a:hover { color: var(--orange); }
.lp-legal-disclaimer {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
    font-size: 13px;
    color: var(--text-3);
}

/* ============================================================
   13. Подвал
   ============================================================ */
.lp-footer {
    background: var(--dark);
    color: #b8c5d1;
    padding: 60px 0 24px;
}
.lp-footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lp-footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
}
.lp-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #8a9bab;
    max-width: 320px;
}
.lp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lp-footer-links li { margin-bottom: 10px; }
.lp-footer-links a {
    color: #b8c5d1;
    font-size: 14px;
}
.lp-footer-links a:hover { color: var(--lime); }
.lp-footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #6e8095;
}
.lp-footer-bottom p { margin: 0; }

/* ============================================================
   14. Модальное окно (для кнопки "Открыть бота в MAX")
   ============================================================ */
.lp-modal {
    position: fixed;
    inset: 0;
    background: rgba(10,37,64,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.lp-modal.is-open { display: flex; }
.lp-modal-box {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.2s ease-out;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
.lp-modal-emoji { font-size: 48px; margin-bottom: 12px; }
.lp-modal h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
}
.lp-modal p {
    font-size: 16px;
    color: var(--text-2);
    margin-bottom: 24px;
    line-height: 1.6;
}
.lp-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.lp-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-modal-box { position: relative; }

/* ============================================================
   15. Адаптив
   ============================================================ */
@media (max-width: 1024px) {
    .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .lp-hero-text { text-align: center; }
    .lp-hero-sub { margin-left: auto; margin-right: auto; }
    .lp-hero-cta { justify-content: center; }
    .lp-hero-note { margin-left: auto; margin-right: auto; }
    .lp-phone { max-width: 320px; margin: 0 auto; }

    .lp-features { grid-template-columns: repeat(2, 1fr); }
    .lp-steps    { grid-template-columns: repeat(2, 1fr); }
    .lp-audience { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .lp-section { padding: 56px 0; }
    .lp-hero { padding: 48px 0 64px; }
    .lp-hero-text h1 { font-size: 34px; }
    .lp-hero-sub { font-size: 17px; }
    .lp-btn { padding: 14px 28px; font-size: 16px; }
    .lp-btn-lg { padding: 16px 32px; font-size: 17px; }

    .lp-features,
    .lp-steps,
    .lp-tariffs { grid-template-columns: 1fr; }
    .lp-audience { grid-template-columns: repeat(2, 1fr); }

    .lp-footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .lp-footer-bottom { flex-direction: column; align-items: flex-start; }

    .lp-header-inner { flex-direction: column; gap: 12px; }
    .lp-nav { gap: 16px; font-size: 14px; }

    .lp-section-title h2 { font-size: 28px; }
    .lp-section-title p { font-size: 16px; }
}

@media (max-width: 480px) {
    .lp-container { padding: 0 16px; }
    .lp-audience { grid-template-columns: 1fr 1fr; }
    .lp-btn { padding: 12px 22px; font-size: 15px; }
    .lp-modal-box { padding: 28px 22px; }
    .lp-modal h3 { font-size: 19px; }
}