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

:root {
  --bg-main: #0d1117;
  --bg-surface: #161b22;
  --bg-header: #010409;
  --text-main: #e6edf3;
  --text-muted: #9ba3b4;
  --accent: #58a6ff;
  --border: #30363d;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* ================= LAYOUT ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 800px; }
.center { text-align: center; }

.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

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

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  height: 36px;
}

.nav a {
  margin-left: 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

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

/* ================= ABOUT CARD ================= */
.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

/* Text block */
.about-main {
  max-width: 800px;
  margin-bottom: 32px;
}

.about-tagline {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 16px 0;
}

.about-text {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= GRID / CARDS ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}

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

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-actions {
  display: flex;
  gap: 16px;
}

.card-actions a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.card-actions a:hover {
  text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* ================= FOOTER SOCIALS ================= */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: fill 0.25s ease;
}

.socials a:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(88, 166, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.15);
}

.socials a:hover svg {
  fill: var(--accent);
}


/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .nav {
    display: none;
  }
}
