/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Variables */
:root {
  --bg:        #0d0d0f;
  --surface:   #13131a;
  --border:    #1e1e2e;
  --blue-dim:  #1a3a5c;
  --blue-mid:  #2a6aad;
  --blue-bright: #4da6ff;
  --blue-light: #7ec8ff;
  --text:      #e0e8f0;
  --text-muted: #7a8a9a;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav-name {
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-bright);
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 1.25rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
}

.cta-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  background: var(--blue-mid);
  color: #fff;
  border: 1px solid var(--blue-mid);
}

.btn:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
}

.btn-outline {
  background: transparent;
  color: var(--blue-bright);
  border: 1px solid var(--blue-mid);
}

.btn-outline:hover {
  background: var(--blue-dim);
}

/* Page layout */
.page {
  flex: 1;
  padding: 3rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.page h1 {
  font-size: 2rem;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--blue-mid);
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  font-weight: 600;
}

.card h2 {
  font-size: 1.2rem;
  color: var(--text);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* Status badges */
.status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  width: fit-content;
  margin-top: 0.25rem;
}

.in-progress {
  background: rgba(42, 106, 173, 0.2);
  color: var(--blue-bright);
  border: 1px solid var(--blue-dim);
}

.coming-soon {
  background: rgba(26, 58, 92, 0.3);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}
