:root {
  --bg: #06070a;
  --card: #0f1720;
  --muted: #9aa4af;
  --accent: #0078d4; /* .NET-like blue */
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono",
    "Courier New", monospace;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #050608 0%, #071018 100%);
  color: #e6eef6;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

header.site-brand {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), #00c2ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.12),
    inset 0 -6px 18px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

h1 {
  font-size: 20px;
  margin: 0;
}
.byline {
  color: var(--muted);
  font-size: 13px;
}

main.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--glass));
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
}

.profile {
  display: flex;
  gap: 18px;
  align-items: center;
}
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b1220, #071026);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 24px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.summary {
  color: var(--muted);
  margin-top: 12px;
  font-size: 14px;
}

section + section {
  margin-top: 20px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.projects {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.project {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project h4 {
  margin: 0;
  font-size: 14px;
}
.project p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

aside.sidebar {
  position: sticky;
  top: 32px;
  height: fit-content;
}
.card-dark {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.contact h3 {
  margin: 0 0 8px 0;
}
.contact p {
  color: var(--muted);
  margin: 0 0 12px 0;
  font-size: 14px;
}

form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
textarea {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: 8px;
  color: inherit;
  font-size: 14px;
  outline: none;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
button.primary {
  background: var(--accent);
  color: #09121a;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 120, 212, 0.12);
}
button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

footer {
  grid-column: 1/-1;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 980px) {
  .container {
    grid-template-columns: 1fr;
    padding: 0;
  }
  aside.sidebar {
    position: relative;
    top: auto;
  }
  body {
    padding: 20px;
  }
}
