/* Стили для страницы управления проектами */
.project-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: center;
    margin: 25px 0;
    padding: 15px 0;
    text-align: center;
}

.hero-content {
    max-width: none;
    order: 2;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.hero-image {
    position: relative;
    order: 3;
    margin-bottom: 15px;
}

.dashboard-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Секции особенностей */
.feature-section {
    margin: 35px 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 18px 16px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.feature-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    text-align: left;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.feature-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.feature-text {
    text-align: left;
}

.feature-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 28px;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 14px;
}

.feature-list li strong {
    color: var(--text-primary);
}

/* Методологии */
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.methodology-item {
    text-align: left;
    padding: 16px;
    background: rgba(45, 127, 249, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.methodology-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.methodology-header i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.methodology-header h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.methodology-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    padding-left: 32px;
}

/* Команды */
.teams-section {
    margin: 35px 0;
}

.teams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
}

.team-card {
    background: var(--card-bg);
    padding: 18px 16px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    text-align: left;
}

.team-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.team-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.team-text {
    text-align: left;
}

.team-text p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 13px;
    margin: 0;
}

/* Почему выбирают нас */
.why-us-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    margin: 35px 0;
}

.why-us-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-us-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
}

.why-us-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-us-section p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Финальный CTA */
.final-cta-section {
    text-align: center;
    margin: 35px 0;
}

.final-cta-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.final-cta-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Адаптивность для планшетов */
@media (min-width: 768px) {
    .project-hero {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        text-align: left;
        margin: 45px 0;
    }

    .hero-content {
        order: 1;
        max-width: 500px;
    }

    .hero-image {
        order: 2;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .methodology-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        padding: 24px 20px;
    }

    .why-us-section {
        padding: 40px 30px;
    }

    .feature-header,
    .team-header {
        gap: 16px;
    }

    .feature-icon,
    .team-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .feature-header h2 {
        font-size: 22px;
    }

    .methodology-header {
        gap: 14px;
    }

    .methodology-header i {
        font-size: 22px;
    }

    .methodology-header h4 {
        font-size: 16px;
    }

    .methodology-item p {
        padding-left: 36px;
    }
}

/* Адаптивность для десктопов */
@media (min-width: 1024px) {
    .project-hero {
        margin: 70px 0;
        gap: 60px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 18px;
    }

    .teams-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-us-section {
        padding: 50px 40px;
    }

    .why-us-section h2 {
        font-size: 24px;
    }

    .feature-header,
    .team-header {
        gap: 18px;
    }

    .feature-icon,
    .team-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .feature-header h2 {
        font-size: 24px;
    }

    .team-header h3 {
        font-size: 18px;
    }

    .methodology-header {
        gap: 16px;
    }

    .methodology-header i {
        font-size: 24px;
    }

    .methodology-header h4 {
        font-size: 17px;
    }

    .methodology-item p {
        padding-left: 40px;
    }
}

/* Улучшения для очень маленьких экранов */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }

    .feature-card,
    .team-card {
        padding: 16px 12px;
    }

    .feature-header,
    .team-header {
        gap: 12px;
    }

    .feature-icon,
    .team-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .feature-list li {
        padding-left: 24px;
    }

    .why-us-section {
        padding: 24px 16px;
    }

    .feature-header h2 {
        font-size: 18px;
    }

    .team-header h3 {
        font-size: 15px;
    }

    .feature-text p,
    .team-text p,
    .feature-list li {
        font-size: 12px;
    }

    .methodology-header {
        gap: 10px;
    }

    .methodology-header i {
        font-size: 18px;
    }

    .methodology-header h4 {
        font-size: 14px;
    }

    .methodology-item p {
        padding-left: 28px;
        font-size: 12px;
    }
}

/* Плавные анимации для мобильных */
.feature-card,
.team-card {
    transition: transform 0.2s ease;
}

.feature-card:active,
.team-card:active {
    transform: scale(0.98);
}

/* Улучшение читаемости на мобильных */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .section-title {
        font-size: 22px;
        text-align: center;
        margin-bottom: 16px;
    }

    .feature-list li {
        font-size: 13px;
    }
}

/* Выравнивание заголовков по вертикали с иконками */
.feature-header,
.team-header,
.methodology-header {
    align-items: center;
}

.feature-header h2,
.team-header h3,
.methodology-header h4 {
    align-self: center;
}

/* Оптимизация загрузки изображений */
.dashboard-image {
    loading: lazy;
}

/* Компактные заголовки секций */
.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 28px;
    }
}

/* Цветовые вариации для иконок команд */
.team-card:nth-child(1) .team-icon {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.team-card:nth-child(2) .team-icon {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.team-card:nth-child(3) .team-icon {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.team-card:nth-child(4) .team-icon {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

/* Цветовые вариации для методологий */
.methodology-item:nth-child(1) .methodology-header i {
    color: #ff6b6b;
}

.methodology-item:nth-child(2) .methodology-header i {
    color: #4ecdc4;
}

.methodology-item:nth-child(3) .methodology-header i {
    color: #45b7d1;
}
