/* ===== БАЗОВЫЕ СТИЛИ ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, iframe, video, table, .browser, .cta-box, .container, .nav-inner, .footer-grid { max-width: 100%; }

:root {
    --bg: #ffffff; --bg-soft: #f7f7f8; --bg-elevated: #ffffff;
    --text: #0a0a0a; --text-muted: #5c5c5c; --text-subtle: #8a8a8a;
    --border: #e8e8ea; --border-soft: #f0f0f2;
    --accent: #5b5bf7; --accent-dark: #4848e0; --accent-soft: #ededff;
    --success: #10b981; --warning: #f59e0b; --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
    --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --radius-xl: 28px;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.5;
    font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== НАВИГАЦИЯ ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 26px; letter-spacing: -0.02em;
    text-decoration: none; color: var(--text);
}
.logo-mark {
    width: 79px; height: 32px; border-radius: 9px;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 26px;
    box-shadow: 0 4px 12px rgba(91,91,247,0.3);
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 10px; font-weight: 500;
    font-size: 14.5px; text-decoration: none; transition: all 0.2s ease;
    cursor: pointer; border: none; font-family: inherit; white-space: nowrap;
}
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-primary { background: var(--text); color: white; }
.btn-primary:hover { background: #2a2a2a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: white; box-shadow: 0 4px 14px rgba(91,91,247,0.3); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(91,91,247,0.4); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 12px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ===== HERO ===== */
.hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91,91,247,0.08), transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 30%, rgba(139,92,246,0.06), transparent 60%);
    pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; background: var(--accent-soft); color: var(--accent-dark);
    border-radius: 100px; font-size: 13.5px; font-weight: 500;
    margin-bottom: 28px; border: 1px solid rgba(91,91,247,0.15);
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 4px rgba(91,91,247,0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 24px; }
h1 .accent { background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(17px, 2vw, 20px); color: var(--text-muted); line-height: 1.55; max-width: 640px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-meta { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; color: var(--text-subtle); font-size: 14px; }
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item svg { color: var(--success); }

/* ===== ИНТЕРАКТИВНЫЙ МАКЕТ ===== */
.mockup-section { padding: 40px 0 100px; position: relative; }
.browser {
    max-width: 1100px; margin: 0 auto; background: var(--bg-elevated);
    border-radius: var(--radius-xl); border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 60px rgba(0,0,0,0.08), 0 40px 100px rgba(91,91,247,0.08);
    overflow: hidden; position: relative;
}
.browser::before {
    content: ''; position: absolute; inset: -2px;
    background: linear-gradient(135deg, rgba(91,91,247,0.15), transparent 40%, transparent 60%, rgba(139,92,246,0.15));
    border-radius: var(--radius-xl); z-index: -1; filter: blur(20px);
}
.browser-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; background: #fafafa; border-bottom: 1px solid var(--border-soft);
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #e5e5e5; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
    flex: 1; background: white; border: 1px solid var(--border-soft); border-radius: 7px;
    padding: 6px 14px; font-size: 12.5px; color: var(--text-subtle);
    font-family: 'SF Mono', Monaco, monospace; display: flex; align-items: center; gap: 8px; overflow: hidden;
}
.browser-url svg { color: var(--success); flex-shrink: 0; }
.browser-url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.browser-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 520px;
    background: #fafafa;
}
.browser-sidebar {
    background: white; border-right: 1px solid var(--border-soft);
    padding: 20px 14px;
}
.sidebar-user {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border-soft);
}
.sidebar-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 13px; flex-shrink: 0;
}
.sidebar-user-info { overflow: hidden; }
.sidebar-user-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11px; color: var(--text-subtle); }

.sidebar-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 8px; font-size: 13.5px;
    color: var(--text-muted); margin-bottom: 3px; cursor: pointer;
    transition: all 0.15s ease; user-select: none;
}
.sidebar-item:hover { background: var(--bg-soft); color: var(--text); }
.sidebar-item.active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 500; }
.sidebar-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-badge {
    margin-left: auto; background: var(--accent); color: white;
    font-size: 11px; padding: 1px 7px; border-radius: 10px; font-weight: 600;
}

.browser-main {
    padding: 0; background: white; overflow: hidden;
    display: flex; flex-direction: column;
}
.browser-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 28px 16px; border-bottom: 1px solid var(--border-soft);
    flex-wrap: wrap; gap: 12px;
}
.browser-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.browser-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
    padding: 5px 12px; background: var(--bg-soft); border-radius: 7px;
    font-size: 12.5px; color: var(--text-muted); border: 1px solid transparent;
    cursor: pointer; transition: all 0.15s ease;
}
.filter-chip:hover { background: var(--border-soft); }
.filter-chip.active { background: white; border-color: var(--border); color: var(--text); font-weight: 500; }
.browser-content { flex: 1; overflow-y: auto; padding: 0; }

.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Таблицы (для других вкладок) */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
    text-align: left; padding: 12px 16px; font-weight: 500;
    color: var(--text-subtle); font-size: 11.5px; text-transform: uppercase;
    letter-spacing: 0.04em; border-bottom: 1px solid var(--border-soft);
    background: #fafbfc; position: sticky; top: 0;
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-soft); color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafbfc; }
.deal-name { font-weight: 500; }
.status-pill {
    display: inline-block; padding: 3px 10px; border-radius: 100px;
    font-size: 11.5px; font-weight: 500; white-space: nowrap;
}
.status-new { background: #e0f2fe; color: #0369a1; }
.status-progress { background: #fef3c7; color: #92400e; }
.status-done { background: #d1fae5; color: #065f46; }
.status-fail { background: #fee2e2; color: #991b1b; }
.amount { font-variant-numeric: tabular-nums; font-weight: 500; }
.table-footer {
    padding: 12px 16px; background: #fafbfc; border-top: 1px solid var(--border-soft);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12.5px; color: var(--text-muted);
}
.table-footer strong { color: var(--text); }

/* Задачи */
.tasks-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.task-card {
    background: white; border: 1px solid var(--border); border-radius: 10px;
    padding: 14px 16px; display: flex; align-items: center; gap: 14px;
    transition: all 0.2s ease;
}
.task-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.task-card.overdue { border-left: 3px solid var(--danger); }
.task-card.today { border-left: 3px solid var(--warning); }
.task-check { width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 50%; flex-shrink: 0; cursor: pointer; transition: all 0.15s ease; }
.task-check:hover { border-color: var(--accent); background: var(--accent-soft); }
.task-content { flex: 1; min-width: 0; }
.task-title { font-size: 13.5px; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.task-meta { font-size: 11.5px; color: var(--text-subtle); display: flex; gap: 12px; flex-wrap: wrap; }
.task-meta span { display: flex; align-items: center; gap: 4px; }
.task-btn {
    padding: 6px 12px; background: var(--accent-soft); color: var(--accent-dark);
    border: none; border-radius: 7px; font-size: 12px; font-weight: 500;
    cursor: pointer; transition: all 0.15s ease; font-family: inherit;
}
.task-btn:hover { background: var(--accent); color: white; }
.task-stats {
    display: flex; gap: 16px; padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft); background: #fafbfc;
}
.task-stat { font-size: 12.5px; color: var(--text-muted); }
.task-stat strong { color: var(--text); font-weight: 600; margin-right: 4px; }
.task-stat.danger strong { color: var(--danger); }

/* Мотивация */
.motivation-tabs {
    display: flex; gap: 4px; padding: 12px 20px;
    border-bottom: 1px solid var(--border-soft); background: #fafbfc; overflow-x: auto;
}
.motivation-tab {
    padding: 6px 14px; background: transparent; border: none; border-radius: 7px;
    font-size: 12.5px; color: var(--text-muted); cursor: pointer;
    transition: all 0.15s ease; font-family: inherit; white-space: nowrap;
}
.motivation-tab:hover { background: var(--border-soft); }
.motivation-tab.active { background: white; color: var(--text); font-weight: 500; box-shadow: var(--shadow-sm); }
.progress-bar { height: 6px; background: var(--bg-soft); border-radius: 100px; overflow: hidden; margin-top: 4px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #8b5cf6); border-radius: 100px; }
.progress-fill.low { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.progress-fill.high { background: linear-gradient(90deg, #10b981, #059669); }

/* Календарь */
.calendar-grid { padding: 20px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.calendar-title { font-size: 16px; font-weight: 600; }
.calendar-nav { display: flex; gap: 6px; }
.calendar-nav button {
    width: 28px; height: 28px; border: 1px solid var(--border); background: white;
    border-radius: 7px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.15s ease;
}
.calendar-nav button:hover { background: var(--bg-soft); border-color: var(--accent); }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-bottom: 6px; }
.calendar-weekday { text-align: center; font-size: 11px; font-weight: 600; color: var(--text-subtle); text-transform: uppercase; padding: 6px 0; }
.calendar-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.calendar-day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: 13px; border-radius: 8px; cursor: pointer; transition: all 0.15s ease;
    position: relative; color: var(--text-muted);
}
.calendar-day:hover { background: var(--bg-soft); }
.calendar-day.other-month { color: var(--border); }
.calendar-day.today { background: var(--accent); color: white; font-weight: 600; }
.calendar-day.vacation { background: #dbeafe; color: #1e40af; }
.calendar-day.sick { background: #fee2e2; color: #991b1b; }
.calendar-legend {
    display: flex; gap: 16px; margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--border-soft); font-size: 12px; color: var(--text-muted); flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; }

/* Почта */
.email-list { display: flex; flex-direction: column; }
.email-row {
    display: grid; grid-template-columns: 140px 1fr 90px; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid var(--border-soft);
    cursor: pointer; transition: background 0.15s ease; align-items: center;
}
.email-row:hover { background: #fafbfc; }
.email-sender { font-size: 13px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email-subject { font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email-date { font-size: 11.5px; color: var(--text-subtle); text-align: right; }

/* Чаты */
.chat-layout { display: grid; grid-template-columns: 200px 1fr; height: 100%; min-height: 420px; }
.chat-contacts { border-right: 1px solid var(--border-soft); background: #fafbfc; overflow-y: auto; }
.chat-contact {
    padding: 12px 16px; display: flex; align-items: center; gap: 10px;
    cursor: pointer; border-bottom: 1px solid var(--border-soft);
    transition: background 0.15s ease;
}
.chat-contact:hover { background: white; }
.chat-contact.active { background: white; }
.chat-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 12px; flex-shrink: 0;
}
.chat-contact:nth-child(2) .chat-avatar { background: linear-gradient(135deg, #10b981, #059669); }
.chat-contact:nth-child(3) .chat-avatar { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.chat-contact:nth-child(4) .chat-avatar { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.chat-contact-info { flex: 1; min-width: 0; }
.chat-contact-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.chat-contact-preview { font-size: 11.5px; color: var(--text-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-messages { display: flex; flex-direction: column; background: white; }
.chat-messages-header { padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-weight: 600; font-size: 14px; }
.chat-messages-body {
    flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px;
    background: #fafbfc;
}
.chat-message { display: flex; gap: 10px; max-width: 75%; }
.chat-message.in { align-self: flex-start; }
.chat-message.out { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble { padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.chat-message.in .chat-bubble { background: white; border: 1px solid var(--border-soft); border-bottom-left-radius: 4px; }
.chat-message.out .chat-bubble { background: var(--accent); color: white; border-bottom-right-radius: 4px; }
.chat-time { font-size: 10.5px; color: var(--text-subtle); margin-top: 3px; }
.chat-input {
    padding: 12px 16px; border-top: 1px solid var(--border-soft);
    display: flex; gap: 10px; background: white;
}
.chat-input input {
    flex: 1; padding: 9px 14px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 13px; font-family: inherit; outline: none; transition: border-color 0.15s ease;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-send {
    padding: 9px 16px; background: var(--accent); color: white;
    border: none; border-radius: 8px; cursor: pointer; font-size: 13px;
    font-weight: 500; font-family: inherit; transition: all 0.15s ease;
}
.chat-send:hover { background: var(--accent-dark); }

/* ===== СЕКЦИИ ===== */
section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 18px; }
.section-desc { font-size: 17px; color: var(--text-muted); line-height: 1.55; }

.trust { padding: 60px 0 40px; border-top: 1px solid var(--border-soft); }
.trust-label { text-align: center; font-size: 13px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 28px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; opacity: 0.6; }
.trust-logo { font-size: 20px; font-weight: 700; color: var(--text-muted); letter-spacing: -0.02em; }

.problems { background: var(--bg-soft); }
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 16px; }
.problem-card { background: white; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border-soft); transition: all 0.3s ease; }
.problem-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.problem-icon { width: 40px; height: 40px; border-radius: 10px; background: #fee2e2; color: #dc2626; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 20px; }
.problem-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.problem-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6,1fr); grid-auto-rows: minmax(200px,auto); gap: 16px; }
.bento-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; transition: all 0.3s ease; }
.bento-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.bento-card.large { grid-column: span 6; }
.bento-card.wide { grid-column: span 3; }
.bento-card.half { grid-column: span 3; }
.bento-card.third { grid-column: span 2; }
.bento-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.bento-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.015em; }
.bento-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.bento-visual { margin-top: 24px; background: var(--bg-soft); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border-soft); }
.funnel-visual { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: center; }
.funnel-bars { display: flex; flex-direction: column; gap: 10px; }
.funnel-bar { display: grid; grid-template-columns: 130px 1fr 60px; align-items: center; gap: 14px; }
.funnel-label { font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
.funnel-track { height: 32px; background: white; border-radius: 8px; overflow: hidden; position: relative; }
.funnel-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #8b5cf6); border-radius: 8px; display: flex; align-items: center; padding-left: 12px; color: white; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.funnel-percent { font-size: 13px; color: var(--text-subtle); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.funnel-summary { background: white; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px; }
.funnel-summary-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); font-weight: 600; margin-bottom: 14px; }
.funnel-metric { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.funnel-metric:last-child { border-bottom: none; }
.funnel-metric-label { font-size: 13.5px; color: var(--text-muted); }
.funnel-metric-value { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.funnel-metric-value.accent { color: var(--accent); }
.mini-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.mini-stat { background: white; padding: 14px; border-radius: 10px; border: 1px solid var(--border-soft); }
.mini-stat-label { font-size: 11.5px; color: var(--text-subtle); margin-bottom: 4px; }
.mini-stat-value { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.mini-stat-change { font-size: 11.5px; color: var(--success); font-weight: 500; }

.process { background: var(--bg-soft); }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.process-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; }
.process-num { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: 0.05em; }
.process-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.process-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.process-price { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--accent-soft); color: var(--accent-dark); border-radius: 100px; font-size: 13.5px; font-weight: 600; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; }
.tech-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: all 0.2s ease; }
.tech-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.tech-logo { width: 48px; height: 48px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); border-radius: 12px; font-size: 24px; }
.tech-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.tech-desc { font-size: 13px; color: var(--text-subtle); }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; gap: 20px; }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s ease; color: var(--text-muted); }
.faq-item.open .faq-toggle { background: var(--accent); color: white; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 16px; }

/* ===== CTA ===== */
.cta-section { padding: 100px 0; }
.cta-box {
    background: radial-gradient(ellipse at center, #3a3a5a 0%, #0a0a0a 80%, #000000 100%);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: white; margin-bottom: 18px; }
.cta-box p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 540px; margin: 0 auto 30px; }
.cta-form { max-width: 560px; margin: 0 auto; text-align: left; display: grid; gap: 16px; }
.cta-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form input, .cta-form textarea {
    padding: 12px 16px; border-radius: 10px; border: none;
    background: rgba(255,255,255,0.1); color: white; font-size: 15px;
    outline: none; width: 100%; font-family: inherit; transition: background 0.2s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus, .cta-form textarea:focus { background: rgba(255,255,255,0.18); }
.cta-form textarea { resize: vertical; }
.cta-form .file-upload {
    background: rgba(255,255,255,0.05); border-radius: 10px;
    padding: 12px 16px; border: 1px dashed rgba(255,255,255,0.2);
    text-align: center;
}
.cta-form .file-upload label { color: rgba(255,255,255,0.973); font-size: 14px; cursor: pointer; display: block; }
.cta-form .file-upload input[type="file"] {
    display: block; margin: 8px auto 0; color: rgba(255,255,255,0.7);
    font-size: 13px; background: transparent; padding: 0;
}
.cta-form .btn-accent {
    width: 100%; background: white; color: var(--text);
    box-shadow: none; font-weight: 600; border: none;
    padding: 15px 28px; border-radius: 12px; font-size: 15.5px;
    cursor: pointer; transition: all 0.2s ease;
}
.cta-form .btn-accent:hover { background: #f0f0f0; transform: translateY(-1px); }
.cta-form .form-note { color: rgba(255,255,255,0.4); font-size: 13px; text-align: center; margin-top: 4px; }

/* ===== МОБИЛЬНЫЕ ВКЛАДКИ (скрыты по умолчанию) ===== */
.mobile-tabs { display: none; }

/* ===== КАРТОЧКИ СДЕЛОК ===== */
.deals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 20px;
}
.deal-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px 18px; transition: all 0.2s ease; box-shadow: var(--shadow-sm);
}
.deal-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.deal-card-top {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.deal-name { font-weight: 600; font-size: 16px; }
.deal-card-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
    font-size: 14px; color: var(--text-muted);
}
.deal-card-details div span { color: var(--text-subtle); font-weight: 500; margin-right: 4px; }

/* ===== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (≤ 900px) ===== */
@media (max-width: 900px) {
    .container { padding: 0 16px; }
    .nav-inner { padding: 10px 16px; }
    .logo { font-size: 20px; gap: 6px; }
    .logo-mark { width: 50px; height: 28px; font-size: 20px; }
    .btn-primary { padding: 8px 14px; font-size: 13px; }
    .nav-cta { gap: 10px; }
    .burger { display: block; }
    .nav-links { display: none; }
    .nav-cta .btn-ghost { display: none; }

    .mobile-tabs {
        display: flex;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 8px 12px;
        background: #fafafa;
        border-bottom: 1px solid var(--border-soft);
        -webkit-overflow-scrolling: touch;
    }
    .mobile-tab {
        flex: 0 0 auto;
        padding: 6px 14px;
        background: transparent;
        border: none;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-muted);
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s;
    }
    .mobile-tab.active { background: var(--accent); color: white; }
    .mobile-tab:hover { background: var(--bg-soft); }
    .mobile-tab.active:hover { background: var(--accent-dark); }

    .browser-sidebar { display: none; }
    .browser-body { grid-template-columns: 1fr; }
    .deals-grid { grid-template-columns: 1fr; padding: 12px; }

    .cta-box { padding: 40px 24px; }
    .cta-form .form-row { grid-template-columns: 1fr; }

    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large,
    .bento-card.wide,
    .bento-card.half { grid-column: span 2; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 70px 0; }
    .funnel-visual { grid-template-columns: 1fr; }
    .funnel-bar { grid-template-columns: 100px 1fr 50px; }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-contacts { display: none; }
    .email-row { grid-template-columns: 100px 1fr 70px; }
}

@media (max-width: 560px) {
    .container { padding: 0 12px; }
    .nav-inner { padding: 8px 12px; }
    .logo { font-size: 17px; gap: 4px; }
    .logo-mark { width: 40px; height: 22px; font-size: 16px; }
    .btn-primary { padding: 5px 10px; font-size: 11px; border-radius: 8px; }
    .nav-cta { gap: 6px; }
    .cta-box { padding: 30px 16px; }
    .bento { grid-template-columns: 1fr; }
    .bento-card.large,
    .bento-card.wide,
    .bento-card.half,
    .bento-card.third { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 130px 0 60px; }
    .hero-meta { gap: 20px; }
    .email-row { grid-template-columns: 1fr 70px; }
    .email-sender { display: none; }
    .mobile-tab { font-size: 12px; padding: 4px 10px; }
}

/* ===== ДЕСКТОП (≥ 901px) ===== */
@media (min-width: 901px) {
    .mobile-tabs { display: none !important; }
    .browser-sidebar { display: block !important; }
    .deals-grid {
        display: block;
        padding: 0;
    }
    .deal-card {
        display: grid;
        grid-template-columns: 1.5fr 1.5fr 1fr 1fr 0.8fr 0.8fr;
        align-items: center;
        padding: 12px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        box-shadow: none;
        gap: 8px;
        background: transparent;
    }
    .deal-card:last-child { border-bottom: 1px solid var(--border); }
    .deal-card:hover { background: #fafbfc; border-color: var(--border); box-shadow: none; }
    .deal-card-top { display: contents; }
    .deal-card-details { display: contents; }
    .deal-card-details div {
        display: inline;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .deal-card-details div span { display: none; }
    .deal-card .status-pill { justify-self: start; }
    .deal-card .deal-name { order: 0; }
    .deal-card .status-pill { order: 1; }
    .deal-card .deal-card-details div:nth-child(1) { order: 2; }
    .deal-card .deal-card-details div:nth-child(2) { order: 3; }
    .deal-card .deal-card-details div:nth-child(3) { order: 4; }
    .deal-card .deal-card-details div:nth-child(4) { order: 5; }
}

/* ===== FOOTER ===== */
footer { background: var(--bg-soft); padding: 60px 0 30px; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--text-subtle); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ===== АНИМАЦИИ ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Единый стиль текста в демо-секции ===== */
.browser-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.deal-name { font-weight: 500; font-size: 14px; color: var(--text); }
.browser-header .browser-filters .filter-chip { font-size: 12px; padding: 4px 10px; }
.deal-card-details { font-size: 13px; }
.deal-card-details div span { font-weight: 400; }
.status-pill { font-size: 11px; padding: 2px 8px; }
.table-footer { font-size: 12px; }
.task-title { font-size: 13px; font-weight: 500; }
.task-meta { font-size: 11px; }
.motivation-tab { font-size: 12px; }
.calendar-day { font-size: 12px; }
.email-sender { font-size: 13px; font-weight: 500; }
.email-subject { font-size: 13px; }
.email-date { font-size: 11px; }
.chat-contact-name { font-size: 13px; }
.chat-contact-preview { font-size: 11px; }
.chat-bubble { font-size: 13px; }

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КАРТОЧЕК ===== */
.for-whom { background: var(--bg-soft); }
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.for-whom-card {
    background: white;
    padding: 30px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.for-whom-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.for-whom-icon { font-size: 40px; margin-bottom: 16px; }
.for-whom-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.for-whom-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.for-whom-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}
.for-whom-link:hover { text-decoration: underline; }

.cases { background: var(--bg-soft); }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.case-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.case-tag {
    display: inline-block;
    padding: 2px 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.case-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.case-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.case-stat {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-soft);
    padding: 4px 12px;
    border-radius: 6px;
}
.case-stat span {
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}
.case-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}
.case-link:hover { text-decoration: underline; }

.prices { background: white; }
.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.price-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.price-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.price-card.popular {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(91,91,247,0.15);
}
.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}
.price-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.price-amount { font-size: 32px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.price-features { list-style: none; text-align: left; margin-bottom: 20px; }
.price-features li { padding: 6px 0; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border-soft); }
.price-features li:last-child { border-bottom: none; }
.price-card .btn { width: 100%; }

@media (max-width: 900px) {
    .for-whom-grid { grid-template-columns: 1fr 1fr; }
    .cases-grid { grid-template-columns: 1fr 1fr; }
    .prices-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 560px) {
    .for-whom-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
}

/* ===== МОБИЛЬНОЕ МЕНЮ (БУРГЕР) ===== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-soft);
        gap: 16px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        font-size: 16px;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-soft);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
}