/* ========================================
   SEKCJA HERO - Pearl Theme
   Ultra-modern, Clean, Mobile-first, SEO-optimized
   ======================================== */

html[data-theme="pearl"] .hero-modern-pearl {
    padding: 4rem 0 8rem;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(0, 184, 124, 0.02) 25%, rgba(250, 251, 252, 1) 50%, rgba(0, 153, 204, 0.02) 75%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

    /* ===== ANIMOWANE GRADIENTY ===== */
    html[data-theme="pearl"] .hero-modern-pearl::before {
        content: '';
        position: absolute;
        top: -15%;
        right: -10%;
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(0, 184, 124, 0.12) 0%, rgba(0, 184, 124, 0.06) 40%, transparent 70%);
        border-radius: 50%;
        animation: floatSlow 25s ease-in-out infinite;
        filter: blur(60px);
    }

    html[data-theme="pearl"] .hero-modern-pearl::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(0, 153, 204, 0.12) 0%, rgba(0, 153, 204, 0.06) 40%, transparent 70%);
        border-radius: 50%;
        animation: floatSlow 30s ease-in-out infinite reverse;
        filter: blur(60px);
    }

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, -40px) scale(1.05);
    }

    66% {
        transform: translate(30px, 30px) scale(0.95);
    }
}

/* ===== KONTENER GŁÓWNY ===== */
html[data-theme="pearl"] .hero-container-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ===== GRID GŁÓWNY ===== */
html[data-theme="pearl"] .hero-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ===== ZAWARTOŚĆ LEWA ===== */
html[data-theme="pearl"] .hero-content-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== NAGŁÓWEK ===== */
html[data-theme="pearl"] .hero-heading-modern {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

html[data-theme="pearl"] .hero-heading-left {
    text-align: left;
}

html[data-theme="pearl"] .gradient-text {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-blue) 50%, var(--brand-green-light) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    display: block;
    font-weight: 900;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ===== OPIS ===== */
html[data-theme="pearl"] .hero-description-modern {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
}

html[data-theme="pearl"] .hero-description-left {
    text-align: left;
}

/* ===== PRZYCISKI CTA ===== */
html[data-theme="pearl"] .hero-cta-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

html[data-theme="pearl"] .btn-cta-primary-modern {
    background: var(--gradient-brand) !important;
    color: white !important;
    border: none !important;
    padding: 1.125rem 2.5rem !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 1.0625rem !important;
    box-shadow: 0 10px 30px rgba(0, 184, 124, 0.25), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all var(--transition-base) !important;
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer;
}

    html[data-theme="pearl"] .btn-cta-primary-modern .k-svg-icon,
    html[data-theme="pearl"] .btn-cta-primary-modern svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
        margin-right: 0.5rem !important;
    }

    html[data-theme="pearl"] .btn-cta-primary-modern::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    html[data-theme="pearl"] .btn-cta-primary-modern:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 15px 40px rgba(0, 184, 124, 0.35), 0 8px 16px rgba(0, 0, 0, 0.12) !important;
    }

        html[data-theme="pearl"] .btn-cta-primary-modern:hover::before {
            opacity: 1;
        }

html[data-theme="pearl"] .btn-cta-secondary-modern {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--brand-green) !important;
    border: 2px solid var(--brand-green) !important;
    padding: 1.125rem 2.5rem !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 1.0625rem !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    transition: all var(--transition-base) !important;
    position: relative;
    overflow: hidden;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer;
}

    html[data-theme="pearl"] .btn-cta-secondary-modern .k-svg-icon,
    html[data-theme="pearl"] .btn-cta-secondary-modern svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
        margin-right: 0.5rem !important;
    }

    html[data-theme="pearl"] .btn-cta-secondary-modern::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-brand-soft);
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    html[data-theme="pearl"] .btn-cta-secondary-modern:hover {
        background: white !important;
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 35px rgba(0, 184, 124, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    }

        html[data-theme="pearl"] .btn-cta-secondary-modern:hover::before {
            opacity: 1;
        }

/* ===== PILLS ===== */
html[data-theme="pearl"] .hero-pills-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

html[data-theme="pearl"] .pill-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

    html[data-theme="pearl"] .pill-modern::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-brand-soft);
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    html[data-theme="pearl"] .pill-modern:hover {
        border-color: rgba(0, 184, 124, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 184, 124, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    }

        html[data-theme="pearl"] .pill-modern:hover::before {
            opacity: 1;
        }

    html[data-theme="pearl"] .pill-modern .k-svg-icon,
    html[data-theme="pearl"] .pill-modern svg {
        color: var(--brand-green) !important;
        fill: var(--brand-green) !important;
        width: 18px;
        height: 18px;
        position: relative;
        z-index: 1;
    }

    html[data-theme="pearl"] .pill-modern span {
        position: relative;
        z-index: 1;
    }

/* ===== OBRAZEK ===== */
html[data-theme="pearl"] .hero-image-wrapper {
    position: relative;
}

html[data-theme="pearl"] .image-placeholder-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

html[data-theme="pearl"] .hero-main-img {
    width: 100%;
    height: auto;
    display: block;
}

html[data-theme="pearl"] .hero-gradient-orb {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 217, 239, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* ===== TRUST BAR ===== */
html[data-theme="pearl"] .hero-trust-modern {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

html[data-theme="pearl"] .hero-trust-spacing {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
    margin-top: 2.5rem;
}

html[data-theme="pearl"] .trust-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

    html[data-theme="pearl"] .trust-item-modern:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(0, 184, 124, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 184, 124, 0.3);
    }

    html[data-theme="pearl"] .trust-item-modern .k-svg-icon,
    html[data-theme="pearl"] .trust-item-modern svg {
        color: var(--brand-green) !important;
        fill: var(--brand-green) !important;
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

html[data-theme="pearl"] .trust-text-modern {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    html[data-theme="pearl"] .trust-text-modern strong {
        font-size: 1.75rem;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1;
        background: var(--gradient-brand);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    html[data-theme="pearl"] .trust-text-modern span {
        font-size: 0.875rem;
        color: var(--text-tertiary);
        font-weight: 500;
        margin-top: 0.25rem;
    }

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 992px) {
    html[data-theme="pearl"] .hero-modern-pearl {
        padding: 6rem 0 4rem;
    }

    html[data-theme="pearl"] .hero-grid-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    html[data-theme="pearl"] .hero-content-left {
        text-align: center;
        align-items: center;
    }

    html[data-theme="pearl"] .hero-heading-left,
    html[data-theme="pearl"] .hero-description-left {
        text-align: center;
    }

    html[data-theme="pearl"] .hero-cta-flex {
        justify-content: center;
    }

    html[data-theme="pearl"] .hero-container-modern {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    html[data-theme="pearl"] .hero-modern-pearl {
        padding: 5rem 0 3rem;
    }

    html[data-theme="pearl"] .hero-pills-flex {
        flex-direction: column;
        align-items: stretch;
    }

    html[data-theme="pearl"] .pill-modern {
        justify-content: center;
    }

    html[data-theme="pearl"] .hero-cta-flex {
        flex-direction: column;
        gap: 0.75rem;
    }

    html[data-theme="pearl"] .btn-cta-primary-modern,
    html[data-theme="pearl"] .btn-cta-secondary-modern {
        width: 100%;
        justify-content: center;
    }

    html[data-theme="pearl"] .hero-trust-modern {
        flex-direction: column;
        gap: 1rem;
    }

    html[data-theme="pearl"] .trust-item-modern {
        justify-content: center;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    html[data-theme="pearl"] .hero-modern-pearl {
        padding: 4rem 0 2rem;
    }

    html[data-theme="pearl"] .hero-container-modern {
        padding: 0 1rem;
    }
}
