/* ========================================================================
   LANDING-S.CSS
   brain.ai-platform.space/s — копирайт Євгенія Рязанцева (май 2026)
   Префикс: .ls-* (Landing-S)
   Дизайн: industrial + minimalist, OKLCH, sub-100ms hover
   ======================================================================== */

/* ===== HERO ===== */
.ls-hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.ls-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ls-version-chip {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 32px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: oklch(70% 0.12 240);
    background: color-mix(in oklch, oklch(70% 0.12 240) 12%, transparent);
    border: 1px solid color-mix(in oklch, oklch(70% 0.12 240) 30%, transparent);
    border-radius: 999px;
}

.ls-hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 28px;
    letter-spacing: -0.03em;
}

.ls-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    color: var(--text-secondary, oklch(70% 0.02 240));
    margin: 0 auto 44px;
    max-width: 720px;
}

.ls-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ===== СЕКЦИИ ОБЩИЕ ===== */
.ls-section {
    padding: 80px 0;
    position: relative;
}

.ls-section-dark {
    background: color-mix(in oklch, var(--bg-primary, #0a0a0a) 96%, oklch(70% 0.12 240) 4%);
}

.ls-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 48px;
    text-align: center;
    letter-spacing: -0.02em;
}

.ls-cta-row {
    text-align: center;
    margin-top: 48px;
}

/* ===== PAIN ===== */
.ls-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ls-pain-card {
    padding: 32px;
    background: color-mix(in oklch, var(--bg-secondary, #1a1a1a) 50%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ls-pain-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklch, oklch(70% 0.18 30) 40%, transparent);
}

.ls-pain-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px;
    color: oklch(75% 0.15 30);
}

.ls-pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ls-pain-list li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    border-bottom: 1px solid color-mix(in oklch, white 5%, transparent);
}

.ls-pain-list li:last-child { border-bottom: none; }

.ls-pain-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: oklch(70% 0.18 30);
    font-weight: 700;
}

/* ===== QUESTIONS ===== */
.ls-questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.ls-question-card {
    padding: 24px 28px;
    background: color-mix(in oklch, var(--bg-secondary) 60%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-left: 3px solid oklch(70% 0.15 240);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    transition: transform 0.15s ease, border-left-color 0.15s ease;
    cursor: default;
}

.ls-question-card:hover {
    transform: translateX(4px);
    border-left-color: oklch(75% 0.18 30);
}

.ls-questions-note {
    text-align: center;
    margin: 40px auto 0;
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    padding: 16px 24px;
    background: color-mix(in oklch, oklch(70% 0.18 30) 12%, transparent);
    border: 1px solid color-mix(in oklch, oklch(70% 0.18 30) 30%, transparent);
    border-radius: 12px;
}

/* ===== HOW (3 шага) ===== */
.ls-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ls-how-card {
    padding: 32px;
    background: color-mix(in oklch, var(--bg-secondary) 50%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 16px;
    position: relative;
}

.ls-how-step {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: oklch(70% 0.12 240);
    background: color-mix(in oklch, oklch(70% 0.12 240) 15%, transparent);
    border-radius: 6px;
}

.ls-how-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
}

.ls-how-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.ls-how-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ls-how-list li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 15px;
    color: var(--text-primary);
}

.ls-how-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: oklch(75% 0.15 145);
}

/* ===== WHAT-SYSTEM (4 квадранта) ===== */
.ls-quadrant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ls-quadrant {
    padding: 32px;
    background: color-mix(in oklch, var(--bg-secondary) 60%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 16px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ls-quadrant:hover {
    border-color: color-mix(in oklch, oklch(75% 0.15 145) 40%, transparent);
    transform: translateY(-3px);
}

.ls-quadrant-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px;
    color: oklch(80% 0.12 145);
    padding-bottom: 12px;
    border-bottom: 2px solid color-mix(in oklch, oklch(75% 0.15 145) 30%, transparent);
}

.ls-quadrant-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ls-quadrant-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid color-mix(in oklch, white 4%, transparent);
}

.ls-quadrant-list li:last-child { border-bottom: none; }

/* ===== WHY-MONEY ===== */
.ls-why-money-inner {
    max-width: 700px;
    margin: 0 auto 48px;
    padding: 32px;
    background: color-mix(in oklch, oklch(70% 0.18 30) 8%, transparent);
    border-left: 4px solid oklch(70% 0.18 30);
    border-radius: 8px;
}

.ls-why-money-lead {
    font-size: 18px;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.ls-why-money-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ls-why-money-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 16px;
    color: var(--text-primary);
}

.ls-why-money-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: oklch(70% 0.18 30);
    font-size: 20px;
    line-height: 1;
}

.ls-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 48px auto 0;
}

.ls-role-card {
    padding: 28px;
    background: color-mix(in oklch, var(--bg-secondary) 60%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 12px;
    text-align: center;
}

.ls-role-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: oklch(75% 0.12 240);
}

.ls-role-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===== SCENARIOS ===== */
.ls-scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ls-scenario-card {
    padding: 32px;
    background: color-mix(in oklch, var(--bg-secondary) 50%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 16px;
}

.ls-scenario-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: oklch(70% 0.12 240);
    margin-bottom: 16px;
}

.ls-scenario-question {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--text-primary);
}

.ls-scenario-ai-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: oklch(80% 0.12 145);
    margin: 0 0 12px;
}

.ls-scenario-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ls-scenario-list li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.ls-scenario-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: oklch(80% 0.12 145);
    font-weight: 700;
}

/* ===== INTEGRATIONS (расширенный, 8 категорий) ===== */
.ls-integrations-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -28px auto 48px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ls-int-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.ls-int-category {
    padding: 28px;
    background: color-mix(in oklch, var(--bg-secondary) 60%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 16px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ls-int-category:hover {
    border-color: color-mix(in oklch, oklch(70% 0.12 240) 40%, transparent);
    transform: translateY(-3px);
}

.ls-int-cat-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
    color: oklch(70% 0.12 240);
    padding-bottom: 12px;
    border-bottom: 2px solid color-mix(in oklch, oklch(70% 0.12 240) 25%, transparent);
}

.ls-int-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ls-int-logo {
    padding: 8px 14px;
    background: color-mix(in oklch, var(--bg-primary) 90%, white 4%);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.ls-int-logo:hover {
    border-color: color-mix(in oklch, oklch(75% 0.18 30) 50%, transparent);
    color: oklch(80% 0.12 30);
}

.ls-int-bottom {
    margin: 48px auto 0;
    max-width: 720px;
    padding: 24px 32px;
    background: color-mix(in oklch, oklch(75% 0.18 30) 8%, transparent);
    border-left: 4px solid oklch(75% 0.18 30);
    border-radius: 8px;
}

.ls-integrations-note {
    margin: 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.ls-integrations-note strong {
    color: oklch(80% 0.15 30);
}

/* ===== WHY-NOT-BI (compare table) ===== */
.ls-compare-table {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid color-mix(in oklch, white 10%, transparent);
    border-radius: 12px;
    overflow: hidden;
    background: color-mix(in oklch, var(--bg-secondary) 50%, transparent);
}

.ls-compare-row {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr;
    border-bottom: 1px solid color-mix(in oklch, white 8%, transparent);
}

.ls-compare-row:last-child { border-bottom: none; }

.ls-compare-header {
    background: color-mix(in oklch, var(--bg-secondary) 90%, white 6%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ls-compare-cell {
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.5;
    border-right: 1px solid color-mix(in oklch, white 5%, transparent);
    display: flex;
    align-items: center;
}

.ls-compare-cell:last-child { border-right: none; }

.ls-compare-feature {
    font-weight: 600;
    color: var(--text-secondary);
}

.ls-compare-bi {
    color: var(--text-secondary);
    opacity: 0.75;
}

.ls-compare-brain {
    color: oklch(80% 0.12 145);
    font-weight: 600;
    background: color-mix(in oklch, oklch(80% 0.12 145) 5%, transparent);
}

/* ===== CASES ===== */
.ls-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.ls-case-card {
    padding: 32px;
    background: color-mix(in oklch, var(--bg-secondary) 60%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ls-case-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklch, oklch(75% 0.15 240) 40%, transparent);
}

.ls-case-tag {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: oklch(70% 0.12 240);
    background: color-mix(in oklch, oklch(70% 0.12 240) 12%, transparent);
    border-radius: 6px;
}

.ls-case-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 16px;
    color: var(--text-primary);
}

.ls-case-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.ls-case-results {
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    border-top: 1px solid color-mix(in oklch, white 8%, transparent);
}

.ls-case-results li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.ls-case-results li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: oklch(80% 0.16 80);
}

/* ===== FAQ ===== */
.ls-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ls-faq-item {
    padding: 0;
    margin-bottom: 12px;
    background: color-mix(in oklch, var(--bg-secondary) 50%, transparent);
    border: 1px solid color-mix(in oklch, white 8%, transparent);
    border-radius: 12px;
    overflow: hidden;
}

.ls-faq-question {
    padding: 20px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background 0.2s ease;
}

.ls-faq-question::-webkit-details-marker { display: none; }

.ls-faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: oklch(70% 0.12 240);
    transition: transform 0.2s ease;
}

.ls-faq-item[open] .ls-faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.ls-faq-question:hover {
    background: color-mix(in oklch, white 3%, transparent);
}

.ls-faq-answer {
    padding: 0 28px 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== LEAD FORM ===== */
.ls-section-lead {
    padding: 100px 0;
    background: linear-gradient(180deg,
        transparent 0%,
        color-mix(in oklch, oklch(70% 0.12 240) 6%, transparent) 50%,
        transparent 100%);
}

.ls-lead-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.ls-lead-intro {
    text-align: center;
    margin-bottom: 40px;
}

.ls-lead-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 16px auto 0;
    max-width: 500px;
    line-height: 1.6;
}

.ls-lead-form {
    padding: 36px;
    background: color-mix(in oklch, var(--bg-secondary) 70%, transparent);
    border: 1px solid color-mix(in oklch, white 10%, transparent);
    border-radius: 16px;
}

.ls-lead-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}

.ls-lead-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.ls-footer { padding: 40px 0; border-top: 1px solid color-mix(in oklch, white 8%, transparent); margin-top: 60px; }

.ls-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ls-footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.ls-footer-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.ls-footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ls-footer-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ls-footer-link:hover { color: oklch(75% 0.15 240); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ls-pain-grid,
    .ls-how-grid,
    .ls-scenarios-grid,
    .ls-roles-grid { grid-template-columns: 1fr; }

    .ls-quadrant-grid,
    .ls-questions-grid,
    .ls-int-categories { grid-template-columns: 1fr; }

    .ls-compare-row { grid-template-columns: 1fr; }

    .ls-compare-cell {
        border-right: none;
        border-bottom: 1px solid color-mix(in oklch, white 5%, transparent);
    }

    .ls-section { padding: 60px 0; }

    .ls-section-title { margin-bottom: 32px; }
}

@media (max-width: 600px) {
    .ls-hero { padding: 80px 0 60px; min-height: auto; }

    .ls-pain-card,
    .ls-how-card,
    .ls-quadrant,
    .ls-scenario-card,
    .ls-case-card { padding: 24px; }

    .ls-lead-form { padding: 24px; }
}

/* ===== ТЕМА: SVG icons header (наследуется от основного лендинга) ===== */
.landing-s-page .mkt-theme-toggle .mkt-icon-moon { display: block; }
.landing-s-page .mkt-theme-toggle .mkt-icon-sun { display: none; }
.landing-s-page.light-theme .mkt-theme-toggle .mkt-icon-moon,
.light-theme.landing-s-page .mkt-theme-toggle .mkt-icon-moon { display: none; }
.landing-s-page.light-theme .mkt-theme-toggle .mkt-icon-sun,
.light-theme.landing-s-page .mkt-theme-toggle .mkt-icon-sun { display: block; }
