:root {
  --bg: #0c111b;
  --panel: #121927;
  --muted: #9cb3c9;
  --text: #e7edf5;
  --accent: #5eead4;
  --accent-2: #7aa5ff;
  --border: #1e2a3c;
  --gradient: linear-gradient(135deg, #0f172a 0%, #0b1224 40%, #0a1a2f 100%);
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--gradient);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  padding: 48px clamp(24px, 5vw, 64px) 32px;
  background: radial-gradient(100% 100% at 20% 20%, rgba(94, 234, 212, 0.08), transparent 50%), radial-gradient(90% 90% at 80% 10%, rgba(122, 165, 255, 0.08), transparent 50%), var(--gradient);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 42px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.4px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
}

.role {
  color: var(--muted);
  font-size: 14px;
}

.accent-dot {
  color: var(--accent);
  font-size: 18px;
}

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

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

.nav-links a:hover {
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  margin: 10px 0 16px;
}

.hero-text .lede {
  color: var(--muted);
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
}

.lede {
  font-size: 18px;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin: 24px 0 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), #b2f5ea);
  color: #0b1224;
  border-color: transparent;
  box-shadow: 0 14px 40px rgba(94, 234, 212, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 28, 51, 0.4);
  border-color: var(--accent-2);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-card {
  background: rgba(18, 25, 39, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.stat.accent {
  border-color: rgba(94, 234, 212, 0.4);
  background: radial-gradient(120% 120% at 20% 30%, rgba(94, 234, 212, 0.1), transparent);
}

.card-note {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 56px clamp(24px, 5vw, 64px);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0;
}

.section-lede {
  color: var(--muted);
}

.expertise-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.15s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 16px 40px rgba(5, 16, 36, 0.5);
}

.projects-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.project {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.06), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(12, 17, 27, 0.8);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  width: fit-content;
}

.project h3 {
  font-family: var(--font-display);
  font-size: 20px;
}

.project p {
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.project a {
  color: var(--accent);
  font-weight: 700;
}

.contact {
  background: radial-gradient(80% 120% at 10% 20%, rgba(122, 165, 255, 0.1), transparent), rgba(255, 255, 255, 0.01);
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(12, 17, 27, 0.7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 780px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.contact-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  color: var(--muted);
}

.contact-list .label {
  color: var(--text);
  font-weight: 700;
  margin-right: 8px;
}

.footer {
  padding: 22px clamp(24px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    order: -1;
  }

  .footer {
    flex-direction: column;
  }
}
