/* =========================================
   CORE SYSTEM (APPLE DESIGN LANGUAGE - UPGRADED)
   ========================================= */
:root {
    --bg-void: #000000;
    --brand-blue: #5AC5DB;
    --brand-gold: #F4B44B;
    --brand-red: #FF3B30;
    --glass-material: rgba(22, 22, 24, 0.75); /* Малко по-прозрачно за дълбочина */
    --glass-border: rgba(255, 255, 255, 0.15);
    --ease-fluid: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    background-color: var(--bg-void); color: #FFF;
    font-family: 'Inter', sans-serif; overflow: hidden; margin: 0; cursor: none;
    height: 100vh; width: 100vw;
}

/* --- ATMOSPHERE (НАДГРАДЕНА) --- */
.ambient-stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #000; transition: background 1s ease; }
.ambient-stage.red-alert { background: radial-gradient(circle, rgba(255,59,48,0.2), #000 90%); }

/* --- СВЕТЛИНИ В ЪГЛИТЕ (CORNER GLOWS) --- */
.orb { 
    position: fixed; 
    filter: blur(150px); 
    pointer-events: none; 
    z-index: 0; 
    border-radius: 50%; 
    animation: corner-pulse 10s infinite alternate ease-in-out; 
}
/* Горе вляво: Синьо */
.orb-blue { top: -20vh; left: -20vw; right: auto; width: 70vw; height: 70vh; background: var(--brand-blue); opacity: 0.3; }
/* Долу вдясно: Златно */
.orb-gold { bottom: -20vh; right: -20vw; left: auto; width: 70vw; height: 70vh; background: var(--brand-gold); opacity: 0.25; animation-delay: -5s; }
/* Долу вляво: Червено (при активиране) */
.orb-red { bottom: -20vh; left: -20vw; top: auto; width: 60vw; height: 60vh; background: var(--brand-red); opacity: 0; transition: opacity 1s; }
.red-alert .orb-red { opacity: 0.25; }

@keyframes corner-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.3); }
}

/* Шумът се слива (overlay) вместо просто да стои отгоре */
.noise { position: fixed; inset: 0; opacity: 0.05; background: url('https://grainy-gradients.vercel.app/noise.svg'); pointer-events: none; z-index: 1; mix-blend-mode: overlay; }
.vignette { position: absolute; inset: 0; background: radial-gradient(circle, transparent 35%, #000 100%); z-index: 2; pointer-events: none; opacity: 0.9; }

/* --- UTILS & ANIMATIONS --- */
.slide-wrapper {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; transform: scale(1.05); filter: blur(20px); transition: all 1s var(--ease-fluid); z-index: 10;
    padding: 4vh 4vw; box-sizing: border-box;
}
.slide-wrapper.active { opacity: 1; transform: scale(1); filter: blur(0); }
.step-hidden { opacity: 0; transform: translateY(30px); filter: blur(10px); transition: all 0.8s var(--ease-fluid); }
.step-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.step-fade { opacity: 0; transition: opacity 0.8s ease-in-out; }
.step-visible-fade { opacity: 1; }

.super-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900; 
    letter-spacing: -0.03em; 
    text-align: center;
    white-space: normal;
    line-height: 1.1;
    overflow-wrap: break-word;
    background: linear-gradient(180deg, #FFF 20%, #888 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem; 
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
    max-width: 100%;
    padding: 0 10px;
}
.brand-text { background: linear-gradient(90deg, var(--brand-blue), var(--brand-gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Подобрено 3D стъкло с вътрешен блясък (inset shadow) */
.glass-panel { background: var(--glass-material); backdrop-filter: blur(40px); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.08); }

/* --- AUDIO CONTROLS --- */
.audio-controls { width: 100%; max-width: 600px; margin-top: 40px; }
.audio-progress-container { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; cursor: pointer; position: relative; overflow: hidden; transition: height 0.3s ease; }
.audio-progress-container:hover { height: 10px; }
.audio-progress-fill { height: 100%; width: 0%; background: var(--brand-gold); border-radius: 3px; transition: width 0.1s linear; box-shadow: 0 0 20px rgba(244, 180, 75, 0.5); }
.audio-time-stamps { display: flex; justify-content: space-between; font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-top: 12px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }

/* --- TEMPLATE SPECIFICS --- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; mask-image: radial-gradient(circle, black 40%, transparent 100%); }
.shimmer-text { background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--brand-blue) 50%, var(--brand-gold) 60%, #fff 70%, #fff 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

.glitch-container { position: relative; text-align: center; z-index: 10; max-width: 90%; }
.glitch-img-layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.5; mix-blend-mode: hard-light; z-index: 0; animation: flash-img 0.2s infinite; }
@keyframes flash-img { 0% { opacity: 0.3; filter: invert(0); } 50% { opacity: 0.6; filter: invert(0.1); } 100% { opacity: 0.3; filter: invert(0); } }
.glitch-text { font-family: 'Oswald', sans-serif; font-size: clamp(6rem, 15vw, 12rem); font-weight: 700; line-height: 0.9; position: relative; color: #fff; text-shadow: 4px 0 var(--brand-red); animation: glitch-skew 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite; }
.glitch-text::before, .glitch-text::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.glitch-text::before { left: 2px; text-shadow: -2px 0 var(--brand-blue); clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; }
.glitch-text::after { left: -2px; text-shadow: -2px 0 var(--brand-gold); clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2s infinite linear alternate-reverse; }
@keyframes glitch-skew { 0% { transform: skew(0deg); } 20% { transform: skew(-2deg); } 40% { transform: skew(2deg); } 60% { transform: skew(-1deg); } 80% { transform: skew(1deg); } 100% { transform: skew(0deg); } }
@keyframes glitch-anim { 0% { clip: rect(10px, 9999px, 30px, 0); } 100% { clip: rect(90px, 9999px, 100px, 0); } }

.binary-stage { display: flex; gap: 40px; width: 100%; justify-content: center; align-items: center; }
.binary-card { width: 100%; max-width: 600px; height: auto; min-height: 500px; background: var(--glass-material); border: 1px solid var(--glass-border); border-radius: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.5s var(--ease-out); cursor: pointer; position: relative; overflow: hidden; opacity: 0; transform: translateY(50px); padding: 2rem; text-align: center; }
.binary-card.visible { opacity: 1; transform: translateY(0); }
.binary-card:hover { transform: translateY(-20px) scale(1.02); }
.card-left:hover { border-color: var(--brand-gold); box-shadow: 0 20px 60px rgba(244, 180, 75, 0.2); }
.card-right:hover { border-color: var(--brand-blue); box-shadow: 0 20px 60px rgba(90, 197, 219, 0.2); }
.binary-text { font-size: 3.5rem; font-weight: 900; z-index: 10; }
.binary-sub { font-size: 1.2rem; opacity: 0.5; margin-top: 10px; font-weight: 300; letter-spacing: 2px; }

.kinetic-word { font-size: 15vw; font-weight: 900; line-height: 0.8; background: linear-gradient(to bottom, #fff, #444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: breathe 4s ease-in-out infinite; text-align: center; white-space: nowrap; max-width: 100%; }
.kinetic-sub { font-size: clamp(1.2rem, 2vw, 2rem); color: var(--brand-blue); letter-spacing: 0.5em; text-transform: uppercase; margin-top: 2rem; opacity: 0; transform: translateY(20px); transition: all 1s ease; text-align: center; width: 100%; max-width: 90%; }
.kinetic-sub.visible { opacity: 1; transform: translateY(0); }

.gate-card { transition: all 0.8s var(--ease-fluid); }
.bar-row { position: relative; height: 80px; width: 100%; max-width: 900px; background: rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; display: flex; align-items: center; padding: 0 30px; border: 1px solid rgba(255,255,255,0.1); }
.bar-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: linear-gradient(90deg, rgba(90, 197, 219, 0.2), rgba(244, 180, 75, 0.2)); border-right: 4px solid var(--brand-gold); transition: width 1s var(--ease-fluid); box-shadow: 0 0 30px var(--brand-gold); }
.bar-text { position: relative; z-index: 10; font-size: clamp(1rem, 1.5vw, 1.5rem); font-weight: 600; }

.chaos-stage { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chaos-bubble { position: absolute; padding: 12px 24px; background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; backdrop-filter: blur(10px); animation: floatChaos 8s infinite alternate ease-in-out; transition: 1s; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.chaos-active .chaos-bubble { opacity: 1; transform: scale(1); }
.order-active .chaos-bubble { opacity: 0; transform: scale(0); }
.order-grid { display: flex; gap: 30px; opacity: 0; transform: translateY(50px); transition: 1s var(--ease-fluid); }
.order-active .order-grid { opacity: 1; transform: translateY(0); }
@keyframes floatChaos { 0% { transform: translate(0,0); } 100% { transform: translate(20px, -30px); } }

.vault-3d { width: 100%; max-width: 800px; height: 500px; position: relative; transform-style: preserve-3d; transition: transform 1.2s var(--ease-fluid); }
.vault-face { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 30px; box-shadow: 0 30px 80px rgba(0,0,0,0.8); padding: 2rem; text-align: center; }
.vault-front { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.2); }
.vault-back { background: #080808; transform: rotateY(180deg); border: 2px solid var(--brand-gold); box-shadow: 0 0 100px rgba(244, 180, 75, 0.1); }

.laser-core { position: absolute; top: 50%; left: 0; height: 2px; background: #fff; width: 0%; z-index: 2; transition: width 1s linear; }
.laser-glow { position: absolute; top: 50%; left: 0; height: 6px; background: var(--brand-blue); width: 0%; filter: blur(5px); z-index: 1; transform: translateY(-2px); transition: width 1s linear; }
.map-node { width: 60px; height: 60px; background: #000; border: 2px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; transition: 0.5s; position: relative; }
.map-node.active { background: var(--brand-blue); border-color: #fff; box-shadow: 0 0 40px var(--brand-blue); transform: scale(1.2); }
.pyr-level { width: 600px; height: 80px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; background: rgba(255,255,255,0.03); margin-bottom: 10px; transition: 0.5s; }
.pyr-level.active { background: linear-gradient(90deg, rgba(90,197,219,0.3), rgba(244,180,75,0.3)); border-color: var(--brand-blue); box-shadow: 0 0 50px rgba(90,197,219,0.2); transform: scale(1.05); color: #fff; font-weight: 800; }
.giant-bg { position: absolute; font-size: 35vw; font-weight: 900; color: rgba(255,255,255,0.03); z-index: 0; pointer-events: none; }
.stat-val { font-size: 15rem; font-weight: 900; background: linear-gradient(180deg, #fff, #666); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: breathe 4s infinite ease-in-out; position: relative; z-index: 10; }

.paper-doc { width: 100%; max-width: 800px; padding: 40px; background: #fdfbf7; color: #111; transform: rotate(-2deg); box-shadow: 0 50px 100px -20px rgba(0,0,0,0.8); position: relative; transition: transform 1s var(--ease-fluid); }
.paper-doc:hover { transform: rotate(0deg) scale(1.02); }
.paper-header { border-bottom: 2px solid #111; padding-bottom: 20px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; }
.paper-headline { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; margin-bottom: 30px; font-weight: 900; letter-spacing: -0.02em; }
.paper-body { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.6; font-family: 'Playfair Display', serif; color: #333; }
.highlighter-mask { display: inline; background: linear-gradient(100deg, rgba(255,240,0,0) 0%, rgba(255,240,0,0) 50%, rgba(255,240,0,0.6) 50%, rgba(255,240,0,0.6) 100%); background-size: 200% 100%; background-position: 0% 0; transition: background-position 1.5s ease-out; border-radius: 4px; padding: 0 5px; }
.highlighter-mask.active { background-position: -100% 0; }

.radar-stage { width: 700px; height: 700px; position: relative; }
.radar-circle { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg, rgba(90, 197, 219, 0.1) 60%, rgba(90, 197, 219, 0.4) 100%); animation: spin 3s linear infinite; z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar-blip { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 0 0 0 rgba(90,197,219,0.7); z-index: 10; }
.radar-blip.ping { opacity: 1; transform: scale(1); animation: pulseBlip 2s infinite; }
@keyframes pulseBlip { 0% { box-shadow: 0 0 0 0 rgba(90,197,219,0.7); } 70% { box-shadow: 0 0 0 20px rgba(90,197,219,0); } 100% { box-shadow: 0 0 0 0 rgba(90,197,219,0); } }
.center-target { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 120px; height: 120px; border-radius: 50%; background: #000; border: 2px solid var(--brand-blue); z-index: 20; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 50px var(--brand-blue); }

.masonry-grid { column-count: 3; column-gap: 20px; width: 1200px; }
.proof-card { break-inside: avoid; margin-bottom: 20px; background: rgba(255,255,255,0.95); color: #000; padding: 25px; border-radius: 16px; transform: translateY(50px); opacity: 0; transition: all 0.8s var(--ease-fluid); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.proof-card.visible { transform: translateY(0); opacity: 1; }
.proof-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.stars { color: #FFD700; font-size: 0.8rem; }
.case-card { width: 800px; background: var(--glass-material); border: 1px solid var(--glass-border); border-radius: 30px; padding: 60px; text-align: center; backdrop-filter: blur(40px); }
.counter-val { font-size: 10rem; font-weight: 900; line-height: 1; color: #fff; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #999); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.counter-suffix { font-size: 3rem; color: var(--brand-gold); font-weight: 700; }
.bento-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; width: 1000px; height: 500px; }
.bento-box { background: var(--glass-material); border: 1px solid var(--glass-border); border-radius: 24px; overflow: hidden; position: relative; opacity: 0; transform: scale(0.95); transition: all 0.6s var(--ease-fluid); }
.bento-box.visible { opacity: 1; transform: scale(1); }
.bento-large { grid-row: span 2; }
.bento-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.3s; filter: grayscale(100%); }
.bento-box:hover .bento-video { opacity: 1; filter: grayscale(0%); }
.bento-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, #000, transparent); }

.cinematic-bg-container { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.ken-burns-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transform-origin: center center; transform: scale(1); transition: transform 20s ease-out; }
.slide-wrapper.active .ken-burns-img { transform: scale(1.3); }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(to right, #000 30%, transparent 100%); z-index: 1; }
.story-card { position: relative; z-index: 10; width: 600px; margin-right: auto; margin-left: 10%; padding: 40px; border-left: 4px solid var(--brand-gold); background: linear-gradient(90deg, rgba(0,0,0,0.8), transparent); }
.story-quote { font-family: 'Playfair Display', serif; font-style: italic; color: #ccc; font-size: 1.5rem; line-height: 1.6; margin-top: 20px; }

.icon-stage { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.core-circle { width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #333, #000); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: #fff; z-index: 20; position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.shockwave { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid var(--brand-blue); opacity: 0; pointer-events: none; z-index: 10; }
.slide-wrapper.active .shockwave { animation: ripple 3s infinite ease-out; }
@keyframes ripple { 0% { width: 160px; height: 160px; opacity: 0.8; border-width: 4px; } 100% { width: 800px; height: 800px; opacity: 0; border-width: 0px; } }
.wave-1 { animation-delay: 0s; } .wave-2 { animation-delay: 1s; } .wave-3 { animation-delay: 2s; }
.icon-title { font-size: clamp(3rem, 5vw, 5rem); font-weight: 900; margin-top: 40px; text-transform: uppercase; letter-spacing: 0.1em; background: linear-gradient(180deg, #fff, #555); -webkit-background-clip: text; -webkit-text-fill-color: transparent; position: relative; z-index: 20; text-align: center; max-width: 90%; }
.icon-text { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--brand-blue); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 20px; position: relative; z-index: 20; text-align: center; max-width: 80%; line-height: 1.4; }

.pivot-text { font-size: 3.5rem; font-weight: 300; text-align: center; max-width: 1100px; line-height: 1.3; }
.pivot-highlight { color: var(--brand-gold); font-weight: 700; border-bottom: 2px solid var(--brand-gold); }
.anchor-stage { display: flex; align-items: flex-end; gap: 40px; height: 500px; padding-bottom: 50px; }
.anchor-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 280px; transition: 1s var(--ease-fluid); }
.anchor-bar { width: 100%; border-radius: 20px 20px 0 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; font-weight: 900; font-size: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.opt-bad .anchor-bar { height: 200px; background: rgba(255,255,255,0.05); color: #666; }
.opt-mid .anchor-bar { height: 350px; background: rgba(255,255,255,0.05); color: #888; }
.opt-hero .anchor-bar { height: 500px; background: linear-gradient(to top, var(--brand-blue), var(--brand-gold)); color: #fff; box-shadow: 0 0 60px rgba(244,180,75,0.3); border: none; transform: scale(1.05); z-index: 10; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.anchor-label { margin-top: 20px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; font-weight: 600; }

.cube-scene { perspective: 1200px; width: 400px; height: 400px; margin-bottom: 40px; }
.cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transform: rotateX(-15deg) rotateY(-35deg); transition: transform 1.5s var(--ease-fluid); }
.cube-face { position: absolute; width: 400px; height: 400px; background: rgba(5,5,5,0.98); border: 2px solid var(--brand-gold); display: flex; align-items: center; justify-content: center; font-size: 4rem; font-weight: 900; color: #FFD700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.6); box-shadow: inset 0 0 40px rgba(244,180,75,0.1); }
.f-front { transform: translateZ(200px); } .f-back { transform: rotateY(180deg) translateZ(200px); }
.f-right { transform: rotateY(90deg) translateZ(200px); } .f-left { transform: rotateY(-90deg) translateZ(200px); }
.f-top { transform: rotateX(90deg) translateZ(200px); background: var(--brand-gold); opacity: 1; transition: transform 1s, opacity 1s; }
.f-bottom { transform: rotateX(-90deg) translateZ(200px); }
.cube.open { transform: rotateX(-10deg) rotateY(-10deg) scale(1.1); }
.cube.open .f-top { transform: rotateX(150deg) translateZ(200px); opacity: 0.2; }

.stack-list { display: flex; flex-direction: column; width: 800px; }
.stack-item { display: flex; justify-content: space-between; align-items: center; background: var(--glass-material); border: 1px solid var(--glass-border); padding: 25px 40px; margin-bottom: 15px; border-radius: 16px; font-size: 1.5rem; font-weight: 600; transform: translateY(-100px) scale(0.9); opacity: 0; transition: all 0.6s var(--ease-bounce); }
.stack-item.dropped { transform: translateY(0) scale(1); opacity: 1; }
.stack-val { color: #888; text-decoration: line-through; text-decoration-color: var(--brand-red); text-decoration-thickness: 3px; }
.total-bar { margin-top: 40px; font-size: 4rem; font-weight: 900; color: var(--brand-gold); text-align: right; border-top: 4px solid #fff; padding-top: 20px; width: 100%; opacity: 0; transform: scale(0.8); transition: 0.5s var(--ease-bounce); }
.total-bar.visible { opacity: 1; transform: scale(1); }

.urgent-badge { background: var(--brand-red); color: #fff; padding: 10px 30px; border-radius: 50px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 0 30px rgba(255,59,48,0.5); animation: pulseRed 2s infinite; margin-bottom: 30px; }
@keyframes pulseRed { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.timer-display { font-family: 'Space Grotesk', sans-serif; font-size: clamp(8rem, 20vw, 14rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; transition: color 0.3s; }
@keyframes heartBeat { 0% { transform: scale(1); color: #FFF; text-shadow: none; } 15% { transform: scale(1.05); color: #FF3B30; text-shadow: 0 0 80px rgba(255, 59, 48, 1); } 30% { transform: scale(1); color: #FFF; text-shadow: 0 0 20px rgba(255, 59, 48, 0.5); } 45% { transform: scale(1.05); color: #FF3B30; text-shadow: 0 0 80px rgba(255, 59, 48, 1); } 100% { transform: scale(1); color: #FFF; text-shadow: none; } }
.timer-warning { animation: heartBeat 1.5s infinite ease-in-out; }

.shield-icon { font-size: 10rem; background: linear-gradient(135deg, #fff 0%, #888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 30px rgba(255,255,255,0.2)); margin-bottom: 30px; }
.cta-button { background: var(--brand-blue); color: #fff; font-size: 3.5rem; font-weight: 900; padding: 40px 100px; border-radius: 100px; border: none; cursor: none; position: relative; overflow: hidden; box-shadow: 0 0 80px rgba(90, 197, 219, 0.3); transition: transform 0.2s; }
.cta-button:active { transform: scale(0.95); }
.shine-sweep { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); animation: sweep 3s infinite; }
@keyframes sweep { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.qa-container { display: flex; width: 100%; height: 100%; }
.qa-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qa-sidebar { width: 350px; background: rgba(255,255,255,0.05); border-left: 1px solid var(--glass-border); padding: 40px; display: flex; flex-direction: column; align-items: center; }
.qa-question-card { width: 800px; padding: 60px; background: #fff; color: #000; border-radius: 30px; text-align: center; box-shadow: 0 0 100px rgba(255,255,255,0.2); transform: scale(0.95); transition: 0.5s; }
.qa-question-card.active { transform: scale(1); }
.sidebar-timer { border: 2px solid var(--glass-border); color: #fff; font-size: 2.5rem; font-family: 'Space Grotesk', monospace; padding: 10px 30px; border-radius: 12px; margin-top: auto; }
.sidebar-timer.timer-warning { animation: heartBeat 1.5s infinite ease-in-out; border-color: var(--brand-red); }

/* --- НОВИ ШАБЛОНИ ЗА ЧЕТИМОСТ --- */
.quote-container { max-width: 900px; text-align: center; padding: 20px; }
.quote-icon { font-size: 4rem; color: var(--brand-blue); opacity: 0.5; margin-bottom: 20px; }
.quote-text { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-style: italic; line-height: 1.4; margin-bottom: 40px; color: #eee; }
.quote-author-block { display: flex; align-items: center; justify-content: center; gap: 20px; }
.quote-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-gold); box-shadow: 0 0 20px rgba(244, 180, 75, 0.3); }
.quote-author-info { text-align: left; }
.quote-name { font-weight: 700; font-size: 1.2rem; color: #fff; }
.quote-role { color: var(--brand-blue); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.epiphany-circle-stage { display: flex; flex-direction: column-reverse; align-items: center; gap: 40px; max-width: 1100px; padding: 20px; }
@media (min-width: 768px) { .epiphany-circle-stage { flex-direction: row; } }
.ec-content { flex: 1; text-align: center; }
@media (min-width: 768px) { .ec-content { text-align: left; } }
.ec-img-container { flex: 1; display: flex; justify-content: center; }
.ec-img { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brand-blue); box-shadow: 0 0 60px rgba(90, 197, 219, 0.3); animation: float-organic 15s infinite alternate ease-in-out; }
@media (min-width: 768px) { .ec-img { width: 450px; height: 450px; } }

.vs-stage { display: flex; flex-direction: column; gap: 20px; align-items: stretch; justify-content: center; width: 100%; max-width: 1000px; position: relative; }
@media (min-width: 768px) { .vs-stage { flex-direction: row; } }
.vs-card { flex: 1; padding: 40px; border-radius: 24px; backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,0.1); text-align: center; transition: transform 0.5s var(--ease-out); }
.vs-card.left { background: linear-gradient(135deg, rgba(255,59,48,0.1), transparent); border-color: rgba(255,59,48,0.3); transform: translateY(-50px); opacity: 0; }
@media (min-width: 768px) { .vs-card.left { transform: translateX(-50px); } }
.vs-card.right { background: linear-gradient(135deg, rgba(90,197,219,0.1), transparent); border-color: rgba(90,197,219,0.3); transform: translateY(50px); opacity: 0; }
@media (min-width: 768px) { .vs-card.right { transform: translateX(50px); } }
.vs-card.visible { transform: translate(0); opacity: 1; }
.vs-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); z-index: 10; font-weight: 900; font-size: 4rem; color: #fff; -webkit-text-stroke: 2px var(--brand-gold); transition: transform 0.5s var(--ease-bounce); transition-delay: 0.3s; }
.vs-center.visible { transform: translate(-50%, -50%) scale(1); }

.v-steps-container { display: flex; flex-direction: column; gap: 20px; max-width: 800px; width: 100%; position: relative; }
.v-step-line { position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.v-step-item { display: flex; align-items: flex-start; gap: 20px; position: relative; z-index: 1; opacity: 0; transform: translateY(20px); transition: all 0.6s var(--ease-fluid); }
.v-step-item.visible { opacity: 1; transform: translateY(0); }
.v-step-marker { width: 50px; height: 50px; border-radius: 50%; background: var(--glass-material); border: 2px solid var(--brand-blue); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--brand-blue); flex-shrink: 0; transition: 0.3s; }
.v-step-item.visible .v-step-marker { background: var(--brand-blue); color: #000; box-shadow: 0 0 30px rgba(90, 197, 219, 0.4); }
.v-step-content { background: var(--glass-material); padding: 20px 30px; border-radius: 16px; border: 1px solid var(--glass-border); flex: 1; }

.big-data-stage { text-align: center; }
.bd-number { font-size: clamp(6rem, 18vw, 14rem); font-weight: 900; line-height: 0.9; background: linear-gradient(45deg, #fff, var(--brand-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 40px rgba(90, 197, 219, 0.3)); font-variant-numeric: tabular-nums; opacity: 0; transform: scale(0.9); transition: all 1s var(--ease-bounce); }
.bd-number.visible { opacity: 1; transform: scale(1); }
.bd-label { font-size: clamp(1.5rem, 3vw, 2.5rem); color: #fff; margin-top: 20px; font-weight: 300; letter-spacing: 1px; opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.3s; }
.bd-label.visible { opacity: 1; transform: translateY(0); }

.checklist-container { display: flex; flex-direction: column; gap: 15px; max-width: 700px; width: 100%; }
.check-item { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.03); padding: 15px 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; opacity: 0.5; transform: translateX(-20px); }
.check-item.active { opacity: 1; transform: translateX(0); background: var(--glass-material); border-color: var(--brand-gold); }
.check-box { width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.check-item.active .check-box { background: var(--brand-gold); border-color: var(--brand-gold); transform: scale(1.1) rotate(360deg); }
.check-icon { color: #000; font-size: 14px; opacity: 0; transition: 0.3s; }
.check-item.active .check-icon { opacity: 1; }
.check-text { font-size: 1.4rem; font-weight: 500; }

.alert-box { background: rgba(255, 59, 48, 0.1); border: 2px solid var(--brand-red); padding: 40px 60px; border-radius: 24px; text-align: center; max-width: 700px; backdrop-filter: blur(20px); box-shadow: 0 0 80px rgba(255, 59, 48, 0.2); animation: pulseAlert 3s infinite; }
.alert-icon { font-size: 4rem; color: var(--brand-red); margin-bottom: 20px; }
@keyframes pulseAlert { 0% { box-shadow: 0 0 80px rgba(255, 59, 48, 0.2); } 50% { box-shadow: 0 0 120px rgba(255, 59, 48, 0.4); } 100% { box-shadow: 0 0 80px rgba(255, 59, 48, 0.2); } }

.video-stage { width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 20px; }
.video-frame { width: 100%; border-radius: 24px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 50px rgba(0,0,0,0.6); position: relative; background: #000; aspect-ratio: 16/9; }
.video-player { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.subtitle-box { background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); padding: 20px 40px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); text-align: center; max-width: 90%; }
.subtitle-text { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; color: #fff; line-height: 1.4; }

.donut-stage { display: flex; flex-direction: column; gap: 40px; align-items: center; justify-content: center; }
@media (min-width: 768px) { .donut-stage { flex-direction: row; } }
.donut-container { position: relative; width: 300px; height: 300px; flex-shrink: 0; }
.donut-ring { width: 100%; height: 100%; border-radius: 50%; position: absolute; transform: rotate(-90deg); transition: all 1.5s var(--ease-bounce); opacity: 0; }
.donut-ring.visible { opacity: 1; }
.donut-hole { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; background: var(--bg-void); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--glass-border); box-shadow: inset 0 0 30px rgba(0,0,0,0.5); }
.donut-val { font-size: 4rem; font-weight: 900; color: #fff; }
.donut-legend { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.legend-item { display: flex; align-items: center; gap: 15px; font-size: 1.5rem; opacity: 0; transform: translateX(20px); transition: 0.5s ease; }
.legend-item.visible { opacity: 1; transform: translateX(0); }
.legend-color { width: 20px; height: 20px; border-radius: 4px; }

.definition-card { background: var(--glass-material); border: 1px solid var(--glass-border); padding: 40px; border-radius: 30px; max-width: 800px; width: 90%; text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,0.4); transform: translateY(30px); opacity: 0; transition: 0.8s var(--ease-out); }
@media (min-width: 768px) { .definition-card { padding: 60px; } }
.definition-card.visible { transform: translateY(0); opacity: 1; }
.def-header { border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 20px; margin-bottom: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 768px) { .def-header { flex-direction: row; align-items: flex-end; } }
.def-word { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 900; color: var(--brand-gold); line-height: 1; }
.def-phonetic { font-family: 'Space Grotesk', monospace; color: rgba(255,255,255,0.5); font-size: 1.5rem; }
.def-type { color: var(--brand-blue); font-style: italic; margin-right: 10px; font-weight: 700; font-size: 1.2rem; }
.def-meaning { font-size: clamp(1.2rem, 2vw, 2rem); line-height: 1.5; color: #eee; }

.spectrum-stage { width: 90%; max-width: 1000px; display: flex; flex-direction: column; gap: 60px; margin-top: 40px; padding-bottom: 40px; }
.spectrum-bar-container { position: relative; height: 12px; background: rgba(255,255,255,0.1); border-radius: 6px; margin-top: 20px; }
.spectrum-bar-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand-red), var(--brand-gold), var(--brand-blue)); border-radius: 6px; transition: width 1.5s ease-in-out; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.spectrum-points { display: flex; justify-content: space-between; position: relative; top: -14px; }
.spectrum-point { display: flex; flex-direction: column; align-items: center; width: 30%; text-align: center; opacity: 0; transform: translateY(30px); transition: 0.6s var(--ease-bounce); }
.spectrum-point.visible { opacity: 1; transform: translateY(0); }
.spectrum-marker { width: 30px; height: 30px; background: var(--bg-void); border: 4px solid #fff; border-radius: 50%; margin-bottom: 20px; z-index: 2; box-shadow: 0 0 20px rgba(0,0,0,0.5); transition: 0.3s; flex-shrink: 0; }
@media (min-width: 768px) { .spectrum-marker { width: 40px; height: 40px; } }
.spectrum-point.active .spectrum-marker { border-color: var(--brand-gold); background: var(--brand-gold); transform: scale(1.2); }
.spectrum-label { font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); margin-bottom: 10px; }
.spectrum-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); display: none; }
@media (min-width: 768px) { .spectrum-desc { display: block; } }

.h-process-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; max-width: 1100px; width: 100%; padding: 20px; }
@media (min-width: 768px) { .h-process-stage { flex-direction: row; align-items: stretch; } }
.h-process-card { background: var(--glass-material); border: 1px solid var(--glass-border); padding: 30px; border-radius: 24px; width: 100%; max-width: 400px; text-align: center; opacity: 0; transform: translateY(30px); transition: 0.6s var(--ease-fluid); min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (min-width: 768px) { .h-process-card { width: auto; flex: 1; transform: translateX(-30px); } }
.h-process-card.visible { opacity: 1; transform: translate(0); }
.h-process-icon { font-size: 3rem; color: var(--brand-gold); margin-bottom: 20px; }
.h-process-title { font-weight: 800; font-size: 1.5rem; margin-bottom: 10px; }
.h-process-arrow { font-size: 2rem; color: rgba(255,255,255,0.2); opacity: 0; transition: 0.5s ease 0.3s; transform: rotate(90deg); margin: 10px 0; }
@media (min-width: 768px) { .h-process-arrow { transform: rotate(0deg); margin: 0 10px; } }
.h-process-arrow.visible { opacity: 1; }

/* UI */
.ui-counter { position: fixed; bottom: 30px; right: 30px; opacity: 0.5; font-size: 14px; letter-spacing: 2px; }
.ui-progress { position: fixed; bottom: 0; left: 0; height: 3px; width: 100%; background: rgba(255,255,255,0.1); }
.ui-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-gold)); transition: width 0.5s ease; }
#cursor { position: fixed; width: 20px; height: 20px; background: #fff; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); mix-blend-mode: exclusion; z-index: 9999; opacity: 0; transition: opacity 0.3s; }
#cursor.active { opacity: 1; }

/* --- НОВИТЕ ШАБЛОНИ ЗА ЧЕТИМОСТ --- */
.feature-split-stage { display: flex; align-items: center; justify-content: center; gap: 40px; width: 100%; max-width: 1200px; padding: 20px; }
.feature-img-box { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid var(--glass-border); aspect-ratio: 4/3; }
.feature-img-box img { width: 100%; height: 100%; object-fit: cover; }
.terminal-window { background: #050505; border-radius: 12px; border: 1px solid rgba(90, 197, 219, 0.3); box-shadow: 0 30px 60px rgba(0,0,0,0.8); overflow: hidden; width: 100%; max-width: 900px; }
.terminal-header { background: #111; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 8px; }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-content { padding: 40px; font-family: 'Space Grotesk', monospace; color: var(--brand-blue); font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.6; }
.focus-text-stage { max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* =========================================
   ИНТЕРАКТИВНИ ФУНКЦИИ (ЛЕКТОР)
   ========================================= */

/* 1. Соларна ударна вълна при клик (Solar Shockwave) */
.click-shockwave {
    position: fixed;
    border-radius: 50%;
    border: 2px solid var(--brand-gold);
    box-shadow: 0 0 20px var(--brand-gold), inset 0 0 10px rgba(244, 180, 75, 0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    animation: solar-shock 0.6s ease-out forwards;
}
@keyframes solar-shock {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; border-width: 4px; width: 0px; height: 0px; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; border-width: 0px; width: 200px; height: 200px; }
}
#spotlight-overlay.active { opacity: 1; pointer-events: auto; }
.cursor-laser { background: #FF3B30 !important; border: none !important; box-shadow: 0 0 20px 8px rgba(255, 59, 48, 0.6) !important; width: 12px !important; height: 12px !important; }

/* 2. Бяла дъска (Whiteboard) */
#whiteboard { position: fixed; inset: 0; z-index: 9997; pointer-events: none; transition: opacity 0.3s; }
#whiteboard.active { pointer-events: auto; cursor: crosshair; }

/* 3. Меню за навигация (Phase Selector) */
#phase-overlay {
    position: fixed; inset: 0; background: rgba(5,5,5,0.95); z-index: 10000; backdrop-filter: blur(30px);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    opacity: 0; pointer-events: none; transition: 0.4s var(--ease-fluid); padding-top: 5vh;
}
#phase-overlay.active { opacity: 1; pointer-events: auto; }
.phase-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
    width: 90%; max-width: 1200px; max-height: 80vh; overflow-y: auto; padding: 20px;
}
.phase-btn {
    background: var(--glass-material); border: 1px solid var(--glass-border); padding: 25px 20px;
    border-radius: 16px; color: #fff; text-align: left; cursor: pointer; transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 8px;
}
.phase-btn:hover { background: var(--brand-blue); transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 40px rgba(90, 197, 219, 0.3); border-color: #fff; }

/* 4. Паралакс преходи (Пространствено плъзгане) */
/* Променяме оригиналния slide-wrapper */
.slide-wrapper {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; filter: blur(20px); transition: all 1s var(--ease-fluid); z-index: 10; padding: 4vh 4vw; box-sizing: border-box;
    transform: translateX(100px) scale(0.95); /* Идва отдясно по подразбиране */
}
.slide-wrapper.active { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
.slide-wrapper.going-left { transform: translateX(-100px) scale(0.95); opacity: 0; filter: blur(20px); }
.slide-wrapper.coming-left { transform: translateX(-100px) scale(0.95); }