/* === LANDING.CSS ===
 * assets/css/landing.css
 * НАЗНАЧЕНИЕ: Стили посадочной страницы OpenClaw
 * СВЯЗИ: index.php (landing), animations.css
 * РАЗМЕР: ~600 строк
 * ЭСТЕТИКА: Dev Terminal SaaS — JetBrains Mono + Space Grotesk, dark-first
 */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* --- Variables (dark default) --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #171717;
    --bg-input: #1a1a1a;
    --bg-tertiary: rgba(255, 255, 255, 0.05);
    --text-primary: #fafafa;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border-color: #262626;
    --border-focus: #3b82f6;
    --color-primary: #3b82f6;
    --color-success: #10b981;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.5);
    --transition: all 0.2s ease;
    --container: 1200px;
}

/* --- Light theme --- */
html.light-theme {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f0f0f0;
    --bg-tertiary: rgba(0, 0, 0, 0.03);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #737373;
    --border-color: #e2e8f0;
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Body --- */
body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
html.light-theme .landing-header {
    background: rgba(245, 247, 250, 0.85);
}
.landing-header.scrolled {
    box-shadow: var(--shadow-md);
}
.landing-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.landing-logo {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.landing-logo .oc-accent {
    color: var(--color-success);
}
.landing-tagline {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    border-left: 1px solid var(--border-color);
    padding-left: 12px;
}
.landing-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.landing-nav a {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}
.landing-nav a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}
.landing-nav .nav-cta {
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
    font-weight: 600;
}
.landing-nav .nav-cta:hover {
    background: rgba(16, 185, 129, 0.18);
    color: var(--color-success);
}
.landing-nav .nav-cta--ghost {
    color: var(--text-secondary);
    border-color: var(--border-color);
    background: transparent;
}
.landing-nav .nav-cta--ghost:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}
.landing-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.oc-landing-theme-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.oc-landing-theme-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}
.oc-l-icon-sun { display: none; }
.oc-l-icon-moon { display: inline; }
html.light-theme .oc-l-icon-sun { display: inline; }
html.light-theme .oc-l-icon-moon { display: none; }

/* Mobile menu button */
.oc-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
}

/* --- Hero Section --- */
.landing-hero {
    min-height: 100vh;
    padding-top: 64px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 560px;
    flex-shrink: 0;
}
.hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.hero-badge--blue {
    background: rgba(59, 130, 246, 0.12);
    color: var(--color-primary);
    border-color: rgba(59, 130, 246, 0.2);
}
.hero-title {
    font-family: var(--font-mono);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-title .prompt {
    color: var(--color-success);
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-cta {
    display: flex;
    gap: 12px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-ghost:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* --- Hero Visual (table mockup) --- */
.hero-visual {
    flex: 1;
    max-width: 640px;
    min-width: 400px;
}
.table-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(16, 185, 129, 0.05);
}
.table-demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.table-demo-dots {
    display: flex;
    gap: 6px;
}
.table-demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.table-demo-dots span:nth-child(1) { background: #ef4444; }
.table-demo-dots span:nth-child(2) { background: #f59e0b; }
.table-demo-dots span:nth-child(3) { background: #10b981; }
.table-demo-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.table-demo-status {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-success);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}
.td-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
    animation: glowPulse 3s ease-in-out infinite;
    display: inline-block;
}
.table-demo-toolbar {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.table-demo-filters {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}
.table-demo-actions {
    display: flex;
    gap: 6px;
}
.td-action-btn {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.td-filter {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
}
.td-filter.active {
    color: var(--color-success);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
}
.td-sep {
    color: var(--border-color);
    font-size: 11px;
    margin: 0 2px;
}
.td-filter-price {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
}
.table-demo-body {
    padding: 0;
}
/* --- Table Head --- */
.table-demo-thead {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6px 14px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.td-th {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}
.td-th-star { width: 22px; }
.td-th-photo { width: 62px; }
.td-th-rooms { width: 38px; }
.td-th-price { width: 52px; }
.td-th-addr { flex: 1; min-width: 0; }
.td-th-district { width: 64px; }
.td-th-date { width: 56px; }
.td-th-note { width: 120px; }
/* --- Table Rows --- */
.table-demo-rows {
    display: flex;
    flex-direction: column;
}
.td-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}
.td-row:last-child {
    border-bottom: none;
}
.td-row:hover {
    background: var(--bg-tertiary);
}
.td-row--highlighted {
    background: rgba(16, 185, 129, 0.04);
    border-left: 2px solid var(--color-success);
}
.td-star {
    font-size: 13px;
    color: var(--text-muted);
    width: 22px;
    flex: 0 0 auto;
    opacity: 0.4;
}
.td-star.active {
    color: var(--color-warning);
    opacity: 1;
}
.td-photos {
    width: 62px;
    flex: 0 0 62px;
    display: flex;
    align-items: center;
    gap: 2px;
}
.td-photos img {
    width: 14px;
    height: 11px;
    object-fit: cover;
    border-radius: 1px;
    display: block;
    opacity: 0.8;
}
.td-photos-more {
    font-family: var(--font-mono);
    font-size: 7px;
    color: var(--text-muted);
    white-space: nowrap;
    flex: 0 0 auto;
}
.td-rooms {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    width: 38px;
    text-align: center;
    flex: 0 0 auto;
}
.td-price {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-success);
    width: 52px;
    flex: 0 0 auto;
}
.td-addr {
    font-size: 12px;
    color: var(--text-secondary);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.td-district {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    width: 64px;
    flex: 0 0 auto;
}
.td-date {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    width: 56px;
    flex: 0 0 auto;
}
.td-note {
    font-size: 10px;
    color: var(--text-muted);
    width: 120px;
    flex: 0 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 3px;
}
.td-note i, .td-note svg {
    color: var(--color-primary);
    flex: 0 0 auto;
}
/* --- Table Footer --- */
.table-demo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.td-footer-info {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}
.td-footer-users {
    display: flex;
    align-items: center;
    gap: 4px;
}
.td-user-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid var(--bg-card);
}
.td-footer-text {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 4px;
}

/* --- Screenshots --- */
.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
.screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}
.screenshot-card--wide {
    max-width: 1100px;
}
.screenshot-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.screenshot-frame {
    position: relative;
    overflow: hidden;
}
.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
/* Переключение скриншотов dark/light */
.screenshot-frame img.screenshot-light { display: none; }
.screenshot-frame img.screenshot-dark { display: block; }
html.light-theme .screenshot-frame img.screenshot-light { display: block; }
html.light-theme .screenshot-frame img.screenshot-dark { display: none; }
.screenshot-card:hover .screenshot-frame img {
    transform: scale(1.01);
}
.screenshot-caption {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* --- Section (shared) --- */
.landing-section {
    padding: 80px 0;
}
.section-title {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}
.section-title .accent {
    color: var(--color-success);
}

/* --- Pain vs Solution --- */
.pain-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pain-card, .solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.pain-card {
    border-color: rgba(239, 68, 68, 0.2);
}
.solution-card {
    border-color: rgba(16, 185, 129, 0.2);
}
.ps-header {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ps-header--pain { color: var(--color-danger); }
.ps-header--solution { color: var(--color-success); }
.ps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ps-list li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.ps-list li .icon {
    flex: 0 0 auto;
    margin-top: 2px;
}
.ps-total {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
}
.ps-total--pain { color: var(--color-danger); }
.ps-total--solution { color: var(--color-success); }

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 42px;
    font-weight: 800;
    color: var(--bg-tertiary);
    line-height: 1;
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon--green { background: rgba(16, 185, 129, 0.15); color: var(--color-success); }
.feature-icon--blue { background: rgba(59, 130, 246, 0.15); color: var(--color-primary); }
.feature-icon--yellow { background: rgba(245, 158, 11, 0.15); color: var(--color-warning); }
.feature-title {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Steps (How It Works) --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
}
.step-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.step-icon {
    margin-bottom: 12px;
    color: var(--text-muted);
}
.step-title {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Connectors between steps */
.step-card::after {
    content: '>';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--text-muted);
}
.step-card:last-child::after {
    content: none;
}

/* --- Family Journey --- */
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
    margin: -24px auto 40px;
    line-height: 1.6;
}
/* Family strip */
.family-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.family-member {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 8px 14px;
}
.fm-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
}
.fm-avatar--sm {
    width: 22px;
    height: 22px;
}
.fm-avatar--blue { background: hsl(210, 80%, 55%); }
.fm-avatar--pink { background: hsl(330, 75%, 55%); }
.fm-avatar--green { background: hsl(150, 65%, 45%); }
.fm-avatar--orange { background: hsl(32, 90%, 50%); }
.fm-name {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.fm-role {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fm-connector {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-muted);
}
/* Journey timeline */
.journey-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}
.journey-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}
.js-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    flex: 0 0 auto;
    z-index: 1;
}
.js-num--done {
    background: var(--color-success);
    border-color: var(--color-success);
    color: #fff;
}
.journey-step--result .js-content {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}
.js-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}
.js-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.js-who-group {
    display: flex;
    align-items: center;
}
.js-who {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}
.js-action {
    font-size: 13px;
    color: var(--text-muted);
}
.js-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.js-quote {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}
.js-quote--red {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.08);
}
.js-chip {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}
.js-chip--pink {
    color: hsl(330, 75%, 55%);
    background: hsla(330, 75%, 55%, 0.1);
}
.js-chip--green {
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
}
/* Journey CTA */
.journey-cta {
    text-align: center;
    margin-top: 40px;
}

/* --- Live Stats Strip --- */
.landing-stats {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.stats-inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.ls-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ls-val {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.ls-label {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* --- Footer --- */
.landing-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.footer-logo {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.footer-logo .oc-accent { color: var(--color-success); }
.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--color-success);
}
.footer-links span {
    color: var(--text-muted);
    font-size: 10px;
}
.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}
.footer-copy a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-copy a:hover {
    color: var(--color-success);
}

/* ===================================================
 * RESPONSIVE
 * =================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-inner { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-content { max-width: 100%; }
    .hero-badges { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-visual { max-width: 560px; width: 100%; min-width: 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .pain-solution { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .landing-section { padding: 48px 0; }
    .section-title { font-size: 24px; margin-bottom: 32px; }
    .section-subtitle { font-size: 13px; margin: -16px auto 28px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 15px; margin-bottom: 24px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-ghost { justify-content: center; padding: 12px 20px; font-size: 13px; }
    .hero-visual { min-width: 0; max-width: 100%; }
    /* Скрыть район, дату, фото, заметки на мобилке */
    .td-district, .td-th-district,
    .td-date, .td-th-date,
    .td-photos, .td-th-photo,
    .td-note, .td-th-note { display: none; }
    .table-demo-actions { display: none; }
    .table-demo-toolbar { padding: 8px 10px; }
    .td-filter { font-size: 10px; padding: 2px 6px; }
    .td-filter-price { font-size: 10px; }
    .td-row { padding: 6px 10px; }
    .table-demo-header { padding: 8px 10px; }
    .table-demo-thead { padding: 4px 10px; }
    .table-demo-footer { padding: 6px 10px; }
    /* Pain/Solution */
    .pain-card, .solution-card { padding: 20px 16px; }
    .ps-list li { font-size: 13px; gap: 8px; }
    .ps-total { font-size: 13px; }
    /* Features */
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 20px 16px; }
    .feature-title { font-size: 14px; }
    .feature-desc { font-size: 12px; }
    .feature-num { font-size: 32px; }
    /* Steps */
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { padding: 20px 16px; }
    .step-card::after { content: none; }
    .step-title { font-size: 14px; }
    .step-desc { font-size: 12px; }
    /* Family strip */
    .family-strip { gap: 4px; }
    .family-member { padding: 6px 10px; }
    .fm-name { font-size: 11px; }
    .fm-role { font-size: 8px; padding: 1px 4px; }
    .fm-connector { font-size: 12px; }
    /* Journey timeline */
    .journey-timeline { max-width: 100%; }
    .journey-timeline::before { left: 14px; }
    .journey-step { gap: 10px; padding: 10px 0; }
    .js-num { width: 30px; height: 30px; font-size: 11px; }
    .js-content { padding: 10px 12px; }
    .js-who { font-size: 12px; }
    .js-action { font-size: 12px; }
    .js-desc { font-size: 12px; line-height: 1.6; }
    .js-quote { white-space: normal; font-size: 10px; }
    .js-chip { font-size: 9px; }
    .fm-avatar--sm { width: 18px; height: 18px; }
    /* Stats */
    .stats-inner { gap: 24px; }
    .ls-val { font-size: 16px; }
    .ls-label { font-size: 11px; }
    /* Nav */
    .landing-tagline { display: none; }
    .landing-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        z-index: 99;
    }
    .landing-nav a { padding: 10px 12px; width: 100%; }
    .landing-nav.mobile-open { display: flex; }
    .oc-mobile-menu-btn { display: block; }
    /* Screenshots */
    .screenshot-label { padding: 8px 12px; font-size: 11px; gap: 6px; }
    .screenshot-caption { padding: 8px 12px; font-size: 11px; }
    /* Journey CTA */
    .journey-cta { margin-top: 24px; }
}

/* Small mobile */
@media (max-width: 380px) {
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 13px; }
    .hero-badges { gap: 4px; }
    .hero-badge { padding: 4px 10px; font-size: 10px; }
    .section-title { font-size: 20px; }
    .family-strip { flex-direction: column; align-items: center; }
    .fm-connector { display: none; }
    .family-member { width: 100%; justify-content: center; }
    .fm-avatar { width: 22px; height: 22px; }
    .pain-card, .solution-card { padding: 16px 12px; }
    .ps-list li { font-size: 12px; }
    .td-addr { font-size: 10px; }
    .td-rooms, .td-price { font-size: 11px; }
    .landing-header { padding: 0 12px; }
    .landing-logo { font-size: 18px; }
}
