/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-start:   #0a0c12;
  --bg-mid:     #0f1320;
  --bg-end:     #070910;
  --text:       #e8eaf0;
  --text-muted: #7a8099;
  --accent:     #4f8ef7;
  --accent-dim: rgba(79, 142, 247, 0.18);
  --accent-glow:rgba(79, 142, 247, 0.35);
  --pill-bg:    rgba(79, 142, 247, 0.08);
  --pill-border:rgba(79, 142, 247, 0.25);
  --radius:     10px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: #000;
  min-height: 100dvh;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

/* ── Layout ───────────────────────────────────────────────── */
main {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.logo-wrap {
  flex-shrink: 0;
  width: clamp(108px, 24vw, 146px);
  padding: 0.5em;
  background: #000;
  border-radius: 10px;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

.name {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #b0bfdf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.roles {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Expertise Pills ──────────────────────────────────────── */
.expertise {
  width: 100%;
}

.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pill {
  padding: 0.45em 1.1em;
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  font-size: 0.825rem;
  font-weight: 500;
  color: #a8bddf;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pill:hover {
  background: rgba(79, 142, 247, 0.15);
  border-color: rgba(79, 142, 247, 0.5);
  color: var(--text);
}

/* ── CTA Buttons ──────────────────────────────────────────── */
.contact {
  width: 100%;
}

.cta-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7em 1.6em;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 18px rgba(79, 142, 247, 0.45);
}

.btn-primary:hover {
  background: #6aa0f9;
  box-shadow: 0 0 28px rgba(79, 142, 247, 0.6);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 12px rgba(79, 142, 247, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  margin-top: 3.5rem;
  font-size: 0.75rem;
  color: #6b7694;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 400px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}
