:root {
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --card: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.14);
  --text: #eef5ff;
  --muted: #a9b8cc;
  --brand: #60efff;
  --brand-2: #8b5cf6;
  --accent: #22c55e;
  --shadow: 0 24px 80px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top left, rgba(96,239,255,0.16), transparent 32%),
              radial-gradient(circle at top right, rgba(139,92,246,0.22), transparent 28%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 96px 0; }
.alt-section { background: rgba(255,255,255,0.03); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7,17,31,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-border);
}
.navbar { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.logo {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #06101d;
}
.nav-links { display: flex; gap: 28px; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--brand); }
.nav-toggle { display: none; background: none; color: white; border: 0; font-size: 28px; }

.hero { min-height: calc(100vh - 74px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.eyebrow, .section-kicker { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; margin-bottom: 14px; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.07em; }
h1 span { background: linear-gradient(90deg, var(--brand), #fff, var(--brand-2)); -webkit-background-clip: text; color: transparent; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.045em; margin-bottom: 24px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.hero-text, .about-text p, .card p, .project-card p, .timeline-item p { color: var(--muted); font-size: 1.05rem; }
.hero-text { margin: 28px 0; max-width: 700px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { padding: 14px 22px; border-radius: 999px; font-weight: 800; border: 1px solid var(--card-border); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06101d; border: 0; }
.btn.secondary { background: rgba(255,255,255,0.06); }
.quick-stats { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-stats div, .card, .project-card, .contact-card { background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow); border-radius: 24px; }
.quick-stats div { padding: 18px; }
.quick-stats strong { display: block; color: var(--brand); font-size: 1.2rem; }
.quick-stats span { color: var(--muted); font-size: 0.92rem; }

.hero-card { min-height: 520px; position: relative; border-radius: 42px; background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)); border: 1px solid var(--card-border); overflow: hidden; box-shadow: var(--shadow); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(96,239,255,0.35); animation: spin 18s linear infinite; }
.orbit-one { width: 360px; height: 360px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit-two { width: 250px; height: 250px; left: 50%; top: 50%; transform: translate(-50%, -50%); animation-duration: 12s; }
.ai-chip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 140px; height: 140px; display: grid; place-items: center; border-radius: 38px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06101d; font-size: 3.2rem; font-weight: 900; }
.stack-card { position: absolute; padding: 16px 20px; border-radius: 18px; background: rgba(7,17,31,0.82); border: 1px solid var(--card-border); color: var(--text); font-weight: 800; }
.stack-card.top { top: 70px; left: 52px; }
.stack-card.mid { right: 38px; top: 230px; }
.stack-card.bottom { bottom: 78px; left: 64px; }
@keyframes spin { from { rotate: 0deg; } to { rotate: 360deg; } }

.two-column { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.about-text { display: grid; gap: 18px; }
.cards-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card, .project-card { padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover, .project-card:hover { transform: translateY(-6px); border-color: rgba(96,239,255,0.55); }
.pill-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill-wrap span { padding: 10px 15px; border-radius: 999px; background: rgba(96,239,255,0.09); border: 1px solid rgba(96,239,255,0.22); color: #dffbff; font-weight: 700; }
.project-card.featured { grid-column: span 2; }
.project-icon { font-size: 2rem; margin-bottom: 16px; }
ul { padding-left: 18px; color: var(--muted); margin-top: 12px; }
.timeline { margin-top: 36px; display: grid; gap: 22px; }
.timeline-item { position: relative; padding: 24px 24px 24px 54px; background: var(--card); border: 1px solid var(--card-border); border-radius: 24px; }
.timeline-item span { position: absolute; left: 22px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 28px var(--brand); }
.contact-section { padding-bottom: 120px; }
.contact-card { padding: 42px; text-align: center; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.contact-links a { padding: 13px 18px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--card-border); font-weight: 800; color: var(--brand); }
.footer { padding: 26px; text-align: center; color: var(--muted); border-top: 1px solid var(--card-border); }

@media (max-width: 900px) {
  .hero-grid, .two-column { grid-template-columns: 1fr; }
  .cards-grid, .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; }
  .quick-stats { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; right: 4%; top: 74px; flex-direction: column; background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 20px; padding: 20px; width: 220px; }
  .nav-links.active { display: flex; }
  .hero-card { min-height: 420px; }
}
