/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background: #ffffff;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e7ff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #1e40af;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Мобильное меню */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #374151;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Основной контент */
main {
    margin-top: 80px;
    min-height: calc(100vh - 140px);
}

/* Hero секция */
.hero {
    background: #ffffff;
    color: #1a1a1a;
    padding: 100px 0 40px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #4a5568;
    max-width: 650px;
    margin-left: 0;
    margin-right: auto;
    font-weight: 300;
    text-align: left;
}

/* Hero метрики */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: 0;
    margin-right: auto;
    justify-content: start;
}

.metric-item {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    line-height: 1;
}

.metric-stars {
    display: flex;
    gap: 3px;
    margin: 0.25rem 0;
    justify-content: flex-start;
    align-items: center;
}

.star {
    width: 22px;
    height: 22px;
}

.metric-label {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 400;
    line-height: 1.4;
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 300;
    margin-bottom: 0;
}

/* Консультационная секция */
.consultation-section {
    padding: 40px 0 80px 0;
}

/* Секция экспертизы */
.expertise-section {
    padding: 80px 0;
    background: #ffffff;
}

.expertise-card {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #6366f1;
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-arrow {
    position: absolute;
    top: 50%;
    right: 3rem;
    transform: translateY(-50%);
}

/* AI Employee секция */
.ai-employee-section {
    background: #1a1a1a;
    color: white;
    padding: 80px 0;
}

.ai-employee-header-full {
    margin-bottom: 3rem;
    grid-column: 1 / -1;
}

.ai-employee-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.ai-employee-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: white;
}

.ai-employee-description {
    font-size: 1.2rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 0;
}

.ai-employee-left {
    display: flex;
    flex-direction: column;
    position: relative;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.ai-feature-card:hover,
.ai-feature-card.active {
    background: rgba(96, 165, 250, 0.1);
    border-color: #60a5fa;
}

.ai-feature-icon {
    color: #60a5fa;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
    width: 20px;
    display: flex;
    justify-content: center;
}

.ai-feature-card:hover .ai-feature-icon,
.ai-feature-card.active .ai-feature-icon {
    color: #3b82f6;
}

.ai-feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.ai-feature-content p {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.5;
    margin: 0;
}

.ai-cta-btn {
    background: #3b82f6;
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.ai-cta-btn:hover {
    background: #2563eb;
}

.ai-employee-right {
    position: relative;
}

.ai-employee-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    height: 700px;
}

.ai-employee-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.consultation-section .container {
    max-width: 1400px;
}

.consultation-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
    background: #f8f9fa;
    border-radius: 24px;
    padding: 4rem;
}

.consultation-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.consultation-description {
    margin-bottom: 2.5rem;
}

.consultation-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.consultation-description p:last-child {
    margin-bottom: 0;
}

.consultation-btn {
    font-size: 1.1rem;
    padding: 18px 36px;
}

.consultation-image {
    text-align: right;
}

.consultation-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Лента с логотипами компаний */
.companies-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.companies-header {
    text-align: center;
    margin-bottom: 3rem;
}

.companies-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.companies-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

.companies-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, white 10%, white 90%, transparent 100%);
}

.companies-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scrollLeft 15s linear infinite;
    will-change: transform;
}

.company-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    filter: grayscale(100%);
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responvive для ленты логотипов */
@media (max-width: 768px) {
    .companies-section {
        padding: 40px 0;
    }
    
    .companies-header {
        margin-bottom: 2rem;
    }
    
    .companies-title {
        font-size: 1.8rem;
    }
    
    .companies-subtitle {
        font-size: 1rem;
    }
    
    .companies-track {
        gap: 2rem;
    }
    
    .company-logo {
        width: 80px;
        height: 40px;
    }
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-primary {
    background: #1e40af;
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #1e40af;
    color: #1e40af;
}

.btn-secondary:hover {
    background: #1e40af;
    color: white;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #6b7280;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Карточки услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #1e40af;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #6b7280;
    line-height: 1.8;
}

/* Команда */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.team-member .role {
    color: #00d4aa;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
}

/* Процесс работы - карточки */
.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.card-purple {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    transition: all 0.4s ease;
    cursor: pointer;
}

.card-purple:hover {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-white {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    cursor: pointer;
}

.card-white:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    padding-right: 1rem;
}

.card-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.8;
}

.card-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.card-details {
    margin-top: auto;
}

.details-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

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

.details-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}

.details-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Статистика */
.stats {
    background: #f8fafc;
    color: #1a1a1a;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #1e40af;
}

.stat-item p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

/* Форма контактов */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4aa;
}

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

/* Подвал */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem 0 3rem 0;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3b82f6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-column a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer-column a:hover::before {
    width: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* Мобильная адаптация футера */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-contact {
        align-items: center;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin: 2.5rem 0;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .consultation-image {
        text-align: center;
        order: -1;
    }

    .consultation-title {
        font-size: 1.8rem;
    }

    .expertise-card {
        padding: 2.5rem;
    }

    .expertise-title {
        font-size: 1.8rem;
    }

    .expertise-description {
        font-size: 1rem;
    }

    .expertise-arrow {
        display: none;
    }

    .ai-employee-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ai-employee-title {
        font-size: 2rem;
    }

    .ai-employee-description {
        font-size: 1.1rem;
    }

    .ai-employee-right {
        min-height: auto;
        order: -1;
    }

    .ai-employee-image {
        height: 300px;
    }

    .metric-item {
        padding: 1.5rem 1rem;
    }

    .metric-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .process-cards {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        min-height: 300px;
        padding: 2rem;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 30px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .metric-item {
        padding: 1.25rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .cta-block {
        width: 100%;
        align-items: flex-start;
    }

    .consultation-section {
        padding: 30px 0 60px 0;
    }

    .consultation-content {
        padding: 2rem;
        border-radius: 16px;
    }

    .consultation-title {
        font-size: 1.6rem;
    }

    .consultation-description p {
        font-size: 1rem;
    }

    .expertise-card {
        padding: 2rem;
        border-radius: 16px;
    }

    .expertise-title {
        font-size: 1.6rem;
    }

    .expertise-description {
        font-size: 0.95rem;
    }

    .ai-employee-section {
        padding: 60px 0;
    }

    .ai-employee-title {
        font-size: 1.8rem;
    }

    .ai-employee-description {
        font-size: 1rem;
    }

    .ai-feature-card {
        padding: 1.25rem;
    }

    .ai-employee-right {
        min-height: auto;
    }

    .ai-employee-image {
        height: 250px;
    }

    .section {
        padding: 60px 0;
    }

    .service-card,
    .team-member {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Состояния загрузки */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Утилиты */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Градиенты для текста */
.gradient-text {
    background: linear-gradient(45deg, #00d4aa, #00b4d8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Интеграции */
.integrations-section {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}

.integrations-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    align-items: center;
}

.integrations-text {
    max-width: 700px;
}

.integrations-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.integrations-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.integrations-link:hover {
    border-bottom-color: #3b82f6;
}

.integrations-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    height: 500px;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(to bottom, transparent 0%, white 15%, white 85%, transparent 100%);
    -webkit-mask: linear-gradient(to bottom, transparent 0%, white 15%, white 85%, transparent 100%);
}

.logos-column {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.logos-column:first-child {
    align-items: center;
}

.logos-column:last-child {
    align-items: flex-end;
    padding-left: 4rem;
}

.logos-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
    height: auto;
}

.logos-up {
    animation-name: scrollUpInfinite;
    animation-direction: normal;
}

.logos-down {
    animation-name: scrollUpInfinite;
    animation-direction: reverse;
}

.logo-floating {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s ease;
    background: transparent;
    border-radius: 8px;
    filter: none;
    flex-shrink: 0;
}

.logo-floating:hover {
    transform: scale(1.15);
}

@keyframes scrollUpInfinite {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Кейсы успеха */
.success-cases-section {
    padding: 100px 120px;
    background: #1a1a1a;
    color: #ffffff;
    overflow: visible;
}

.success-cases-header {
    text-align: center;
    margin-bottom: 4rem;
}

.success-cases-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fef08a;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.badge-icon {
    font-size: 1rem;
}

.success-cases-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.case-slide {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    position: relative;
}

.case-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    animation: slideInFade 0.6s ease-out;
}

@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.case-slide.preview {
    display: none;
}

.case-content {
    display: grid;
    grid-template-columns: 2.33fr 1fr;
    gap: 3rem;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    height: 560px;
    position: relative;
}

.case-slide.active .case-category {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.case-slide.active .case-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.case-slide.active .case-comparison {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.case-slide.active .case-image {
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.case-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    font-size: 1rem;
}

.case-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.case-title-small {
    font-size: 2.1rem;
    line-height: 1.1;
}

.case-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-column h4 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #94a3b8;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #94a3b8;
}

.item-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 4px;
}

.item-icon.negative {
    background: transparent;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon.negative img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.item-icon.positive {
    background: transparent;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon.positive img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.case-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(30% - 0.9rem);
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.success-cases-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn.prev-btn {
    left: -90px;
}

.slider-btn.prev-btn::before {
    content: '‹';
}

.slider-btn.next-btn {
    right: -90px;
}

.slider-btn.next-btn::before {
    content: '›';
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn::before {
    transition: transform 0.2s ease;
}

.slider-btn:hover::before {
    transform: scale(1.2);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Адаптивность для кейсов */
@media (max-width: 768px) {
    .success-cases-section {
        padding: 60px 0;
    }
    
    .success-cases-title {
        font-size: 2.5rem;
    }
    
    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: 700px;
        padding: 2rem;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .case-title-small {
        font-size: 1.7rem;
    }
    
    .case-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-image {
        height: 250px;
        order: -1;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-btn.prev-btn {
        left: -60px;
    }
    
    .slider-btn.next-btn {
        right: -60px;
    }
}

/* Ценности */
.values-section {
    padding: 80px 0;
    background: #0a0a0a;
    color: #ffffff;
}



.values-subtitle {
    font-size: 0.9rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-align: left;
}

.values-section .values-title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: left !important;
    margin-bottom: 0;
    line-height: 1.1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem 2rem 2rem 2rem;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.value-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.value-card:hover .value-icon {
    transform: rotate(-20deg) scale(1.15);
}

.value-icon {
    width: 211px;
    height: 211px;
    position: absolute;
    top: -70px;
    right: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    opacity: 0.8;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Первая иконка увеличена на 20% */
.value-card:nth-child(1) .value-icon {
    width: 253px;
    height: 253px;
    right: -60px;
    top: -75px;
}

/* Вторая иконка остается стандартного размера */
.value-card:nth-child(2) .value-icon {
    width: 192px;
    height: 192px;
}

/* Шестая иконка увеличена дополнительно на 20% */
.value-card:nth-child(6) .value-icon {
    width: 304px;
    height: 304px;
    top: -90px;
    right: -90px;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.value-description {
    font-size: 0.95rem;
    color: #a1a1aa;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Адаптивность для интеграций */
@media (max-width: 768px) {
    .integrations-section {
        padding: 60px 0;
    }
    
    .integrations-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .integrations-title {
        font-size: 1.8rem;
    }
    
    .integrations-logos {
        height: 300px;
        gap: 2rem;
    }
    
    .logo-floating {
        width: 48px;
        height: 48px;
    }
}

/* Адаптивность для ценностей */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 60px 0;
    }
    
    .values-subtitle {
        font-size: 0.8rem;
    }
    
    .values-section .values-title {
        font-size: 2rem !important;
        line-height: 1.1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    
    .value-icon {
        width: 132px;
        height: 132px;
        right: -20px;
        top: -50px;
    }
    
    /* Первая иконка увеличена на 20% на мобильных */
    .value-card:nth-child(1) .value-icon {
        width: 158px;
        height: 158px;
        right: -30px;
        top: -55px;
    }
    
    /* Вторая иконка остается стандартного размера на мобильных */
    .value-card:nth-child(2) .value-icon {
        width: 120px;
        height: 120px;
    }
    
    .value-card:nth-child(6) .value-icon {
        width: 190px;
        height: 190px;
        top: -70px;
        right: -50px;
    }
    
    .value-title {
        font-size: 1.1rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }
}

/* FAQ */
.faq-section {
    padding: 100px 120px;
    background: #ffffff;
    color: #1a1a1a;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header .section-title {
    color: #1a1a1a;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-header .section-subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2e8f0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #1a1a1a;
    background: #cbd5e1;
}

.faq-answer {
    padding: 0 3rem 0 3rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 3rem 2rem 3rem;
}

.faq-answer p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Мобильная адаптация для FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-header .section-title {
        font-size: 2.5rem;
    }
    
    .faq-header .section-subtitle {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1.5rem 2rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .faq-answer {
        padding: 0 2rem 0 2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 2rem 1.5rem 2rem;
    }
    
         .faq-answer p {
         font-size: 0.9rem;
     }
 }

/* Юридические страницы */
.legal-page {
    padding: 120px 0 80px 0;
    background: #ffffff;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: #1a1a1a;
}

.legal-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.2;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.legal-section strong {
    font-weight: 600;
    color: #1f2937;
}

.legal-footer {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

.legal-footer p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-style: italic;
}

/* Мобильная адаптация для юридических страниц */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px 0;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.95rem;
    }
    
    .legal-section ul {
        padding-left: 1.5rem;
    }
    
    .legal-footer {
        padding: 1rem;
        margin-top: 2rem;
    }
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 2rem;
}

.cookie-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-settings-btn {
    background: transparent;
    color: #94a3b8;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-settings-btn:hover {
    color: #ffffff;
}

/* Cookie модальное окно */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #3b82f6;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.cookie-category-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Мобильная адаптация для cookie */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-settings-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cookie-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .cookie-modal-body {
        padding: 1rem 1.5rem;
    }
    
    .cookie-modal-footer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        flex-direction: column;
    }
    
    .cookie-modal-footer .btn {
        width: 100%;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-switch {
        margin-top: 0;
    }
}
