﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
    /* Hades Brand Palette - Fiery & Premium */
    --h-brand: #ff5e00;
    --h-brand-rgb: 255, 94, 0;
    --h-brand-light: #ff8c40;
    --h-brand-dark: #b34200;

    --h-gold: #d4af37;
    --h-gold-light: #f3cf7a;
    --h-gold-dark: #aa8c2c;

    --h-dark: #050505;
    --h-card-bg: rgba(15, 15, 15, 0.7);
    --h-border: rgba(255, 94, 0, 0.15);
    --h-radius: 32px;
    --h-radius-sm: 16px;
    --h-glow: 0 0 60px rgba(255, 94, 0, 0.2);
    --h-font-main: 'Manrope', sans-serif;
    --h-font-title: 'Cinzel', serif;
}

body {
    background-color: var(--h-dark);
    color: #f5f5f5;
    margin: 0;
    font-family: var(--h-font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#hades-premium-page {
    position: relative;
    padding-top: 100px;
    padding-bottom: 120px;
    min-height: 100vh;
}

/* --- Atmosphere & Background --- */
#hades-fire-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
    mix-blend-mode: plus-lighter;
}

/* Pre-reveal states for GSAP */
.gs-reveal,
.gs-pop,
.gs-card {
    opacity: 0;
    visibility: hidden;
}

.hades-dark-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, rgba(255, 94, 0, 0.15) 0%, var(--h-dark) 70%);
    pointer-events: none;
}

.hades-bg-texture {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.hades-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 10;
}

/* --- Hero Section --- */
.hades-hero {
    text-align: center;
    margin-bottom: 100px;
    perspective: 1000px;
}

.hades-logo-box {
    margin-bottom: 40px;
}

.hades-logo-img {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(var(--h-brand-rgb), 0.5));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hades-logo-img:hover {
    transform: scale(1.1) rotate(2deg);
}

.hades-main-title {
    font-family: var(--h-font-title);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hades-brand-text {
    background: linear-gradient(135deg, #fff 0%, var(--h-brand) 50%, var(--h-brand-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(var(--h-brand-rgb), 0.3));
}

.hades-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #aaa;
    margin: 25px auto 40px;
    max-width: 700px;
    font-weight: 300;
    line-height: 1.6;
}

/* Status Badge */
.hades-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(20, 25, 20, 0.6);
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
}

.hades-status-badge .iconify {
    font-size: 2.2rem;
    color: #4caf50;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
}

.hades-status-badge div {
    text-align: left;
}

.hades-status-badge strong {
    display: block;
    color: #fff;
    font-family: var(--h-font-title);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.hades-status-badge small {
    color: #888;
    font-size: 0.85rem;
}

/* --- Marquee Section --- */
.hades-marquee-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    margin-bottom: 120px;
    padding: 60px 0;
}

.hades-marquee-col {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollRich var(--d, 60s) linear infinite;
}

.hades-cover-item {
    width: 220px;
    height: 330px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
}

.hades-cover-item:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--h-brand);
    z-index: 10;
}

.hades-cover-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hades-cover-item:hover img {
    transform: scale(1.1);
}

.hades-marquee-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            var(--h-dark) 0%, transparent 20%,
            transparent 80%, var(--h-dark) 100%);
    pointer-events: none;
    z-index: 2;
}

/* --- Benefits Grid --- */
.hades-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 140px;
}

.hades-benefit-card {
    background: var(--h-card-bg);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hades-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(var(--h-brand-rgb), 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hades-benefit-card:hover::before {
    opacity: 1;
}

.hades-benefit-card:hover {
    transform: translateY(-15px);
    border-color: var(--h-brand);
    box-shadow: var(--h-glow);
}

.benefit-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    color: var(--h-brand);
    filter: drop-shadow(0 0 20px rgba(var(--h-brand-rgb), 0.4));
    transition: transform 1s ease;
}

.hades-benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.hades-benefit-card h3 {
    margin: 0 0 20px;
    font-family: var(--h-font-title);
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.hades-benefit-card p {
    color: #bbb;
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- Plans Section --- */
.hades-section-heading {
    text-align: center;
    font-family: var(--h-font-title);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 50px;
    color: #fff;
    font-weight: 800;
    padding: 0 20px;
}

.hades-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hades-plan-card {
    background: var(--h-card-bg);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hades-plan-card:hover {
    transform: translateY(-20px);
    border-color: var(--h-brand);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(var(--h-brand-rgb), 0.1);
}

.hades-card-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center, rgba(var(--h-brand-rgb), 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.hades-plan-card:hover .hades-card-glow {
    opacity: 1;
}

.hades-plan-card.is-highlight {
    background: rgba(25, 20, 20, 0.8);
    border-color: rgba(var(--h-brand-rgb), 0.4);
    box-shadow: 0 0 50px rgba(var(--h-brand-rgb), 0.1);
}

.hades-plan-card.is-highlight::after {
    content: 'Plus Populaire';
    position: absolute;
    top: 30px;
    right: -40px;
    background: var(--h-brand);
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 8px 50px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
}

.plan-name {
    font-family: var(--h-font-title);
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.plan-price span {
    font-size: 1.2rem;
    color: var(--h-brand);
    font-weight: 600;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 300;
}

.plan-features li .iconify {
    color: var(--h-brand);
    font-size: 1.4rem;
}

.hades-btn-select {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hades-plan-card:hover .hades-btn-select {
    background: linear-gradient(135deg, var(--h-brand), var(--h-brand-dark));
    color: #000;
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(var(--h-brand-rgb), 0.4);
    transform: scale(1.02);
}

/* --- Confirmation Modal --- */
.hades-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hades-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.hades-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
}

.hades-modal-box {
    position: relative;
    background: #0a0a0a;
    border: 1px solid var(--h-border);
    border-radius: 40px;
    padding: 60px;
    width: 95%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.8), 0 0 40px rgba(var(--h-brand-rgb), 0.1);
    transform: scale(0.9) translateY(40px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hades-modal[aria-hidden="false"] .hades-modal-box {
    transform: scale(1) translateY(0);
}

.hades-modal-header {
    margin-bottom: 40px;
}

.hades-modal-header h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-family: var(--h-font-title);
    color: var(--h-brand);
    font-size: 2rem;
    font-weight: 800;
}

#hades-modal-close-x {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #444;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

#hades-modal-close-x:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-plan-summary {
    background: rgba(var(--h-brand-rgb), 0.08);
    padding: 30px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    border: 1px solid rgba(var(--h-brand-rgb), 0.1);
}

.modal-arrow {
    color: var(--h-brand);
    opacity: 0.5;
}

.modal-secure-note {
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 40px;
}

.hades-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 20px;
}

.hades-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 20px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.hades-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: #fff;
}

.hades-btn-primary {
    background: linear-gradient(135deg, var(--h-brand), var(--h-brand-dark));
    border: none;
    color: #000;
    padding: 20px;
    border-radius: 100px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(var(--h-brand-rgb), 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.hades-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(var(--h-brand-rgb), 0.5);
}

/* --- Trust Banner --- */
.hades-trust-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    text-align: center;
}

.trust-val {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--h-brand);
    font-family: var(--h-font-title);
    line-height: 1;
}

.trust-lbl {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.hades-trust-banner .divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Mobile Specifics --- */
@media (max-width: 992px) {
    .hades-plans-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    #hades-premium-page {
        padding-top: 60px;
    }

    .hades-logo-img {
        width: 160px;
    }

    .hades-main-title {
        font-size: 2.2rem;
    }

    .hades-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hades-marquee-section {
        padding: 30px 0;
        margin-bottom: 60px;
    }

    .hades-cover-item {
        width: 140px;
        height: 210px;
    }

    .hades-benefit-card {
        padding: 30px 20px;
    }

    .hades-benefit-card h3 {
        font-size: 1.4rem;
    }

    .hades-trust-banner {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }

    .hades-trust-banner .divider {
        display: none;
    }

    .hades-modal-box {
        padding: 40px 25px;
        border-radius: 24px;
    }

    .hades-modal-actions {
        grid-template-columns: 1fr;
    }

    .hades-btn-ghost {
        order: 2;
    }
}

@keyframes scrollRich {
    to {
        transform: translateX(-50%);
    }
}