/* 
   GUARD DESIGN SYSTEM - PREMIUM TECH / STREAMING SAAS
   Direction Artistique : ChatGPT Vision (Dark Tech, Orange Warm, Glassmorphism)
*/

@import url('https://api.fontshare.com/v2/css?f[]=poppins@400,500,600,700&display=swap');

:root {
    /* --- PALETTE DE COULEURS --- */
    
    /* Fonds (Noir profond & teinté) */
    --bg-deep: #0A0A0D;       /* Fond principal */
    --bg-card: rgba(21, 21, 26, 0.6); /* Glassmorphism base */
    --bg-input: #121216;      /* Variations bleutées */
    --bg-hover: #1A1A20;
    
    /* Accents (Orange Chaud & Lumineux) */
    --accent-primary: #FF8C42;
    --accent-light: #FFB347;
    --accent-dark: #E67A2E;
    
    /* Accents Secondaires (Gradients) */
    --glow-orange: rgba(255, 140, 66, 0.25);
    --glow-blue: rgba(71, 138, 255, 0.2);
    --glow-purple: rgba(148, 71, 255, 0.15);
    --glow-red: rgba(239, 68, 68, 0.15);
    
    /* Textes */
    --text-primary: #F2F2F5;  /* Blanc cassé */
    --text-secondary: #B5B5C3; /* Gris bleuté */
    --text-tertiary: #6E6E7A;
    
    /* Bordures & Effets */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-deep: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px -5px rgba(255, 140, 66, 0.15);
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* --- AMBIENT GLOWS (Dégradés subtils et profonds) --- */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 60%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-orange) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--text-primary);
    font-weight: 700; /* Bold pour les titres */
    margin-top: 0;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    font-weight: 400; /* Léger et aéré */
    line-height: 1.7;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(255, 140, 66, 0.4);
}

/* --- BUTTONS (Arrondis Pill / Glow) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 99px; /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--font-main);
    gap: 10px;
    letter-spacing: 0.02em;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-light) 100%);
    color: #0A0A0D; /* Contraste fort sur fond orange */
    box-shadow: 0 8px 20px -5px rgba(255, 140, 66, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(255, 140, 66, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-discord {
    background: #5865F2;
    color: white;
    box-shadow: 0 8px 20px -5px rgba(88, 101, 242, 0.4);
}
.btn-discord:hover { 
    transform: translateY(-3px);
    background: #4752c4;
    box-shadow: 0 12px 25px -5px rgba(88, 101, 242, 0.6);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* --- CARDS (Glassmorphism & Depth) --- */
.feature-card, .stat-card, .card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid var(--border-glass);
    border-radius: 24px; /* Radius élevé */
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s;
    box-shadow: var(--shadow-deep);
}

/* Effet de bordure brillante subtile */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.feature-card:hover, .stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 140, 66, 0.3);
    background: linear-gradient(180deg, rgba(30, 30, 35, 0.7) 0%, rgba(21, 21, 26, 0.7) 100%);
}

/* Switch (Toggle) - Tech Style */
.switch-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(18, 18, 22, 0.5);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    margin-bottom: 1.5rem;
}

.switch-info h4 { margin: 0 0 0.4rem 0; font-size: 1.1rem; color: var(--text-primary); }
.switch-info p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #2A2A30;
    transition: .4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,0.05);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #B5B5C3;
    transition: .4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

input:checked + .slider {
    background-color: rgba(255, 140, 66, 0.2);
    border-color: var(--accent-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.6);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Espacement entre les lignes */
}

.data-table th {
    text-align: left;
    padding: 1rem 1.5rem;
    color: var(--text-tertiary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-glass);
}

.data-table td {
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.data-table tr td:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.data-table tr td:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }

.data-table tr:hover td {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge-success { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-warning { background: rgba(255, 140, 66, 0.15); color: #FF8C42; border: 1px solid rgba(255, 140, 66, 0.3); }

/* Grid System */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .dashboard-layout { flex-direction: column; } .sidebar { width: 100%; height: auto; position: relative; } .dashboard-content { margin-left: 0; } }

/* --- LANDING PAGE SPECIFIC --- */
.landing-page {
    background-color: var(--bg-deep);
}

.navbar {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(10, 10, 13, 0.8) 0%, rgba(10, 10, 13, 0) 100%);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.3);
}

.nav-logo span {
    color: var(--accent-primary);
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12rem 2rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background effects Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--glow-orange) 0%, var(--glow-blue) 40%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.hero-card {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 140, 66, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 140, 66, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.1);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #FFFFFF 0%, #B5B5C3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* --- NSFW HIGHLIGHT SECTION --- */
.nsfw-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(255, 140, 66, 0.05) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.nsfw-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.nsfw-content {
    flex: 1;
    min-width: 300px;
}

.nsfw-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.nsfw-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.nsfw-title span {
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    display: block;
}

.nsfw-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.nsfw-features {
    list-style: none;
    padding: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.nsfw-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.nsfw-check {
    color: #4ade80;
    margin-right: 12px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.nsfw-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.nsfw-card {
    background: rgba(10, 10, 13, 0.9);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 3rem;
    text-align: center;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.nsfw-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--glow-red) 0%, transparent 70%);
    z-index: 1;
    filter: blur(50px);
}

.features-container {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    border: 1px solid var(--border-glass);
}

.footer {
    border-top: 1px solid var(--border-glass);
    padding: 4rem 2rem;
    margin-top: 6rem;
    background: #050507;
}
