:root{
  --bg:#fff;
  --surface:#fff;
  --surface-soft:#f7faff;
  --text:#102044;
  --muted:#6d7fa3;
  --line:#e2eaff;
  --primary:#2563ff;
  --primary-2:#4b7dff;
  --blue-soft:#edf4ff;
  --shadow:0 18px 55px rgba(31,72,145,.10);
  --radius:22px;
  --container:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:"DM Sans",system-ui,sans-serif;line-height:1.65;
  overflow-x:hidden;
}
body.dark{
  --bg:#08101f;--surface:#0e192c;--surface-soft:#0b1628;--text:#f4f7ff;
  --muted:#9cabc8;--line:#223451;--blue-soft:#102449;
  --shadow:0 20px 60px rgba(0,0,0,.28);
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.section{padding:88px 0}
.scroll-progress{position:fixed;inset:0 auto auto 0;height:3px;width:0;background:linear-gradient(90deg,#1e5cff,#72a1ff);z-index:1000}
.site-header{
  position:sticky;top:0;z-index:900;background:rgba(255,255,255,.88);
  backdrop-filter:blur(18px);border-bottom:1px solid transparent;transition:.25s
}
.dark .site-header{background:rgba(8,16,31,.88)}
.site-header.scrolled{border-color:var(--line);box-shadow:0 10px 35px rgba(22,58,120,.06)}
.nav{height:76px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:10px;font-family:"Plus Jakarta Sans";font-weight:800;white-space:nowrap}
.brand-mark{display:block;width:46px;height:46px;flex:0 0 46px;object-fit:contain}
.nav-wrap{display:flex;align-items:center;justify-content:center;gap:7px;flex:1}
.nav-link{position:relative;padding:12px 17px;color:var(--muted);font-size:14px;font-weight:700}
.nav-link:after{content:"";position:absolute;left:17px;right:17px;bottom:2px;height:2px;border-radius:10px;background:var(--primary);transform:scaleX(0);transition:.25s}
.nav-link:hover,.nav-link.active{color:var(--text)}
.nav-link.active:after{transform:scaleX(1)}
.nav-actions{display:flex;align-items:center;gap:12px}
.theme-toggle{
  width:56px;height:34px;border:1px solid var(--line);border-radius:99px;background:var(--surface);
  display:flex;align-items:center;justify-content:space-around;color:var(--text);cursor:pointer
}
.theme-toggle svg{width:15px}.theme-dot{width:20px;height:20px;border-radius:50%;background:#8ea5d1;display:block}
.dark .theme-dot{background:#fff;transform:translateX(-2px)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;
  padding:0 20px;border-radius:999px;border:1px solid transparent;font-size:14px;font-weight:800;
  transition:.25s;cursor:pointer
}
.btn svg{width:17px}
.btn-primary{background:linear-gradient(135deg,#2770ff,#3e5fff);color:#fff;box-shadow:0 12px 28px rgba(37,99,255,.22)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(37,99,255,.28)}
.btn-outline{background:var(--surface);border-color:#bfd0ef;color:var(--text)}
.btn-outline:hover{border-color:var(--primary);color:var(--primary);transform:translateY(-2px)}
.menu-toggle{display:none;border:0;background:transparent;color:var(--text);cursor:pointer}
.hero{min-height:600px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding-top:58px}
.eyebrow,.section-kicker{
  display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-weight:800;font-size:13px;letter-spacing:.02em
}
.eyebrow{background:var(--blue-soft);padding:8px 13px;border-radius:99px}
.eyebrow svg{width:16px}
.hello{margin:28px 0 0;font-family:"Plus Jakarta Sans";font-weight:700;font-size:22px}
h1,h2,h3{font-family:"Plus Jakarta Sans";line-height:1.15;margin:0}
.hero h1{font-size:clamp(55px,6vw,88px);letter-spacing:-.06em;margin:5px 0 8px}
.hero h1 span,h2 span{color:var(--primary)}
.hero h2{font-size:24px;color:#253d69;margin-bottom:14px}.dark .hero h2{color:#dbe6ff}
.hero-text{max-width:590px;color:var(--muted);font-size:16px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}
.socials{display:flex;gap:16px}.socials a{color:#6f86ae;transition:.2s}.socials a:hover{color:var(--primary);transform:translateY(-2px)}.socials svg{width:21px}
.hero-art{position:relative;height:460px;display:grid;place-items:center}
.art-glow{position:absolute;width:470px;height:300px;background:radial-gradient(circle,rgba(77,132,255,.18),transparent 67%);filter:blur(2px)}
.laptop{position:relative;width:min(470px,82%);z-index:3;transform:perspective(800px) rotateY(-7deg);transform-style:preserve-3d;animation:laptop-float 8s ease-in-out infinite}
.screen{height:275px;border:9px solid #18335d;border-bottom-width:13px;border-radius:16px;background:linear-gradient(135deg,#eff5ff,#fff);box-shadow:0 25px 55px rgba(24,61,125,.18);overflow:hidden;padding:15px}
.dark .screen{background:#12213a}
.screen-top{display:flex;gap:5px}.screen-top span{width:7px;height:7px;border-radius:50%;background:#a9bad7}
.chart{height:160px;margin-top:15px;position:relative;border-bottom:1px solid #dbe5f7;display:flex;align-items:end;gap:13px;padding:0 12px}
.bar{width:32px;border-radius:7px 7px 0 0;background:linear-gradient(#79a6ff,#2563ff);opacity:.9}.b1{height:45px}.b2{height:72px}.b3{height:60px}.b4{height:108px}.b5{height:132px}
.chart svg{position:absolute;inset:15px 10px 0;width:calc(100% - 20px);height:140px}.chart polyline{fill:none;stroke:#163fbd;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.screen-label{font-size:12px;font-weight:800;color:#52709f;margin-top:12px}.base{height:19px;margin:-1px -38px 0;border-radius:0 0 18px 18px;background:linear-gradient(#9eb0ce,#c9d3e5);box-shadow:0 12px 15px rgba(20,48,94,.16)}
.floating-card{position:absolute;z-index:5;background:rgba(255,255,255,.94);border:1px solid #dce7fb;box-shadow:var(--shadow);border-radius:18px;color:var(--primary);display:flex;align-items:center;justify-content:center;transform-style:preserve-3d;animation:card-float 5s ease-in-out infinite}
.dark .floating-card{background:rgba(14,25,44,.94)}
.floating-card svg{width:25px}.card-top{top:35px;right:9%;padding:14px 18px;gap:10px;font-size:12px;font-weight:800;line-height:1.3;animation-delay:-1.5s}.card-left{left:5%;top:180px;width:54px;height:54px;animation-delay:-3s}.card-right{right:0;top:230px;width:58px;height:58px;animation-delay:-.75s}
.book-stack{position:absolute;z-index:2;left:6%;bottom:67px;display:flex;flex-direction:column;gap:3px}.book-stack span{width:170px;padding:6px 12px;border-radius:5px;background:linear-gradient(135deg,#214a93,#4380e8);color:#fff;font-size:11px;font-weight:800;box-shadow:0 5px 10px rgba(27,67,136,.15)}.book-stack span:nth-child(2){margin-left:8px}.book-stack span:nth-child(3){margin-left:14px}
.plant{position:absolute;right:7%;bottom:55px;width:95px;height:140px}.pot{position:absolute;bottom:0;left:20px;width:62px;height:57px;background:linear-gradient(90deg,#dfe9f4,#b8c9dc);border-radius:5px 5px 22px 22px}.leaf{position:absolute;width:47px;height:80px;border-radius:80% 0 80% 0;background:linear-gradient(135deg,#65b87b,#1d8056);transform-origin:bottom left}.l1{left:43px;top:7px;transform:rotate(12deg)}.l2{left:18px;top:18px;transform:rotate(-30deg)}.l3{left:39px;top:36px;transform:rotate(38deg)}
@keyframes laptop-float{
  0%,100%{transform:perspective(800px) rotateY(-7deg) rotateX(1deg) translateY(0)}
  50%{transform:perspective(800px) rotateY(-4deg) rotateX(-1deg) translateY(-9px)}
}
@keyframes card-float{
  0%,100%{transform:perspective(700px) rotateY(-5deg) translate3d(0,0,12px)}
  50%{transform:perspective(700px) rotateY(5deg) translate3d(0,-8px,24px)}
}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding-bottom:50px}
.feature-card{display:flex;gap:15px;align-items:flex-start;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 10px 35px rgba(25,64,128,.045);transition:transform .3s ease,box-shadow .3s ease;transform-style:preserve-3d}.feature-card:hover{transform:perspective(900px) rotateX(2deg) rotateY(-2deg) translateY(-4px);box-shadow:var(--shadow)}
.icon-box{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:13px;background:var(--blue-soft);color:var(--primary)}.icon-box svg{width:21px}
.feature-card h3{font-size:15px;margin:1px 0 5px}.feature-card p{font-size:12px;color:var(--muted);margin:0}
.split{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center}
.section-heading h2,.education h2,.contact-intro h2{font-size:34px;letter-spacing:-.035em;margin:7px 0 13px}.section-heading>p,.contact-intro>p{color:var(--muted);max-width:650px}
.profile-list{margin-top:25px;display:grid;gap:12px}.profile-list div{display:grid;grid-template-columns:25px 120px 18px 1fr;align-items:center;font-size:14px}.profile-list svg{width:17px;color:var(--primary)}.profile-list span{color:var(--muted)}.profile-list b{color:#9aaccc}.profile-list strong{font-weight:700}
.quote-card{min-height:250px;padding:35px;border:1px solid #d7e4fa;border-radius:22px;background:linear-gradient(135deg,#fafdff,#f1f6ff);position:relative;overflow:hidden}.dark .quote-card{background:linear-gradient(135deg,#101e35,#0d172a)}.quote-card>svg{width:35px;height:35px;color:var(--primary);fill:currentColor;opacity:.9}.quote-card blockquote{font-family:"Plus Jakarta Sans";font-size:22px;font-weight:700;line-height:1.55;max-width:390px;margin:15px 0;color:var(--text)}.quote-card p{color:#56729e;font-weight:700}.quote-arrow{position:absolute;right:25px;bottom:15px;color:#7fa6ff;opacity:.55}.quote-arrow svg{width:90px;height:90px}
.centered{max-width:650px;margin:0 auto 35px;text-align:center}.centered p{margin-inline:auto}
.skills-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.skill-card{display:flex;align-items:center;gap:12px;padding:17px 18px;border:1px solid var(--line);border-radius:15px;background:var(--surface);transition:.25s}.skill-card:hover{border-color:#a9c3f5;transform:translateY(-3px);box-shadow:0 12px 35px rgba(33,87,175,.08)}.skill-card svg{width:20px;color:var(--primary)}.skill-card span{font-size:13px;font-weight:700}
.education-contact{display:grid;grid-template-columns:1fr .65fr;gap:70px;align-items:end}.education-card{display:flex;align-items:center;gap:18px;border:1px solid #d8e4f8;border-radius:18px;padding:20px;background:var(--surface);max-width:590px}.education-icon{width:55px;height:55px;border-radius:15px;display:grid;place-items:center;background:var(--blue-soft);color:var(--primary)}.education-card div:nth-child(2){display:grid;gap:2px}.education-card strong{font-size:14px}.education-card span,.education-card small{color:var(--muted);font-size:12px}.education-arrow{margin-left:auto;color:var(--primary);width:19px}.education-note{color:var(--muted);font-size:13px;max-width:300px;padding-bottom:7px}
.contact-section{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding-bottom:100px}.contact-list{display:grid;gap:12px}.contact-list a{display:grid;grid-template-columns:25px 85px 1fr;align-items:center;gap:7px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.contact-list svg{width:17px;color:var(--primary)}.contact-list span{color:var(--muted)}.contact-list b{font-weight:700}
.footer{border-top:1px solid var(--line);padding:22px 0;background:var(--surface)}.footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}.footer p{margin:0;text-align:center;color:var(--muted);font-size:11px}.footer-links{display:flex;justify-content:flex-end;gap:22px;font-size:12px;color:var(--muted)}.footer-links a:hover{color:var(--primary)}
.back-top{position:fixed;right:24px;bottom:24px;width:44px;height:44px;border:0;border-radius:50%;background:linear-gradient(135deg,#2770ff,#4664ff);color:#fff;display:grid;place-items:center;box-shadow:0 12px 28px rgba(37,99,255,.25);opacity:0;visibility:hidden;transform:translateY(12px);transition:.25s;cursor:pointer;z-index:800}.back-top.show{opacity:1;visibility:visible;transform:none}.back-top svg{width:19px}
.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);padding:10px 15px;background:#102044;color:#fff;border-radius:10px;font-size:12px;opacity:0;visibility:hidden;transition:.25s;z-index:1001}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}.reveal.show{opacity:1;transform:none}
@media(max-width:1000px){
  .nav-wrap{gap:0}.nav-link{padding-inline:11px}.nav-link:after{left:11px;right:11px}
  .hero{grid-template-columns:1fr}.hero-art{order:-1;height:390px}.hero-copy{max-width:750px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}.skills-grid{grid-template-columns:repeat(2,1fr)}
  .split,.education-contact,.contact-section{grid-template-columns:1fr;gap:35px}
  .education-note{max-width:590px}.footer-inner{grid-template-columns:1fr}.footer .brand,.footer-links{justify-content:center}.footer p{text-align:center}
}
@media(max-width:900px){
  .nav{height:68px;gap:16px}
  .nav-actions{margin-left:auto}
  .nav-cv{display:none}
  .menu-toggle{display:grid;place-items:center;order:3}
  .menu-toggle svg{width:22px}
  .nav-wrap{position:absolute;top:68px;left:15px;right:15px;display:grid;gap:4px;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s}
  .nav-wrap.open{opacity:1;visibility:visible;transform:none}
  .nav-link{padding:12px 14px}
  .nav-link:after{left:14px;right:auto;width:30px}
}
@media(max-width:720px){
  .container{width:min(100% - 30px,1200px)}.section{padding:65px 0}
  .hero{padding-top:30px}.hero-art{height:330px;margin-inline:-35px}.hero-art.reveal{transform:translateY(18px) scale(.88)}.hero-art.reveal.show{transform:scale(.88)}.hero h1{font-size:56px}.hello{font-size:19px}
  .feature-grid{grid-template-columns:1fr}.skills-grid{grid-template-columns:1fr 1fr}.section-heading h2,.education h2,.contact-intro h2{font-size:29px}
  .profile-list div{grid-template-columns:23px 105px 14px 1fr;font-size:12px}.contact-list a{grid-template-columns:24px 70px 1fr}
}
@media(max-width:470px){
  .theme-toggle{width:48px}.hero h1{font-size:clamp(38px,11vw,45px)}.hero h2{font-size:20px}.hero-actions .btn{width:100%}.hero-art{margin-top:-25px;margin-bottom:-35px}.hero-art.reveal{transform:translateY(18px) scale(.7)}.hero-art.reveal.show{transform:scale(.7)}.skills-grid{grid-template-columns:1fr}.quote-card{padding:25px}.quote-card blockquote{font-size:19px}
  .profile-list div{grid-template-columns:22px 88px 12px minmax(0,1fr);font-size:11px}
  .contact-list a{grid-template-columns:22px 58px minmax(0,1fr);font-size:12px}
  .contact-list b{overflow-wrap:anywhere}
  .footer-links{flex-wrap:wrap;gap:12px 18px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}*,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
}
