/* ============================================
   BOOTCAMP CODIR — Styles dédiés
   Page dark full-screen, design Insuffle
   ============================================ */


/* ── PAGE-LEVEL PROTECTION — beat parent theme .bg-white rules ── */
.bcc-page {
    background-color: #02040a !important;
    color: #F8FAFC !important;
}
.bcc-page h1,
.bcc-page h2,
.bcc-page h3,
.bcc-page h4,
.bcc-page p,
.bcc-page span,
.bcc-page blockquote,
.bcc-page a,
.bcc-page li,
.bcc-page label,
.bcc-page div,
.bcc-page button {
    color: inherit !important;
}
/* Restore specific Tailwind colors inside bcc-page */
.bcc-page .text-slate-400 { color: #94a3b8 !important; }
.bcc-page .text-slate-50 { color: #F8FAFC !important; }
.bcc-page .text-brand-accent { color: #ffde59 !important; }
.bcc-page .text-brand-dark { color: #02040a !important; }
.bcc-page .text-red-400 { color: #f87171 !important; }
.bcc-page .text-green-400 { color: #4ade80 !important; }
.bcc-page .text-blue-500 { color: #3b82f6 !important; }
.bcc-page .text-white { color: #ffffff !important; }
.bcc-page .bcc-gradient-text {
    background: linear-gradient(90deg, #ffde59, #fbbf24, #ffde59) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}
.bcc-page .text-\[\#02040a\]\/40 { color: rgba(2, 4, 10, 0.4) !important; }


/* ── NOISE TEXTURE ── */
.bcc-noise::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}


/* ── GRID BACKGROUND ── */
.bcc-grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}


/* ── LABELS ── */
.bcc-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}


/* ── ANIMATIONS ── */
@keyframes bcc-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}
@keyframes bcc-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
@keyframes bcc-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ── CARDS ── */
.bcc-card {
    background: #0c1629;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.bcc-card:hover {
    border-color: rgba(255,222,89,0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.bcc-glass {
    background: rgba(12, 22, 41, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
}


/* ── SCROLL REVEAL ── */
.bcc-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.bcc-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Fallback if JS fails */
.bcc-anim-fallback .bcc-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


/* ── GLOW BUTTON ── */
.bcc-btn-glow {
    position: relative;
    overflow: hidden;
}
.bcc-btn-glow::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #ffde59, #fbbf24, #ffde59, #fbbf24);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.bcc-btn-glow:hover::before {
    opacity: 1;
}


/* ── FAQ ACCORDION ── */
.bcc-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.bcc-faq-content.open {
    max-height: 500px;
    padding-top: 1rem;
}
.bcc-faq-icon {
    transition: transform 0.3s ease;
}
.bcc-faq-icon.open {
    transform: rotate(45deg);
}


/* ── MARQUEE ── */
.bcc-marquee-track {
    animation: bcc-marquee 25s linear infinite;
}
.bcc-marquee-track:hover {
    animation-play-state: paused;
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .bcc-page h1 {
        font-size: 3rem !important;
    }
}


/* ── PRINT ── */
@media print {
    .bcc-noise::before { display: none; }
    .bcc-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .bcc-faq-content {
        max-height: none !important;
        display: block !important;
    }
    section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
