:root{
  --bg:#070A14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --line: rgba(122,162,255,.22);
  --glow: rgba(122,162,255,.55);
  --accent:#7AA2FF;
  --accent2:#4FD1C5;
  --radius:18px;
  --shadow: 0 18px 45px rgba(0,0,0,.35);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(122,162,255,.22), transparent 60%),
    radial-gradient(800px 500px at 80% 0%, rgba(79,209,197,.18), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(122,162,255,.10), transparent 60%),
    var(--bg);
  color:var(--text);
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
.container{width:min(1100px, 92%);margin:0 auto}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background: rgba(7,10,20,.62);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:200px;
}

.logo{
  width:42px;
  height:42px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid rgba(255,255,255,.25);
  box-shadow: 0 0 0 6px rgba(122,162,255,.10);
}

.brand-title{
  font-weight:800;
  letter-spacing:.5px;
  font-size:1.02rem;
}

.brand-sub{
  font-size:.86rem;
  color:var(--muted);
  margin-top:2px;
}

.menu-toggle{display:none}
.burger{
  display:none;
  width:46px;height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.menu{
  list-style:none;
  display:flex;
  gap:10px;
  align-items:center;
}

.menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition:.2s;
  color:var(--muted);
}

.menu a:hover{
  color:var(--text);
  border-color: rgba(122,162,255,.35);
  box-shadow: 0 0 0 6px rgba(122,162,255,.10);
  transform: translateY(-1px);
}

.active{
  color:var(--text) !important;
  border-color: rgba(79,209,197,.35) !important;
  box-shadow: 0 0 0 6px rgba(79,209,197,.10) !important;
}

.hero{
  padding:54px 0 26px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
  align-items:center;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-box{
  padding:26px;
  position:relative;
  overflow:hidden;
}

.hero-box:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 240px at 20% 0%, rgba(122,162,255,.18), transparent 60%),
    radial-gradient(600px 320px at 90% 10%, rgba(79,209,197,.14), transparent 55%);
  pointer-events:none;
}

.hero-box > *{position:relative}

.kicker{
  color:rgba(234,240,255,.78);
  font-weight:700;
  letter-spacing:.4px;
  margin-bottom:10px;
}

h1{
  font-size: clamp(2.0rem, 3.6vw, 3.1rem);
  line-height:1.06;
  margin-bottom:12px;
}

.lead{
  color:var(--muted);
  line-height:1.55;
  margin-bottom:18px;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
  transition:.2s;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(122,162,255,.35);
  box-shadow: 0 0 0 6px rgba(122,162,255,.10);
}

.btn.primary{
  background: linear-gradient(90deg, rgba(122,162,255,.25), rgba(79,209,197,.18));
  border-color: rgba(79,209,197,.28);
}

.hero-logo-wrap{
  padding:22px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-logo{
  width:220px;
  height:220px;
  border-radius:999px;
  object-fit:cover;
  border:3px solid rgba(255,255,255,.25);
  box-shadow: 0 0 0 10px rgba(122,162,255,.10), 0 25px 55px rgba(0,0,0,.45);
}

.section{
  padding:26px 0 54px;
}

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.section-title h2{
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.section-title p{
  color:var(--muted);
  font-size:.95rem;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.tile{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  transition:.2s;
  min-height:140px;
}

.tile:hover{
  transform: translateY(-3px);
  border-color: rgba(122,162,255,.35);
  box-shadow: 0 0 0 6px rgba(122,162,255,.10);
}

.tile h3{
  margin-bottom:8px;
  font-size:1.05rem;
}

.tile p{
  color:var(--muted);
  line-height:1.55;
  font-size:.96rem;
}

.skills{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

.skill{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.skill .label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  color:rgba(234,240,255,.85);
  font-weight:800;
}

.skill progress{
  width:100%;
  height:16px;
  border:0;
  border-radius:999px;
  overflow:hidden;
  background: rgba(255,255,255,.12);
}

.skill progress::-webkit-progress-bar{
  background: rgba(255,255,255,.12);
  border-radius:999px;
}
.skill progress::-webkit-progress-value{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius:999px;
}
.skill progress::-moz-progress-bar{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius:999px;
}

.form{
  display:grid;
  gap:12px;
}

.input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}

textarea{min-height:140px;resize:vertical}

.map{
  margin-top:14px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.map iframe{width:100%;height:320px;border:0;display:block}

.footer{
  padding:18px 0 26px;
  border-top:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  text-align:center;
}

@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-logo{width:180px;height:180px}
  .grid3{grid-template-columns:1fr}
  .skills{grid-template-columns:1fr}
}

@media (max-width: 760px){
  .burger{display:inline-flex}
  .menu{
    display:none;
    position:absolute;
    left:4%;
    right:4%;
    top:72px;
    flex-direction:column;
    gap:10px;
    padding:14px;
    border-radius:18px;
    background: rgba(7,10,20,.78);
    border:1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
  }
  .menu-toggle:checked ~ .menu{display:flex}
  .brand{min-width:auto}
}