/* assets/css/styles.css */

/* ===========================
   Variables CSS Personnalisées
   =========================== */
:root {
    --accent: #F76C1D;
    --accent-hover: #e65a0d;
    --bg-dark: #040227;
    --bg-dark-light: #0a0540;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===========================
   Styles Généraux
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ===========================
   Navigation
   =========================== */
.bg-dark-custom {
    background-color: var(--bg-dark) !important;
}

.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.text-accent {
    color: var(--accent) !important;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent) !important;
}

.nav-link.active {
    color: var(--accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===========================
   Boutons
   =========================== */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 108, 29, 0.3);
}

.btn-outline-accent {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 108, 29, 0.3);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 2, 39, 0.9) 0%, rgba(247, 108, 29, 0.3) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}
/******** Pricing table ******/


/* ===== Global Background With Animated Circles ===== */
.pricing-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.pricing-section::before,
.pricing-section::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    filter: blur(40px);
    animation: floatCircle 9s infinite alternate ease-in-out;
    z-index: 0;
}

.pricing-section::before {
    top: -60px;
    left: -100px;
}

.pricing-section::after {
    bottom: -60px;
    right: -120px;
}

@keyframes floatCircle {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-40px) scale(1.1); }
}

/* ===== Centered Logo ===== */
.pricing-logo {
    width: 160px;
    margin: 0 auto 40px auto;
    display: block;
    position: relative;
    z-index: 2;
}

/* ===== Pricing Cards ===== */
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: #040227;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    width: 310px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.55);
}

/* ===== Titles & Price ===== */
.pricing-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.price {
    font-size: 40px;
    font-weight: 700;
    margin: 10px 0;
    background: linear-gradient(135deg, #ff9100, #ff4f81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Features List ===== */
.pricing-card ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.pricing-card ul li {
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #e5e5e5;
}

/* ===== Button ===== */
.btn-purchase {
    background: #ffffff !important;
    color: black;
    font-weight: bold;
    border: none;
    padding: 14px;
    font-size: 18px;
    width: 100%;
    border-radius: 40px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
    border: 2px solid white;
}

.btn-purchase:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 120, 120, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .pricing-card {
        width: 90%;
    }
}

/* ===========================
   Cards
   =========================== */
.card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-pricing {
    position: relative;
}

.card-pricing.featured {
    border: 3px solid var(--accent);
    transform: scale(1.05);
}

.card-pricing .badge-featured {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* ===========================
   Background Colors
   =========================== */
.bg-accent {
    background-color: var(--accent) !important;
}

.bg-dark-gradient {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-light) 100%);
}

/* ===========================
   Sections
   =========================== */
section {
    scroll-margin-top: 80px;
}

/* ===========================
   Video Player
   =========================== */
#videoPlayer {
    width: 100%;
    max-width: 100%;
    border-radius: var(--border-radius);
    background-color: #000;
}

.player-container {
    position: relative;
    background-color: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-controls {
    background-color: rgba(4, 2, 39, 0.9);
    border-radius: var(--border-radius);
    padding: 1rem;
}


/* Devices */
        .devices {
            padding: 100px 0;
            background: var(--dark);
        }
section#devices .container {
    text-align: center;
}
        .devices-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .device-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s;
                background: #f8f9fa;
        }

        .device-card:hover {
            transform: translateY(-10px);
        }

        .device-icon {
            font-size: 3em;
            margin-bottom: 20px;
        }

        /* Testimonials */
        .testimonials {
            padding: 100px 0;
            background: var(--secondary);
        }

        .testimonials-slider {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .testimonial-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px;
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .testimonial-info h4 {
            margin-bottom: 5px;
        }

        .testimonial-role {
            color: var(--gray);
            font-size: 0.9em;
        }

        .stars {
            color: #fbbf24;
            margin-bottom: 15px;
        }

        .testimonial-text {
            color: var(--gray);
            line-height: 1.8;
        }

/** new testimonials styling**/
/* Testimonial Cards Section */
.testi-cards-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.testi-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
    gap: 30px;
    justify-items: center;
}

/* Testimonial Card Styles */
.testi-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testi-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.testi-info {
    margin-bottom: 15px;
}

.testi-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.testi-country, .testi-plan {
    font-size: 0.9em;
    color: #777;
}

.testi-rating {
    color: #ffd700; /* Gold stars */
    font-size: 1.2em;
    margin-top: 5px;
}

.testi-text {
    font-size: 1em;
    color: #555;
    font-style: italic;
}

/* Responsive Design */

/* Tablet - 2 rows with 2 cards per row */
@media (max-width: 1024px) {
    .testi-cards-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

/* Mobile - 3 rows with 1 card per row */
@media (max-width: 768px) {
    .testi-cards-container {
        grid-template-columns: 1fr; /* 1 card per row */
    }
}
/* ===========================

   Channel Grid
   =========================== */



.channel-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
    height: 100%;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.channel-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.channel-category {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ===========================
   FAQ Accordion
   =========================== */
.accordion-button {
    font-weight: 600;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(247, 108, 29, 0.25);
}

/* ===========================
   Forms
   =========================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(247, 108, 29, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===========================
   Footer
   =========================== */
footer {
    background-color: var(--bg-dark);
}

footer a:hover {
    color: var(--accent) !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===========================
   Utilities
   =========================== */
.text-accent {
    color: var(--accent) !important;
}

.border-accent {
    border-color: var(--accent) !important;
}

.shadow-custom {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px !important;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .card-pricing.featured {
        transform: scale(1);
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
}

/* ===========================
   Loading Spinner
   =========================== */
.spinner-border-accent {
    color: var(--accent);
}

/* ===========================
   Alerts
   =========================== */
.alert-accent {
    background-color: rgba(247, 108, 29, 0.1);
    border-color: var(--accent);
    color: var(--accent-hover);
}

/* ===========================
   Tables
   =========================== */
.table-striped tbody tr:hover {
    background-color: rgba(247, 108, 29, 0.05);
}

/* ===========================
   Badges
   =========================== */
.badge-accent {
    background-color: var(--accent);
}

/* ===========================
   Error 404 Page
   =========================== */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404 h1 {
    font-size: 10rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Smooth Scroll
   =========================== */
html {
    scroll-behavior: smooth;
}

/* ===========================
   Accessibility
   =========================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
