:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --card: #101827;
  --accent: #1d9bf0;
  --accent-soft: rgba(29, 155, 240, 0.12);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2933;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.4));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand h1 {
  font-size: 1.2rem;
  margin: 0;
}

.brand p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d9bf0, #6366f1);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  padding: 3.5rem 0 2rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  max-width: 620px;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 60%);
  padding: 2rem 2.4rem;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-text h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.hero-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
  background: var(--accent);
  color: #0b1120;
  box-shadow: 0 10px 25px rgba(29, 155, 240, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(29, 155, 240, 0.45);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn.small {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

/* SECTIONS */

.section {
  padding: 2.5rem 0;
}

.section-inner {
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-xl);
  padding: 2rem 2.2rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}

.section-title {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.about-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* PROJECTS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.project-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.project-desc {
  margin: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.tags span {
  font-size: 0.75rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #e5f3ff;
}

.card-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* CONTACT */

.contact-email a {
  display: inline-flex;
  margin-top: 0.6rem;
  font-weight: 500;
  color: var(--accent);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1rem 0 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero-text {
    padding: 1.6rem 1.4rem;
  }

  .section-inner {
    padding: 1.6rem 1.4rem;
  }

  .nav {
    font-size: 0.85rem;
    gap: 0.9rem;
  }
}

.skills-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.skills-list li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--accent);
}

