.config-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../../assets/images/products/code2.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.config-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.badge-special {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00ffff, #0066ff);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    animation: glow 2s infinite alternate;
}

.config-details {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.config-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.config-image img:hover {
    transform: scale(1.05);
}

.specs-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specs-section h2 {
    color: #0066ff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-section ul {
    list-style: none;
    padding: 0;
}

.specs-section li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.specs-section li::before {
    content: "•";
    color: #00ffff;
    position: absolute;
    left: 0;
}

.perf-grid {
    display: grid;
    gap: 15px;
}

.perf-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.perf-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.perf-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.perf-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--percent);
    background: linear-gradient(90deg, #00ffff, #0066ff);
    border-radius: 5px;
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px #00ffff,
                    0 0 10px #00ffff,
                    0 0 15px #0066ff;
    }
    to {
        box-shadow: 0 0 10px #00ffff,
                    0 0 20px #00ffff,
                    0 0 30px #0066ff;
    }
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: var(--percent);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .config-grid {
        grid-template-columns: 1fr;
    }
    
    .config-hero h1 {
        font-size: 2.5rem;
    }
    
    .badge-special {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 992px) {
    .config-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .config-hero h1 {
        font-size: 2.2rem;
    }
    
    .config-hero {
        padding: 60px 0;
    }
    
    .config-hero .price {
        font-size: 1.8rem;
    }
    
    .badge-special {
        padding: 8px 15px;
        font-size: 0.8rem;
        right: 10px;
        top: 10px;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cart-content {
        padding: 20px;
    }
    
    .specs-section {
        padding: 15px;
    }
    
    .perf-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .config-hero h1 {
        font-size: 1.8rem;
    }
    
    .config-hero .description {
        font-size: 0.9rem;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .cart-item img {
        width: 100px;
    }
    
    .cart-item-details h3 {
        font-size: 1.2rem;
    }
    
    .cart-specs {
        font-size: 0.9rem;
    }
    
    .cart-price {
        font-size: 1.3rem;
    }
    
    .specs-section h2 {
        font-size: 1.3rem;
    }
    
    .specs-section li {
        font-size: 0.9rem;
    }
}

/* Existing CSS remains the same, add these new styles */

.features-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 2.5rem;
    color: #0066ff;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00ffff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.usage-scenarios {
    padding: 80px 0;
    background: white;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.scenario {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.scenario:hover {
    transform: scale(1.02);
}

.scenario img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.scenario h3 {
    padding: 20px;
    margin: 0;
    color: #0066ff;
    border-bottom: 2px solid #e9ecef;
}

.scenario ul {
    padding: 20px;
    margin: 0;
    list-style: none;
}

.scenario ul li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.scenario ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #00ffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation pour les barres de performance */
.perf-bar::after {
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--percent); }
}

/* Effet de brillance sur le badge */
.badge-special {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        135deg,
        #00ffff 0%,
        #0066ff 50%,
        #00ffff 100%
    );
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.cart-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cart-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.cart-header {
    background: linear-gradient(135deg, #00ffff, #0066ff);
    color: white;
    padding: 20px;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-content {
    padding: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item img {
    width: 120px;
    height: auto;
}

.cart-item-details h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.cart-specs {
    color: #666;
    margin: 5px 0;
}

.cart-price {
    font-size: 1.5rem;
    color: #0066ff;
    font-weight: bold;
    margin: 10px 0;
}

.cart-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffff, #0066ff);
    color: white;
}

.btn-secondary {
    background: white;
    color: #0066ff;
    border: 2px solid #0066ff;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Adding styles for the payment section to match the AI theme */

/* Purchase section styling */
.purchase-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.action-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.price-display {
    flex: 1;
}

.price-display h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: left;
}

.price-display p {
    color: #7f8c8d;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Override default payment-options styles for better fit with AI theme */
#payment-options {
    background-color: rgba(108, 92, 231, 0.05);
    padding: 60px 0;
}

#payment-options::before {
    background: linear-gradient(90deg, #6c5ce7, #74b9ff);
}

#payment-options h3::after {
    background: linear-gradient(90deg, #6c5ce7, #74b9ff);
}

.payment-method {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.payment-method i {
    background: -webkit-linear-gradient(45deg, #6c5ce7, #74b9ff);
}

.payment-method::before {
    background: linear-gradient(90deg, #6c5ce7, #74b9ff);
}

.payment-link {
    background: linear-gradient(45deg, #6c5ce7, #74b9ff);
}

.payment-link::before {
    background: linear-gradient(45deg, #74b9ff, #6c5ce7);
}

/* Bank details modal styling for AI theme */
.bank-details {
    border-left: 4px solid #6c5ce7;
}

/* Media queries */
@media (max-width: 768px) {
    .action-container {
        flex-direction: column;
        text-align: center;
    }

    .price-display h2 {
        text-align: center;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: center;
    }
}