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

body {
  background: #000;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
}

/* ── Homepage grid overlay ── */
.page-home {
  position: relative;
  isolation: isolate;
}

.page-home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 10%,
    black 25%,
    black 75%,
    rgba(0, 0, 0, 0.15) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 10%,
    black 25%,
    black 75%,
    rgba(0, 0, 0, 0.15) 90%,
    transparent 100%
  );
}

.page-home > * {
  position: relative;
  z-index: 1;
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 100px 0;
}

.nav-logo {
  font-size: 40px;
  font-weight: 860;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

.nav-links a.active {
  font-weight: 700;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 50px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  opacity: 0.5;
  margin-top: 0px;
  line-height: 1.4;
  max-width: 500px;
}

/* ── About page ── */
.about-content {
  display: flex;
  justify-content: center;
  padding: 40px 0 60px;
}

.about-body {
  width: 60%;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  opacity: 0.5;
  line-height: 1.4;
  text-align: left;
}

.about-body p + p {
  margin-top: 1.4em;
}

/* ── App Composition ── */
.app-visual {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.app-visual img {
  width: 975px;
  max-width: 100%;
  height: auto;
}

/* ── Tech Stack ── */
.tech-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.tech-item svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.tech-label {
  font-size: 24px;
  font-weight: 590;
  color: #fff;
}

/* ── Footer ── */
.footer {
  display: flex;
  justify-content: center;
  margin: 30px 0 64px;
}

.footer-badge {
  background: #000000;
  border-radius: 10px;
  padding: 10px 23px;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .app-visual img {
    width: 90vw;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 32px 24px 0;
  }

  .nav-logo {
    font-size: 28px;
  }

  .nav-links a {
    font-size: 18px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-title {
    font-size: 32px;
    max-width: 90vw;
  }

  .hero-subtitle {
    font-size: 18px;
    max-width: 90vw;
  }

  .about-body {
    width: 90%;
    font-size: 18px;
  }

  .tech-stack {
    gap: 28px;
    flex-wrap: wrap;
  }

  .tech-label {
    font-size: 18px;
  }

  .footer-badge {
    font-size: 14px;
    padding: 10px 16px;
  }
}
