:root {
  --bg: #0b1021;
  --panel: #11162b;
  --accent: #152348;
  --text: #e5e9f0;
  --muted: #9aa5b1;
  --brand: #5bc0be;
  --pill: #1e2d55;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(91, 192, 190, 0.07), transparent 25%),
              radial-gradient(circle at 80% 10%, rgba(91, 192, 190, 0.05), transparent 20%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  padding: 120px 20px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 16, 33, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav a {
  color: var(--text);
  margin-left: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
}

.hero__content h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.lead {
  color: var(--muted);
  margin: 0 0 24px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__card {
  background: var(--panel);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.card__title {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero__card li:last-child {
  border-bottom: none;
}

.panel {
  background: rgba(17, 22, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.panel--accent {
  background: var(--accent);
}

.panel__header h2 {
  margin: 8px 0;
}

.panel__header .muted {
  margin: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 12px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card--project {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__pill {
  align-self: flex-start;
  background: var(--pill);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.card__link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.card__link:hover {
  text-decoration: underline;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91, 192, 190, 0.14);
  color: var(--brand);
  border: 1px solid rgba(91, 192, 190, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #0b1021;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(91, 192, 190, 0.35);
}

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

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

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

.footer {
  text-align: center;
  color: var(--muted);
  padding: 20px;
  font-size: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  background: rgba(0, 0, 0, 0.12);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--brand);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: var(--pill);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill:hover {
  border-color: var(--brand);
}

@media (max-width: 640px) {
  main {
    padding: 100px 16px 60px;
  }

  .top-bar {
    position: fixed;
    width: 100%;
    left: 0;
  }

  .nav a {
    margin-left: 10px;
    font-size: 14px;
  }
}
