/* Reset i podstawowe style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0c0e12;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Kontener główny */
.partner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Header z logotypami */
.partner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.aimodel-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.aimodel-logo.small {
    font-size: 22px;
}

.partner-separator {
    margin: 0 15px;
    font-size: 24px;
    color: #666;
}

.partner-separator.small {
    font-size: 18px;
    margin: 0 10px;
}

.partner-logo {
    font-size: 28px;
    font-weight: 700;
}

.partner-logo.small {
    font-size: 20px;
}

.partner-name {
    font-weight: 700;
}

.partner-name.small {
    font-weight: 600;
}

.partnership-title {
    font-size: 36px;
    font-weight: 800;
    margin-top: 15px;
}

.highlight {
    color: #00E676;
}

/* Sekcja certyfikatu */
.certification-section {
    margin-bottom: 80px;
}

.certificate-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.certificate {
    background: linear-gradient(135deg, #141519 0%, #1a1e24 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certificate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.03)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.7;
    z-index: 0;
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.certificate-logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.certificate-logo span {
    color: #00E676;
}

.certificate-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
}

.certificate-content {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.certificate-text {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ddd;
}

.certificate-partner-name {
    font-size: 42px;
    font-weight: 800;
    margin: 20px 0;
    color: #00E676;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.certificate-description {
    font-size: 16px;
    color: #aaa;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.7;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.certificate-logo-small {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    max-width: 120px;
    margin-bottom: 10px;
}

.certificate-date {
    font-size: 14px;
    color: #aaa;
}

.certificate-verification {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.verification-text {
    font-size: 12px;
    color: #aaa;
}

.certificate-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signature-img {
    width: 120px;
    margin-bottom: 10px;
}

.signature-name {
    font-weight: 600;
    font-size: 16px;
}

.signature-position {
    font-size: 14px;
    color: #aaa;
}

.certificate-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 12px;
    padding: 20px;
    width: 180px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 230, 118, 0.15);
}

.badge-icon {
    font-size: 30px;
    color: #00E676;
    margin-bottom: 15px;
}

.badge-text {
    font-size: 16px;
    font-weight: 600;
}

/* Sekcja wyników */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    text-align: center;
}

.results-section {
    margin-bottom: 80px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.metric-card {
    background-color: #141519;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.highlight-card {
    background-color: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.metric-value {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #00E676;
}

.metric-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.metric-description {
    font-size: 14px;
    color: #aaa;
}

.chart-container {
    background-color: #141519;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 400px;
    position: relative;
}

.chart-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Sekcja modelu */
.model-section {
    margin-bottom: 80px;
}

.training-process {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.process-step {
    display: flex;
    gap: 20px;
    background-color: #141519;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #00E676;
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-description {
    font-size: 16px;
    color: #aaa;
}

.step-description span {
    color: #00E676;
    font-weight: 600;
}

.model-features {
    margin-top: 40px;
}

.features-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature-card {
    background-color: #141519;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 230, 118, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #00E676;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}


/* Sekcja CTA */
.cta-section {
    margin-bottom: 60px;
}

.cta-container {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1) 0%, rgba(0, 230, 118, 0.05) 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 18px;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: #00E676;
    color: #000;
}

.cta-button.primary:hover {
    background-color: #00c462;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    border-color: #00E676;
    color: #00E676;
    transform: translateY(-2px);
}

/* Footer */
.partner-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-info {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Instrukcja integracji */
.integration-guide {
    margin-top: 80px;
    padding: 30px;
    background-color: #141519;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.integration-guide h3 {
    margin-bottom: 15px;
    color: #00E676;
}

.integration-guide p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #aaa;
}

.integration-guide pre {
    background-color: #0c0e12;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.integration-guide code {
    background-color: #0c0e12;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

/* Responsywność */
@media (max-width: 991px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .certificate-date {
        order: 3;
    }
    
    .certificate-verification {
        order: 2;
    }
    
    .certificate-signature {
        order: 1;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .certificate-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 250px;
    }
    
    .certificate {
        padding: 25px;
    }
    
    .certificate-partner-name {
        font-size: 32px;
    }
    
    .partnership-title {
        font-size: 28px;
    }
}

/* Animacje */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

.partner-header {
    animation: fadeIn 1s ease-out;
}

.certificate {
    animation: slideInUp 1s ease-out;
}

.metrics-grid {
    animation: slideInRight 1s ease-out;
}

.training-process .process-step:nth-child(1) {
    animation: slideInRight 1s ease-out;
}

.training-process .process-step:nth-child(2) {
    animation: slideInRight 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.training-process .process-step:nth-child(3) {
    animation: slideInRight 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.training-process .process-step:nth-child(4) {
    animation: slideInRight 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.verification-text {
    font-size: 14px;
    color: #aaa;
    text-align: center;
}
