/* AI MED Landing Page Styles */
/* Design System based on ТЗ */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-bg: #FFFFFF;
    --color-text-primary: #111827;
    --color-text-secondary: #4B5563;
    --color-primary: #2563EB;
    --color-primary-hover: #1D4ED8;
    --color-primary-light: #EFF6FF;
    --color-border: #E5E7EB;
    --color-success: #16A34A;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

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

section {
    padding: var(--section-padding);
}

.section-alt {
    background-color: #F9FAFB;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header p {
    font-size: 18px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.logo span {
    color: var(--color-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, white 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
}

.badge svg {
    width: 18px;
    height: 18px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-disclaimer {
    font-size: 14px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hero-disclaimer svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-visual {
    position: relative;
}

.hero-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.mockup-header {
    background: #F9FAFB;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.mockup-dots span:first-child {
    background: #EF4444;
}

.mockup-dots span:nth-child(2) {
    background: #F59E0B;
}

.mockup-dots span:nth-child(3) {
    background: #22C55E;
}

.mockup-content {
    padding: 20px;
}

/* CRM Mockup */
.crm-mockup {
    display: flex;
    gap: 16px;
}

.crm-sidebar {
    width: 200px;
    background: #F9FAFB;
    border-radius: 8px;
    padding: 12px;
}

.crm-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.crm-sidebar-item.active {
    background: white;
    color: var(--color-primary);
    font-weight: 500;
}

.crm-sidebar-item svg {
    width: 16px;
    height: 16px;
}

.crm-main {
    flex: 1;
}

.crm-card {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.crm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.crm-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.crm-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.crm-status.new {
    background: #FEF3C7;
    color: #D97706;
}

.crm-status.urgent {
    background: #FEE2E2;
    color: #DC2626;
}

.crm-status.done {
    background: #D1FAE5;
    color: #059669;
}

.crm-card-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 0;
}

.crm-card-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 12px;
    color: #9CA3AF;
}

/* ===== Problem Section ===== */
.problem {
    background: #F9FAFB;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.problem-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 28px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.problem-card-icon {
    width: 48px;
    height: 48px;
    background: #FEE2E2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.problem-card-icon svg {
    width: 24px;
    height: 24px;
    color: #DC2626;
}

.problem-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.problem-card p {
    font-size: 15px;
    margin: 0;
}

.problem-conclusion {
    text-align: center;
    padding: 24px;
    background: var(--color-primary-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.problem-conclusion p {
    font-size: 17px;
    color: var(--color-text-primary);
    margin: 0;
    font-weight: 500;
}

/* ===== Solution Section ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.solution-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.solution-card-icon {
    width: 72px;
    height: 72px;
    background: var(--color-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solution-card-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 15px;
}

.solution-cta {
    text-align: center;
}

/* ===== How it Works Section ===== */
.how-it-works {
    background: #F9FAFB;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.how-block {
    background: white;
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px solid var(--color-border);
}

.how-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.how-block-title svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.how-block-title h3 {
    margin: 0;
    font-size: 20px;
}

.how-steps {
    list-style: none;
}

.how-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
}

.how-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.how-step-num {
    width: 32px;
    height: 32px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.how-step-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    padding-top: 4px;
}

.how-disclaimer {
    background: #FEF3C7;
    border-radius: var(--border-radius);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.how-disclaimer svg {
    width: 24px;
    height: 24px;
    color: #D97706;
    flex-shrink: 0;
}

.how-disclaimer p {
    font-size: 15px;
    color: #92400E;
    margin: 0;
}

/* ===== Benefits Section ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.benefits-block {
    background: #F9FAFB;
    border-radius: var(--border-radius);
    padding: 32px;
}

.benefits-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.benefits-block-title svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.benefits-block-title h3 {
    margin: 0;
    font-size: 20px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.benefits-list li svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefits-cta {
    text-align: center;
}

/* ===== CRM Section ===== */
.crm-section {
    background: #F9FAFB;
}

.crm-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.crm-feature {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--color-border);
}

.crm-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.crm-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.crm-feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.crm-feature p {
    font-size: 14px;
    margin: 0;
}

.crm-visual {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.crm-visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

/* Table wrapper for horizontal scroll on mobile */
.crm-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
}

.crm-visual-title {
    font-size: 18px;
    font-weight: 600;
}

.crm-visual-tabs {
    display: flex;
    gap: 8px;
}

.crm-visual-tab {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    background: #F3F4F6;
    color: var(--color-text-secondary);
}

.crm-visual-tab.active {
    background: var(--color-primary);
    color: white;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.crm-table th,
.crm-table td {
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
}

.crm-table th {
    background: #F9FAFB;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crm-table tr {
    border-bottom: 1px solid var(--color-border);
}

.crm-table tr:last-child {
    border-bottom: none;
}

.crm-table tr:hover td {
    background: #FAFAFA;
}

/* ===== Bot Section ===== */
.bot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bot-features {
    list-style: none;
}

.bot-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.bot-features li:last-child {
    border-bottom: none;
}

.bot-features li svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.bot-features li h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bot-features li p {
    font-size: 14px;
    margin: 0;
}

.bot-visual {
    position: relative;
}

.chat-mockup {
    background: #F0F2F5;
    border-radius: 24px;
    padding: 16px;
    max-width: 360px;
    margin: 0 auto;
}

.chat-header {
    background: var(--color-primary);
    color: white;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.chat-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.chat-info p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
    color: white;
}

.chat-body {
    background: white;
    padding: 16px;
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-track {
    background: #F3F4F6;
}

.chat-body::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

.chat-message {
    margin-bottom: 12px;
}

.chat-message.bot .chat-bubble {
    background: #F3F4F6;
    color: var(--color-text-primary);
    border-radius: 16px 16px 16px 4px;
    max-width: 85%;
}

.chat-message.user .chat-bubble {
    background: var(--color-primary);
    color: white;
    border-radius: 16px 16px 4px 16px;
    margin-left: auto;
    max-width: 85%;
}

.chat-bubble {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.chat-option {
    background: white;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-option:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.02);
}

.chat-footer {
    background: white;
    padding: 12px;
    border-radius: 0 0 16px 16px;
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    background: #F3F4F6;
    border: none;
    padding: 12px 16px;
    border-radius: 24px;
    font-size: 14px;
}

.chat-send {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chat-send svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* ===== AI Assistant Section ===== */
.ai-section {
    background: #F9FAFB;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-features {
    list-style: none;
}

.ai-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.ai-features li:last-child {
    border-bottom: none;
}

.ai-features li svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.ai-features li h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ai-features li p {
    font-size: 15px;
    margin: 0;
}

.ai-disclaimer {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--color-primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-disclaimer svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.ai-disclaimer p {
    font-size: 14px;
    color: var(--color-primary);
    margin: 0;
    font-weight: 500;
}

.ai-visual {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.ai-visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.ai-visual-header svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.ai-visual-header h4 {
    font-size: 16px;
    font-weight: 600;
}

.ai-suggestion {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.ai-suggestion-label {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-primary);
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ai-suggestion-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.ai-actions {
    display: flex;
    gap: 12px;
}

.ai-action {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
}

.ai-action.accept {
    background: var(--color-success);
    color: white;
}

.ai-action.edit {
    background: #F3F4F6;
    color: var(--color-text-primary);
}

/* ===== Security Section ===== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.security-item {
    text-align: center;
    padding: 32px 24px;
    background: #F9FAFB;
    border-radius: var(--border-radius);
}

.security-item-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.security-item-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.security-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.security-item p {
    font-size: 14px;
    margin: 0;
}

/* ===== Implementation Section ===== */
.implementation {
    background: #F9FAFB;
}

.implementation-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 32px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-num {
    width: 42px;
    height: 42px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--color-border);
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    margin: 0;
}

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

.implementation-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.implementation-time svg {
    width: 18px;
    height: 18px;
}

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

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Lead Form Section ===== */
.lead-form-section {
    background: linear-gradient(180deg, #F9FAFB 0%, var(--color-primary-light) 100%);
}

.lead-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.1);
}

.lead-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.lead-form-header h2 {
    margin-bottom: 12px;
}

.lead-form-header p {
    font-size: 16px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-group label span {
    color: #DC2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
}

.form-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-text-primary);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-brand p {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0;
}

.footer-contacts h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #D1D5DB;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.footer-contact-item a {
    color: #D1D5DB;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #9CA3AF;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 14px;
    color: #6B7280;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    font-size: 16px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-mockup {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .how-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .crm-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bot-content,
    .ai-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bot-visual,
    .ai-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-disclaimer {
        justify-content: center;
        text-align: center;
    }
    
    .crm-mockup {
        flex-direction: column;
    }
    
    .crm-sidebar {
        width: 100%;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        gap: 20px;
    }
    
    .crm-features {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .lead-form-container {
        padding: 32px 24px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .crm-visual-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .crm-visual {
        padding: 16px;
    }
    
    .crm-table-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
        position: relative;
    }
    
    /* Scroll indicator shadow */
    .crm-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
        pointer-events: none;
    }
    
    .crm-table {
        font-size: 13px;
    }
    
    .crm-table th,
    .crm-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        gap: 16px;
    }
    
    .timeline-content {
        padding: 16px;
    }
    
    /* Chat mockup mobile */
    .chat-mockup {
        max-width: 100%;
        padding: 12px;
        border-radius: 20px;
    }
    
    .chat-header {
        padding: 12px;
        border-radius: 12px 12px 0 0;
    }
    
    .chat-avatar {
        width: 36px;
        height: 36px;
    }
    
    .chat-avatar svg {
        width: 20px;
        height: 20px;
    }
    
    .chat-info h4 {
        font-size: 14px;
    }
    
    .chat-body {
        padding: 12px;
        min-height: 280px;
        max-height: 360px;
    }
    
    .chat-bubble {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .chat-option {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .chat-footer {
        padding: 10px;
    }
    
    .chat-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .chat-send {
        width: 40px;
        height: 40px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.mb-0 {
    margin-bottom: 0;
}

.mt-24 {
    margin-top: 24px;
}
