@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap");

*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
:root{--navy-base:#0d1117;--navy-surface:#161b22;--navy-border:#21262d;--navy-hover:#30363d;--text-primary:#e6edf3;--text-muted:#8b949e;--text-dim:#484f58;--accent:#58a6ff;--green:#3fb950;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{font-family:"DM Sans",sans-serif;background:var(--navy-base);color:var(--text-primary);overflow-x:hidden;}
.noise{position:fixed;inset:0;pointer-events:none;z-index:999;opacity:0.03;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");}
nav{position:fixed;top:0;left:0;right:0;z-index:100;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:rgba(13,17,23,.85);border-bottom:1px solid var(--navy-border);}
#desktop-nav{display:flex;justify-content:space-between;align-items:center;padding:0 6vw;height:64px;}
.logo{font-size:16px;font-weight:500;letter-spacing:.08em;color:var(--text-primary);text-decoration:none;transition:color .2s;cursor:pointer;}
.logo:hover{color:var(--accent);}
.nav-links{display:flex;gap:32px;list-style:none;}
.nav-links a{font-size:13px;color:var(--text-muted);text-decoration:none;letter-spacing:.02em;transition:color .2s;}
.nav-links a:hover{color:var(--text-primary);}
#hamburger-nav{display:none;}
section{padding:100px 6vw;max-width:1100px;margin:0 auto;scroll-margin-top:80px;}
.section-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-dim);margin-bottom:8px;}
.title{font-size:40px;font-weight:300;font-family:"DM Serif Display",serif;font-style:italic;color:var(--text-primary);margin-bottom:48px;line-height:1.1;}
#hero{min-height:100vh;min-height:100svh;display:grid;grid-template-columns:1fr auto;gap:48px;align-items:center;padding-top:120px;max-width:1100px;margin:0 auto;}
.hero-content{max-width:600px;}
.hero-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:20px;}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--green);animation:eyebrow-pulse 2s ease-in-out infinite;}
@keyframes eyebrow-pulse{0%,100%{box-shadow:0 0 0 0 rgba(63,185,80,.6);}50%{box-shadow:0 0 0 5px rgba(63,185,80,0);}}
.eyebrow-text{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);}
.hero-name{font-size:clamp(42px,5vw,64px);font-weight:500;line-height:1.1;color:var(--text-primary);margin-bottom:14px;font-family:"DM Serif Display",serif;}
.hero-name em{font-style:italic;color:var(--text-muted);}
.hero-title{font-size:15px;color:var(--text-muted);margin-bottom:6px;font-weight:400;}
.hero-sub{font-size:14px;color:var(--text-muted);line-height:1.7;margin-bottom:28px;}
.hero-sub strong{color:var(--text-primary);font-weight:500;}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px;}
.btn-primary{font-size:13px;font-weight:500;padding:10px 22px;background:var(--text-primary);color:var(--navy-base);border-radius:8px;text-decoration:none;transition:opacity .2s;}
.btn-primary:hover{opacity:.85;}
.btn-ghost{font-size:13px;padding:10px 22px;background:transparent;color:var(--text-primary);border:1px solid var(--navy-hover);border-radius:8px;text-decoration:none;transition:border-color .2s;}
.btn-ghost:hover{border-color:var(--text-muted);}
.hero-socials{display:flex;gap:16px;}
.social-link{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted);text-decoration:none;padding:9px 14px;border:1px solid var(--navy-border);border-radius:20px;background:rgba(255,255,255,.02);transition:color .2s,border-color .2s,background .2s;}
.social-link:hover{color:var(--text-primary);border-color:var(--navy-hover);background:rgba(255,255,255,.05);}
.hero-visual{display:flex;flex-direction:column;align-items:center;gap:12px;}
.profile-ring{width:220px;height:220px;border-radius:50%;border:2px solid var(--navy-border);overflow:hidden;margin-bottom:8px;}
.profile-img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.stat-card{background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:10px;padding:10px 16px;text-align:center;width:150px;}
.stat-num{font-size:20px;font-weight:500;color:var(--accent);display:block;}
.stat-label{font-size:10px;color:var(--text-muted);display:block;margin-top:2px;line-height:1.3;}
#about{padding-top:80px;}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
.about-text h2{font-size:26px;font-weight:500;font-family:"DM Serif Display",serif;color:var(--text-primary);margin-bottom:20px;line-height:1.3;}
.about-text p{font-size:14px;color:var(--text-muted);line-height:1.8;margin-bottom:14px;}
.about-text p strong{color:var(--text-primary);}
.about-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.about-card{background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:12px;padding:20px;}
.about-card-icon{color:var(--accent);margin-bottom:10px;}
.about-card h3{font-size:15px;font-weight:500;color:var(--text-primary);margin-bottom:6px;}
.about-card p{font-size:12px;color:var(--text-muted);line-height:1.6;}
#skills .skills-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px;background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:16px;overflow:hidden;}
#skills .skill-category{background:var(--navy-base);padding:28px 28px 32px;}
#skills .skill-category:nth-child(3n+1){border-right:1px solid var(--navy-surface);}
#skills .skill-category:nth-child(3n+2){border-right:1px solid var(--navy-surface);}
#skills .skill-category:not(:nth-last-child(-n+3)){border-bottom:1px solid var(--navy-surface);}
#skills .cat-header{display:flex;align-items:center;gap:10px;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid var(--navy-border);}
#skills .cat-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
#skills .cat-title{font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;}
#skills .cat-languages .cat-dot{background:#58a6ff;}#skills .cat-languages .cat-title{color:#58a6ff;}
#skills .cat-cloud .cat-dot{background:#f97316;}#skills .cat-cloud .cat-title{color:#f97316;}
#skills .cat-infra .cat-dot{background:#3fb950;}#skills .cat-infra .cat-title{color:#3fb950;}
#skills .cat-obs .cat-dot{background:#e879f9;}#skills .cat-obs .cat-title{color:#e879f9;}
#skills .cat-security .cat-dot{background:#fb923c;}#skills .cat-security .cat-title{color:#fb923c;}
#skills .cat-frameworks .cat-dot{background:#34d399;}#skills .cat-frameworks .cat-title{color:#34d399;}
#skills .icon-grid{display:flex;flex-wrap:wrap;gap:10px;}
#skills .icon-item{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 8px 9px;background:var(--navy-base);border:1px solid var(--navy-border);border-radius:10px;width:72px;cursor:default;transition:border-color .18s ease,transform .18s ease,background .18s ease;}
#skills .icon-item:hover{border-color:var(--navy-hover);background:var(--navy-surface);transform:translateY(-4px);}
#skills .icon-item i{font-size:28px;line-height:1;}
#skills .icon-item span{font-size:10px;color:var(--text-muted);text-align:center;line-height:1.3;}
#skills .badge-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:7px;font-size:8.5px;font-weight:700;letter-spacing:-.2px;text-align:center;line-height:1.2;}
#skills .badge-scylla{background:#6E3FF3;color:#fff;}
#skills .badge-helm{background:#0F1689;color:#fff;}
#skills .badge-prom{background:#E6522C;color:#fff;}
#skills .badge-grafana{background:#F46800;color:#fff;}
#skills .badge-jwt{background:#000;color:#d63aff;border:1px solid #333;}
#skills .badge-hmac{background:var(--navy-surface);color:#58a6ff;border:1px solid var(--navy-hover);}
#skills .badge-kv{background:#0072C6;color:#fff;font-size:10px;font-weight:700;}
.projects-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.project-card{background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:14px;transition:border-color .2s,transform .2s;}
.project-card:hover{border-color:var(--navy-hover);transform:translateY(-2px);}
.project-card-header{display:flex;justify-content:space-between;align-items:flex-start;}
.project-icon{color:var(--accent);}
.project-badge{font-size:10px;font-weight:500;padding:3px 9px;border-radius:20px;background:rgba(88,166,255,.12);color:var(--accent);letter-spacing:.05em;text-transform:uppercase;}
.project-card h3{font-size:15px;font-weight:500;color:var(--text-primary);}
.project-card p{font-size:13px;color:var(--text-muted);line-height:1.7;}
.project-highlights{list-style:none;display:flex;flex-direction:column;gap:5px;}
.project-highlights li{font-size:12px;color:var(--text-muted);padding-left:14px;position:relative;}
.project-highlights li::before{content:"›";position:absolute;left:0;color:var(--accent);}
.project-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;}
.project-tags span{font-size:11px;padding:3px 9px;border-radius:4px;background:rgba(255,255,255,.04);color:var(--text-muted);border:1px solid var(--navy-border);}
.timeline{display:flex;flex-direction:column;gap:0;}
.timeline-item{display:grid;grid-template-columns:28px 1fr;gap:24px;position:relative;}
.timeline-marker{display:flex;flex-direction:column;align-items:center;padding-top:6px;}
.timeline-marker::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--navy-border);border:2px solid var(--navy-base);flex-shrink:0;}
.timeline-item.active .timeline-marker::before{background:var(--accent);box-shadow:0 0 0 3px rgba(88,166,255,.15);}
.timeline-marker::after{content:"";width:1px;flex:1;background:var(--navy-border);margin-top:6px;}
.timeline-item:last-child .timeline-marker::after{display:none;}
.timeline-content{padding-bottom:40px;}
.timeline-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:4px;}
.timeline-role{font-size:16px;font-weight:500;color:var(--text-primary);}
.timeline-company{font-size:13px;color:var(--accent);margin-bottom:2px;}
.timeline-date{font-size:12px;color:var(--text-dim);white-space:nowrap;}
.timeline-location{font-size:12px;color:var(--text-dim);margin-bottom:12px;}
.timeline-bullets{list-style:none;display:flex;flex-direction:column;gap:6px;margin-bottom:14px;}
.timeline-bullets li{font-size:13px;color:var(--text-muted);line-height:1.7;padding-left:16px;position:relative;}
.timeline-bullets li::before{content:"›";position:absolute;left:0;color:var(--accent);}
.timeline-bullets li strong{color:var(--text-primary);}
.timeline-tags{display:flex;flex-wrap:wrap;gap:6px;}
.timeline-tags span{font-size:11px;padding:3px 9px;border-radius:4px;background:rgba(255,255,255,.04);color:var(--text-muted);border:1px solid var(--navy-border);}
.contact-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start;}
.contact-text h2{font-size:36px;font-weight:400;font-family:"DM Serif Display",serif;color:var(--text-primary);margin-bottom:12px;}
.contact-text p{font-size:14px;color:var(--text-muted);line-height:1.7;}
#contact{padding-top:60px;padding-bottom:60px;}
#contact .title{margin-bottom:28px;}
.contact-combined{display:grid;grid-template-columns:1fr 1.8fr;gap:48px;align-items:start;}
.contact-left{display:flex;flex-direction:column;gap:24px;}
.contact-desc{font-size:14px;color:var(--text-muted);line-height:1.8;}
.contact-right{display:flex;flex-direction:column;min-width:0;overflow:hidden;}
.contact-links{display:flex;flex-direction:column;gap:12px;}
.contact-item{display:flex;align-items:center;gap:14px;padding:16px 18px;background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:12px;text-decoration:none;transition:border-color .2s,transform .2s;}
.contact-item:hover{border-color:var(--navy-hover);transform:translateX(4px);}
.contact-icon{width:36px;height:36px;border-radius:8px;background:rgba(88,166,255,.1);display:flex;align-items:center;justify-content:center;color:var(--accent);flex-shrink:0;}
.contact-label{font-size:11px;color:var(--text-dim);margin-bottom:2px;}
.contact-value{font-size:13px;color:var(--text-primary);}
footer{border-top:1px solid var(--navy-border);padding:24px 6vw;}
.footer-inner{max-width:1100px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;}
.footer-nav a{font-size:12px;color:var(--text-dim);text-decoration:none;margin:0 12px;transition:color .2s;}
.footer-nav a:hover{color:var(--text-primary);}
.footer-inner p{font-size:12px;color:var(--text-dim);}

/* CHATBOT */
#chat-toggle{position:fixed;bottom:28px;right:28px;width:56px;height:56px;border-radius:50%;background:#1a1a1a;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:9999;box-shadow:0 4px 20px rgba(0,0,0,.3);transition:transform .2s;}
#chat-toggle:hover{transform:scale(1.08);}
#chat-toggle::before{content:'';position:absolute;width:100%;height:100%;border-radius:50%;background:rgba(88,166,255,.4);animation:chat-pulse 2.5s ease-out infinite;}
@keyframes chat-pulse{0%{transform:scale(1);opacity:.6;}70%{transform:scale(1.5);opacity:0;}100%{transform:scale(1.5);opacity:0;}}
#chat-toggle svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;}
#chat-panel{position:fixed;bottom:96px;right:28px;width:360px;max-height:540px;background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:16px;display:flex;flex-direction:column;z-index:9998;overflow:hidden;opacity:1;transform:translateY(0);transition:opacity .2s,transform .2s;box-shadow:0 8px 40px rgba(0,0,0,.4);}
#chat-panel.chat-hidden{opacity:0;pointer-events:none;transform:translateY(14px);}
.chat-header{padding:14px 16px 12px;border-bottom:1px solid var(--navy-border);display:flex;align-items:center;gap:10px;}
.chat-avatar{width:36px;height:36px;border-radius:50%;background:#1a1a1a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;flex-shrink:0;}
.chat-header-name{font-size:14px;font-weight:500;color:var(--text-primary);}
.chat-header-status{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:5px;}
.online-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;display:inline-block;}
#chat-messages{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;gap:10px;max-height:340px;}
.chat-msg{max-width:85%;font-size:13.5px;line-height:1.55;padding:9px 13px;border-radius:14px;}
.chat-msg.user{align-self:flex-end;background:#1a1a1a;color:#fff;border-radius:14px 14px 4px 14px;}
.chat-msg.bot{align-self:flex-start;background:rgba(255,255,255,.06);color:var(--text-primary);border-radius:14px 14px 14px 4px;}
.chat-msg.typing-indicator{color:var(--text-muted);font-style:italic;}
.chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px;}
.chat-chip{font-size:12px;padding:5px 11px;border:1px solid var(--navy-hover);border-radius:20px;cursor:pointer;background:transparent;color:var(--text-muted);transition:background .15s;}
.chat-chip:hover{background:var(--navy-hover);}
.chat-input-row{display:flex;gap:8px;padding:10px 12px 14px;border-top:1px solid var(--navy-border);align-items:flex-end;}
#chat-input{flex:1;resize:none;border:1px solid var(--navy-border);border-radius:10px;padding:8px 11px;font-size:13.5px;font-family:inherit;background:var(--navy-base);color:var(--text-primary);outline:none;min-height:36px;max-height:90px;}
#chat-input:focus{border-color:var(--navy-hover);}
#chat-send{width:34px;height:34px;border-radius:8px;background:#1a1a1a;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
#chat-send svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2;}

.projects-list{display:flex;flex-direction:column;gap:24px;}
.project-full{background:var(--navy-surface);border:1px solid var(--navy-border);border-radius:16px;padding:28px 32px;display:flex;flex-direction:column;gap:24px;transition:border-color .2s;}
.project-full:hover{border-color:var(--navy-hover);}
.project-full-compact{gap:18px;padding:24px 28px;}
.project-full-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;}
.project-full-left{flex:1;}
.project-full-left .project-badge{display:inline-block;margin-bottom:10px;font-size:10px;font-weight:500;padding:3px 10px;border-radius:20px;background:rgba(88,166,255,.12);color:var(--accent);letter-spacing:.06em;text-transform:uppercase;}
.project-full-left h3{font-size:18px;font-weight:500;color:var(--text-primary);margin-bottom:10px;line-height:1.3;}
.project-summary{font-size:13.5px;color:var(--text-muted);line-height:1.75;}
.project-full-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;max-width:200px;justify-content:flex-end;}
.project-full-tags span{font-size:10px;padding:3px 8px;border-radius:4px;background:rgba(255,255,255,.04);color:var(--text-muted);border:1px solid var(--navy-border);white-space:nowrap;}
.project-arch-diagram{background:var(--navy-base);border:1px solid var(--navy-border);border-radius:10px;padding:18px 20px;display:flex;flex-direction:column;gap:10px;}
.arch-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.arch-row-secondary{opacity:.75;}
.arch-node{padding:8px 12px;border-radius:8px;font-size:11px;font-weight:500;line-height:1.3;min-width:120px;text-align:center;}
.arch-sub{font-size:9.5px;font-weight:400;margin-top:2px;opacity:.8;}
.node-vendor{background:rgba(88,166,255,.1);color:#58a6ff;border:1px solid rgba(88,166,255,.2);}
.node-svc{background:rgba(255,255,255,.05);color:var(--text-primary);border:1px solid var(--navy-hover);}
.node-db{background:rgba(63,185,80,.1);color:#3fb950;border:1px solid rgba(63,185,80,.2);}
.node-obs{background:rgba(232,121,249,.1);color:#e879f9;border:1px solid rgba(232,121,249,.2);}
.node-infra{background:rgba(251,146,60,.1);color:#fb923c;border:1px solid rgba(251,146,60,.2);}
.arch-arrow{color:var(--text-dim);font-size:16px;flex-shrink:0;}
.project-decisions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.decision-card{background:var(--navy-base);border:1px solid var(--navy-border);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:8px;}
.decision-label{font-size:10px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);}
.decision-card p{font-size:12px;color:var(--text-muted);line-height:1.65;}
.decision-card code{font-family:'SF Mono','Fira Code',monospace;font-size:11px;background:rgba(255,255,255,.06);padding:1px 5px;border-radius:4px;color:var(--text-primary);}
.decision-solution{font-size:12px;color:var(--text-primary);line-height:1.65;padding-top:8px;border-top:1px solid var(--navy-border);}
@media screen and (max-width:900px){.project-full-header{flex-direction:column;}.project-full-tags{max-width:100%;justify-content:flex-start;}.project-decisions{grid-template-columns:1fr;}.arch-node{min-width:90px;font-size:10px;}}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;max-width:100%;margin-bottom:28px;}
.hero-tag{font-size:11px;padding:7px 13px;border-radius:20px;background:rgba(255,255,255,.04);color:var(--text-muted);border:1px solid var(--navy-border);white-space:nowrap;}
nav.scrolled{background:rgba(13,17,23,.98);border-bottom-color:rgba(255,255,255,.08);box-shadow:0 1px 20px rgba(0,0,0,.3);}
.about-card{opacity:0;transform:translateY(16px);transition:opacity 0.5s ease,transform 0.5s ease;}
.about-card.visible{opacity:1;transform:translateY(0);}
.nav-links a.active{color:var(--text-primary);}
.calendly-wrapper{max-width:860px;margin:0 auto;padding:48px 6vw 80px;}
.calendly-header{text-align:center;margin-bottom:32px;}
.calendly-title{font-size:36px;font-weight:400;font-family:"DM Serif Display",serif;font-style:italic;color:var(--text-primary);margin-bottom:10px;}
.calendly-sub{font-size:14px;color:var(--text-muted);line-height:1.6;}
.calendly-inline-widget{border-radius:16px;overflow:hidden;border:1px solid var(--navy-border);box-shadow:0 4px 24px rgba(0,0,0,.3);}