/* استایل‌های حرفه‌ای برای محصولات کارتخوان */
.custom-card-reader-section {
    max-width: 1200px;
    margin: 50px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(26, 115, 232, 0.15);
    border: 1px solid #e3f2fd;
    position: relative;
}

.custom-card-reader-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a73e8, #0d47a1, #1a73e8);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-reader-header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-reader-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 6s infinite linear;
}

@keyframes pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-reader-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.card-reader-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.card-reader-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 40px;
    align-items: center;
}

.card-reader-text h3 {
    color: #1a73e8;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1a73e8;
    font-weight: 700;
    position: relative;
}

.card-reader-text h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1a73e8, #0d47a1);
}

.card-reader-text > p {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.card-reader-features {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

.card-reader-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8fbff, #e3f2fd);
    border-radius: 15px;
    border-right: 4px solid #1a73e8;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.1);
    position: relative;
    overflow: hidden;
}

.card-reader-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.card-reader-feature:hover::before {
    left: 100%;
}

.card-reader-feature:hover {
    transform: translateX(-10px) translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.2);
}

.feature-icon-wrapper {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    position: relative;
    z-index: 2;
}

.feature-content strong {
    color: #1a73e8;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.card-reader-visual {
    text-align: center;
    position: relative;
}

.card-reader-svg-container {
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
    border-radius: 20px;
    padding: 40px;
    border: 2px dashed #1a73e8;
    position: relative;
    overflow: hidden;
}

.card-reader-svg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 115, 232, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 71, 161, 0.1) 0%, transparent 50%);
}

.card-reader-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(26, 115, 232, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-reader-cta {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 50px 40px;
    text-align: center;
    border-top: 1px solid #e3f2fd;
    position: relative;
    overflow: hidden;
}

.card-reader-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231a73e8' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-title {
    color: #0d47a1;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta-description {
    color: #1a73e8;
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(26, 115, 232, 0.6);
    color: white;
    text-decoration: none;
}

/* واکنش‌گرا */
@media (max-width: 991px) {
    .card-reader-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .card-reader-header {
        padding: 40px 30px;
    }
    
    .card-reader-header h2 {
        font-size: 2rem;
    }
    
    .card-reader-feature {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .custom-card-reader-section {
        margin: 30px 15px;
        border-radius: 15px;
    }
    
    .card-reader-header {
        padding: 30px 20px;
    }
    
    .card-reader-header h2 {
        font-size: 1.6rem;
    }
    
    .card-reader-header p {
        font-size: 1.1rem;
    }
    
    .card-reader-content {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .card-reader-text h3 {
        font-size: 1.5rem;
    }
}