/* ==========================================================================
   CSS - MAINTENANCE & PROFIL (APPLE x IMMERSIF BLEU - ULTIMATE)
   ========================================================================== */

:root {
    --bg-dark: #030406;
    --bg-black-deep: #000000;
    --primary-blue: #0066cc;
    --secondary-cyan: #00b4d8;
    --text-main: #ffffff;
    --text-muted: #8b949e;
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(0, 180, 216, 0.15);
    
    --transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.edge-immersive-wrapper, .edge-immersive-wrapper * { box-sizing: border-box; }

.edge-immersive-wrapper {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   LIGNE DE SCROLL DIGITALE (Tech Thread)
   ========================================== */
.tech-thread-wrapper { position: fixed; top: 0; left: 2vw; width: 2px; height: 100vh; z-index: 9999; pointer-events: none; }
.tech-thread-track { width: 100%; height: 100%; background: rgba(255, 255, 255, 0.05); position: relative; }
.tech-thread-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(to bottom, var(--secondary-cyan), var(--primary-blue)); box-shadow: 0 0 15px var(--secondary-cyan); will-change: height; }
.tech-thread-glow { position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 50%); width: 12px; height: 12px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 20px 8px var(--secondary-cyan); }

/* Halos */
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.15; pointer-events: none; mix-blend-mode: screen; z-index: 0; }
.glow-top-left { width: 60vw; height: 60vw; top: -10%; left: -20%; background: var(--primary-blue); }
.glow-center-right { width: 50vw; height: 50vw; top: 40%; right: -10%; background: var(--secondary-cyan); }
.glow-center-massive { width: 80vw; height: 80vw; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--primary-blue); opacity: 0.1; }

/* Layout Edge-to-Edge */
.fullscreen-edge { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 6rem 0; position: relative; width: 100vw; border-bottom: 1px solid rgba(255,255,255,0.03); }
.bg-black-deep { background-color: var(--bg-black-deep); }
.edge-container { width: 100%; padding: 0 8vw; position: relative; z-index: 2; }

/* Utilitaires */
.relative { position: relative; } .z-10 { z-index: 10; } .overflow-hidden { overflow: hidden; }
.text-center { text-align: center; } .text-left { text-align: left; } .text-muted { color: var(--text-muted); } 
.text-sm { font-size: 0.85rem; } .text-md { font-size: 1.05rem; } .text-lg { font-size: 1.3rem; font-weight: 700; }
.m-0 { margin: 0; } .mx-auto { margin-left: auto; margin-right: auto; }
.justify-start { justify-content: flex-start; } .justify-center { justify-content: center; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3.5rem; } .mt-6 { margin-top: 5rem; } 
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1.2rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 3.5rem; } .mb-6 { margin-bottom: 5rem; } .uppercase { text-transform: uppercase; }

/* Typographie */
.edge-title-massive { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; margin: 0; }
.edge-title-large { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.text-gradient-blue { background: linear-gradient(90deg, var(--secondary-cyan), var(--primary-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-cyan { background: linear-gradient(90deg, #fff, var(--secondary-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-main { color: var(--text-main); }

.edge-desc { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--text-muted); font-weight: 400; line-height: 1.6; }
.edge-desc strong { color: var(--text-main); font-weight: 600; }
.cyber-eyebrow { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary-cyan); display: inline-block; padding: 6px 18px; border: 1px solid var(--glass-border); border-radius: 30px; background: rgba(0, 180, 216, 0.05); }

/* Boutons */
.edge-btn-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.btn-blue-solid { background: linear-gradient(135deg, var(--primary-blue), #004d99); color: #fff !important; padding: 1.2rem 2.8rem; border-radius: 40px; font-weight: 700; font-size: 1.1rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3); transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; }
.btn-blue-solid:hover { transform: scale(1.03); box-shadow: 0 15px 40px rgba(0, 180, 216, 0.5); }
.btn-blue-outline { background-color: transparent; color: var(--text-main) !important; border: 2px solid var(--glass-border); padding: 1.2rem 2.8rem; border-radius: 40px; font-weight: 700; font-size: 1.1rem; text-decoration: none; backdrop-filter: blur(10px); transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; }
.btn-blue-outline:hover { border-color: var(--secondary-cyan); background: rgba(0, 180, 216, 0.1); }
.btn-massive { padding: 1.5rem 4rem; font-size: 1.3rem; }

/* Grilles */
.split-edge { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.hero-split { grid-template-columns: 1.1fr 0.9fr; } 

/* Cards & Glassmorphism */
.features-edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; }
.glass-card { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 3vw; border-radius: 24px; text-align: left; backdrop-filter: blur(20px); transition: all 0.3s ease; }
.glass-card:hover { border-color: var(--secondary-cyan); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.border-cyan { border-color: var(--glass-border); box-shadow: inset 0 0 40px rgba(0, 180, 216, 0.05); }

.card-icon { margin-bottom: 1.5rem; width: 48px; height: 48px; }
.card-icon svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.4)); }
.glass-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-main); }
.glass-card p { font-size: 1.1rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Panels & Listes */
.edge-glass-panel { background: var(--glass-bg); padding: 3vw; border-radius: 30px; backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.05); }
.edge-list { list-style: none; padding: 0; margin: 0; }
.edge-list li { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1.2rem; padding-left: 2rem; position: relative; }
.edge-list li::before { content: '→'; position: absolute; left: 0; color: var(--secondary-cyan); font-weight: bold; }
.edge-list-pro { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.edge-list-pro li { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; position: relative; padding-left: 2rem; }
.edge-list-pro li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-cyan); font-weight: bold; }
.edge-list-pro strong { color: var(--text-main); }

/* ==========================================
   COMPOSANTS SPÉCIFIQUES (PROFIL & SERVEUR)
   ========================================== */

/* Carte Profil (ID Card) Lévitante */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.profile-glass-mockup { width: 100%; max-width: 420px; background: rgba(10, 15, 25, 0.6); border-radius: 30px; border: 1px solid var(--glass-border); box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 40px rgba(0,180,216,0.1); padding: 3rem; position: relative; overflow: hidden; backdrop-filter: blur(30px); margin: 0 auto; }
.profile-glow { position: absolute; top: -50%; right: -50%; width: 250px; height: 250px; background: var(--primary-blue); filter: blur(70px); opacity: 0.3; border-radius: 50%; }
.avatar-ring { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--glass-border); display: flex; align-items: center; justify-content: center; position: relative; background: rgba(0,0,0,0.5); }
.initials { font-size: 2.5rem; font-weight: 900; }
.status-badge { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); background: #111; border: 1px solid var(--glass-border); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: #0cc059; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot-pulse { width: 6px; height: 6px; background: #0cc059; border-radius: 50%; box-shadow: 0 0 8px #0cc059; animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.diploma-row { display: flex; align-items: center; gap: 15px; font-size: 1rem; color: var(--text-main); font-weight: 600; background: rgba(255,255,255,0.03); padding: 12px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.icon-small { width: 24px; height: 24px; flex-shrink: 0; filter: drop-shadow(0 0 5px rgba(0, 180, 216, 0.5)); }

/* Rack Serveur Animé */
.server-glass-mockup { width: 100%; max-width: 450px; background: #0a0c10; border-radius: 20px; border: 1px solid var(--glass-border); box-shadow: 0 30px 60px rgba(0,0,0,0.8), -20px 0 60px rgba(0,180,216,0.1); padding: 2.5rem; margin: 0 auto; position: relative; }
.server-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1rem; }
.status-pill { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: #0cc059; background: rgba(12, 192, 89, 0.1); padding: 4px 12px; border-radius: 100px; border: 1px solid rgba(12, 192, 89, 0.2); }
.dot-pulse-green { width: 6px; height: 6px; background: #0cc059; border-radius: 50%; box-shadow: 0 0 5px #0cc059; }

.server-rack-visual { display: flex; flex-direction: column; gap: 8px; background: #000; padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 10px 20px rgba(0,0,0,0.8); }
.rack-unit { height: 14px; background: #111; border-radius: 4px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; gap: 8px; border-bottom: 1px solid #222; }
.light { width: 6px; height: 6px; border-radius: 50%; background: #333; }
.light.solid-cyan { background: var(--secondary-cyan); box-shadow: 0 0 8px var(--secondary-cyan); }
.light.blink-1 { animation: serverBlink 1.2s infinite; }
.light.blink-2 { animation: serverBlink 0.8s infinite reverse; }
.light.blink-3 { animation: serverBlink 2.5s infinite; }
@keyframes serverBlink { 0%, 100% { background: #0cc059; box-shadow: 0 0 8px #0cc059; } 50% { background: #333; box-shadow: none; } }

.server-metrics { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.s-metric { display: flex; justify-content: space-between; font-size: 0.95rem; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.s-metric span { color: var(--text-muted); }

/* --- B2B Simulator Widget --- */
.b2b-widget-container { padding: 4vw; border-radius: 30px; }
.b2b-simulator-mockup {
    width: 100%; max-width: 280px; aspect-ratio: 9/19.5;
    border: 12px solid #111; border-radius: 40px; overflow: hidden; background: #000;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), -15px 0 40px rgba(0,102,204,0.3);
    position: relative; margin: 0 auto;
}
.iphone-notch-b2b { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 25px; background: #111; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 10; }
.b2b-simulator-mockup iframe { width: 100%; height: 100%; border: none; display: block; background: #fff; }

/* Animations Float */
.float-animation { animation: floatEdge 6s ease-in-out infinite; }
.float-animation-slow { animation: floatEdge 8s ease-in-out infinite; }
@keyframes floatEdge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Animations Reveal */
.reveal { opacity: 0; transition: opacity var(--transition), transform var(--transition); }
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.is-visible { opacity: 1; transform: translate(0); }
.stagger-1 { transition-delay: 0.2s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .tech-thread-wrapper { display: none; }
    .edge-container { padding: 0 6vw; }

    .split-edge, .hero-split { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .text-left { text-align: center; }
    .justify-start { justify-content: center; }
    
    .hero-visual, .visual-content { order: -1; margin-top: 2rem; } 
    
    .features-edge-grid { grid-template-columns: 1fr; gap: 2rem; }
    .glass-card { padding: 3rem 2rem; text-align: center; }
    
    .edge-list-pro li, .edge-list li { text-align: left; }
    
    .fullscreen-edge { min-height: auto; padding: 7rem 0; }
    .hero-screen { padding-top: 8rem; }
    
    .b2b-widget-container { padding: 6vw; }
}

@media (max-width: 768px) {
    .edge-container { padding: 0 8vw; }
    .edge-title-massive { font-size: clamp(2.5rem, 12vw, 4rem); }
    .edge-title-large { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    
    .edge-btn-group { flex-direction: column; width: 100%; gap: 1rem; }
    .btn-blue-solid, .btn-blue-outline { width: 100%; text-align: center; }
    
    .profile-glass-mockup { padding: 2rem; }
    
    .edge-list-pro li, .edge-list li { font-size: 1.1rem; }
    
    .b2b-simulator-mockup { max-width: 280px; }
}