/* ═══════════════ VARIABLES ═══════════════ */
:root {
    --pink: #e94f8a;
    --pink-glow: rgba(233, 79, 138, 0.4);
    --violet: #7b2d8e;
    --violet-deep: #2d1b4e;
    --bg-dark: #1a1a2e;
    --bg-card: #2a2a3e;
    --bg-card-hover: #333350;
    --text: #e0d6e8;
    --text-dim: #8a7d9b;
    --vip: #22c55e;
    --mvp: #06b6d4;
    --elite: #eab308;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-title: 'Georgia', 'Times New Roman', serif;
    --container: 1200px;
}

/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--pink); text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ═══════════════ NAVBAR ═══════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}

.nav-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px var(--pink-glow));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--pink);
}

.nav-back {
    background: rgba(233, 79, 138, 0.1);
    border: 1px solid rgba(233, 79, 138, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-back:hover {
    background: var(--pink);
    color: #fff !important;
}

/* ═══════════════ HERO ═══════════════ */
#hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
    background:
        linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(45, 27, 78, 0.9) 50%, rgba(26, 26, 46, 0.95) 100%),
        radial-gradient(circle at 50% 0%, rgba(233, 79, 138, 0.15) 0%, transparent 50%);
}

#particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--pink-glow); }
    50% { box-shadow: 0 0 40px var(--pink-glow), 0 0 60px rgba(123, 45, 142, 0.3); }
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.2em;
    color: #fff;
    text-shadow:
        0 0 20px var(--pink-glow),
        0 0 60px rgba(123, 45, 142, 0.3);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.hero-feature svg {
    color: var(--pink);
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--pink);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
}

.btn-primary:hover {
    background: #fff;
    color: var(--pink);
    box-shadow: 0 0 30px var(--pink-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--pink);
}

.btn-secondary:hover {
    background: var(--pink);
    color: #fff;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ═══════════════ SECTIONS ═══════════════ */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px var(--pink-glow);
}

.section-desc {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ═══════════════ GRADES ═══════════════ */
#grades {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(45, 27, 78, 0.2) 50%, var(--bg-dark) 100%);
}

.grades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: start;
}

.grade-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.grade-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.grade-card--featured {
    border: 2px solid var(--mvp);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, var(--bg-card) 30%);
    transform: scale(1.05);
    z-index: 1;
}

.grade-card--featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 60px rgba(6, 182, 212, 0.2);
}

.grade-glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--mvp), var(--pink));
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
    animation: glow-rotate 4s linear infinite;
}

@keyframes glow-rotate {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

.grade-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--violet);
    color: #fff;
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.grade-ribbon--featured {
    background: linear-gradient(135deg, var(--mvp), var(--pink));
}

.grade-ribbon--elite {
    background: linear-gradient(135deg, var(--elite), #f59e0b);
}

.grade-icon {
    margin: 1rem 0 1.5rem;
}

.grade-name {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.grade-card[data-tier="vip"] .grade-name { color: var(--vip); }
.grade-card[data-tier="mvp"] .grade-name { color: var(--mvp); }
.grade-card[data-tier="elite"] .grade-name { color: var(--elite); }

.grade-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-left: 0.25rem;
}

.grade-perks {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.grade-perks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.grade-perks li:last-child {
    border-bottom: none;
}

.btn-grade {
    width: 100%;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--pink);
    color: var(--pink);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-grade:hover {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 0 30px var(--pink-glow);
}

.grade-card[data-tier="vip"] .btn-grade { border-color: var(--vip); color: var(--vip); }
.grade-card[data-tier="vip"] .btn-grade:hover { background: var(--vip); color: #fff; box-shadow: 0 0 30px rgba(34, 197, 94, 0.4); }

.grade-card[data-tier="mvp"] .btn-grade { border-color: var(--mvp); color: var(--mvp); }
.grade-card[data-tier="mvp"] .btn-grade:hover { background: var(--mvp); color: #fff; box-shadow: 0 0 30px rgba(6, 182, 212, 0.4); }

.grade-card[data-tier="elite"] .btn-grade { border-color: var(--elite); color: var(--elite); }
.grade-card[data-tier="elite"] .btn-grade:hover { background: var(--elite); color: #fff; box-shadow: 0 0 30px rgba(234, 179, 8, 0.4); }

.btn-grade--featured {
    background: var(--mvp);
    border-color: var(--mvp);
    color: #fff;
}

.btn-grade--featured:hover {
    background: #fff;
    color: var(--mvp);
}

/* ═══════════════ COSMETIQUES ═══════════════ */
#cosmetiques {
    background: var(--bg-dark);
}

.cosmetiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cosmetique-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cosmetique-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 79, 138, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cosmetique-icon {
    margin-bottom: 1rem;
}

.cosmetique-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.cosmetique-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cosmetique-price {
    color: var(--pink);
    font-weight: 600;
    font-size: 0.95rem;
}

.shop-cta {
    text-align: center;
}

/* ═══════════════ FAQ ═══════════════ */
#faq {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(45, 27, 78, 0.15) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(233, 79, 138, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.faq-question svg {
    color: var(--pink);
    flex-shrink: 0;
}

.faq-answer {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 2rem;
}

/* ═══════════════ TRUST ═══════════════ */
#trust {
    background: var(--bg-dark);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-item svg {
    margin-bottom: 0.75rem;
}

.trust-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.trust-item p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ═══════════════ FOOTER ═══════════════ */
#footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 15px var(--pink-glow));
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--pink);
}

.footer-ip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
}

.footer-ip-btn {
    background: none;
    border: 1px solid rgba(233, 79, 138, 0.3);
    color: var(--pink);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-ip-btn:hover {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 0 15px var(--pink-glow);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

/* ═══════════════ TOAST ═══════════════ */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--pink);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 100;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ═══════════════ ANIMATIONS ═══════════════ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.grades-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.grades-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.grades-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

.cosmetiques-grid .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.cosmetiques-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.cosmetiques-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.cosmetiques-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
    section { padding: 3rem 0; }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .nav-back {
        display: none;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .grades-grid {
        grid-template-columns: 1fr;
    }

    .grade-card--featured {
        transform: none;
    }

    .grade-card--featured:hover {
        transform: translateY(-10px);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        gap: 2rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cosmetiques-grid {
        grid-template-columns: 1fr;
    }
}
