/* i_style.css */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@300;400;600;800&display=swap');

/* --- MATRIX EASTER EGG STYLES --- */
.matrix-mode {
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0, 0 0 10px #0f0, 0 0 15px #0f0;
    animation: matrixPulse 2s ease-in-out infinite;
    position: relative;
    background: #000 !important;
    overflow-x: hidden;
    overflow-y: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
}
html.matrix-mode {
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
    top: 0;
    left: 0;
}
body.matrix-mode {
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
    width: 100% !important;
}
html.matrix-mode::-webkit-scrollbar,
body.matrix-mode::-webkit-scrollbar,
.matrix-mode::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
html.matrix-mode *::-webkit-scrollbar,
body.matrix-mode *::-webkit-scrollbar,
.matrix-mode *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.matrix-mode * { 
    color: #0f0 !important; 
    text-shadow: 0 0 3px #0f0, 0 0 6px #0f0;
}
.matrix-mode section#about {
    z-index: 10000 !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}
.matrix-mode .terminal-window,
.matrix-mode #interactive-terminal {
    position: relative !important;
    z-index: 10001 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    transform: none !important;
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0 !important;
    pointer-events: auto !important;
    background: rgba(0, 0, 0, 0.95) !important;
    border: 2px solid #0f0 !important;
}
.matrix-mode #interactive-terminal *,
.matrix-mode .terminal-window * {
    position: relative !important;
    z-index: 10002 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0 !important;
    pointer-events: auto !important;
}
#matrix-rain-canvas {
    z-index: 9998 !important;
}
.matrix-mode .terminal-window { 
    border-color: #0f0 !important; 
    box-shadow: 0 0 20px rgba(0,255,0,0.4), 0 0 40px rgba(0,255,0,0.2), inset 0 0 20px rgba(0,255,0,0.1);
    animation: matrixGlow 1.5s ease-in-out infinite alternate;
    background: rgba(0, 0, 0, 0.95) !important;
    transform: none !important;
}
.matrix-mode .card {
    border-color: #0f0 !important;
    box-shadow: 0 0 15px rgba(0,255,0,0.3);
}
.matrix-mode .btn {
    border-color: #0f0 !important;
    box-shadow: 0 0 10px rgba(0,255,0,0.3);
}
.matrix-mode nav {
    border-bottom-color: #0f0 !important;
    box-shadow: 0 2px 10px rgba(0,255,0,0.2);
    background: rgba(0, 0, 0, 0.9) !important;
}
.matrix-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.05) 2px,
            rgba(0, 255, 0, 0.05) 4px
        );
    pointer-events: none;
    z-index: 9996;
    animation: matrixScan 3s linear infinite;
}
.matrix-mode::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 9995;
}
.matrix-mode section#about {
    z-index: 10000 !important;
    position: relative;
}
@keyframes matrixPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}
@keyframes matrixGlow {
    0% { box-shadow: 0 0 20px rgba(0,255,0,0.4), 0 0 40px rgba(0,255,0,0.2); }
    100% { box-shadow: 0 0 30px rgba(0,255,0,0.6), 0 0 60px rgba(0,255,0,0.3); }
}
@keyframes matrixScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
/* -------------------------------- */

:root {
    --bg-dark: #020305;
    --bg-panel: #0a0e17;
    --text-main: #e2e8f0;
    --text-muted: #8b9bb4;
    --accent-1: #8b5cf6;
    --accent-2: #3b82f6;
    --accent-3: #10b981;
    --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --glow: 0 0 25px rgba(59, 130, 246, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%; max-width: 100vw; overflow-x: hidden;
    background-color: var(--bg-dark); 
    background-image: radial-gradient(circle at 15% 0%, rgba(139, 92, 246, 0.04), transparent 50%), radial-gradient(circle at 85% 100%, rgba(59, 130, 246, 0.04), transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif; line-height: 1.6;
}

.noise-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; opacity: 0.04; background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E'); }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(120px); z-index: -1; opacity: 0.4; animation: floatBlob 20s infinite alternate ease-in-out; pointer-events: none; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(139, 92, 246, 0.12); }
.blob-2 { top: 40%; right: -10%; width: 40vw; height: 40vw; background: rgba(59, 130, 246, 0.12); animation-delay: -10s; }
.blob-3 { bottom: -10%; left: 20%; width: 60vw; height: 30vw; background: rgba(16, 185, 129, 0.08); }

@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 100px) scale(1.1); } }

#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--gradient); z-index: 9998; box-shadow: 0 0 10px var(--accent-2); }
#network-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; }

.overlay-grid {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 50px 50px; z-index: -1; pointer-events: none;
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.gradient-text { background: var(--gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.mono { font-family: 'Fira Code', monospace; color: var(--accent-2); letter-spacing: 1px; }

nav { position: fixed; top: 0; left: 0; width: 100%; background: rgba(2, 3, 5, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; }

/* Custom VUE SVG Styling */
.logo svg { height: 35px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(139,92,246,0.3)); }
#V path, .U, .E { fill: #ffffff; transition: fill 0.3s ease, filter 0.3s ease; cursor: pointer; }
#V path:hover, .U:hover, .E:hover { fill: #ff007f; filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.6)); }

.footer-logo { display: flex; justify-content: center; margin-bottom: 1rem; opacity: 0.6; transition: opacity 0.3s ease; }
.footer-logo:hover { opacity: 1; }
.footer-logo svg { height: 30px; width: auto; display: block; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; position: relative; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-2); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer; z-index: 1001; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; width: 100%; position: relative; z-index: 10; }
section { padding: 8rem 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; }

#hero { padding-top: 12rem; }
.hero-content h1 { font-size: clamp(3rem, 6vw, 6rem); margin: 1rem 0; line-height: 1.1; }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); max-width: 650px; margin-bottom: 3rem; }

.btn-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 1.2rem 2.5rem; background: rgba(59, 130, 246, 0.1); color: white; text-decoration: none; border: 1px solid var(--accent-2); border-radius: 6px; font-family: 'Fira Code', monospace; font-weight: 600; text-transform: uppercase; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--gradient); z-index: -1; transition: transform 0.4s ease; }
.btn:hover::before { transform: translateX(100%); }
.btn:hover { border-color: transparent; box-shadow: var(--glow); transform: translateY(-3px); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: var(--text-main); background: rgba(255,255,255,0.05); transform: translateY(-3px); }

.marquee-container { width: 100vw; overflow: hidden; background: rgba(10, 14, 23, 0.5); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 2rem 0; margin-top: 4rem; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; display: flex; flex-direction: column; gap: 1rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marquee-track { display: flex; width: max-content; animation: scrollLeft 25s linear infinite; }
.marquee-track.reverse { animation: scrollRight 30s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 15px; padding: 0.5rem 2rem; font-family: 'Fira Code', monospace; font-size: 1.1rem; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.05); border-radius: 100px; margin: 0 1rem; background: rgba(0,0,0,0.3); white-space: nowrap; }
.marquee-item i { color: var(--accent-2); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }

.card { position: relative; padding: 1px; border-radius: 16px; background: rgba(255,255,255,0.05); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); transition: transform 0.4s ease; }
.card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(transparent, transparent, transparent, var(--accent-2)); animation: spin 4s linear infinite; opacity: 0; transition: opacity 0.4s ease; }
.card:hover { transform: translateY(-10px); }
.card:hover::before { opacity: 1; }
.card-inner { background: rgba(10, 14, 23, 0.85); border-radius: 15px; padding: 2.5rem; height: 100%; display: flex; flex-direction: column; z-index: 2; position: relative; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes spin { 100% { transform: rotate(360deg); } }

.card-inner i { font-size: 2.5rem; color: var(--accent-2); margin-bottom: 1.5rem; }
.card-inner h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.card-inner ul { list-style: none; color: var(--text-muted); flex-grow: 1; }
.card-inner ul li { margin-bottom: 0.8rem; display: flex; align-items: flex-start; font-size: 0.95rem; }
.card-inner ul li::before { content: '>'; color: var(--accent-1); margin-right: 0.8rem; font-family: monospace; font-weight: bold; }

/* Radar Automation Card */
#automation-card { background: rgba(7, 10, 18, 0.8); border: 1px solid rgba(255,255,255,0.08); padding: 0; position: relative; backdrop-filter: blur(10px); }
#automation-card::before { display: none; }
.radar-map-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg'); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.1; filter: invert(1) grayscale(1); transition: opacity 0.5s ease; }
#automation-card:hover .radar-map-container { opacity: 0.2; }
.radar-sweep { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent 70%, rgba(59, 130, 246, 0.05) 90%, rgba(59, 130, 246, 0.25) 100%); animation: spin 5s linear infinite; opacity: 0; z-index: 2; transition: opacity 0.5s ease; border-radius: 50%; pointer-events: none; }
#automation-card:hover .radar-sweep { opacity: 1; }
.radar-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; z-index: 3; opacity: 0; transition: opacity 0.5s ease, top 1s, left 1s; }
#automation-card:hover .radar-dot { opacity: 1; }
.radar-label { position: absolute; font-family: 'Fira Code', monospace; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; pointer-events: none; text-shadow: 0 0 5px rgba(0,0,0,0.8); white-space: nowrap; }

.dot-me { top: 28%; left: 48%; background: var(--accent-3); box-shadow: 0 0 15px var(--accent-3); }
.dot-me::before { content: ''; position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border: 1px solid var(--accent-3); border-radius: 50%; animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.label-me { top: -20px; left: -5px; color: var(--accent-3); }

.dot-visitor { top: 38%; left: 25%; background: var(--accent-2); box-shadow: 0 0 15px var(--accent-2); }
.dot-visitor::before { content: ''; position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border: 1px solid var(--accent-2); border-radius: 50%; animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite; animation-delay: 1s; }
.label-visitor { top: -5px; left: 20px; color: var(--accent-2); }

@keyframes radarPing { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

#automation-card .card-inner { background: linear-gradient(to right, rgba(7, 10, 18, 0.95) 30%, rgba(7, 10, 18, 0.5) 100%); z-index: 4; border-radius: 15px; }

.badge-container { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed rgba(255,255,255,0.1); }
.badge { background: rgba(59, 130, 246, 0.1); color: #93c5fd; padding: 0.35rem 0.85rem; border-radius: 6px; font-size: 0.8rem; font-family: 'Fira Code', monospace; border: 1px solid rgba(59, 130, 246, 0.2); }

.section-title { font-size: 2.5rem; margin-bottom: 3rem; display: flex; align-items: center; gap: 1.5rem; font-family: 'Fira Code', monospace; text-transform: uppercase; }
.section-title::before { content: '/>'; color: var(--accent-1); }
.section-title::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent); }

/* TERMINAL UI & INTERACTIVE INPUT STYLES */
.terminal-window { background: rgba(5, 7, 10, 0.85); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8); overflow: hidden; backdrop-filter: blur(10px); transition: border-color 0.3s; }
#interactive-terminal { width: 1000px; height: 700px; max-width: 100%; display: flex; flex-direction: column; margin: 0 auto; }
.terminal-header { background: rgba(255,255,255,0.05); padding: 0.8rem 1rem; display: flex; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); align-items: center; flex-shrink: 0; }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ef4444; } .dot-y { background: #eab308; } .dot-g { background: #22c55e; }
.terminal-title { margin-left: auto; margin-right: auto; font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-muted); }
.terminal-body { padding: 2rem; font-family: 'Fira Code', monospace; flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* Interactive CLI Specifics */
.cli-body { cursor: text; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(59, 130, 246, 0.3) transparent; position: relative; min-height: 0; }
.cli-body::-webkit-scrollbar { width: 6px; }
.cli-body::-webkit-scrollbar-track { background: transparent; }
.cli-body::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 3px; }
.cli-body::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.5); }
#cli-input { position: absolute; opacity: 0; pointer-events: auto; width: 1px; height: 1px; left: 0; top: 0; z-index: 10; }
#cli-input:focus { outline: none; }
.cli-out-line { margin-bottom: 0.5rem; line-height: 1.6; color: var(--text-main); word-break: break-word; }
.cli-out-line pre { margin: 0.5rem 0; white-space: pre-wrap; font-family: 'Fira Code', monospace; }
.cli-command-line { color: var(--accent-3); margin-bottom: 0.5rem; font-weight: 500; }
#cli-input-line { display: none; align-items: center; flex-wrap: wrap; margin-top: 0.5rem; position: relative; opacity: 0; transition: opacity 0.3s ease; flex-shrink: 0; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
#cli-input-line.active { opacity: 1; }
#cli-input-line.active { border-top-color: rgba(255,255,255,0.1); }
#cli-display { color: var(--text-main); font-family: 'Fira Code', monospace; }
.cli-cursor { color: var(--accent-3); font-weight: bold; margin-left: 2px; }

/* Comments Section Styling */
#comments-display { min-height: 100px; max-height: 600px; overflow-y: auto; padding: 1.5rem; }
#comments-display::-webkit-scrollbar { width: 6px; }
#comments-display::-webkit-scrollbar-track { background: transparent; }
#comments-display::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 3px; }
#comments-display::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.5); }
.comment-item { position: relative; }
.comment-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent-3); border-radius: 8px 0 0 8px; opacity: 0; transition: opacity 0.2s ease; }
.comment-item:hover::before { opacity: 1; }

.timeline-item { padding-left: 2.5rem; margin-bottom: 3rem; border-left: 1px dashed rgba(255,255,255,0.2); position: relative; }
.timeline-indicator { position: absolute; left: -7px; top: 5px; width: 13px; height: 13px; background: var(--bg-dark); border: 2px solid var(--accent-2); border-radius: 50%; }
.timeline-indicator.pulse { animation: pulseGreen 2s infinite; border-color: var(--accent-3); }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.copy-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text-main); padding: 0.8rem 1.5rem; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.3s; margin-top: 1.5rem; font-family: 'Fira Code', monospace; }
.copy-btn:hover { background: rgba(59, 130, 246, 0.15); border-color: var(--accent-2); }

footer { text-align: center; padding: 5rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); background: rgba(2, 3, 5, 0.8); position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.social-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; position: relative; z-index: 2; }
.social-links a { color: var(--text-muted); font-size: 1.8rem; transition: all 0.3s; }
.social-links a:hover { color: var(--accent-2); transform: translateY(-3px); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.typewriter-cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

@media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 3rem; }
    .section-title { font-size: 1.8rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    section { padding: 6rem 0; min-height: auto; }
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #05070a; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,0.05); transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 2rem; gap: 2rem; box-shadow: -20px 0 50px rgba(0,0,0,0.8); }
    .nav-links.active { right: 0; }
    #interactive-terminal { width: 100%; height: 500px; }
}