/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --bg:           #0a0a0a;
    --sidebar-bg:   #0e0e0e;
    --surface:      #141414;
    --surface2:     #1a1a1a;
    --border:       #1e1e1e;
    --border2:      #2a2a2a;
    --text:         #e2e2e2;
    --text-muted:   #555;
    --text-dim:     #888;
    --accent:       #4f8ef7;
    --accent-glow:  rgba(79, 142, 247, 0.15);
    --sidebar-w:    300px;
    --section-pad:  64px 56px;
    --radius:       8px;
    --font:         'Inter', system-ui, sans-serif;
    --transition:   0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #7eb8ff; }
img { max-width: 100%; display: block; }
::selection { background: rgba(79, 142, 247, 0.25); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.vz-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
    box-shadow: 0 0 0 1px var(--border);
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.vz-sidebar {
    width: var(--sidebar-w);
    height: 100vh;
    position: sticky;
    top: 0;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    z-index: 100;
    transition: transform var(--transition);
}
.vz-sidebar-inner {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 100vh;
}

/* Profile */
.vz-profile { text-align: center; }
.vz-avatar {
    width: 130px; height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 2px solid var(--border2);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.vz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vz-name { font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 4px; color: #fff; }
.vz-title {
    font-size: 0.72rem; color: var(--accent);
    font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; margin-bottom: 8px;
}
.vz-location {
    font-size: 0.76rem; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.vz-location svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Sidebar label */
.vz-sidebar-label {
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 12px;
    display: block;
}

/* Social */
.vz-social { display: flex; justify-content: center; gap: 10px; }
.vz-social a {
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid var(--border); border-radius: 50%;
    transition: all var(--transition);
}
.vz-social a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }
.vz-social svg { width: 15px; height: 15px; }

/* Languages (circles) */
.vz-lang-circles { display: flex; gap: 16px; flex-wrap: wrap; }
.vz-lang-circle { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.vz-lang-name { font-size: 0.7rem; color: var(--text-muted); }

/* Nav */
.vz-nav { display: flex; flex-direction: column; gap: 2px; }
.vz-nav a {
    color: var(--text-muted); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 7px 10px; border-radius: var(--radius);
    transition: all var(--transition);
    display: flex; align-items: center; gap: 8px;
}
.vz-nav a::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--border2); flex-shrink: 0;
    transition: background var(--transition);
}
.vz-nav a:hover, .vz-nav a.active {
    color: var(--text); background: var(--surface);
}
.vz-nav a:hover::before, .vz-nav a.active::before { background: var(--accent); }

/* Lang switch */
.vz-lang-switch {
    display: inline-block; margin-top: auto;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
    color: var(--text-muted); border: 1px solid var(--border);
    padding: 5px 14px; border-radius: 20px; text-align: center;
    transition: all var(--transition); align-self: center;
}
.vz-lang-switch:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }

/* ── Main ──────────────────────────────────────────────────────────────────── */
.vz-main { flex: 1; min-height: 100vh; min-width: 0; }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.vz-section { padding: var(--section-pad); border-bottom: 1px solid var(--border); }
.vz-section:last-child { border-bottom: none; }

.vz-section-title {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 40px;
    display: flex; align-items: center; gap: 12px;
}
.vz-section-title::before {
    content: ''; display: block; width: 24px; height: 2px;
    background: var(--accent); border-radius: 1px; flex-shrink: 0;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.vz-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

.vz-hero-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 48px; width: 100%;
}
.vz-hero-content { flex: 1; max-width: 560px; }

.vz-hero-eyebrow {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.vz-hero-h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 55%, #7eb8ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.vz-hero-sub {
    font-size: 1.05rem; color: var(--text-dim);
    margin-bottom: 0; min-height: 1.7em;
}
.vz-hero-prefix { margin-right: 6px; }
.vz-rotating { color: var(--accent); font-weight: 500; }
.vz-rotating::after {
    content: '|'; animation: blink 0.7s step-end infinite;
    margin-left: 1px; color: var(--accent);
}
@keyframes blink { 50% { opacity: 0; } }

.vz-hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* Hero visual column */
.vz-hero-visual { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.vz-hero-solo .vz-hero-content { max-width: 720px; }

/* ── Variant: Code block ───────────────────────────────────────────────────── */
.vz-code-block {
    width: 390px;
    background: #0d0d0d;
    border: 1px solid var(--border2);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.8rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.vz-code-header {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: var(--surface); border-bottom: 1px solid var(--border);
}
.vz-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.vz-dot-red    { background: #ff5f57; }
.vz-dot-yellow { background: #febc2e; }
.vz-dot-green  { background: #28c840; }
.vz-code-filename { margin-left: 8px; font-size: 0.72rem; color: var(--text-muted); font-family: var(--font); }
.vz-code-body { padding: 20px; margin: 0; overflow: auto; line-height: 1.7; font-family: 'Fira Code', 'Cascadia Code', monospace; }
.vz-code-body code { color: var(--text-dim); }
.c-kw  { color: #c792ea; }
.c-var { color: #82aaff; }
.c-op  { color: #89ddff; }
.c-str { color: #c3e88d; }
.c-dim { color: #546e7a; }

/* ── Carousel: Tech stack ticker ───────────────────────────────────────────── */
.vz-stack-carousel {
    overflow: hidden;
    margin-top: 52px;
    margin-left: -56px;
    margin-right: -56px;
    margin-bottom: -64px;
    position: relative;
}
.vz-stack-carousel::before,
.vz-stack-carousel::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.vz-stack-carousel::before { left:  0; background: linear-gradient(90deg,  var(--bg), transparent); }
.vz-stack-carousel::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.vz-stack-track {
    display: flex; align-items: center;
    padding: 20px 0; width: max-content;
    animation: vz-ticker 33s linear infinite;
}
.vz-stack-track .vz-stack-item { margin-right: 13px; }
.vz-stack-track:hover { animation-play-state: paused; }
.vz-stack-item {
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 18px 0;
    width: 88px;
    background: transparent; border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-shrink: 0; cursor: default;
    transition: border-color var(--transition);
}
.vz-stack-item:hover { border-color: var(--border2); }
.vz-stack-item svg  { width: 31px; height: 31px; color: #3d3d3d; filter: grayscale(1); transition: color var(--transition), filter var(--transition); }
.vz-stack-item:hover svg { color: #585858; filter: grayscale(0.5); }
.vz-stack-item span { font-size: 0.75rem; color: #3a3a3a; font-weight: 500; white-space: nowrap; }
@keyframes vz-ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Variant: Abstract shapes ──────────────────────────────────────────────── */
.vz-shapes {
    width: 280px; height: 320px;
    position: relative;
}
.vz-shape { position: absolute; }
.vz-shape-ring {
    width: 220px; height: 220px; border-radius: 50%;
    border: 1px solid rgba(79,142,247,0.25);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: spin 20s linear infinite;
}
.vz-shape-ring::before {
    content: ''; position: absolute; width: 12px; height: 12px;
    border-radius: 50%; background: var(--accent);
    top: -6px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 0 12px var(--accent);
}
.vz-shape-dot-grid {
    width: 100px; height: 100px;
    background-image: radial-gradient(circle, rgba(79,142,247,0.3) 1px, transparent 1px);
    background-size: 14px 14px;
    top: 10px; right: 0;
}
.vz-shape-line {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent));
    bottom: 80px; left: 20px;
}
.vz-shape-square {
    width: 40px; height: 40px;
    border: 1px solid rgba(79,142,247,0.3);
    border-radius: 6px; bottom: 40px; right: 30px;
    transform: rotate(15deg);
    animation: float 4s ease-in-out infinite;
}
@keyframes spin  { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float { 0%, 100% { transform: rotate(15deg) translateY(0); } 50% { transform: rotate(15deg) translateY(-8px); } }


/* ── Buttons ───────────────────────────────────────────────────────────────── */
.vz-btn {
    display: inline-block; padding: 11px 26px;
    background: var(--accent); color: #fff;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(79,142,247,0.25);
}
.vz-btn:hover { background: #3b7ae3; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(79,142,247,0.4); }

.vz-btn-ghost {
    display: inline-block; padding: 11px 26px;
    border: 1px solid var(--border2); color: var(--text-dim);
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
    border-radius: var(--radius); transition: all var(--transition);
}
.vz-btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.vz-btn-contact {
    font-size: 1rem; padding: 14px 36px;
    box-shadow: 0 4px 24px rgba(79,142,247,0.3);
}
.vz-btn-contact:hover { box-shadow: 0 8px 36px rgba(79,142,247,0.5); transform: translateY(-2px); }

/* ── About ─────────────────────────────────────────────────────────────────── */
.vz-about-text {
    max-width: 660px; color: var(--text-dim);
    line-height: 1.85; margin-bottom: 48px; font-size: 0.97rem;
}
.vz-counters {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 760px;
}
.vz-counter {
    background: var(--surface); border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius); padding: 22px 16px; text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
}
.vz-counter:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(79,142,247,0.1); }
.vz-counter-value {
    display: block; font-size: 2.2rem; font-weight: 800;
    color: #fff; letter-spacing: -0.03em; margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(79,142,247,0.3);
}
.vz-counter-label { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }

/* ── Timeline ──────────────────────────────────────────────────────────────── */
.vz-timeline { position: relative; padding-left: 28px; max-width: 720px; }
.vz-timeline::before {
    content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
    width: 1px; background: var(--border2);
}
.vz-timeline-item { position: relative; margin-bottom: 40px; }
.vz-timeline-item:last-child { margin-bottom: 0; }
.vz-timeline-dot {
    position: absolute; left: -25px; top: 6px;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--accent); border: 2px solid var(--bg);
    box-shadow: 0 0 0 3px rgba(79,142,247,0.2);
}
.vz-timeline-content { padding-left: 4px; }
.vz-timeline-header {
    display: flex; align-items: baseline;
    justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 6px;
}
.vz-timeline-header h3 { font-size: 1rem; font-weight: 600; color: #fff; }
.vz-timeline-period { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.vz-timeline-company {
    display: inline-block; font-size: 0.74rem; font-weight: 500; color: var(--accent);
    background: rgba(79,142,247,0.08); border: 1px solid rgba(79,142,247,0.18);
    padding: 2px 10px; border-radius: 20px; margin-bottom: 10px;
}
.vz-timeline-desc { font-size: 0.875rem; color: var(--text-dim); line-height: 1.8; }

/* ── Skills ────────────────────────────────────────────────────────────────── */
.vz-skills-list {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px 56px; max-width: 680px;
}
.vz-skill-header { display: flex; justify-content: space-between; margin-bottom: 7px; }
.vz-skill-name { font-size: 0.84rem; font-weight: 500; color: var(--text); }
.vz-skill-pct  { font-size: 0.76rem; color: var(--text-muted); }
.vz-skill-bar { height: 5px; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.vz-skill-fill {
    height: 100%; width: 0; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), #7eb8ff);
    transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Services ──────────────────────────────────────────────────────────────── */
.vz-services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 16px; max-width: 720px;
}
.vz-service-card {
    background: var(--surface); border: 1px solid var(--border);
    border-top: 2px solid transparent;
    border-radius: var(--radius); padding: 28px 24px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.vz-service-card:hover {
    border-top-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(79,142,247,0.08);
}
.vz-service-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.vz-service-card h3 { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.vz-service-card p { font-size: 0.84rem; color: var(--text-dim); line-height: 1.75; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.vz-contact { text-align: center; }
.vz-contact .vz-section-title { justify-content: center; }
.vz-contact-subtitle { color: var(--text-dim); margin-bottom: 32px; font-size: 0.97rem; max-width: 440px; margin-left: auto; margin-right: auto; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.vz-footer {
    padding: 20px 56px; border-top: 1px solid var(--border);
    text-align: center; font-size: 0.75rem; color: var(--text-muted);
}

/* ── Mobile bar ────────────────────────────────────────────────────────────── */
.vz-mobile-bar {
    display: none; position: fixed; top: 0; left: 0; right: 0; height: 54px;
    background: var(--sidebar-bg); border-bottom: 1px solid var(--border);
    align-items: center; justify-content: space-between;
    padding: 0 20px; z-index: 200;
}
.vz-mobile-name { font-size: 0.88rem; font-weight: 600; }
.vz-menu-toggle {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.vz-menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 1px; transition: all var(--transition);
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .vz-skills-list { gap: 18px 32px; }
}
@media (max-width: 900px) {
    .vz-hero-visual { display: none; }
    .vz-counters { grid-template-columns: repeat(2, 1fr); }
    .vz-skills-list { grid-template-columns: 1fr; }
    .vz-services-grid { grid-template-columns: 1fr; }
    .vz-hero-inner { flex-direction: column-reverse; gap: 32px; }
    .vz-hero-photo-wrap { width: 180px; height: 220px; }
    .vz-hero-content { max-width: 100%; }
}
@media (max-width: 768px) {
    .vz-mobile-bar { display: flex; }
    .vz-sidebar { transform: translateX(-100%); top: 54px; position: fixed; width: var(--sidebar-w); }
    .vz-sidebar.open { transform: translateX(0); }
    .vz-main { padding-top: 54px; }
    .vz-footer { padding: 16px 24px; }
    .vz-section { padding: 48px 24px; }
    .vz-counters { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vz-hero-photo { display: none; }
    .vz-timeline-header { flex-direction: column; }
}
