/* ==========================================================================
   Бизнес-задачи, решаемые с помощью MD Audit
   Prefix: biz-zadachi-
   ========================================================================== */

.biz-zadachi-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #4b5563;
    line-height: 1.5;
}

.biz-zadachi-page * {
    box-sizing: border-box;
}

.biz-zadachi-page h1,
.biz-zadachi-page h2,
.biz-zadachi-page h3 {
    color: #383844;
    margin: 0;
}

.biz-zadachi-page a {
    color: #f45843;
    text-decoration: none;
    transition: color 0.3s ease;
}

.biz-zadachi-page a:hover {
    color: #e54833;
    text-decoration: underline;
}

.biz-zadachi-page-button a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.biz-zadachi-page-button a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.biz-zadachi-hero {
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.biz-zadachi-hero-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.biz-zadachi-hero-text h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: #383844;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.biz-zadachi-hero-text p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.biz-zadachi-features-badge {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 32px;
}

.biz-zadachi-features-badge .flex-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.biz-zadachi-features-badge img {
    width: 20px;
    height: 20px;
}

.biz-zadachi-cta-button {
    display: inline-flex;
    align-items: center;
    background: #f45843;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.biz-zadachi-cta-button:hover {
    background: #e54833;
    color: white;
    text-decoration: none;
}

.biz-zadachi-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.biz-zadachi-hero-image:hover img {
    transform: scale(1.02);
}

.biz-zadachi-image-caption {
    font-size: 0.875rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
    font-style: italic;
}

/* ==========================================================================
   Features (tabbed)
   ========================================================================== */

.biz-zadachi-features {
    padding: 60px 0;
    background: white;
}

.biz-zadachi-features-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

.biz-zadachi-features-header {
    text-align: center;
    margin-bottom: 64px;
}

.biz-zadachi-features-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #383844;
    margin-bottom: 24px;
    line-height: 1.2;
}

.biz-zadachi-features-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 768px;
    margin: 0 auto;
    line-height: 1.3;
}

.biz-zadachi-features-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    align-items: start;
}

.biz-zadachi-features-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.biz-zadachi-tab-button {
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
}

.biz-zadachi-tab-button:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.biz-zadachi-tab-button.active {
    background: #f45843;
    color: white;
    border-color: #f45843;
    box-shadow: 0 10px 25px -5px rgba(244, 88, 67, 0.2);
}

.biz-zadachi-tab-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.biz-zadachi-tab-button.active .biz-zadachi-tab-icon {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.biz-zadachi-tab-title {
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3;
}

.biz-zadachi-features-content {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
}

.biz-zadachi-feature-item {
    animation: biz-zadachi-fadeIn 0.3s ease;
}

@keyframes biz-zadachi-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.biz-zadachi-feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.biz-zadachi-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.biz-zadachi-feature-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #383844;
    margin: 0;
    line-height: 1.3;
}

.biz-zadachi-feature-item > p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 24px;
}

.biz-zadachi-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.biz-zadachi-feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.3;
}

.biz-zadachi-feature-list li::before {
    content: "\2713";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 0.875rem;
}

.biz-zadachi-modules {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 24px;
}

.biz-zadachi-modules a {
    color: #f45843;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.biz-zadachi-feature-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid #e5e7eb;
}

/* ==========================================================================
   Metrics
   ========================================================================== */

.biz-zadachi-metrics {
    padding: 60px 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.biz-zadachi-metrics-h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #383844;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.2;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.biz-zadachi-metrics-grid {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.biz-zadachi-metric-card {
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.biz-zadachi-metric-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.biz-zadachi-metric-card.orange {
    background: linear-gradient(135deg, #f45843 0%, #e54833 100%);
    color: white;
}

.biz-zadachi-metric-card.green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.biz-zadachi-metric-card.blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.biz-zadachi-metric-card.purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.biz-zadachi-metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border-radius: 8px;
}

.biz-zadachi-metric-icon img {
    width: 32px;
    height: 32px;
}

.biz-zadachi-metric-icon-big {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border-radius: 8px;
}

.biz-zadachi-metric-icon-big img {
    width: 64px;
    height: 64px;
}

.biz-zadachi-metric-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.biz-zadachi-metric-card.orange .biz-zadachi-metric-number {
    color: white;
}

.biz-zadachi-metric-card.green .biz-zadachi-metric-number {
    color: #16a34a;
}

.biz-zadachi-metric-card.blue .biz-zadachi-metric-number {
    color: #0ea5e9;
}

.biz-zadachi-metric-card.purple .biz-zadachi-metric-number {
    color: #a855f7;
}

.biz-zadachi-metric-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.biz-zadachi-metric-card.orange .biz-zadachi-metric-title {
    color: white;
}

.biz-zadachi-metric-card.green .biz-zadachi-metric-title,
.biz-zadachi-metric-card.blue .biz-zadachi-metric-title,
.biz-zadachi-metric-card.purple .biz-zadachi-metric-title {
    color: #383844;
}

.biz-zadachi-metric-card.green .biz-zadachi-metric-icon,
.biz-zadachi-metric-card.blue .biz-zadachi-metric-icon,
.biz-zadachi-metric-card.purple .biz-zadachi-metric-icon {
    background-color: rgba(255, 255, 255, 0.5);
}

.biz-zadachi-metric-card.orange .biz-zadachi-metric-icon-big {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   E-E-A-T
   ========================================================================== */

.biz-zadachi-eeat {
    padding: 60px 0;
    background: white;
}

.biz-zadachi-eeat-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

.biz-zadachi-eeat-container h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #383844;
    margin-bottom: 48px;
    line-height: 1.2;
    text-align: center;
}

.biz-zadachi-eeat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.biz-zadachi-eeat-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.biz-zadachi-eeat-card:hover {
    border-color: rgba(244, 88, 67, 0.3);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.biz-zadachi-eeat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f45843;
    margin-bottom: 8px;
    line-height: 1.2;
}

.biz-zadachi-eeat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #383844;
    margin-bottom: 12px;
    line-height: 1.3;
}

.biz-zadachi-eeat-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.biz-zadachi-faq {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.biz-zadachi-faq-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

.biz-zadachi-faq-container h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #383844;
    margin-bottom: 48px;
    line-height: 1.2;
    text-align: center;
}

.biz-zadachi-faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.biz-zadachi-faq-item {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.biz-zadachi-faq-item:hover {
    border-color: rgba(244, 88, 67, 0.3);
}

.biz-zadachi-faq-item.is-open {
    border-color: rgba(244, 88, 67, 0.4);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

.biz-zadachi-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-family: inherit;
}

.biz-zadachi-faq-toggle-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #383844;
    line-height: 1.4;
    flex: 1;
}

.biz-zadachi-faq-toggle-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: transform 0.3s ease, color 0.3s ease;
}

.biz-zadachi-faq-item.is-open .biz-zadachi-faq-toggle-icon {
    transform: rotate(180deg);
    color: #f45843;
}

.biz-zadachi-faq-toggle:hover .biz-zadachi-faq-toggle-icon {
    color: #f45843;
}

.biz-zadachi-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
    opacity: 0;
    padding: 0 24px;
}

.biz-zadachi-faq-answer.is-open {
    max-height: 500px;
    opacity: 1;
    padding: 0 24px 20px;
}

.biz-zadachi-faq-answer p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.biz-zadachi-faq-answer a {
    color: #f45843;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   Dark CTA
   ========================================================================== */

.biz-zadachi-section-dark {
    padding: 96px 0;
    background: linear-gradient(135deg, #2c2f36 0%, #383844 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.biz-zadachi-section-dark-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

.biz-zadachi-section-dark-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 24px;
}

.biz-zadachi-section-dark-content p {
    font-size: 1.25rem;
    max-width: 1024px;
    margin: 0 auto 32px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.biz-zadachi-cta-button-primary {
    display: inline-flex;
    align-items: center;
    background: #f45843;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.biz-zadachi-cta-button-primary:hover {
    background: #e54833;
    color: white;
    text-decoration: none;
}

.biz-zadachi-section-dark-blur-left {
    position: absolute;
    top: 80px;
    left: 25%;
    width: 128px;
    height: 128px;
    background: #f45843;
    border-radius: 50%;
    filter: blur(96px);
}

.biz-zadachi-section-dark-blur-right {
    position: absolute;
    bottom: 80px;
    right: 25%;
    width: 160px;
    height: 160px;
    background: #f45843;
    border-radius: 50%;
    filter: blur(96px);
}

.biz-zadachi-icon-arrow {
    margin-left: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .biz-zadachi-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .biz-zadachi-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .biz-zadachi-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .biz-zadachi-eeat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .biz-zadachi-faq-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .biz-zadachi-hero {
        padding: 40px 0 32px;
    }

    .biz-zadachi-hero-content {
        padding: 0 16px;
    }

    .biz-zadachi-hero-text h1 {
        font-size: 2.25rem;
        letter-spacing: -0.5px;
    }

    .biz-zadachi-hero-text p {
        font-size: 1rem;
    }

    .biz-zadachi-features {
        padding: 40px 0;
    }

    .biz-zadachi-features-container {
        padding: 0 16px;
    }

    .biz-zadachi-features-header {
        margin-bottom: 32px;
    }

    .biz-zadachi-features-header h2 {
        font-size: 1.75rem;
    }

    .biz-zadachi-features-header p {
        font-size: 1.05rem;
    }

    .biz-zadachi-features-tabs {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .biz-zadachi-feature-item {
        display: block !important;
        background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
        border: 2px solid #e5e7eb;
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 24px;
    }

    .biz-zadachi-feature-item:last-child {
        margin-bottom: 0;
    }

    .biz-zadachi-features-content {
        padding: 0;
        border: none;
        background: none;
    }

    .biz-zadachi-feature-item h3 {
        font-size: 1.4rem;
    }

    .biz-zadachi-feature-item > p,
    .biz-zadachi-feature-list li,
    .biz-zadachi-modules {
        font-size: 1rem;
    }

    .biz-zadachi-metrics {
        padding: 40px 0;
    }

    .biz-zadachi-metrics-h2 {
        font-size: 1.75rem;
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .biz-zadachi-metrics-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .biz-zadachi-eeat {
        padding: 40px 0;
    }

    .biz-zadachi-eeat-container {
        padding: 0 16px;
    }

    .biz-zadachi-eeat-container h2 {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .biz-zadachi-eeat-grid {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }

    .biz-zadachi-eeat-number {
        font-size: 2rem;
    }

    .biz-zadachi-faq {
        padding: 40px 0;
    }

    .biz-zadachi-faq-container {
        padding: 0 16px;
    }

    .biz-zadachi-faq-container h2 {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .biz-zadachi-faq-toggle {
        padding: 16px 20px;
    }

    .biz-zadachi-faq-toggle-text {
        font-size: 1.05rem;
    }

    .biz-zadachi-faq-answer.is-open {
        padding: 0 20px 16px;
    }

    .biz-zadachi-faq-answer p {
        font-size: 0.95rem;
    }

    .biz-zadachi-section-dark {
        padding: 64px 0;
    }

    .biz-zadachi-section-dark-content {
        padding: 0 16px;
    }

    .biz-zadachi-section-dark-content h2 {
        font-size: 2rem;
    }

    .biz-zadachi-section-dark-content p {
        font-size: 1.05rem;
    }
}
