/* Общие стили и переменные */
:root {
    --section-padding: 6rem 0;
    --card-radius: 16px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 30px rgba(91, 58, 243, 0.2);
    --transition: all 0.3s ease;
}

/* Hero секция */
.checker-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.05) 0%, rgba(62, 84, 241, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

/* Декоративный паттерн */
.checker-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235b3af3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.checker-hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 8px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: #4525DB;
    border-color: #4525DB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 58, 243, 0.25);
}

.hero-buttons .btn-primary:active {
    background: #3B1EC7;
    border-color: #3B1EC7;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(91, 58, 243, 0.2);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(91, 58, 243, 0.05);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.6s ease-out 0.6s forwards;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: drop-shadow(0 10px 30px rgba(91, 58, 243, 0.2));
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Медиа запросы */
@media (max-width: 1024px) {
    .checker-hero {
        padding: 8rem 0 4rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .checker-hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .checker-hero {
        padding: 8rem 0 3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 90%;
    }
}

/* Поддержка reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .checker-hero * {
        animation: none !important;
        transition: none !important;
    }
}

/* Секция возможностей */
.checker-features {
    padding: var(--section-padding);
    background-color: var(--white);
    position: relative;
}

.checker-features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.features-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

/* Позиционирование карточек */
.wide-left {
    grid-column: 1 / span 2;
    grid-row: 1;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.narrow-right {
    grid-column: 3;
    grid-row: 1;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.narrow-left {
    grid-column: 1;
    grid-row: 2;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.wide-right {
    grid-column: 2 / span 2;
    grid-row: 2;
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(91, 58, 243, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1) rotate(-10deg);
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
    margin-bottom: 0;
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.375rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Анимация пульсации для привлечения внимания */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Доступность: фокус с клавиатуры */
.feature-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

/* Поддержка reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .feature-card:hover,
    .feature-icon,
    .feature-card:hover .feature-icon {
        animation: none;
        transform: none;
        transition: none;
    }
}

/* Секция "Как это работает" */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.03) 0%, rgba(62, 84, 241, 0.07) 100%);
    position: relative;
    border-radius: 30px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    text-align: center;
    position: relative;
    width: 100%;
    min-height: 200px;
    opacity: 0;
    transform: translateY(20px);
}

.step[data-step="1"] { animation: fadeInUp 0.6s ease-out 0.2s forwards; }
.step[data-step="2"] { animation: fadeInUp 0.6s ease-out 0.4s forwards; }
.step[data-step="3"] { animation: fadeInUp 0.6s ease-out 0.6s forwards; }

.step-content {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Нумерация шагов */
.step-number {
    position: absolute;
    top: -3rem;
    left: 88%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 700;
    color: rgb(91 58 243 / 5%);
    z-index: 1;
}

.step[data-step="1"] .step-number::before { content: "01"; }
.step[data-step="2"] .step-number::before { content: "02"; }
.step[data-step="3"] .step-number::before { content: "03"; }

/* Иконки шагов */
.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(91, 58, 243, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

/* Специфичные иконки для каждого шага */
.step[data-step="1"] .step-icon i::before { content: "\f002"; } /* fa-search */
.step[data-step="2"] .step-icon i::before { content: "\f468"; } /* fa-diagnoses */
.step[data-step="3"] .step-icon i::before { content: "\f15c"; } /* fa-file-alt */

.step-content h3 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.step-content p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    max-width: 80%;
}

/* Эффект при наведении */
.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.step-content:hover .step-icon {
    background: var(--primary-color);
}

.step-content:hover .step-icon i {
    color: var(--white);
}

/* Линия прогресса */
.progress-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #E0E0E0;
    transform: translateX(-50%);
}

.progress-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: height 1s ease-out;
}

.steps-container.animate .progress-line::before {
    height: 100%;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .steps-container {
        padding: 0 1.5rem;
    }

    .step-content {
        padding: 2rem;
    }

    .step-number {
        font-size: 4rem;
        top: -1rem;
        left: 83%;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 24px;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .step-content p {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* Секция стандартов */
.standards {
    padding: var(--section-padding);
    background: var(--white);
}

.standards h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.standard-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 3rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.standard-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.2s forwards; }
.standard-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.4s forwards; }

.standard-icon {
    width: 80px;
    height: 80px;
    background: rgba(91, 58, 243, 0.1);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.standard-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.standard-card h3 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 700;
}

.standard-card p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.standard-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: absolute;
    bottom: 8rem;
    right: 3rem;
}

.standard-link i {
    font-size: 20px;
    transition: var(--transition);
}

/* Эффекты при наведении */
.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.standard-card:hover .standard-icon {
    background: var(--primary-color);
}

.standard-card:hover .standard-icon i {
    color: var(--white);
}

.standard-link:hover {
    transform: translateX(5px);
    background: var(--secondary-color);
}

/* Доступность */
.standard-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .standards-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .standard-card {
        padding: 2rem;
    }

    .standard-icon {
        width: 60px;
        height: 60px;
    }

    .standard-icon i {
        font-size: 24px;
    }

    .standard-card h3 {
        font-size: 1.5rem;
    }

    .standard-card p {
        font-size: 1rem;
    }

    .standard-link {
        width: 40px;
        height: 40px;
        bottom: 2rem;
        right: 2rem;
    }

    .standard-link i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .standards h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Секция демонстрации отчета */
.report-demo {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.03) 0%, rgba(62, 84, 241, 0.07) 100%);
    border-radius: 30px;
}

.report-demo h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.report-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

/* Табы */
.report-tabs {
    display: flex;
    border-bottom: 1px solid #E0E0E0;
    background: #F8F9FA;
    padding: 0 2rem;
}

.tab-btn {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    color: #666;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Контент отчета */
.report-content {
    padding: 3rem;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Метрики */
.report-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: #F8F9FA;
    border-radius: var(--card-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.metric-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.4;
}

/* Список проблем */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.issue-item {
    background: #F8F9FA;
    border-radius: var(--card-radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.issue-severity {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.severity-high { background: #FF4D4D; }
.severity-medium { background: #FFB84D; }
.severity-low { background: #4DB8FF; }

.issue-content h4 {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.issue-content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Рекомендации */
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recommendation-item {
    background: #F8F9FA;
    border-radius: var(--card-radius);
    padding: 2rem;
}

.recommendation-item h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.recommendation-item pre {
    background: #2D2D2D;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.recommendation-item code {
    color: #E0E0E0;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Подсветка комментариев в коде */
.recommendation-item code .comment {
    color: #6A9955;
}

/* Стили для ресурсов и инструментов */
.recommendation-resources,
.recommendation-tools {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .report-tabs {
        padding: 0;
        overflow-x: auto;
    }

    .tab-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    .report-content {
        padding: 2rem 1.5rem;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .metric-label {
        font-size: 1rem;
    }
}

/* Дополнительные стили для новых элементов */
.overview-categories {
    margin-top: 3rem;
}

.overview-categories h3 {
    padding: 30px 10px;
    font-size: 1.5rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-item {
    background: #F8F9FA;
    border-radius: var(--card-radius);
    padding: 1.5rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header h4 {
    font-size: 1.125rem;
    margin: 0;
}

.category-score {
    font-weight: 600;
    color: var(--primary-color);
}

.category-bar {
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.issues-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(91, 58, 243, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.issue-details {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #666;
}

.issue-wcag {
    background: rgba(91, 58, 243, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--primary-color);
}

.recommendation-resources h5,
.recommendation-tools h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.recommendation-resources ul,
.recommendation-tools ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-resources li,
.recommendation-tools li {
    margin-bottom: 0.5rem;
}

.recommendation-resources a {
    color: var(--primary-color);
    text-decoration: none;
}

.recommendation-resources a:hover {
    text-decoration: underline;
}

.issue-item {
    transition: opacity 0.3s ease;
}

/* Исправляем размер изображений в рекомендациях */
.recommendation-item img,
.recommendation-item svg {
    max-width: 20%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

/* Секция преимуществ */
.benefits {
    padding: var(--section-padding);
    background: var(--white);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.2s forwards; }
.benefit-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.4s forwards; }
.benefit-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.6s forwards; }
.benefit-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.8s forwards; }

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(91, 58, 243, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.benefit-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Эффекты при наведении */
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-color);
}

.benefit-card:hover .benefit-icon i {
    color: var(--white);
}

/* Медиа запросы */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
    }

    .benefit-icon i {
        font-size: 24px;
    }

    .benefit-card h3 {
        font-size: 1.25rem;
    }

    .benefit-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .benefits h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Секция интеграций */
.integrations {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.03) 0%, rgba(62, 84, 241, 0.07) 100%);
    border-radius: 30px;
}

.integrations h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.integration-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.integration-info h3,
.integration-platforms h3 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.integration-info p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Табы с кодом */
.code-tabs {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.code-tab-buttons {
    display: flex;
    background: #F8F9FA;
    border-bottom: 1px solid #E0E0E0;
    padding: 0.5rem;
}

.code-tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 6px;
}

.code-tab-btn:hover {
    color: var(--primary-color);
    background: rgba(91, 58, 243, 0.05);
}

.code-tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.code-samples {
    position: relative;
}

.code-sample {
    display: none;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.code-sample.active {
    display: block;
    opacity: 1;
    background: #000;
    padding-left: 1rem;
}

.code-sample code {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #E0E0E0;
}

/* API особенности */
.api-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.api-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.api-feature i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.api-feature span {
    font-size: 1rem;
    color: #666;
}

/* Платформы */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.platform-item {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.platform-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.platform-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.platform-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Медиа запросы */
@media (max-width: 992px) {
    .integration-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .code-tab-buttons {
        overflow-x: auto;
        padding: 0.5rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .code-tabs {
        max-width: 95%;
    }

    .integration-platforms {
        max-width: 95%;
    }

    .integration-info {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .integrations h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .api-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* CTA секция */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.05) 0%, rgba(62, 84, 241, 0.1) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cta-feature span {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--button-radius);
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: #4525DB;
    border-color: #4525DB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 58, 243, 0.25);
}

.btn-primary:active {
    background: #3B1EC7;
    border-color: #3B1EC7;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(91, 58, 243, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: rgba(91, 58, 243, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 58, 243, 0.1);
}

.btn-outline:active {
    background: rgba(91, 58, 243, 0.12);
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(91, 58, 243, 0.08);
}

/* Декоративные элементы */
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.03;
    z-index: 0;
}

.cta-section::before {
    top: -150px;
    left: -150px;
}

.cta-section::after {
    bottom: -150px;
    right: -150px;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-feature span {
        font-size: 1rem;
    }
}

/* Доступность */
.btn:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-section {
    border-radius: 30px 30px 0 0;
}
