/* Base tokens */
:root {
  --bg: #0e1016;
  --panel: #151924;
  --accent: #4ea8ff;
  --accent-strong: #7cd1ff;
  --text: #e7ecf5;
  --muted: #9aa5b8;
  --border: #202636;
  --shadow: 0 15px 50px rgba(0,0,0,0.35);
  --radius: 14px;
  --radius-lg: 18px;
  --max-width: 1080px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(circle at 20% 20%, rgba(78,168,255,0.08), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(124,209,255,0.08), transparent 25%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(14,16,22,0.78);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo__img {
  height: 30px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.logo__text { line-height: 1; }

.nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover { color: var(--accent); background: rgba(78,168,255,0.08); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: var(--text);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1220;
  box-shadow: 0 10px 30px rgba(78,168,255,0.35);
}

.btn--primary:hover { transform: translateY(-1px); }

.btn--ghost {
  border-color: var(--border);
  background: rgba(255,255,255,0.02);
}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Eyebrow + lede */
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-strong);
  margin-bottom: 10px;
}

.lede { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }

/* Section base */
.section { padding: 100px 0; }
.section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.section__header { max-width: 640px; margin-bottom: 28px; }

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
}

.card--skills ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card__icon { font-size: 18px; margin-bottom: 8px; color: var(--accent-strong); }

/* Links */
.text-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.text-link::after {
  content: "→";
  font-size: 12px;
  transition: transform 0.2s ease;
}

.text-link:hover::after { transform: translateX(3px); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: rgba(0,0,0,0.15);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .topbar__inner { gap: 12px; }
  .nav { display: none; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
}
