/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.main-page-background {
    background-color: #111114;
    background-image: linear-gradient(180deg, #171723 0%, #111114 100%);
    background-attachment: fixed;
    position: relative;
}

.main-page-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.main-page-background::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.01) 1px, transparent 1px), linear-gradient(to bottom, rgba(59, 130, 246, 0.01) 1px, transparent 1px);
    background-size: 120px 120px;
    pointer-events: none;
    z-index: -1;
}

/* Suppression de l'outline bleu sur les liens */
a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
a:focus {
    outline: none;
}

/* Mobile Menu */
.mobile-menu {
    clip-path: circle(0% at calc(100% - 2.5rem) 2.5rem);
    transition: clip-path 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 90;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active {
    clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem);
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
}
.menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 20, 0.95);
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-toggle:hover {
    background: rgba(30, 30, 35, 0.95);
    transform: scale(1.05);
}
.menu-toggle i {
    font-size: 1.2rem;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle i.fa-times {
    display: none;
    position: absolute;
    transform: rotate(-90deg);
}
.menu-toggle.active i.fa-bars {
    display: none;
}
.menu-toggle.active i.fa-times {
    display: block;
    transform: rotate(0deg);
}

/* FAQ Section */
.faq-toggle i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle.open i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height, opacity;
    padding-bottom: 0 !important;
}

.faq-content.open {
    opacity: 1;
    max-height: 500px;
    padding-bottom: 1.25rem !important; /* pb-5 */
}

/* Custom styles for product cards (to replicate checkmark if all.min.css doesn't include it for some reason) */
.product-card ul li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #3b82f6; /* Tailwind blue-500 */
    position: absolute;
    left: 0;
    top: 0.2rem; /* Adjust as needed */
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0A0A; /* Deep dark background */
    color: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #0A0A0A;
    padding: 1rem 0;
    border-bottom: 1px solid #1A1A1A;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.nav a {
    color: #B0B0B0;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #FFFFFF;
}

.btn-login {
    background-color: #FFFFFF;
    color: #0A0A0A !important; /* !important to override nav a */
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #E0E0E0;
}

/* General Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #6A00FF; /* Slyzz primary button color */
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #5A00D0;
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #333333;
}

.btn-secondary:hover {
    background-color: #1A1A1A;
    border-color: #1A1A1A;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    /* Background pattern like Slyzz.fr */
    background-image: radial-gradient(circle at top left, rgba(106, 0, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at bottom right, rgba(106, 0, 255, 0.1) 0%, transparent 50%);
}

.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-section .tagline {
    font-size: 1.1rem;
    color: #B0B0B0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.2rem;
    color: #B0B0B0;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.2rem;
}

.stat-label {
    color: #B0B0B0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background-color: #0A0A0A;
}

.products-section h2,
.faq-section h2,
.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #1A1A1A;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.product-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    color: #B0B0B0;
}

.product-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-card li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #6A00FF;
    position: absolute;
    left: 0;
    top: 0;
}

.product-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-top: auto; /* Push price to bottom */
    margin-bottom: 1.5rem;
}

.product-card .starting-at {
    font-size: 0.9rem;
    font-weight: 500;
    color: #B0B0B0;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #0A0A0A;
}

.faq-item {
    background-color: #1A1A1A;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #222222;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.faq-answer {
    font-size: 1rem;
    color: #B0B0B0;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #0A0A0A;
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    font-size: 1.1rem;
    color: #B0B0B0;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 3rem 0 1.5rem 0;
    border-top: 1px solid #1A1A1A;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex-grow: 1;
    justify-content: space-around;
}

.footer-col {
    min-width: 150px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
}

.footer-description {
    font-size: 0.9rem;
    color: #B0B0B0;
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1A1A1A;
    font-size: 0.85rem;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav a {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .btn-login {
        margin-top: 0.5rem;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-cols {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 2rem;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
    }

    .footer-col ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .products-section h2,
    .faq-section h2,
    .about-section h2 {
        font-size: 2rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1rem;
    }
} 