/* PJe Extension Page Styles */

/* Hero Section */
.pje-hero {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin: -20px -20px 40px -20px;
}

.pje-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.pje-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
}

.pje-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.pje-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Install Button */
.pje-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #4361ee;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pje-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: #3a0ca3;
}

.pje-install-btn i {
    font-size: 1.3rem;
}

.pje-install-btn.large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Container */
.pje-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section */
.pje-section {
    margin-bottom: 50px;
}

.pje-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pje-section h2 i {
    color: #4361ee;
    font-size: 1.4rem;
}

/* Card */
.pje-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.pje-card p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.pje-card p:last-child {
    margin-bottom: 0;
}

/* Highlight Box */
.pje-highlight {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-left: 4px solid #4361ee;
    padding: 18px 22px;
    margin-top: 20px;
    border-radius: 0 10px 10px 0;
    color: #333;
}

.pje-highlight i {
    color: #4361ee;
    margin-right: 5px;
}

/* Features Grid */
.pje-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.pje-feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.pje-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.12);
    border-color: #4361ee;
}

.pje-feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.pje-feature-icon i {
    color: #fff;
    font-size: 24px;
}

.pje-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.pje-feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Steps */
.pje-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pje-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 22px 28px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.pje-step-number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.pje-step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.pje-step-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Tribunais Grid */
.pje-tribunais-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pje-tribunal-tag {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    color: #4361ee;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #d0daff;
}

/* Requirements */
.pje-requirements {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pje-requirement {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.pje-requirement i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pje-requirement span {
    color: #444;
    font-size: 1rem;
}

/* CTA Section */
.pje-cta {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid #e0e6ff;
}

.pje-cta h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    justify-content: center;
}

.pje-cta>p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.pje-cta .pje-install-btn {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: #fff;
}

.pje-cta .pje-install-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .pje-hero {
        padding: 40px 15px;
        margin: -15px -15px 30px -15px;
    }

    .pje-hero-title {
        font-size: 1.8rem;
    }

    .pje-hero-subtitle {
        font-size: 1rem;
    }

    .pje-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .pje-install-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .pje-section h2 {
        font-size: 1.3rem;
    }

    .pje-features-grid {
        grid-template-columns: 1fr;
    }

    .pje-step {
        flex-direction: column;
        text-align: center;
    }

    .pje-step-number {
        margin: 0 auto;
    }

    .pje-card {
        padding: 20px;
    }

    .pje-cta {
        padding: 35px 20px;
    }

    .pje-cta h2 {
        font-size: 1.4rem;
    }

    .pje-tribunais-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pje-hero-title {
        font-size: 1.5rem;
    }

    .pje-install-btn.large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .pje-feature-card {
        padding: 20px;
    }
}