:root {
  --bg-start: #0f1020;
  --bg-end: #2e1a9e;
  --accent: #6ee7b7;
  --accent-2: #3b82f6;
  --text-main: #f9fafb;
  --surface: rgba(15, 23, 42, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 0% 0%, #1e293b 0, transparent 40%),
    radial-gradient(circle at 100% 100%, #0b1120 0, transparent 40%),
    linear-gradient(135deg, var(--bg-start), var(--bg-end));
  display: flex;
  flex-direction: column;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header / nav */

.site-header {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.navbar {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent);
}

.navbar-links {
  display: flex;
  gap: 1rem;
}

.navbar-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.navbar-links a:hover {
  background-color: rgba(148, 163, 184, 0.2);
  transform: translateY(-1px);
}

.navbar-links a.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1120;
}

/* Main content */

.site-main {
  flex: 1;
}

.hero,
.page-section {
  max-width: 960px;
  margin: 2.5rem auto;
  padding: 1.5rem 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem 2.5rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.card h1,
.card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  margin-top: 0;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Simple grid for “projects” cards */

.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #0b1120;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.6);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.7);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.9);
}

.site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}
