/**
 * Data Governance Section Styles
 * 
 * Styles for the Data Governance Section Elementor widget
 * Extracted from agrovue-landing-html/css/style.css
 * Preserves 100% visual fidelity to the original design
 * 
 * @package Meridian_Africa
 * @since 1.0.0
 */

/* ===========================
   DATA SOVEREIGNTY PREMIUM SECTION
   =========================== */

.data-sovereignty-premium {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 50%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

.data-sovereignty-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(46, 143, 51, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.sovereignty-header-zone {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.sovereignty-badge-elite {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2e8f33 0%, #1e6b23 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(46, 143, 51, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sovereignty-badge-elite:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(46, 143, 51, 0.35);
}

.sovereignty-badge-elite i {
    font-size: 16px;
}

.sovereignty-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #2e8f33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sovereignty-hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

/* Sovereignty Pillars Grid */
.sovereignty-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.sovereignty-pillar-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.8s ease-out backwards;
}

.sovereignty-pillar-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sovereignty-pillar-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sovereignty-pillar-card:nth-child(3) {
    animation-delay: 0.3s;
}

.sovereignty-pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(46, 143, 51, 0.15);
}

.pillar-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e8f33, #0ea5e9, #2e8f33);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sovereignty-pillar-card:hover .pillar-glow-effect {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Pillar Image Container */
.pillar-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.pillar-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sovereignty-pillar-card:hover .pillar-visual {
    transform: scale(1.1);
}

.pillar-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.7) 100%);
}

/* Pillar Content */
.pillar-content-zone {
    padding: 32px;
}

.pillar-label-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #2e8f33;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(46, 143, 51, 0.2);
}

.pillar-label-tag i {
    font-size: 13px;
}

.pillar-ownership .pillar-label-tag {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.2);
}

.pillar-deployment .pillar-label-tag {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border-color: rgba(217, 119, 6, 0.2);
}

.pillar-security .pillar-label-tag {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #db2777;
    border-color: rgba(219, 39, 119, 0.2);
}

.pillar-headline {
    font-size: 25px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.pillar-description-box {
    margin-bottom: 24px;
}

.pillar-description-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* Pillar Features List */
.pillar-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.feature-check-item i {
    color: #2e8f33;
    font-size: 16px;
    flex-shrink: 0;
}

/* Trust Indicators Bar */
.sovereignty-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background: white;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.trust-indicator-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.trust-indicator-item:hover {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transform: translateY(-4px);
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2e8f33 0%, #1e6b23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 24px;
    color: white;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-label {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.trust-sublabel {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sovereignty-hero-title {
        font-size: 46px;
    }

    .sovereignty-pillars-grid {
        gap: 30px;
    }

    .pillar-content-zone {
        padding: 28px;
    }
}

@media (max-width: 992px) {
    .data-sovereignty-premium {
        padding: 80px 0;
    }

    .sovereignty-header-zone {
        margin-bottom: 60px;
    }

    .sovereignty-hero-title {
        font-size: 40px;
    }

    .sovereignty-hero-subtitle {
        font-size: 18px;
    }

    .sovereignty-pillars-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sovereignty-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .data-sovereignty-premium {
        padding: 60px 0;
    }

    .sovereignty-header-zone {
        margin-bottom: 50px;
    }

    .sovereignty-badge-elite {
        padding: 10px 22px;
        font-size: 11px;
        gap: 8px;
    }

    .sovereignty-badge-elite i {
        font-size: 14px;
    }

    .sovereignty-hero-title {
        font-size: 34px;
    }

    .sovereignty-hero-subtitle {
        font-size: 16px;
    }

    .pillar-image-container {
        height: 200px;
    }

    .pillar-content-zone {
        padding: 24px;
    }

    .pillar-headline {
        font-size: 22px;
    }

    .pillar-description-box p {
        font-size: 14px;
    }

    .sovereignty-trust-bar {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .trust-indicator-item {
        padding: 16px;
    }

    .trust-icon {
        width: 48px;
        height: 48px;
    }

    .trust-icon i {
        font-size: 20px;
    }

    .trust-label {
        font-size: 14px;
    }

    .trust-sublabel {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .data-sovereignty-premium {
        padding: 50px 0;
    }

    .sovereignty-header-zone {
        margin-bottom: 40px;
    }

    .sovereignty-hero-title {
        font-size: 28px;
    }

    .sovereignty-hero-subtitle {
        font-size: 15px;
    }

    .pillar-image-container {
        height: 180px;
    }

    .pillar-content-zone {
        padding: 20px;
    }

    .pillar-headline {
        font-size: 20px;
    }

    .pillar-features-list {
        gap: 10px;
    }

    .feature-check-item {
        font-size: 13px;
    }

    .feature-check-item i {
        font-size: 14px;
    }

    .sovereignty-trust-bar {
        padding: 20px;
    }
}


