/**
 * DS-DeV Premium v4.2.0 - Design Front-End Premium
 * Éléments visuels pour les pages générées par IA
 * Glassmorphism + Néon + Animations avancées
 */

/* ============================================
   VARIABLES DESIGN SYSTEM
   ============================================ */
:root {
    --ds-neon-red: #e94560;
    --ds-neon-blue: #4f46e5;
    --ds-neon-cyan: #06b6d4;
    --ds-dark-1: #0f172a;
    --ds-dark-2: #1e293b;
    --ds-dark-3: #1a1a2e;
    --ds-dark-4: #0f3460;
    --ds-gold: #f59e0b;
    --ds-glass: rgba(255, 255, 255, 0.05);
    --ds-border-glass: rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESET COULEURS - Force White sur containers
   ============================================ */
.ds-dev-cta-premium, 
.ds-dev-cta-premium *, 
.iptv-comparison-table, 
.iptv-comparison-table *, 
.ds-dev-faq-accordion, 
.ds-dev-faq-accordion *,
.ds-dev-comparison-container,
.ds-dev-comparison-container *,
#ds-dev-sales-notification,
#ds-dev-sales-notification * {
    color: #ffffff !important;
}

/* ============================================
   TABLEAU DE COMPARAISON - PREMIUM GLASSMORPHISM
   ============================================ */
.ds-dev-comparison-container {
    background: linear-gradient(135deg, #0f172a, #1e1b4b) !important;
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
    border: 1px solid rgba(79, 70, 229, 0.3) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(79, 70, 229, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.ds-dev-comparison-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-neon-blue), var(--ds-neon-red), var(--ds-neon-cyan));
}

.ds-dev-comparison-container h3 {
    color: #f1f5f9 !important;
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.ds-dev-comparison-container h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-neon-blue), var(--ds-neon-red));
    margin: 12px auto 0;
    border-radius: 2px;
}

.iptv-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.iptv-comparison-table th {
    background: rgba(79, 70, 229, 0.3) !important;
    color: #f1f5f9 !important;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(79, 70, 229, 0.5);
    text-align: center;
}

.iptv-comparison-table th:first-child {
    text-align: left;
    background: rgba(15, 23, 42, 0.8) !important;
}

.iptv-comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 14px;
    background: rgba(15, 23, 42, 0.4) !important;
    transition: background 0.2s ease;
}

.iptv-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.iptv-comparison-table tbody tr:hover td {
    background: rgba(79, 70, 229, 0.1) !important;
}

.iptv-comparison-table .fas.fa-check {
    color: #34d399 !important;
    font-size: 16px;
}

/* ============================================
   BLOC CTA PREMIUM - NÉON GLOW
   ============================================ */
.ds-dev-cta-premium {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%) !important;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(233, 69, 96, 0.4) !important;
    margin: 50px 0;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    box-shadow: 
        0 0 40px rgba(233, 69, 96, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ds-dev-cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-neon-red), var(--ds-neon-blue), var(--ds-neon-red));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ds-dev-cta-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ds-dev-cta-premium .cta-content {
    position: relative;
    z-index: 1;
}

.ds-dev-cta-premium h3 {
    color: #f1f5f9 !important;
    font-size: 28px !important;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.ds-dev-cta-premium p {
    color: #94a3b8 !important;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   COUNTDOWN TIMER - URGENCE PREMIUM
   ============================================ */
.countdown-timer {
    background: linear-gradient(135deg, var(--ds-neon-red), #c0392b) !important;
    color: #ffffff !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 15px;
    box-shadow: 
        0 0 20px rgba(233, 69, 96, 0.5),
        0 4px 15px rgba(233, 69, 96, 0.3);
    animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 20px rgba(233, 69, 96, 0.5), 0 4px 15px rgba(233, 69, 96, 0.3); }
    50% { box-shadow: 0 0 35px rgba(233, 69, 96, 0.8), 0 4px 25px rgba(233, 69, 96, 0.5); }
}

/* ============================================
   BOUTONS CTA - PREMIUM
   ============================================ */
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--ds-neon-red), #c0392b) !important;
    color: #ffffff !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
    border: none;
    font-size: 17px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.7);
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    font-size: 17px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

/* ============================================
   TRUST BADGES - PREMIUM
   ============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8 !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.trust-badge:hover {
    color: #f1f5f9 !important;
    transform: translateY(-2px);
}

.trust-badge i {
    color: var(--ds-neon-red) !important;
    font-size: 26px !important;
    margin-bottom: 4px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(233, 69, 96, 0.5));
}

/* ============================================
   FAQ ACCORDÉON - PREMIUM
   ============================================ */
.ds-dev-faq-accordion {
    margin: 50px 0;
}

.ds-dev-faq-accordion > h3 {
    color: #f1f5f9 !important;
    margin-bottom: 28px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
}

.ds-dev-faq-accordion > h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-neon-red), var(--ds-neon-blue));
    margin: 12px auto 0;
    border-radius: 2px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 75, 0.5)) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.4) !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.faq-item.active {
    border-color: rgba(79, 70, 229, 0.5) !important;
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #f1f5f9 !important;
    transition: all 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    color: #818cf8 !important;
}

.faq-question .fas.fa-chevron-down {
    color: #64748b !important;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question .fas.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--ds-neon-red) !important;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(79, 70, 229, 0.05) !important;
    color: #94a3b8 !important;
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* ============================================
   NOTIFICATION DE VENTE - PREMIUM
   ============================================ */
#ds-dev-sales-notification {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: linear-gradient(135deg, #0f172a, #1e1b4b) !important;
    border: 1px solid rgba(79, 70, 229, 0.4) !important;
    padding: 16px 20px;
    border-radius: 14px;
    display: none;
    align-items: center;
    gap: 14px;
    z-index: 9999;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(79, 70, 229, 0.2);
    max-width: 320px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#ds-dev-sales-notification.show {
    display: flex;
}

@keyframes slideInLeft {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notif-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ds-neon-red), #c0392b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.4);
}

.notif-icon .fas {
    color: white !important;
    font-size: 18px !important;
}

.notif-text {
    font-size: 13px;
    line-height: 1.5;
    color: #94a3b8 !important;
}

.notif-text strong {
    color: #f1f5f9 !important;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .ds-dev-cta-premium { padding: 30px 20px; }
    .ds-dev-cta-premium h3 { font-size: 22px !important; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-button.primary, .cta-button.secondary { width: 100%; justify-content: center; }
    .trust-badges { gap: 16px; }
    .ds-dev-comparison-container { padding: 20px; }
    .iptv-comparison-table th, .iptv-comparison-table td { padding: 12px 10px; font-size: 12px; }
    #ds-dev-sales-notification { left: 12px; right: 12px; max-width: none; }
}


/* ============================================
   CONTENU PREMIUM GÉNÉRÉ
   ============================================ */
.ds-premium-content {
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
    line-height: 1.8;
    color: #374151;
    max-width: 900px;
    margin: 0 auto;
}

.ds-premium-content h2 {
    color: #111827;
    font-size: 1.8em;
    border-left: 5px solid #2563eb;
    padding-left: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.ds-premium-content h3 {
    color: #1f2937;
    font-size: 1.4em;
    margin-top: 30px;
}

.ds-premium-content p {
    margin-bottom: 25px;
    font-size: 1.06em;
}

.ds-premium-content ul {
    background: #f9fafb;
    padding: 25px 40px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    list-style-type: disc;
    margin-bottom: 30px;
}

.ds-premium-content li {
    margin-bottom: 12px;
}

.ds-premium-content strong {
    color: #111827;
}

.ds-cta-section {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.ds-cta-section h3 {
    color: #ffffff !important;
    margin-top: 0;
    font-size: 1.8em;
}

.ds-cta-button {
    display: inline-block;
    background: #ffffff;
    color: #2563eb !important;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2em;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.ds-cta-button:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ds-dev-inline-image-wrap {
    margin: 24px auto 30px;
    text-align: center;
}

.ds-dev-inline-image {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

.ds-dev-internal-link {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(79, 70, 229, 0.2);
    transition: all 0.2s ease;
}

.ds-dev-internal-link:hover {
    background: rgba(79, 70, 229, 0.08);
    border-bottom-color: #4f46e5;
}

.ds-dev-related-box {
    margin: 40px 0;
    padding: 32px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(233, 69, 96, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.ds-dev-related-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4f46e5, #e94560);
}

.ds-dev-related-box h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.ds-dev-related-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.ds-dev-related-box li {
    margin: 0;
}

.ds-dev-related-box a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #334155 !important;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.ds-dev-related-box a:hover {
    border-color: #4f46e5;
    color: #4f46e5 !important;
    transform: translateX(5px);
}
