/* ============================================
   CrowGenBot — Main Stylesheet
   Cyberpunk Theme — Deep Neon Aesthetics
   Colors: #3619fd / #5864f2 / #5865F2
   NO CUSTOM CURSOR
   ============================================ */

/* ---------- Custom Fonts ---------- */
@font-face {
    font-family: 'Hirosh';
    src: url('../assets/fonts/hirosh.woff2') format('woff2'),
         url('../assets/fonts/hirosh.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    /* Backgrounds */
    --bg-primary: #050510;
    --bg-secondary: #08081a;
    --bg-card: rgba(13, 13, 32, 0.65);
    --bg-card-solid: #0d0d20;
    --bg-card-hover: rgba(17, 17, 48, 0.8);
    --bg-elevated: #14142e;

    /* Primary Colors — User spec */
    --blurple: #5865F2;
    --blurple-mid: #5864f2;
    --blurple-dark: #3619fd;
    --blurple-light: #7B8CFF;

    /* Neon Accent Colors */
    --cyan: #5865F2;
    --cyan-bright: #7B8CFF;
    --cyan-dim: rgba(88, 101, 242, 0.15);
    --violet: #3619fd;
    --violet-dim: rgba(54, 25, 253, 0.15);
    --neon-blue: #5864f2;
    --neon-glow: #5865F2;
    --yellow: #F7E22D;
    --yellow-dim: rgba(247, 226, 45, 0.15);
    --green: #43B581;

    /* Text */
    --text-primary: #EAEAFF;
    --text-secondary: #9999CC;
    --text-muted: #7777AA;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3619fd, #5865F2, #7B8CFF);
    --gradient-neon: linear-gradient(135deg, #5864f2, #5865F2);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(88, 101, 242, 0.18) 0%, rgba(54, 25, 253, 0.08) 40%, transparent 75%);

    /* Shadows / Glow */
    --glow-primary: 0 0 20px rgba(88, 101, 242, 0.5), 0 0 50px rgba(88, 101, 242, 0.2), 0 0 100px rgba(88, 101, 242, 0.05);
    --glow-blurple: 0 0 20px rgba(88, 101, 242, 0.4), 0 0 40px rgba(88, 101, 242, 0.15);
    --glow-dark: 0 0 20px rgba(54, 25, 253, 0.4), 0 0 40px rgba(54, 25, 253, 0.15);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 1px rgba(88, 101, 242, 0.12);

    /* Borders */
    --border-subtle: rgba(88, 101, 242, 0.08);
    --border-glow: rgba(88, 101, 242, 0.2);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-Index Scale */
    --z-particles: 1;
    --z-content: 10;
    --z-navbar: 100;
    --z-overlay: 500;
    --z-loader: 9999;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Anti-copy / Anti-select ---------- */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
/* Ré-autoriser la sélection sur les champs de formulaire */
input, textarea, select, [contenteditable] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ---------- Skip to Content (Accessibility) ---------- */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--blurple);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(88, 101, 242, 0.5) var(--bg-primary);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid rgba(88, 101, 242, 0.06);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.5), rgba(54, 25, 253, 0.4));
    border-radius: 4px;
    border: 1px solid rgba(88, 101, 242, 0.15);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.8), rgba(54, 25, 253, 0.6));
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--blurple-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--blurple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: rgba(88, 101, 242, 0.4);
    color: var(--text-primary);
}

/* ---------- Noise & Scanlines Overlays ---------- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.scanlines-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(88, 101, 242, 0.015) 2px,
        rgba(88, 101, 242, 0.015) 4px
    );
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ---------- Section Base ---------- */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--blurple-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-line {
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 28px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5), 0 0 40px rgba(88, 101, 242, 0.15);
}

/* ---------- Utility Classes ---------- */
.text-accent {
    color: var(--blurple-light);
}

.text-blurple {
    color: var(--blurple);
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: var(--z-loader);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.loader-logo {
    margin-bottom: 24px;
}

.loader-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter:
        drop-shadow(0 0 15px rgba(88, 101, 242, 0.7))
        drop-shadow(0 0 40px rgba(54, 25, 253, 0.4))
        drop-shadow(0 0 80px rgba(88, 100, 242, 0.2));
}

.loader-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.loader-bar-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.loader-bar {
    flex: 1;
    height: 3px;
    background: var(--bg-elevated);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

.loader-percent {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--blurple-light);
    min-width: 40px;
    text-align: right;
}

.loader-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.loader-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blurple), transparent);
    animation: scanline-move 2s linear infinite;
    opacity: 0.4;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-navbar);
    padding: 16px 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(30px) saturate(1.3);
    -webkit-backdrop-filter: blur(30px) saturate(1.3);
    border-bottom: 1px solid var(--border-glow);
    padding: 10px 0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(88, 101, 242, 0.08);
}

.navbar.scrolled::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--blurple) 30%, var(--blurple-light) 50%, var(--blurple) 70%, transparent 100%);
    background-size: 200% 100%;
    animation: navbar-neon-slide 4s linear infinite;
    opacity: 0.6;
}

@keyframes navbar-neon-slide {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo:hover,
.nav-logo:focus,
.nav-logo:active,
.nav-logo:visited {
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo:hover .text-accent,
.nav-logo:focus .text-accent {
    color: var(--blurple-light);
}

.nav-logo:hover .nav-logo-img {
    filter:
        drop-shadow(0 0 8px rgba(88, 101, 242, 0.6))
        drop-shadow(0 0 20px rgba(54, 25, 253, 0.3));
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(88, 101, 242, 0.6))
        drop-shadow(0 0 20px rgba(54, 25, 253, 0.3));
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast), text-shadow var(--transition-normal);
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(88, 101, 242, 0.3);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
    border-radius: 1px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.btn:hover::before {
    opacity: 1;
}

.btn-icon {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
    color: var(--text-primary);
    background-position: 100% 100%;
}

.btn-glow {
    animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(88, 101, 242, 0.5), 0 0 50px rgba(88, 101, 242, 0.15); }
}

.btn-secondary {
    background: rgba(88, 101, 242, 0.04);
    color: var(--text-primary);
    border: 1.5px solid rgba(88, 101, 242, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-secondary:hover {
    border-color: var(--blurple);
    box-shadow: var(--glow-blurple);
    transform: translateY(-3px);
    color: var(--text-primary);
    background: rgba(88, 101, 242, 0.08);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        var(--gradient-hero),
        radial-gradient(circle at 15% 85%, rgba(54, 25, 253, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(88, 101, 242, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.03) 0%, transparent 60%),
        var(--bg-primary);
}

/* Holographic globe canvas is positioned via JS */

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 30%, var(--bg-primary) 85%),
        linear-gradient(to right, var(--bg-primary) 0%, transparent 12%, transparent 88%, var(--bg-primary) 100%),
        linear-gradient(to bottom, var(--bg-primary) 0%, transparent 10%, transparent 90%, var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    width: 100%;
    max-width: 960px;
}

.hero-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
    isolation: isolate;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 580px;
    height: 580px;
    background: radial-gradient(
        circle,
        rgba(230, 170, 0, 0.32) 0%,
        rgba(180, 120, 0, 0.16) 30%,
        rgba(120, 70, 0, 0.06) 55%,
        transparent 70%
    );
    animation: logoGoldGlowPulse 3.8s ease-in-out infinite;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes logoGoldGlowPulse {
    0%, 100% {
        opacity: 0.75;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(18px);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
        filter: blur(24px);
    }
}

.hero-logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border: 1px solid rgba(220, 160, 0, 0.28);
    border-radius: 50%;
    animation: logo-ring-spin 18s linear infinite;
    pointer-events: none;
}

.hero-logo-ring-2 {
    width: 360px;
    height: 360px;
    border: 1px dashed rgba(255, 215, 0, 0.15);
    animation-duration: 32s !important;
    animation-direction: reverse !important;
}

.hero-logo-ring::before,
.hero-logo-ring-2::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    background: radial-gradient(circle, #ffe566 30%, #c88a00 100%);
    border-radius: 50%;
    box-shadow:
        0 0 10px #f5c842,
        0 0 22px rgba(220, 160, 0, 0.7),
        0 0 40px rgba(200, 138, 0, 0.35);
}

.hero-logo-ring-2::before {
    width: 6px;
    height: 6px;
    top: -3px;
    opacity: 0.7;
    animation: orbDotPop 3s ease-in-out infinite;
}

@keyframes orbDotPop {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%       { transform: scale(1.6); opacity: 1; }
}

/* Logo gold — visible avec filtres couleur */
.hero-logo-img {
    width: 315px;
    height: 315px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    will-change: transform;
    /* Filtres dorés appliqués statiquement — plus besoin de les recalculer à chaque frame */
    filter: sepia(1) saturate(4.5) hue-rotate(2deg) brightness(1.1)
            drop-shadow(0 0 18px rgba(230,160,0,0.95))
            drop-shadow(0 0 50px rgba(200,130,0,0.55));
    animation: floatGold 4s ease-in-out infinite;
}

@keyframes floatGold {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-14px); }
}

/* ---- Gradient directionnel clair → foncé incrusté dans le logo ---- */
.hero-logo-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 315px;
    height: 315px;
    background: linear-gradient(
        175deg,
        rgba(255, 255, 220, 0.72) 0%,
        rgba(255, 220, 80,  0.45) 28%,
        rgba(160, 90,   0,  0.15) 55%,
        rgba(30,  10,   0,  0.55) 100%
    );
    -webkit-mask-image: url('../assets/logo-blanc.png');
    mask-image: url('../assets/logo-blanc.png');
    -webkit-mask-size: 315px 315px;
    mask-size: 315px 315px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    mix-blend-mode: overlay;
    z-index: 3;
    pointer-events: none;
    /* Suit le float du parent .hero-logo via héritage — plus d'animation redondante */
    animation: floatGoldGradient 4s ease-in-out infinite;
}

@keyframes floatGoldGradient {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50%      { transform: translateX(-50%) translateY(-14px); }
}

/* ---- Stars container ---- */
.hero-logo-stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.logo-star {
    position: absolute;
    color: #ffe566;
    line-height: 1;
    text-shadow:
        0 0 4px rgba(255, 230, 0, 1),
        0 0 10px rgba(255, 190, 0, 0.8),
        0 0 20px rgba(220, 140, 0, 0.5);
    opacity: 0;
    transform-origin: center;
    animation: starTwinkle var(--dur, 1.8s) ease-in-out var(--delay, 0s) infinite;
    /* will-change retiré — le navigateur auto-promote les éléments animés */
}

@keyframes starTwinkle {
    0%          { opacity: 0;   transform: scale(0.2) rotate(-15deg); }
    15%         { opacity: 0.15; }
    45%, 55%    { opacity: 1;   transform: scale(1.15) rotate(8deg); }
    80%         { opacity: 0.1; transform: scale(0.9) rotate(0deg); }
    100%        { opacity: 0;   transform: scale(0.2) rotate(10deg); }
}

/* ---- Glitch ghost layers ---- */
.logo-ghost {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: screen;
    animation: none !important; /* no float */
    will-change: transform, opacity, clip-path;
}

.logo-ghost-r {
    filter: drop-shadow(0 0 0 rgba(255, 30, 80, 0)) hue-rotate(-30deg) saturate(3) brightness(1.2);
}

.logo-ghost-c {
    filter: drop-shadow(0 0 0 rgba(0, 255, 220, 0)) hue-rotate(160deg) saturate(3) brightness(1.1);
}

/* ---- Tear slices container ---- */
.logo-tears {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 315px;
    height: 315px;
    z-index: 4;
    pointer-events: none;
    overflow: visible;
}

.logo-tear-slice {
    position: absolute;
    left: 0;
    width: 315px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
}

.logo-tear-slice img {
    display: block;
    width: 315px;
    height: 315px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    animation: none !important;
}

.hero-title {
    font-family: 'Hirosh', var(--font-display);
    font-size: clamp(3.8rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 40px rgba(88, 101, 242, 0.15);
    display: flex;
    justify-content: center;
    align-items: baseline;
    perspective: 1000px;
    position: relative;
}


.hero-bot-3d {
    display: inline-block;
    position: relative;
    color: var(--blurple-light);
    padding: 0;
    margin: 0;
    line-height: inherit;
    will-change: transform;
    animation:
        botFlip3D 7s ease-in-out infinite,
        botFlicker 4s steps(1) infinite;
    transform-style: preserve-3d;
    /* Deep 3D extrusion — 14 layers + intense ambient glow */
    text-shadow:
        0 1px 0 #5a66e8,
        0 2px 0 #5460e0,
        0 3px 0 #4e5ad8,
        0 4px 0 #4854d0,
        0 5px 0 #424ec8,
        0 6px 0 #3c48c0,
        0 7px 0 #3642b8,
        0 8px 0 #303cb0,
        0 9px 0 #2a36a8,
        0 10px 0 #2430a0,
        0 11px 0 #1e2a98,
        0 12px 0 #182490,
        0 13px 0 #121e88,
        0 14px 0 #0c1880,
        0 16px 25px rgba(54, 25, 253, 0.5),
        0 0 40px rgba(88, 101, 242, 0.6),
        0 0 80px rgba(88, 101, 242, 0.35),
        0 0 140px rgba(54, 25, 253, 0.15);
}

/* Glitch channel — top RGB split */
.hero-bot-3d::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #8b9aff;
    z-index: 1;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: screen;
    text-shadow:
        2px 0 #5865F2,
        -2px 0 rgba(54, 25, 253, 0.7);
    animation: botGlitchTop 2.8s steps(1) infinite;
}

/* Glitch channel — bottom RGB split */
.hero-bot-3d::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #3619fd;
    z-index: 2;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: screen;
    text-shadow:
        -3px 0 #7B8CFF,
        3px 0 rgba(88, 101, 242, 0.5);
    animation: botGlitchBottom 2.2s steps(1) infinite;
}

/* ---- 3D Flip ---- */
@keyframes botFlip3D {
    0%   { transform: rotateX(0deg) rotateY(0deg); }
    12%  { transform: rotateX(0deg) rotateY(0deg); }
    22%  { transform: rotateX(360deg) rotateY(0deg); }
    38%  { transform: rotateX(360deg) rotateY(0deg); }
    48%  { transform: rotateX(360deg) rotateY(360deg); }
    62%  { transform: rotateX(360deg) rotateY(360deg); }
    72%  { transform: rotateX(0deg) rotateY(360deg); }
    88%  { transform: rotateX(0deg) rotateY(360deg); }
    100% { transform: rotateX(0deg) rotateY(0deg); }
}

/* ---- Micro-jitter — constant nervous tremor ---- */
@keyframes botJitter {
    0%   { translate: 0 0; }
    25%  { translate: -1px 1px; }
    50%  { translate: 1px -1px; }
    75%  { translate: -1px -1px; }
    100% { translate: 1px 0; }
}

/* ---- Flicker — sporadic opacity drops ---- */
@keyframes botFlicker {
    0%, 100% { opacity: 1; }
    7%   { opacity: 0.6; }
    7.5% { opacity: 1; }
    8%   { opacity: 0.3; }
    8.5% { opacity: 1; }
    32%  { opacity: 1; }
    32.5% { opacity: 0.7; }
    33%  { opacity: 0; }
    33.3% { opacity: 1; }
    57%  { opacity: 1; }
    57.2% { opacity: 0.5; }
    57.5% { opacity: 1; }
    57.8% { opacity: 0; }
    58%  { opacity: 1; }
    81%  { opacity: 0.4; }
    81.3% { opacity: 1; }
    81.5% { opacity: 0.8; }
    82%  { opacity: 1; }
}

/* ---- Glow pulse — intense blurple supernova ---- */
@keyframes botGlowPulse {
    0%, 100% {
        text-shadow:
            0 1px 0 #5a66e8, 0 2px 0 #5460e0, 0 3px 0 #4e5ad8, 0 4px 0 #4854d0,
            0 5px 0 #424ec8, 0 6px 0 #3c48c0, 0 7px 0 #3642b8, 0 8px 0 #303cb0,
            0 9px 0 #2a36a8, 0 10px 0 #2430a0, 0 11px 0 #1e2a98, 0 12px 0 #182490,
            0 13px 0 #121e88, 0 14px 0 #0c1880,
            0 16px 25px rgba(54, 25, 253, 0.5),
            0 0 40px rgba(88, 101, 242, 0.6),
            0 0 80px rgba(88, 101, 242, 0.35),
            0 0 140px rgba(54, 25, 253, 0.15);
        color: var(--blurple-light);
        filter: brightness(1);
    }
    25% {
        text-shadow:
            0 1px 0 #7a86ff, 0 2px 0 #7480f8, 0 3px 0 #6e7af0, 0 4px 0 #6874e8,
            0 5px 0 #626ee0, 0 6px 0 #5c68d8, 0 7px 0 #5662d0, 0 8px 0 #505cc8,
            0 9px 0 #4a56c0, 0 10px 0 #4450b8, 0 11px 0 #3e4ab0, 0 12px 0 #3844a8,
            0 13px 0 #323ea0, 0 14px 0 #2c3898,
            0 16px 40px rgba(54, 25, 253, 0.85),
            0 0 70px rgba(88, 101, 242, 0.95),
            0 0 140px rgba(88, 101, 242, 0.6),
            0 0 250px rgba(54, 25, 253, 0.35),
            0 0 400px rgba(88, 101, 242, 0.12);
        color: #adb8ff;
        filter: brightness(1.35);
    }
    50% {
        text-shadow:
            0 1px 0 #5a66e8, 0 2px 0 #5460e0, 0 3px 0 #4e5ad8, 0 4px 0 #4854d0,
            0 5px 0 #424ec8, 0 6px 0 #3c48c0, 0 7px 0 #3642b8, 0 8px 0 #303cb0,
            0 9px 0 #2a36a8, 0 10px 0 #2430a0, 0 11px 0 #1e2a98, 0 12px 0 #182490,
            0 13px 0 #121e88, 0 14px 0 #0c1880,
            0 16px 30px rgba(54, 25, 253, 0.6),
            0 0 50px rgba(88, 101, 242, 0.7),
            0 0 100px rgba(88, 101, 242, 0.4),
            0 0 160px rgba(54, 25, 253, 0.2);
        color: var(--blurple-light);
        filter: brightness(1.05);
    }
    75% {
        text-shadow:
            0 1px 0 #6a76f8, 0 2px 0 #6470f0, 0 3px 0 #5e6ae8, 0 4px 0 #5864e0,
            0 5px 0 #525ed8, 0 6px 0 #4c58d0, 0 7px 0 #4652c8, 0 8px 0 #404cc0,
            0 9px 0 #3a46b8, 0 10px 0 #3440b0, 0 11px 0 #2e3aa8, 0 12px 0 #2834a0,
            0 13px 0 #222e98, 0 14px 0 #1c2890,
            0 16px 45px rgba(54, 25, 253, 0.9),
            0 0 80px rgba(88, 101, 242, 1),
            0 0 160px rgba(88, 101, 242, 0.65),
            0 0 280px rgba(54, 25, 253, 0.4),
            0 0 450px rgba(88, 101, 242, 0.15);
        color: #bfc8ff;
        filter: brightness(1.4);
    }
}

/* ---- Glitch top — chaotic rapid-fire bursts ---- */
@keyframes botGlitchTop {
    0%, 100% { opacity: 0; clip-path: inset(0); transform: none; }
    /* Burst 1 — quick double tap */
    2%   { opacity: 1; clip-path: inset(0 0 65% 0); transform: translate(-8px, -2px) skewX(-6deg); }
    3%   { opacity: 0.4; clip-path: inset(20% 0 50% 0); transform: translate(4px, 0); }
    4%   { opacity: 0; }
    /* Burst 2 — wide slice */
    10%  { opacity: 0.95; clip-path: inset(15% 0 30% 0); transform: translate(10px, 0) skewX(5deg); }
    11.5% { opacity: 1; clip-path: inset(5% 0 80% 0); transform: translate(-12px, -1px) skewX(-8deg); }
    12.5% { opacity: 0; }
    /* Burst 3 — stutter */
    20%  { opacity: 0.8; clip-path: inset(40% 0 20% 0); transform: translate(-6px, 2px) skewX(-3deg); }
    20.8% { opacity: 0; }
    21%  { opacity: 1; clip-path: inset(0 0 70% 0); transform: translate(8px, -3px) skewX(7deg); }
    22%  { opacity: 0; }
    /* Burst 4 — flash full width */
    30%  { opacity: 0.9; clip-path: inset(10% 0 10% 0); transform: translate(-15px, 0) scaleX(1.02); }
    31%  { opacity: 0; }
    /* Burst 5 — thin slicer */
    42%  { opacity: 1; clip-path: inset(45% 0 45% 0); transform: translate(6px, 1px); }
    42.8% { opacity: 0.6; clip-path: inset(0 0 85% 0); transform: translate(-10px, -2px) skewX(-10deg); }
    43.5% { opacity: 0; }
    /* Burst 6 — mega glitch */
    55%  { opacity: 1; clip-path: inset(5% 0 40% 0); transform: translate(14px, -1px) skewX(6deg) scaleY(1.05); }
    55.5% { opacity: 0.3; clip-path: inset(60% 0 5% 0); transform: translate(-8px, 3px) skewX(-4deg); }
    56.5% { opacity: 0; }
    /* Burst 7 — triple tap */
    66%  { opacity: 0.85; clip-path: inset(25% 0 55% 0); transform: translate(-5px, 0) skewX(-2deg); }
    66.5% { opacity: 0; }
    67%  { opacity: 1; clip-path: inset(0 0 75% 0); transform: translate(11px, -2px) skewX(9deg); }
    67.5% { opacity: 0; }
    68%  { opacity: 0.7; clip-path: inset(50% 0 20% 0); transform: translate(-7px, 1px); }
    68.5% { opacity: 0; }
    /* Burst 8 */
    78%  { opacity: 0.9; clip-path: inset(8% 0 60% 0); transform: translate(9px, -1px) skewX(4deg); }
    79%  { opacity: 0; }
    /* Burst 9 — aggressive sweep */
    88%  { opacity: 1; clip-path: inset(30% 0 15% 0); transform: translate(-12px, 2px) skewX(-7deg) scaleX(1.03); }
    88.8% { opacity: 0.5; clip-path: inset(0 0 55% 0); transform: translate(6px, -3px); }
    89.5% { opacity: 0; }
    /* Burst 10 — final stutter */
    95%  { opacity: 0.9; clip-path: inset(55% 0 10% 0); transform: translate(7px, 1px) skewX(3deg); }
    95.5% { opacity: 0; }
    96%  { opacity: 0.6; clip-path: inset(15% 0 65% 0); transform: translate(-4px, -1px); }
    96.5% { opacity: 0; }
}

/* ---- Glitch bottom — desynchronized chaos ---- */
@keyframes botGlitchBottom {
    0%, 100% { opacity: 0; clip-path: inset(0); transform: none; }
    /* Burst 1 */
    5%   { opacity: 0.85; clip-path: inset(55% 0 5% 0); transform: translate(7px, 3px) skewX(4deg); }
    6%   { opacity: 1; clip-path: inset(10% 0 70% 0); transform: translate(-9px, -1px) skewX(-5deg); }
    7%   { opacity: 0; }
    /* Burst 2 — jittery */
    14%  { opacity: 0.9; clip-path: inset(35% 0 35% 0); transform: translate(-11px, 0) skewX(-6deg); }
    14.5% { opacity: 0; }
    15%  { opacity: 1; clip-path: inset(60% 0 10% 0); transform: translate(13px, 2px) skewX(8deg); }
    16%  { opacity: 0; }
    /* Burst 3 */
    24%  { opacity: 0.75; clip-path: inset(0 0 50% 0); transform: translate(5px, -2px) scaleX(1.04); }
    25%  { opacity: 0; }
    /* Burst 4 — wide sweep */
    34%  { opacity: 1; clip-path: inset(20% 0 20% 0); transform: translate(-14px, 1px) skewX(-9deg); }
    34.8% { opacity: 0.4; clip-path: inset(70% 0 0 0); transform: translate(8px, 3px); }
    35.5% { opacity: 0; }
    /* Burst 5 */
    45%  { opacity: 0.95; clip-path: inset(40% 0 30% 0); transform: translate(6px, -1px) skewX(3deg); }
    45.5% { opacity: 0; }
    46%  { opacity: 0.7; clip-path: inset(5% 0 75% 0); transform: translate(-8px, 0) skewX(-4deg); }
    46.5% { opacity: 0; }
    /* Burst 6 — mega corrupt */
    58%  { opacity: 1; clip-path: inset(15% 0 25% 0); transform: translate(-16px, -2px) skewX(-11deg) scaleY(1.06); }
    58.5% { opacity: 0.3; }
    59%  { opacity: 1; clip-path: inset(50% 0 15% 0); transform: translate(10px, 2px) skewX(5deg); }
    60%  { opacity: 0; }
    /* Burst 7 */
    70%  { opacity: 0.8; clip-path: inset(30% 0 40% 0); transform: translate(9px, 0) skewX(6deg); }
    70.8% { opacity: 0; }
    71%  { opacity: 1; clip-path: inset(65% 0 5% 0); transform: translate(-7px, 3px) skewX(-3deg); }
    72%  { opacity: 0; }
    /* Burst 8 — hard corruption */
    82%  { opacity: 0.95; clip-path: inset(8% 0 55% 0); transform: translate(12px, -2px) skewX(7deg) scaleX(1.05); }
    82.5% { opacity: 0; }
    83%  { opacity: 0.6; clip-path: inset(45% 0 15% 0); transform: translate(-10px, 1px); }
    83.5% { opacity: 0; }
    /* Burst 9 */
    93%  { opacity: 1; clip-path: inset(25% 0 50% 0); transform: translate(5px, -1px) skewX(4deg); }
    93.5% { opacity: 0.7; clip-path: inset(75% 0 0 0); transform: translate(-6px, 2px); }
    94.5% { opacity: 0; }
}

/* ---------- Hero Version Badge ---------- */
.hero-version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--blurple-light);
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(88, 101, 242, 0.15); }
    50% { box-shadow: 0 0 20px rgba(88, 101, 242, 0.35), 0 0 40px rgba(88, 101, 242, 0.1); }
}

/* ---------- Hero Logo Hover Glow (gold) ---------- */
.hero-logo:hover .hero-logo-gradient {
    filter:
        drop-shadow(0 0 32px rgba(255, 215, 0, 1))
        drop-shadow(0 0 80px rgba(220, 160, 0, 0.8))
        drop-shadow(0 0 160px rgba(200, 130, 0, 0.4));
    transform: translateX(-50%) translateY(-14px) scale(1.07);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.hero-logo:hover .hero-logo-glow {
    width: 660px;
    height: 660px;
    background: radial-gradient(
        circle,
        rgba(255, 200, 0, 0.45) 0%,
        rgba(200, 130, 0, 0.22) 32%,
        transparent 65%
    );
    transition: all 0.4s ease;
}

.hero-logo:hover .hero-logo-ring {
    border-color: rgba(255, 200, 0, 0.55);
    animation-duration: 8s;
    transition: border-color 0.4s ease;
}

/* ---------- Stat Suffix (+) ---------- */
.stat-suffix {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blurple);
    vertical-align: super;
    margin-left: -4px;
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
    animation: suffix-pulse 2.5s ease-in-out infinite;
}

@keyframes suffix-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 2px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    margin-bottom: 48px;
    width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--blurple-light);
    text-shadow: 0 0 30px rgba(88, 101, 242, 0.6), 0 0 80px rgba(88, 101, 242, 0.2);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--border-glow), transparent);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-content);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 2s;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--blurple);
    border-bottom: 2px solid var(--blurple);
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
    opacity: 0.5;
}

/* ---------- Features Section ---------- */
.features {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(88, 101, 242, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(54, 25, 253, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    /* backdrop-filter supprimé — fond quasi-opaque, blur invisible mais coûteux ×12 cards */
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    will-change: transform;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(88, 101, 242, 0.3);
    box-shadow: var(--shadow-card), 0 0 60px rgba(88, 101, 242, 0.1);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Category-specific border colors */
.feature-card[data-category="moderation"]:hover {
    border-color: rgba(88, 101, 242, 0.3);
}

.feature-card[data-category="security"]:hover {
    border-color: rgba(54, 25, 253, 0.3);
    box-shadow: var(--shadow-card), 0 0 40px rgba(54, 25, 253, 0.1);
}

.feature-card[data-category="security"]::before {
    background: linear-gradient(135deg, #3619fd, #5865F2);
}

.feature-card[data-category="automation"]:hover {
    border-color: rgba(123, 140, 255, 0.3);
}

.feature-card[data-category="automation"]::before {
    background: linear-gradient(135deg, #5864f2, #7B8CFF);
}

.feature-card[data-category="tools"]:hover {
    border-color: rgba(88, 101, 242, 0.3);
}

.feature-card[data-category="tools"]::before {
    background: linear-gradient(135deg, #5865F2, #7B8CFF);
}

.feature-card-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, var(--blurple) 80%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.feature-card:hover .feature-card-border {
    opacity: 1;
    animation: rotate-border 3s linear infinite;
}

.feature-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(88, 101, 242, 0.03) 45%,
        rgba(88, 101, 242, 0.06) 50%,
        rgba(88, 101, 242, 0.03) 55%,
        transparent 60%
    );
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.feature-card:hover .feature-card-shine {
    transform: rotate(45deg) translateY(-100%);
}

.feature-icon {
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blurple-light);
    filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.3));
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    background: rgba(88, 101, 242, 0.12);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.feature-badge.badge-new {
    background: rgba(54, 25, 253, 0.1);
    color: var(--blurple-light);
    border-color: rgba(54, 25, 253, 0.25);
}

.feature-badge.badge-premium {
    background: rgba(88, 101, 242, 0.12);
    color: var(--blurple-light);
    border-color: rgba(88, 101, 242, 0.2);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ---------- Commands Section ---------- */
.commands {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(54, 25, 253, 0.04) 0%, transparent 40%),
        var(--bg-secondary);
}

/* ---- Commands Preview (index.html teaser) ---- */
.commands-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.cmd-category-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 24px 20px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.cmd-category-card:hover {
    border-color: rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.05);
    transform: translateY(-3px);
}

.cmd-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.cmd-cat-header svg {
    color: var(--cyan);
    flex-shrink: 0;
}

.cmd-cat-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    flex: 1;
}

.cmd-cat-count {
    background: rgba(88, 101, 242, 0.2);
    color: var(--blurple-light);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.cmd-cat-examples {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmd-cat-examples li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cmd-cat-examples li code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    background: rgba(0, 210, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.commands-preview-cta {
    text-align: center;
    padding-top: 8px;
}

.commands-preview-hint {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted, rgba(255,255,255,0.35));
    letter-spacing: 0.5px;
}

.commands-search {
    margin-bottom: 32px;
    display: block !important;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 14px 80px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-normal);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    border-color: var(--blurple);
    box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.12), 0 0 30px rgba(88, 101, 242, 0.1);
}

.search-shortcut {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-primary);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.commands-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    border: none !important;
    box-shadow: none !important;
}

.commands-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover {
    border-color: rgba(88, 101, 242, 0.3);
    color: var(--text-primary);
    background: rgba(88, 101, 242, 0.05);
}

.tab-btn.active {
    background: rgba(88, 101, 242, 0.15);
    border-color: var(--blurple);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.12), inset 0 0 15px rgba(88, 101, 242, 0.05);
}

.tab-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--text-muted);
}

.tab-btn.active .tab-count {
    background: rgba(88, 101, 242, 0.2);
    color: var(--blurple-light);
}

.commands-list {
    display: grid !important;
    gap: 12px;
}

.command-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.command-item:hover {
    border-color: rgba(88, 101, 242, 0.2);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 25px rgba(88, 101, 242, 0.06);
}

.command-item.hidden {
    display: none;
}

.command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.command-syntax {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blurple-light);
    background: rgba(88, 101, 242, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(88, 101, 242, 0.12);
    text-shadow: 0 0 8px rgba(88, 101, 242, 0.2);
}

.command-permission {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.perm-all {
    background: rgba(67, 181, 129, 0.1);
    color: #43B581;
    border: 1px solid rgba(67, 181, 129, 0.2);
}

.perm-mod {
    background: rgba(88, 101, 242, 0.1);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.perm-admin {
    background: rgba(54, 25, 253, 0.1);
    color: #8B7BFF;
    border: 1px solid rgba(54, 25, 253, 0.2);
}

.perm-owner {
    background: rgba(247, 226, 45, 0.08);
    color: var(--yellow);
    border: 1px solid rgba(247, 226, 45, 0.2);
}

.command-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.command-params {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.param {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    background: rgba(88, 101, 242, 0.04);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.param-name {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 500;
}

.param-type {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.commands-empty {
    display: none;
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-icon {
    margin-bottom: 16px;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    color: var(--text-muted);
}

/* ---------- Security Section ---------- */
.security {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(54, 25, 253, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 50%, rgba(88, 101, 242, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(88, 101, 242, 0.03) 0%, transparent 35%),
        linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.security-dashboard {
    position: relative;
    z-index: 2;
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.security-stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.security-stat-card:hover {
    border-color: rgba(88, 101, 242, 0.3);
    box-shadow: var(--glow-blurple);
    transform: translateY(-6px);
}

.security-stat-card .stat-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    color: var(--blurple-light);
    filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.3));
}

/* Stat-card animated icons */
.icon-pulse {
    animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.3)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 14px rgba(88, 101, 242, 0.6)); }
}

.icon-radar {
    animation: iconRadar 3s linear infinite;
}

@keyframes iconRadar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.icon-escalate {
    animation: iconEscalate 2s ease-in-out infinite;
}

@keyframes iconEscalate {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
    50% { transform: translateY(-4px) scale(1.1); opacity: 1; }
}

.security-stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blurple-light);
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    display: block;
    margin-bottom: 6px;
}

.security-stat-card .stat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.security-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.security-feature:hover {
    border-color: rgba(88, 101, 242, 0.2);
    background: var(--bg-card-hover);
    transform: translateX(6px);
    box-shadow: -6px 0 30px rgba(88, 101, 242, 0.1);
}

.sf-icon {
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blurple-light);
    filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.25));
}

.sf-content {
    flex: 1;
}

.sf-content h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.sf-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.sf-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.sf-status.active {
    background: rgba(88, 101, 242, 0.1);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.2);
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.15);
    padding-left: 22px;
}

/* ---------- Tech Section ---------- */
.tech {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(88, 101, 242, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 10% 20%, rgba(54, 25, 253, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.tech-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(88, 101, 242, 0.25);
    box-shadow: var(--shadow-card), 0 0 50px rgba(88, 101, 242, 0.1);
}

.tech-logo {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    opacity: 0.9;
}

.tech-logo svg {
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.tech-card:hover .tech-logo svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.3));
}

.tech-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tech-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.tech-version {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--blurple-light);
    background: rgba(88, 101, 242, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* ---------- Footer ---------- */
.footer {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(88, 101, 242, 0.04) 0%, transparent 50%),
        var(--bg-secondary);
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid var(--border-glow);
}

.footer-glow {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blurple), transparent);
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.4), 0 0 80px rgba(88, 101, 242, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(88, 101, 242, 0.5))
        drop-shadow(0 0 16px rgba(54, 25, 253, 0.3));
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast), text-shadow var(--transition-normal);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-version {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    opacity: 0.6;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blurple-light);
    cursor: pointer;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(88, 101, 242, 0.1);
    box-shadow: var(--glow-blurple);
    transform: translateY(-2px);
}

/* ---------- Focus Visible (WCAG 2.4.7 / 2.4.13) ---------- */
:focus-visible {
    outline: 2px solid var(--blurple-light);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.5);
}

.nav-link:focus-visible {
    outline: 2px solid var(--blurple-light);
    outline-offset: 4px;
}

.nav-hamburger:focus-visible {
    outline: 2px solid var(--blurple-light);
    outline-offset: 4px;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--blurple-light);
    outline-offset: 3px;
    opacity: 1;
    visibility: visible;
}

.tab-btn:focus-visible {
    outline: 2px solid var(--blurple-light);
    outline-offset: 2px;
}

.search-input:focus-visible {
    outline: none;
    border-color: var(--blurple);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3);
}

/* ==================== 404 ERROR PAGE ==================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.error-container {
    max-width: 480px;
}

.error-code {
    font-family: 'Orbitron', monospace;
    font-size: clamp(80px, 20vw, 160px);
    font-weight: 900;
    color: var(--accent-primary, #5865F2);
    line-height: 1;
    margin-bottom: 16px;
}

.error-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(20px, 5vw, 32px);
    color: var(--text-primary, #ffffff);
    margin-bottom: 16px;
}

.error-desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    color: var(--text-muted, #8e9297);
    margin-bottom: 40px;
}

/* ============================================
   UX POLISH — Human-crafted details
   ============================================ */


/* ---------- Feature Card — Category Distinct Colors ---------- */

/* Moderation — Emerald Green */
.feature-card[data-category="moderation"]::before {
    background: linear-gradient(135deg, #43B581, #3aa870);
}
.feature-card[data-category="moderation"]:hover {
    border-color: rgba(67, 181, 129, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(67, 181, 129, 0.08);
}
.feature-card[data-category="moderation"]:hover .feature-icon {
    color: #43B581;
    filter: drop-shadow(0 0 8px rgba(67, 181, 129, 0.5));
}
.feature-card[data-category="moderation"]:hover .feature-card-border {
    background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, #43B581 80%, transparent 100%);
}

/* Security — Red */
.feature-card[data-category="security"]::before {
    background: linear-gradient(135deg, #ED4245, #c73336);
}
.feature-card[data-category="security"]:hover {
    border-color: rgba(237, 66, 69, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(237, 66, 69, 0.08);
}
.feature-card[data-category="security"]:hover .feature-icon {
    color: #ED4245;
    filter: drop-shadow(0 0 8px rgba(237, 66, 69, 0.5));
}
.feature-card[data-category="security"]:hover .feature-card-border {
    background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, #ED4245 80%, transparent 100%);
}

/* Automation — Cyan */
.feature-card[data-category="automation"]::before {
    background: linear-gradient(135deg, #00B0F4, #0095d0);
}
.feature-card[data-category="automation"]:hover {
    border-color: rgba(0, 176, 244, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 176, 244, 0.08);
}
.feature-card[data-category="automation"]:hover .feature-icon {
    color: #00B0F4;
    filter: drop-shadow(0 0 8px rgba(0, 176, 244, 0.5));
}
.feature-card[data-category="automation"]:hover .feature-card-border {
    background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, #00B0F4 80%, transparent 100%);
}

/* Tools — Amber/Yellow */
.feature-card[data-category="tools"]::before {
    background: linear-gradient(135deg, #F7E22D, #e5ce1a);
}
.feature-card[data-category="tools"]:hover {
    border-color: rgba(247, 226, 45, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(247, 226, 45, 0.06);
}
.feature-card[data-category="tools"]:hover .feature-icon {
    color: #F7E22D;
    filter: drop-shadow(0 0 8px rgba(247, 226, 45, 0.45));
}
.feature-card[data-category="tools"]:hover .feature-card-border {
    background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, #F7E22D 80%, transparent 100%);
}

/* ---------- Card Index Numbers ---------- */
.card-idx {
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 2px;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
    line-height: 1;
}

.feature-card:hover .card-idx {
    color: rgba(255, 255, 255, 0.1);
}

/* ---------- Neon Section Separator ---------- */
.neon-separator {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blurple), var(--blurple-light), var(--blurple), transparent);
    margin: 0;
    overflow: visible;
}

.neon-separator::after {
    content: '';
    position: absolute;
    inset: -4px 20% -4px 20%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.4), rgba(123, 140, 255, 0.3), rgba(88, 101, 242, 0.4), transparent);
    filter: blur(8px);
    animation: neon-sep-pulse 3s ease-in-out infinite;
}

@keyframes neon-sep-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ---------- Scrolling Marquee ---------- */
.features-marquee {
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 18px 0;
    background: rgba(88, 101, 242, 0.015);
    position: relative;
}

.features-marquee::before,
.features-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 10;
    pointer-events: none;
}

.features-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-secondary), transparent);
}

.features-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-secondary), transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.marquee-dot {
    color: var(--blurple);
    opacity: 0.5;
    font-size: 0.55rem;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.features-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* ---------- Command Items — Left Border by Permission ---------- */
.command-item:has(.perm-all) {
    border-left: 2px solid rgba(67, 181, 129, 0.4);
}

.command-item:has(.perm-mod) {
    border-left: 2px solid rgba(88, 101, 242, 0.4);
}

.command-item:has(.perm-admin) {
    border-left: 2px solid rgba(139, 123, 255, 0.4);
}

.command-item:has(.perm-owner) {
    border-left: 2px solid rgba(247, 226, 45, 0.35);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(88, 101, 242, 0.14) 0%, rgba(54, 25, 253, 0.07) 35%, transparent 65%),
        linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-subtle);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(88, 101, 242, 0.18) 0%, rgba(54, 25, 253, 0.06) 40%, transparent 70%);
    pointer-events: none;
    animation: cta-glow-pulse 4s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes cta-glow-pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.cta-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--blurple-light);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: 0.7;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 22px;
    line-height: 1.2;
    color: var(--text-primary);
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 44px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ---------- Footer — Badge Soon ---------- */
.footer-link-disabled {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    opacity: 0.6;
}

.badge-soon {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(88, 101, 242, 0.1);
    color: var(--blurple-light);
    border: 1px solid rgba(88, 101, 242, 0.15);
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.8;
    white-space: nowrap;
}

/* ---------- Section dividers (subtle visual rhythm) ---------- */
.features-grid,
.commands-list,
.security-grid,
.tech-grid {
    position: relative;
}

/* Subtle category-color glow on security stat cards */
.security-stat-card:nth-child(1):hover {
    border-color: rgba(67, 181, 129, 0.3);
    box-shadow: 0 0 30px rgba(67, 181, 129, 0.08);
}

.security-stat-card:nth-child(2):hover {
    border-color: rgba(237, 66, 69, 0.3);
    box-shadow: 0 0 30px rgba(237, 66, 69, 0.08);
}

.security-stat-card:nth-child(3):hover {
    border-color: rgba(0, 176, 244, 0.3);
    box-shadow: 0 0 30px rgba(0, 176, 244, 0.08);
}

.security-stat-card:nth-child(4):hover {
    border-color: rgba(247, 226, 45, 0.25);
    box-shadow: 0 0 30px rgba(247, 226, 45, 0.06);
}

/* ---------- Section tag — animated pulse dot ---------- */
.section-tag::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--blurple-light);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: tag-dot-pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(88, 101, 242, 0.6);
}

@keyframes tag-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- Section line — slightly longer & more visible ---------- */
.section-line {
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 24px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.4);
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--blurple-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blurple);
}

.commands-page-wrap {
    padding-bottom: 80px;
}

/* ============================================================
   PRICING SECTION — CrowGenBot Tarif Exclusif v2
   ============================================================ */

/* ---------- Nav link Tarif — gold pill animé ---------- */
.nav-link-pricing {
    position: relative;
    overflow: hidden;
    color: #1a0c00 !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    padding: 5px 14px 5px 12px !important;
    border-radius: 20px;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: linear-gradient(
        110deg,
        #5c3100 0%, #a86200 10%, #d4920e 22%,
        #f5c842 34%, #fff0a0 48%, #ffe566 56%,
        #f0b800 68%, #c47c00 82%, #5c3100 100%
    );
    background-size: 250% 100%;
    background-position: 0% 50%;
    border: 1px solid rgba(255,215,0,0.55);
    box-shadow:
        0 2px 14px rgba(200,138,0,0.35),
        0 0 28px rgba(255,200,0,0.12);
    animation: navGoldShift 4s linear infinite, navGoldGlow 2.6s ease-in-out infinite alternate;
    text-shadow: 0 1px 3px rgba(255,220,100,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-link-pricing::after { display: none !important; }
.nav-link-pricing:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow:
        0 5px 28px rgba(220,160,0,0.65),
        0 0 55px rgba(255,215,0,0.3),
        0 0 12px rgba(255,240,100,0.4) !important;
}
@keyframes navGoldShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes navGoldGlow {
    from {
        box-shadow:
            0 2px 14px rgba(200,138,0,0.3),
            0 0 28px rgba(255,200,0,0.1);
    }
    to {
        box-shadow:
            0 4px 26px rgba(220,160,0,0.58),
            0 0 50px rgba(255,215,0,0.28),
            0 0 8px rgba(255,240,80,0.35);
    }
}

/* Shimmer sweep */
.nav-pricing-shine {
    position: absolute;
    top: -20%; left: -80%;
    width: 42%; height: 140%;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255,255,220,0.52) 50%,
        transparent 80%
    );
    transform: skewX(-18deg);
    animation: navPricingShimmer 2.4s ease-in-out infinite;
    pointer-events: none; z-index: 0;
}
@keyframes navPricingShimmer {
    0%   { left: -80%; opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 170%; opacity: 0; }
}
.nav-pricing-inner {
    position: relative; z-index: 1;
    color: #1a0c00;
}

/* Badge prix */
.nav-pricing-badge {
    position: relative; z-index: 1;
    background: rgba(0,0,0,0.22);
    color: #fffde0;
    font-size: 0.62rem;
    font-weight: 900;
    font-family: var(--font-mono);
    padding: 1px 7px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,140,0.3);
    letter-spacing: 0.3px;
    animation: badgePop 2s ease-in-out infinite;
    text-shadow: none;
    color: #ffe95c;
}
@keyframes badgePop {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50%       { transform: scale(1.12); filter: brightness(1.2); }
}

/* ---------- Section ---------- */
.pricing-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0 140px;
}
.pricing-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(88,101,242,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88,101,242,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.pricing-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    animation: pricingOrbFloat 9s ease-in-out infinite alternate;
}
.pricing-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(54,25,253,0.14) 0%, transparent 70%);
    top: -140px; right: -200px;
}
.pricing-orb-2 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(247,226,45,0.06) 0%, transparent 70%);
    bottom: -100px; left: -120px;
    animation-delay: -4.5s;
}
@keyframes pricingOrbFloat {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(24px,-36px) scale(1.06); }
}

/* ---------- Centrage global ---------- */
.pricing-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    position: relative;
}

/* ---------- Badge urgence ---------- */
.pricing-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(247,226,45,0.07);
    border: 1px solid rgba(247,226,45,0.3);
    color: var(--yellow);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding: 7px 22px;
    border-radius: 30px;
    margin-bottom: 24px;
    box-shadow: 0 0 24px rgba(247,226,45,0.08), inset 0 0 12px rgba(247,226,45,0.04);
    animation: urgencyPulse 2.5s ease-in-out infinite;
}
.pricing-urgency-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow), 0 0 16px rgba(247,226,45,0.4);
    animation: dotBlink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes urgencyPulse {
    0%,100% { box-shadow: 0 0 24px rgba(247,226,45,0.08); }
    50%      { box-shadow: 0 0 40px rgba(247,226,45,0.22); }
}
@keyframes dotBlink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.15; }
}

/* ---------- Carte principale ---------- */
.pricing-card {
    position: relative;
    background: linear-gradient(145deg, rgba(10,10,28,0.97) 0%, rgba(6,6,20,0.99) 100%);
    border: 1px solid rgba(88,101,242,0.22);
    border-radius: 28px;
    width: 100%;
    max-width: 980px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(88,101,242,0.06),
        0 24px 80px rgba(0,0,0,0.65),
        0 0 100px rgba(54,25,253,0.1),
        inset 0 1px 0 rgba(255,255,255,0.035);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(247,226,45,0.18);
    box-shadow:
        0 0 0 1px rgba(247,226,45,0.1),
        0 32px 100px rgba(0,0,0,0.7),
        0 0 120px rgba(54,25,253,0.18),
        0 0 50px rgba(247,226,45,0.05),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Scanlines internes */
.pricing-card-scan {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(88,101,242,0.012) 3px, rgba(88,101,242,0.012) 4px
    );
    pointer-events: none; border-radius: 28px;
}
/* Bordure top animée */
.pricing-card-border-anim {
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--blurple) 30%, var(--yellow) 50%, var(--blurple) 70%, transparent 100%);
    background-size: 200% 100%;
    animation: borderSlide 3.5s linear infinite;
    border-radius: 28px 28px 0 0;
}
@keyframes borderSlide {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
/* Coins cyberpunk */
.pricing-corner {
    position: absolute; width: 18px; height: 18px;
    border-color: rgba(247,226,45,0.5); border-style: solid; opacity: 0.7;
    transition: opacity 0.3s ease;
}
.pricing-card:hover .pricing-corner { opacity: 1; }
.pricing-corner-tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.pricing-corner-tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.pricing-corner-bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.pricing-corner-br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }

/* ---------- Layout interne 2 colonnes ---------- */
.pricing-card-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* ---------- Colonne gauche ---------- */
.pricing-card-left {
    padding: 48px 40px 48px 52px;
    border-right: 1px solid rgba(88,101,242,0.1);
    display: flex;
    flex-direction: column;
}

/* Badge plan */
.pricing-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--yellow);
    background: rgba(247,226,45,0.06);
    border: 1px solid rgba(247,226,45,0.18);
    padding: 5px 14px 5px 10px;
    border-radius: 4px;
    margin-bottom: 18px;
    width: fit-content;
    text-transform: uppercase;
}
.pricing-plan-badge-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 6px var(--yellow);
    flex-shrink: 0;
}

.pricing-plan-name {
    font-family: var(--font-hero);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 8px;
    letter-spacing: 2px;
    line-height: 1;
}
.pricing-plan-tagline {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0 0 28px;
    line-height: 1.5;
}

/* Séparateur */
.pricing-divider {
    position: relative; text-align: left; margin-bottom: 24px;
}
.pricing-divider::before {
    content: '';
    position: absolute; top: 50%; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, rgba(88,101,242,0.25), rgba(247,226,45,0.15), transparent);
}
.pricing-divider-text {
    position: relative;
    background: rgba(10,10,28,0.97);
    padding-right: 14px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Features */
.pricing-features {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 11px;
    flex: 1;
}
.pricing-feature {
    display: flex; align-items: flex-start; gap: 12px;
    font-family: var(--font-body); font-size: 0.875rem;
    color: var(--text-secondary); line-height: 1.5;
    transition: color 0.2s ease;
}
.pricing-feature:hover { color: var(--text-primary); }
.pricing-feature strong { color: var(--text-primary); font-weight: 600; }
.pf-check {
    color: var(--yellow); font-size: 0.7rem;
    margin-top: 3px; flex-shrink: 0;
    text-shadow: 0 0 10px rgba(247,226,45,0.5);
    animation: checkPulse 2.2s ease-in-out infinite alternate;
}
@keyframes checkPulse {
    from { text-shadow: 0 0 6px rgba(247,226,45,0.3); }
    to   { text-shadow: 0 0 16px rgba(247,226,45,0.85); }
}

/* ---------- Colonne droite ---------- */
.pricing-card-right {
    padding: 48px 52px 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Prix */
.pricing-price-block {
    text-align: center;
}
.pricing-old-price {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 10px;
}
.pricing-old-amount {
    font-family: var(--font-body); font-size: 1.2rem; font-weight: 600;
    color: var(--text-muted); text-decoration: line-through;
    text-decoration-color: rgba(255,80,80,0.5); opacity: 0.65;
}
.pricing-old-label {
    font-family: var(--font-mono); font-size: 0.65rem;
    color: var(--text-muted); opacity: 0.55; letter-spacing: 1px;
}
.pricing-main-price {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 2px; line-height: 1; margin-bottom: 6px;
    position: relative;
}
.pricing-currency {
    font-family: var(--font-hero); font-size: 2rem; font-weight: 700;
    padding-top: 12px;
    background: linear-gradient(160deg, #ffe17a 0%, #ffd700 25%, #ffb300 50%, #ffd700 75%, #ffe17a 100%);
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: priceGoldSweep 3s linear infinite;
    filter: drop-shadow(0 0 12px rgba(255,180,0,0.55));
}
.pricing-amount {
    font-family: var(--font-hero); font-size: 7.5rem; font-weight: 900;
    line-height: 1;
    background: linear-gradient(160deg, #ffe17a 0%, #ffd700 20%, #cc8800 45%, #ffd700 70%, #ffe17a 100%);
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: priceGoldSweep 3s linear infinite, priceGlowGold 3s ease-in-out infinite alternate;
}
@keyframes priceGoldSweep {
    0%   { background-position: 0% center; }
    100% { background-position: 300% center; }
}
@keyframes priceGlowGold {
    from { filter: drop-shadow(0 0 18px rgba(255,180,0,0.45)) drop-shadow(0 0 40px rgba(255,150,0,0.18)); }
    to   { filter: drop-shadow(0 0 36px rgba(255,200,0,0.75)) drop-shadow(0 0 70px rgba(255,150,0,0.35)); }
}
.pricing-once-label {
    font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; color: var(--yellow);
    text-shadow: 0 0 10px rgba(247,226,45,0.35); margin-bottom: 12px;
}
.pricing-saving {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
    color: var(--green);
    background: rgba(67,181,129,0.07); border: 1px solid rgba(67,181,129,0.18);
    padding: 6px 16px; border-radius: 20px;
}
.pricing-saving strong { color: var(--green); }

/* ---------- PayPal block ---------- */
.pricing-payment-block {
    display: flex; flex-direction: column; gap: 14px;
    background: rgba(0,48,135,0.08);
    border: 1px solid rgba(0,112,186,0.2);
    border-radius: 16px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
}
.pricing-payment-block::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,112,186,0.4), transparent);
}
.pricing-payment-label {
    display: flex; align-items: center; gap: 7px;
    font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
    letter-spacing: 2px; color: rgba(120,160,255,0.7);
    text-transform: uppercase;
}

.pricing-paypal-box {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
}
.paypal-logo {
    height: 28px; width: auto; flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0,48,135,0.3));
}
.paypal-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
    color: #ffd700;
    background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.2);
    padding: 5px 12px; border-radius: 20px; letter-spacing: 0.5px;
    white-space: nowrap;
}
.pricing-payment-info {
    font-family: var(--font-body); font-size: 0.78rem;
    color: var(--text-secondary); line-height: 1.6; margin: 0;
}
.pricing-payment-info strong { color: var(--text-primary); }
.pricing-payment-info em { color: var(--yellow); font-style: normal; font-weight: 600; }

/* ---------- CTA button (base) ---------- */
.pricing-cta-btn {
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--blurple-dark) 0%, var(--blurple) 50%, var(--blurple-light) 100%);
    background-size: 200% 100%; background-position: 0% 50%;
    color: #fff; text-decoration: none; cursor: pointer;
    font-family: var(--font-body); font-size: 1rem; font-weight: 700;
    letter-spacing: 1px;
    padding: 18px 28px; border-radius: 14px;
    border: 1px solid rgba(88,101,242,0.4);
    transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 24px rgba(88,101,242,0.3), 0 0 40px rgba(88,101,242,0.1);
}

/* GOLD PREMIUM override */
.pricing-cta-gold {
    background: linear-gradient(
        105deg,
        #5c3500 0%,
        #a86200 8%,
        #d4920e 18%,
        #f5c842 30%,
        #ffe680 42%,
        #fff4b0 50%,
        #ffe066 58%,
        #f0b800 70%,
        #c47c00 82%,
        #8a5000 92%,
        #5c3500 100%
    ) !important;
    background-size: 200% 100% !important;
    background-position: 0% 50% !important;
    color: #1a0c00 !important;
    border: 1px solid rgba(255,210,60,0.7) !important;
    box-shadow:
        0 4px 28px rgba(200,140,0,0.45),
        0 0 60px rgba(255,195,0,0.18),
        0 2px 0 rgba(255,240,120,0.3) inset,
        0 -2px 0 rgba(100,50,0,0.3) inset !important;
    text-shadow: 0 1px 3px rgba(255,240,180,0.5);
    animation: goldPulse 3s ease-in-out infinite alternate;
}
.pricing-cta-gold strong {
    color: #1a0c00 !important;
    font-weight: 800;
}
@keyframes goldPulse {
    from {
        box-shadow:
            0 4px 28px rgba(200,140,0,0.4),
            0 0 60px rgba(255,195,0,0.15),
            0 2px 0 rgba(255,240,120,0.3) inset,
            0 -2px 0 rgba(100,50,0,0.3) inset;
    }
    to {
        box-shadow:
            0 6px 40px rgba(220,160,0,0.65),
            0 0 90px rgba(255,210,0,0.3),
            0 2px 0 rgba(255,250,160,0.4) inset,
            0 -2px 0 rgba(80,40,0,0.25) inset;
    }
}
.pricing-cta-gold:hover {
    background-position: 100% 50% !important;
    transform: translateY(-3px) !important;
    box-shadow:
        0 8px 48px rgba(220,160,0,0.7),
        0 0 100px rgba(255,210,0,0.35),
        0 0 20px rgba(255,230,80,0.4),
        0 2px 0 rgba(255,255,200,0.5) inset !important;
    border-color: rgba(255,230,80,0.9) !important;
}
.pricing-cta-gold:active { transform: translateY(-1px) !important; }

/* Shimmer doré */
.pricing-cta-gold-shimmer {
    position: absolute;
    top: -10%; left: -80%;
    width: 50%; height: 120%;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255,255,220,0.45) 50%,
        transparent 80%
    );
    transform: skewX(-18deg);
    animation: goldShimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes goldShimmer {
    0%   { left: -80%; opacity: 0.8; }
    60%  { opacity: 1; }
    100% { left: 160%; opacity: 0; }
}

.pricing-cta-inner {
    display: flex; align-items: center; gap: 10px;
    position: relative; z-index: 1;
}
.pricing-cta-shine {
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.pricing-cta-btn:hover .pricing-cta-shine { left: 160%; }
.pricing-cta-btn:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    border-color: rgba(247,226,45,0.3);
    box-shadow:
        0 6px 32px rgba(88,101,242,0.5),
        0 0 60px rgba(88,101,242,0.2),
        0 0 20px rgba(247,226,45,0.1);
}
.pricing-cta-btn:active { transform: translateY(0); }

/* ---------- Toast copy notification ---------- */
.copy-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #2a1a00, #3d2800);
    border: 1px solid rgba(255,200,50,0.4);
    color: #ffe680;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 30px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 30px rgba(200,140,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}
.copy-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Steps d'achat ---------- */
.pricing-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap;
}
.pricing-step {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 14px;
    background: rgba(88,101,242,0.05); border: 1px solid rgba(88,101,242,0.12);
    border-radius: 10px; min-width: 88px;
    transition: border-color 0.25s, background 0.25s;
}
.pricing-step:hover {
    border-color: rgba(247,226,45,0.2);
    background: rgba(247,226,45,0.04);
}
.pricing-step-num {
    font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
    color: var(--yellow); letter-spacing: 1px; opacity: 0.85;
}
.pricing-step-text {
    font-family: var(--font-body); font-size: 0.72rem; color: var(--text-secondary);
    text-align: center; line-height: 1.3;
}
.pricing-step-arrow {
    font-size: 1.2rem; color: rgba(88,101,242,0.4); font-weight: 300;
    flex-shrink: 0; align-self: center;
}

/* ---------- Stats bar sous la carte ---------- */
.pricing-stats-bar {
    display: flex; align-items: center; justify-content: center;
    gap: 0;
    width: 100%; max-width: 980px;
    margin-top: 0;
    background: rgba(8,8,24,0.7);
    border: 1px solid rgba(88,101,242,0.14);
    border-top: none;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
.pricing-stat-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 22px 0; flex: 1;
    transition: background 0.25s ease;
}
.pricing-stat-item:hover { background: rgba(88,101,242,0.05); }
.pricing-stat-num {
    font-family: var(--font-hero); font-size: 1.6rem; font-weight: 900;
    color: var(--yellow); line-height: 1;
    text-shadow: 0 0 16px rgba(247,226,45,0.3);
}
.pricing-stat-label {
    font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 1.2px;
    color: var(--text-muted); text-transform: uppercase; text-align: center;
}
.pricing-stat-sep {
    width: 1px; align-self: stretch;
    background: rgba(88,101,242,0.12); flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .pricing-card-top {
        grid-template-columns: 1fr;
    }
    .pricing-card-left {
        padding: 40px 32px 32px;
        border-right: none;
        border-bottom: 1px solid rgba(88,101,242,0.1);
    }
    .pricing-card-right {
        padding: 32px 32px 40px;
    }
    .pricing-stats-bar {
        flex-wrap: wrap; border-radius: 0 0 16px 16px;
    }
    .pricing-stat-item { min-width: 40%; padding: 18px 0; }
    .pricing-stat-sep { display: none; }
}
@media (max-width: 520px) {
    .pricing-card { border-radius: 20px; }
    .pricing-card-left { padding: 32px 24px 24px; }
    .pricing-card-right { padding: 24px 24px 36px; }
    .pricing-amount { font-size: 5.5rem; }
    .pricing-steps { gap: 4px; }
    .pricing-step { min-width: 76px; padding: 8px 10px; }
    .pricing-stat-item { min-width: 45%; }
}
