/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: #333;
  background: #fafafa;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Container ===== */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav__logo {
  font-weight: 600;
  font-size: 1.125rem;
  color: #333;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  color: #666;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__link:hover {
  color: #333;
}

.nav__link.active {
  color: #333;
  border-bottom-color: #333;
}

/* ===== Hero Section ===== */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 80px;
}

.hero__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.hero__avatar-initials {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero__name {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero__tagline {
  font-size: 1.125rem;
  color: #666;
  max-width: 480px;
  margin: 0 auto 36px;
}

.hero__social {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--social {
  background: #fff;
  color: #333;
  border: 1px solid #d0d0d0;
}

.btn--social:hover {
  background: #f0f0f0;
  border-color: #bbb;
}

/* ===== Page Sections ===== */
.page-section {
  flex: 1;
  padding: 64px 0 80px;
}

.page-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
  letter-spacing: -0.015em;
}

/* ===== Project Cards ===== */
.project-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.project-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.project-card__desc {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.project-card__title-link:hover {
  color: #1967d2;
}

.project-card__btn {
  margin-top: 16px;
  font-size: 0.875rem;
}

/* ===== Tags ===== */
.tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #555;
}

.tag--blue {
  background: #e8f0fe;
  color: #1967d2;
}

.tag--green {
  background: #e6f4ea;
  color: #137333;
}

.tag--purple {
  background: #f3e8fd;
  color: #7c3aed;
}

.tag--orange {
  background: #fef3e0;
  color: #c26401;
}

/* ===== Coming Soon ===== */
.coming-soon {
  text-align: center;
  padding: 80px 0;
}

.coming-soon__icon {
  color: #bbb;
  margin-bottom: 20px;
}

.coming-soon__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.coming-soon__desc {
  font-size: 1rem;
  color: #888;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid #e5e5e5;
  padding: 24px 0;
  text-align: center;
}

.footer p {
  font-size: 0.8125rem;
  color: #999;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .nav__list.open {
    display: flex;
  }

  .nav__link {
    display: block;
    padding: 12px 24px;
    border-bottom: none;
  }

  .nav__link.active {
    border-bottom: none;
    color: #1967d2;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .hero__name {
    font-size: 1.75rem;
  }

  .hero__tagline {
    font-size: 1rem;
  }

  .page-section {
    padding: 40px 0 56px;
  }

  .page-section__title {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  .project-card {
    padding: 20px;
  }
}
