/* Finance Page Specific Styles - Following mobile.css pattern */

/* Fix page header positioning to show h1 properly */
.page-header {
    padding-top: 350px !important;
    padding-bottom: 80px !important;
}

.page-header h1 {
    font-size: 4rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    margin-top: 0 !important;
}

.page-header p {
    font-size: 1.4rem !important;
    color: rgba(255,255,255,0.95) !important;
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto 50px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Main Content Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

/* Financial Solutions Section (using device-card styles) */
.compatibility-section {
    padding: 120px 0;
    background: white;
}

.device-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.device-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.device-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.device-card:hover .device-icon {
    transform: scale(1.1);
}

.device-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.device-specs {
    text-align: left;
    margin-bottom: 30px;
}

.spec-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 1rem;
    color: #6c757d;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    color: #2c5aa0;
    font-weight: 700;
}

.device-download {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.device-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.device-download i {
    margin-right: 10px;
}

/* Benefits Section */
.mobile-benefits-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.benefit-item {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.benefit-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.benefit-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Feature Cards - Finance Specific */
.feature-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Feature Icons - Force Font Awesome to load properly */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
}

.feature-icon i {
    color: white !important;
    font-size: 2rem !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Device Icons - Same fix */
.device-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
}

.device-icon i {
    color: white !important;
    font-size: 3rem !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
}

.device-card:hover .device-icon {
    transform: scale(1.1);
}

/* Benefit Icons - Same fix */
.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    /* Override any main.css gradient text effects */
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: white !important;
    background-clip: border-box !important;
}

.benefit-icon i {
    color: white !important;
    font-size: 1.8rem !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: white !important;
    background-clip: border-box !important;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 8px 0;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.feature-list .fas.fa-check {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
    min-width: 20px;
}

/* Button Styling */
.feature-card .btn {
    background: #2c5aa0;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.feature-card .btn:hover {
    background: #1e3d6f;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Benefit Cards - Finance specific override */
.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem !important;
    }
    
    .page-header p {
        font-size: 1.2rem !important;
    }
    
    .device-card {
        margin-bottom: 30px;
    }
    
    .benefit-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem !important;
    }
    
    .page-header p {
        font-size: 1.1rem !important;
    }
    
    .feature-card {
        padding: 40px 30px;
    }
    
    .device-card {
        padding: 40px 30px;
    }
    
    .device-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .benefit-item {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .benefit-number {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding-top: 300px !important;
        padding-bottom: 60px !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
    
    .feature-card,
    .device-card,
    .benefit-card {
        padding: 30px 20px;
    }
    
    .feature-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .device-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .device-card h3 {
        font-size: 1.5rem;
    }
    
    .spec-item {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .device-download {
        padding: 15px 25px;
        font-size: 0.9rem;
    }
    
    .benefit-number {
        font-size: 2.5rem;
    }
    
    .benefit-item h4 {
        font-size: 1.3rem;
    }
    
    .benefit-item p {
        font-size: 0.9rem;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.benefit-card,
.device-card,
.benefit-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

/* Focus states for accessibility */
.feature-card:focus-within,
.benefit-card:focus-within,
.device-card:focus-within {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* Financial Industry Specific Styles */
.financial-compliance {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0fff0 100%);
    border-left: 4px solid #28a745;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.security-badge {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
}

.compliance-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Print styles */
@media print {
    .page-header,
    .cta-section {
        background: none !important;
        color: #333 !important;
    }
    
    .feature-icon,
    .benefit-icon,
    .device-icon {
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .btn,
    .device-download {
        display: none;
    }
    
    .security-badge {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #333;
    }
}
