/* Signature Extraction Page Custom Styles */

/* Main signature section styling */
.signature-hero {
    padding: 3rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.demo-feature-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    height: 100%;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.demo-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(26, 47, 110, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.demo-feature-card:nth-child(odd) {
    background: linear-gradient(to right, rgba(248, 250, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.demo-feature-card:nth-child(even) {
    background: linear-gradient(to right, rgba(239, 242, 249, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
}

.demo-feature-card h3 {
    color: #1A2F6E;
    margin-bottom: 15px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f9;
}

.demo-feature-card ul {
    padding-left: 0;
    margin-bottom: 20px;
    list-style-type: none;
}

.demo-feature-card ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    padding: 5px 0;
    position: relative;
}

.demo-feature-card ul li:before {
    content: none;
}

.signature-extraction-workflow {
    background-image: linear-gradient(to bottom right, #ffffff, #f8f9ff);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 20px;
    border-top: 3px solid #1A2F6E;
    position: relative;
}

.signature-extraction-workflow::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(26, 47, 110, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.signature-extraction-workflow h3 {
    color: #1A2F6E;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 15px;
    margin-bottom: 20px;
    position: relative;
}

.workflow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 30px;
    right: -10px;
    width: 20px;
    height: 2px;
    background-color: #1A2F6E;
}

.workflow-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #1A2F6E 0%, #2a56b5 100%);
}

.workflow-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #2246a0 0%, #3864c9 100%);
}

.workflow-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #1e3671 0%, #2c52ad 100%);
}

.workflow-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #172c5d 0%, #2448a0 100%);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1A2F6E 0%, #2a56b5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 8px rgba(26, 47, 110, 0.3);
}

.step-content h4 {
    color: #1A2F6E;
    margin-bottom: 10px;
    font-weight: 600;
}

.signature-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.signature-benefit-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.signature-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 47, 110, 0.15);
}

.signature-benefit-item::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(26, 47, 110, 0.03);
    z-index: -1;
}

.signature-benefit-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5ff 100%);
}

.signature-benefit-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
}

.signature-benefit-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #eef3ff 100%);
}

.benefit-icon {
    font-size: 40px;
    color: #1A2F6E;
    margin-bottom: 15px;
}

.signature-cta {
    background-color: #1A2F6E;
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-top: 50px;
}

.signature-cta h2 {
    color: white;
    margin-bottom: 25px;
}

.signature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-step:not(:last-child)::after {
        display: none;
    }
    
    .workflow-step {
        margin-bottom: 40px;
    }
}