/* ====== Base ====== */
:root{
  --bg: #070b14;
  --card: rgba(255,255,255,0.06);
  --card-strong: rgba(255,255,255,0.10);
  --text: #e6ebff;
  --muted: rgba(230,235,255,0.7);
  --accent: #8bdcff;
  --accent-2:#b68bff;
  --ring: rgba(139,220,255,0.35);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1100px 700px at 20% -10%, #14214a 0%, transparent 60%),
              radial-gradient(900px 700px at 95% 5%, #2b124f 0%, transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.65;
  overflow-x:hidden;
}

/* ====== Ambient orbs ====== */
.bg-orb{
  position:fixed; inset:auto;
  width:520px;height:520px; filter:blur(90px);
  opacity:.35; z-index:-1; border-radius:999px;
  animation: float 12s ease-in-out infinite;
}
.orb-1{ background:#1d7cff; left:-120px; top:120px;}
.orb-2{ background:#a855f7; right:-140px; top:-60px; animation-delay: -4s;}
@keyframes float{
  0%,100%{ transform:translateY(0) translateX(0) scale(1);}
  50%{ transform:translateY(-30px) translateX(20px) scale(1.05);}
}

/* ====== Topbar ====== */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; gap:14px;
  padding:14px 18px; backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,11,20,.9) 0%, rgba(7,11,20,.5) 100%);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.logo{
  font-weight:800; letter-spacing:.5px;
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-decoration:none; font-size:20px;
}
.nav{ display:flex; flex-wrap:wrap; gap:10px; margin-left:auto;}
.nav a{
  color:var(--muted); text-decoration:none; font-weight:600;
  padding:8px 10px; border-radius:10px;
  transition: .2s ease;
}
.nav a:hover{ color:var(--text); background:rgba(255,255,255,0.06);}
.nav-toggle{ display:none; margin-left:auto; background:transparent; color:var(--text); border:0; font-size:22px; }

/* ====== Layout ====== */
.section{ padding:70px 18px; max-width:1100px; margin:0 auto;}
.section-head{ max-width:800px; margin-bottom:16px;}
.section-head h2{ font-size:30px; margin:0 0 6px;}
.section-head p{ color:var(--muted); margin:0;}

.hero{ display:grid; grid-template-columns:1.15fr .85fr; gap:18px; padding-top:36px;}
@media (max-width: 900px){
  .hero{ grid-template-columns:1fr;}
  .nav{ display:none; position:absolute; right:12px; top:56px; background:#0b1022; padding:10px; border-radius:12px; box-shadow:var(--shadow);}
  .nav.open{ display:flex; flex-direction:column; width:min(92vw,280px);}
  .nav-toggle{ display:block;}
}

.pill{
  display:inline-block;
  padding:6px 10px; border-radius:999px;
  background:rgba(139,220,255,0.12);
  border:1px solid rgba(139,220,255,0.32);
  color:#cdefff; font-weight:700; font-size:12px; letter-spacing:.2px;
}
h1{ font-size:52px; margin:10px 0 8px;}
.subtitle{ color:var(--muted); font-size:17px; max-width:580px;}

.cta-row{ display:flex; gap:10px; margin:16px 0 6px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:6px; padding:10px 14px; border-radius:12px;
  border:1px solid transparent; font-weight:700; text-decoration:none;
  cursor:pointer; transition:.2s ease; box-shadow:none;
}
.btn.primary{
  background: linear-gradient(90deg, #1dd3ff, #8a5cff);
  color:#060914;
  box-shadow: 0 8px 30px rgba(59,130,246,.35);
}
.btn.primary:hover{ transform:translateY(-1px); filter:saturate(1.05);}
.btn.ghost{
  background: transparent; color:var(--text);
  border-color: rgba(255,255,255,0.12);
}
.btn.ghost:hover{ background:rgba(255,255,255,0.06);}

.contact-chip-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;}
.chip{
  display:inline-flex; gap:8px; align-items:center;
  padding:7px 10px; border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  color:var(--text); text-decoration:none; font-weight:600; font-size:13px;
}

/* Cards / grids */
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:var(--radius);
  padding:16px 16px;
  box-shadow:var(--shadow);
}
.glass{ background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)); }
.card-title{ margin-top:0; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px;}
@media (max-width: 900px){
  .grid-3{ grid-template-columns:1fr 1fr;}
}
@media (max-width: 640px){
  .grid-3,.grid-2{ grid-template-columns:1fr;}
}

.checklist{ padding-left:18px; margin:0;}
.checklist li{ margin:8px 0;}

/* Timeline */
.timeline{ display:grid; gap:12px;}
.timeline-item{
  position:relative; padding-left:28px;
}
.timeline-item .dot{
  position:absolute; left:6px; top:8px; width:10px; height:10px; border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  box-shadow:0 0 0 6px rgba(139,220,255,0.12);
}
.timeline-item .content h3{ margin:0 0 4px;}
.muted{ color:var(--muted); }

/* Experience */
.exp-head{ display:flex; flex-wrap:wrap; gap:8px; align-items:center;}
.tag{
  font-size:12px; font-weight:700; color:#d9dcff;
  background:rgba(255,255,255,0.08);
  padding:4px 8px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
}
ul{ margin:8px 0 0; padding-left:18px;}
li{ margin:6px 0;}

/* Form */
.form label{ display:block; font-weight:600; margin:6px 0; }
.form input, .form textarea{
  width:100%; margin-top:6px;
  padding:12px 12px; border-radius:12px; outline:none;
  background:rgba(7,11,20,0.7); color:var(--text);
  border:1px solid rgba(255,255,255,0.12);
  transition:.2s ease;
}
.form input:focus, .form textarea:focus{
  border-color:var(--accent); box-shadow:0 0 0 4px var(--ring);
}
.form-note{ font-size:13px; margin-top:10px; }

/* Footer */
.footer{
  padding:28px 18px 50px; text-align:center; color:var(--muted);
  border-top:1px solid rgba(255,255,255,0.06);
}

/* ====== Reveal Animation ====== */
.reveal{
  opacity:0; transform:translateY(14px) scale(.98);
  transition: .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in{
  opacity:1; transform:translateY(0) scale(1);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important;}
}
