:root {
  --bg: #08090d;
  --surface: #0e1017;
  --surface-2: #131621;
  --text: #f4f5f7;
  --muted: #9499a8;
  --line: rgba(255,255,255,.09);
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: Inter, sans-serif;
  overflow-x: hidden; line-height: 1.65;
}
body:before {
  content:""; position:fixed; inset:0; pointer-events:none; z-index:-3;
  background:
    radial-gradient(circle at 15% 20%, rgba(139,92,246,.11), transparent 28%),
    radial-gradient(circle at 85% 65%, rgba(34,211,238,.08), transparent 30%);
}
.noise { position:fixed; inset:0; opacity:.035; pointer-events:none; z-index:20; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.cursor-glow { position:fixed; width:360px; height:360px; border-radius:50%; pointer-events:none; background:radial-gradient(circle, rgba(139,92,246,.08), transparent 65%); transform:translate(-50%,-50%); z-index:-1; }
a { color:inherit; text-decoration:none; }
.navbar {
  width:min(calc(100% - 48px), var(--max)); height:74px; position:fixed; top:18px; left:50%;
  transform:translateX(-50%); z-index:15; display:flex; align-items:center; justify-content:space-between;
  padding:0 18px; border:1px solid var(--line); border-radius:18px;
  background:rgba(8,9,13,.72); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
}
.logo { display:flex; align-items:center; gap:10px; font-family:"Space Grotesk"; font-weight:700; font-size:17px; }
.logo-mark {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 8px;
}
.nav-links { display:flex; align-items:center; gap:7px; }
.nav-links a { color:#aeb2bf; font-size:13px; font-weight:600; padding:10px 13px; border-radius:10px; transition:.25s; }
.nav-links a:hover { color:#fff; background:rgba(255,255,255,.05); }
.nav-links .nav-cta { color:#fff; background:#fff; color:#090a0e; margin-left:8px; }
.menu-toggle { display:none; background:none; border:0; }
.section { width:min(calc(100% - 48px), var(--max)); margin:auto; padding:120px 0; }
.hero { min-height:850px; padding-top:190px; display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:40px; position:relative; }
.hero-grid { position:absolute; inset:100px -10vw 0; z-index:-2; opacity:.28; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:60px 60px; mask-image:linear-gradient(to bottom,black,transparent 75%); }
.status-pill { display:inline-flex; align-items:center; gap:9px; padding:7px 12px; border:1px solid var(--line); border-radius:100px; background:rgba(255,255,255,.025); color:#b8bdca; font-size:11px; font-weight:600; margin-bottom:24px; }
.status-dot { width:7px; height:7px; border-radius:50%; background:#4ade80; box-shadow:0 0 14px #4ade80; }
.eyebrow { color:#7d8290; font-size:11px; letter-spacing:.18em; font-weight:800; margin-bottom:18px; }
.hero h1 { font-family:"Space Grotesk"; font-size:clamp(54px,7vw,88px); line-height:.98; letter-spacing:-.065em; margin-bottom:27px; }
.gradient-text { background:linear-gradient(100deg,#c4b5fd 0%,#8b5cf6 45%,#22d3ee 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-description { max-width:620px; color:var(--muted); font-size:16px; }
.hero-description strong { color:#e8e9ed; }
.hero-actions { display:flex; gap:12px; margin-top:32px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; padding:13px 18px; border-radius:11px; font-size:13px; font-weight:700; border:1px solid var(--line); transition:.25s; }
.button.primary { color:#08090d; background:#f3f4f6; border-color:#f3f4f6; }
.button.primary:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(255,255,255,.12); }
.button.secondary { background:rgba(255,255,255,.035); }
.button.secondary:hover { background:rgba(255,255,255,.08); }
.hero-stats { display:flex; gap:34px; margin-top:62px; }
.hero-stats div { display:flex; flex-direction:column; gap:1px; }
.hero-stats strong { font-size:13px; }
.hero-stats span { color:#6f7481; font-size:10px; }
.hero-visual { min-height:430px; display:flex; align-items:center; justify-content:center; position:relative; }
.orb { position:absolute; border-radius:50%; filter:blur(2px); }
.orb-a { width:270px; height:270px; background:radial-gradient(circle at 30% 30%,rgba(139,92,246,.45),transparent 68%); top:15px; right:15px; }
.orb-b { width:250px; height:250px; background:radial-gradient(circle at 70% 50%,rgba(34,211,238,.24),transparent 68%); bottom:15px; left:20px; }
.code-card { width:min(470px,100%); border:1px solid rgba(255,255,255,.13); border-radius:18px; background:rgba(14,16,23,.82); box-shadow:0 30px 100px rgba(0,0,0,.45); backdrop-filter:blur(15px); transform:rotate(2deg); overflow:hidden; position:relative; }
.window-bar { height:46px; display:flex; align-items:center; gap:7px; padding:0 15px; border-bottom:1px solid var(--line); color:#777d8a; font-size:10px; }
.window-bar i { width:7px; height:7px; border-radius:50%; background:#414552; }
.window-bar span { margin-left:auto; margin-right:auto; }
pre { padding:28px; overflow:auto; font:12px/2 "SFMono-Regular",Consolas,monospace; color:#bfc4cf; }
.kw { color:#c084fc; }.type { color:#67e8f9; }.fn { color:#a7f3d0; }
.code-glow { position:absolute; width:190px; height:190px; border-radius:50%; background:rgba(139,92,246,.13); filter:blur(55px); right:-40px; bottom:-50px; }
.section-heading h2 { font-family:"Space Grotesk"; font-size:clamp(40px,5vw,64px); line-height:1.02; letter-spacing:-.055em; }
.muted { color:#686d7a; }
.about-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:80px; margin-top:55px; }
.about-copy { max-width:700px; }
.about-copy p { color:var(--muted); margin-bottom:18px; }
.about-copy .lead { color:#e7e8ec; font-size:21px; line-height:1.5; }
.about-cards { display:grid; gap:12px; }
.mini-card { border:1px solid var(--line); border-radius:15px; padding:19px; display:flex; gap:16px; align-items:center; background:rgba(255,255,255,.025); }
.mini-icon { width:42px; height:42px; border-radius:11px; display:grid; place-items:center; background:rgba(139,92,246,.12); color:#c4b5fd; font-size:17px; }
.mini-card strong { font-size:13px; }.mini-card p { color:#707582; font-size:11px; margin-top:2px; }
.row-heading { display:flex; align-items:end; justify-content:space-between; }
.project-count { color:#676c79; font-size:11px; letter-spacing:.12em; }
.project-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:45px; }
.project-card { min-height:355px; padding:25px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015)); position:relative; overflow:hidden; transition:.35s; display:flex; flex-direction:column; }
.project-card:after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background:rgba(139,92,246,.07); filter:blur(45px); right:-100px; top:-100px; pointer-events:none; }
.project-card:hover { transform:translateY(-6px); border-color:rgba(139,92,246,.35); box-shadow:0 25px 70px rgba(0,0,0,.25); }
.project-top { display:flex; justify-content:space-between; align-items:center; color:#606572; font-size:10px; }
.tag { padding:5px 8px; border:1px solid var(--line); border-radius:100px; color:#888d99; }
.project-icon { margin-top:35px; width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:rgba(139,92,246,.12); color:#c4b5fd; font-size:18px; }
.project-card h3 { font-family:"Space Grotesk"; font-size:24px; margin-top:17px; }
.project-card p { color:#777d8b; font-size:13px; margin-top:7px; max-width:520px; }
.techs { display:flex; gap:7px; flex-wrap:wrap; margin-top:18px; }
.techs span { padding:4px 7px; border-radius:6px; background:rgba(255,255,255,.05); color:#8e94a1; font-size:9px; }
.project-link { margin-top:auto; padding-top:25px; color:#d8d9df; font-size:11px; font-weight:700; display:flex; gap:8px; }
.skills-layout { margin-top:50px; display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; }
.skill-main { display:grid; gap:12px; }
.skill-title { display:flex; justify-content:space-between; font-size:12px; margin-top:10px; }.skill-title strong { color:#6f7480; font-size:10px; font-weight:500; }
.bar { height:5px; border-radius:10px; background:#1b1e28; overflow:hidden; }.bar span { display:block; width:var(--width); height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--accent),var(--accent-2)); transform-origin:left; animation:grow 1.3s ease both; }
@keyframes grow { from{transform:scaleX(0)} to{transform:scaleX(1)} }
.stack-cloud { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; }
.stack-cloud span { padding:11px 14px; border:1px solid var(--line); border-radius:10px; color:#858a97; background:rgba(255,255,255,.025); font-size:12px; transition:.25s; }
.stack-cloud span.large { font-family:"Space Grotesk"; color:#dddfe4; font-size:22px; padding:12px 18px; }
.stack-cloud span:hover { color:#fff; border-color:rgba(139,92,246,.45); transform:translateY(-2px); }
.philosophy { padding-top:80px; padding-bottom:80px; }
.quote { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:70px 4%; text-align:center; position:relative; }
.quote-mark { position:absolute; top:24px; left:0; color:#292c36; font:80px Georgia; }.quote p { max-width:850px; margin:auto; font-family:"Space Grotesk"; font-size:clamp(25px,3.2vw,42px); line-height:1.2; letter-spacing:-.035em; }.quote-author { display:block; margin-top:25px; color:#6f7480; font-size:10px; letter-spacing:.15em; text-transform:uppercase; }
.contact-box { border:1px solid rgba(139,92,246,.18); border-radius:22px; padding:65px; background:radial-gradient(circle at 80% 0%,rgba(139,92,246,.12),transparent 35%),rgba(255,255,255,.025); display:flex; justify-content:space-between; align-items:end; gap:50px; }
.contact-box h2 { font-family:"Space Grotesk"; font-size:clamp(42px,5vw,64px); line-height:1; letter-spacing:-.055em; }.contact-box p:not(.eyebrow) { color:#777d8b; max-width:570px; margin-top:20px; }
.contact-actions { min-width:190px; display:flex; flex-direction:column; gap:8px; }.big { width:100%; padding:15px 18px; }.social { display:flex; justify-content:space-between; align-items:center; padding:10px 2px; color:#8a8f9c; font-size:11px; border-bottom:1px solid var(--line); }
footer { width:min(calc(100% - 48px), var(--max)); margin:auto; padding:30px 0 40px; border-top:1px solid var(--line); display:flex; justify-content:space-between; color:#5f6470; font-size:10px; } footer a:hover{color:#fff}
.reveal { opacity:0; transform:translateY(20px); transition:opacity .8s ease, transform .8s ease; }.reveal.visible { opacity:1; transform:none; }.delay-1{transition-delay:.1s}.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}
@media(max-width:800px){
  .navbar { width:calc(100% - 24px); top:10px; height:64px; }.menu-toggle{display:flex; flex-direction:column; gap:4px; padding:10px; cursor:pointer}.menu-toggle span{width:20px;height:2px;background:#fff;border-radius:2px}.nav-links{position:absolute; top:72px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; padding:10px; border:1px solid var(--line); border-radius:14px; background:rgba(10,11,16,.95);}.nav-links.open{display:flex}.nav-links .nav-cta{margin:0}.section{width:min(calc(100% - 32px),var(--max));padding:85px 0}.hero{padding-top:145px;min-height:auto;grid-template-columns:1fr;}.hero-visual{min-height:340px}.code-card{transform:none}.hero h1{font-size:clamp(49px,14vw,72px)}.about-grid,.skills-layout{grid-template-columns:1fr;gap:40px}.project-grid{grid-template-columns:1fr}.contact-box{padding:35px 25px;flex-direction:column;align-items:stretch}.contact-actions{width:100%}.hero-stats{gap:20px}.hero-stats div{min-width:0}.hero-stats span{font-size:9px}footer{width:calc(100% - 32px);gap:15px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.bar span{animation:none}.project-card,.button{transition:none}}
