/* ============================================
   KOMPLEKSOWA OBSLUGA - COMPAX + COMPACT
   Strona podstrony /kompleksowa-obsluga-ksiegowa-enova365
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.ko-hero {
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
    padding: 140px 0 100px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ko-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ko-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ko-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.25);
    color: #d4b85a;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.ko-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.2;
    color: #ffffff;
}

.ko-hero h1 span {
    color: #c9a227;
}

.ko-hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 36px;
    line-height: 1.6;
}

.ko-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .ko-hero {
        padding: 100px 0 60px;
    }

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

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

/* ============================================
   PROBLEM SECTION - 6 cards grid
   ============================================ */

.ko-problems {
    padding: 80px 0;
    background: #f8fafc;
}

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

.ko-section-header h2 {
    font-size: 2.25rem;
    color: #1a365d;
    margin: 0 0 16px;
}

.ko-section-header h2 span {
    color: #c9a227;
}

.ko-section-header p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.ko-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ko-problem-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ko-problem-card:hover {
    border-color: #fca5a5;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.12);
    transform: translateY(-4px);
}

.ko-problem-icon {
    width: 48px;
    height: 48px;
    background: #fef2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #dc2626;
    font-size: 24px;
}

.ko-problem-icon svg {
    width: 24px;
    height: 24px;
    stroke: #dc2626;
    stroke-width: 2;
    fill: none;
}

.ko-problem-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px;
}

.ko-problem-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .ko-problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ko-problems-grid {
        grid-template-columns: 1fr;
    }

    .ko-section-header h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   SOLUTION SECTION - 2 cards side by side
   ============================================ */

.ko-solution {
    padding: 80px 0;
    background: #ffffff;
}

.ko-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.ko-solution-card {
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.ko-solution-card.compax {
    animation-delay: 0.1s;
}

.ko-solution-card.compact {
    animation-delay: 0.3s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ko-solution-card.compax {
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
    color: #ffffff;
}

.ko-solution-card.compact {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
}

.ko-solution-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ko-solution-card.compax .ko-solution-badge {
    background: rgba(201, 162, 39, 0.25);
    color: #d4b85a;
}

.ko-solution-card.compact .ko-solution-badge {
    background: #e0e7ff;
    color: #3730a3;
}

.ko-solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.ko-solution-card.compax h3 {
    color: #ffffff;
}

.ko-solution-card.compact h3 {
    color: #1e293b;
}

.ko-solution-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
}

.ko-solution-card.compax .ko-solution-subtitle {
    color: #cbd5e1;
}

.ko-solution-card.compact .ko-solution-subtitle {
    color: #64748b;
}

.ko-solution-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.ko-solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ko-solution-card.compax .ko-solution-list li {
    color: #e2e8f0;
}

.ko-solution-card.compact .ko-solution-list li {
    border-bottom-color: #e2e8f0;
    color: #334155;
}

.ko-solution-list li:last-child {
    border-bottom: none;
}

.ko-solution-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: #c9a227;
    stroke-width: 2;
    fill: none;
}

.ko-solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.ko-solution-card.compax .ko-solution-link {
    color: #c9a227;
}

.ko-solution-card.compact .ko-solution-link {
    color: #1a365d;
}

.ko-solution-link:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .ko-solution-grid {
        grid-template-columns: 1fr;
    }

    .ko-solution-card {
        padding: 28px;
    }
}

/* ============================================
   HOW IT WORKS - Timeline/Process
   ============================================ */

.ko-process {
    padding: 80px 0;
    background: #f8fafc;
}

.ko-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.ko-process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, #c9a227, #cbd5e1, #cbd5e1, #c9a227);
    z-index: 0;
}

.ko-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.ko-step-number {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    transition: all 0.3s;
}

.ko-step.highlight .ko-step-number {
    background: #c9a227;
    border-color: #c9a227;
    color: #1a365d;
}

.ko-step:hover .ko-step-number {
    transform: scale(1.1);
    border-color: #c9a227;
}

.ko-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px;
}

.ko-step p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .ko-process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .ko-process-steps::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .ko-process-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BENEFITS - 9 cards grid
   ============================================ */

.ko-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
    color: #ffffff;
}

.ko-benefits .ko-section-header h2 {
    color: #ffffff;
}

.ko-benefits .ko-section-header p {
    color: #94a3b8;
}

.ko-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.ko-benefit-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.ko-benefit-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.ko-benefit-card.highlight {
    background: rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.35);
}

.ko-benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #c9a227;
}

.ko-benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: #c9a227;
    stroke-width: 2;
    fill: none;
}

.ko-benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #ffffff;
}

.ko-benefit-card p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .ko-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOR WHOM SECTION
   ============================================ */

.ko-for-whom {
    padding: 80px 0;
    background: #ffffff;
}

.ko-for-whom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.ko-for-whom-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ko-for-whom-column.ideal h3 {
    color: #059669;
}

.ko-for-whom-column.not-ideal h3 {
    color: #64748b;
}

.ko-for-whom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ko-for-whom-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    font-size: 15px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.ko-for-whom-list li:last-child {
    border-bottom: none;
}

.ko-for-whom-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke-width: 2;
    fill: none;
}

.ko-for-whom-column.ideal .ko-for-whom-list li svg {
    stroke: #059669;
}

.ko-for-whom-column.not-ideal .ko-for-whom-list li svg {
    stroke: #94a3b8;
}

@media (max-width: 768px) {
    .ko-for-whom-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

.ko-faq {
    padding: 80px 0;
    background: #f8fafc;
}

.ko-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ko-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.ko-faq-item:hover {
    border-color: #c9a227;
}

.ko-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
}

.ko-faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: #c9a227;
    transition: transform 0.2s;
}

.ko-faq-item.open .ko-faq-question::after {
    transform: rotate(45deg);
}

.ko-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.ko-faq-item.open .ko-faq-answer {
    max-height: 500px;
}

.ko-faq-answer-content {
    padding: 0 24px 20px;
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.ko-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
    text-align: center;
    color: #ffffff;
}

.ko-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.ko-cta h2 {
    font-size: 2.25rem;
    margin: 0 0 16px;
    color: #ffffff;
}

.ko-cta h2 span {
    color: #c9a227;
}

.ko-cta p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.ko-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ko-cta-phone {
    font-size: 1rem;
    color: #94a3b8;
}

.ko-cta-phone a {
    color: #c9a227;
    font-weight: 600;
    text-decoration: none;
}

.ko-cta-phone a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ko-cta h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   PARTNERSHIP TEASER - Homepage section
   ============================================ */

.partnership-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #0f2744 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.partnership-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.partnership-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partnership-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.25);
    color: #d4b85a;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.partnership-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #ffffff;
}

.partnership-content h2 span {
    color: #c9a227;
}

.partnership-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
}

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

.partnership-feature {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.partnership-feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.partnership-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #c9a227;
}

.partnership-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #c9a227;
    stroke-width: 2;
    fill: none;
}

.partnership-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #ffffff;
}

.partnership-feature p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

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

.partnership-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.partnership-cta .btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.partnership-cta .btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .partnership-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partnership-content h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   SYNERGY DIAGRAM - SVG inline
   ============================================ */

.ko-diagram {
    padding: 60px 0;
    background: #ffffff;
}

.ko-diagram-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.ko-diagram svg {
    max-width: 100%;
    height: auto;
}

/* ============================================
   UTILITIES
   ============================================ */

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

@media (max-width: 768px) {
    .ko-container {
        padding: 0 16px;
    }
}
