@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-Regular.ttf');
}

::-webkit-scrollbar {
  display: none;
}

:root {
  --bg: #050506;
  --fg: #f5f5f5;
  --muted: #9a9a9a;
  --panel: #0c0c0e;
}

* {
  font-family: 'Montserrat';
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

#content {
  position: absolute;
  width: 100%;
}

section {
  padding: 14vh 10vw;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/backgrounds/background.png") center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.744);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 520px;
}

.logo {
  width: 500px;
  height: auto;
}

.hero-image {
  position: absolute;
  right: -50%;
  top: 50%;
  transform: translateY(-50%);
  width: 65vw;
  max-width: 1500px;
  opacity: 0.95;
  pointer-events: none;
  border-radius: 12px;
  filter: drop-shadow(0 60px 120px rgba(0, 0, 0, 0.813));
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #333, transparent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.gallery div {
  background: linear-gradient(135deg, #151518, #0a0a0c);
  height: 340px;
  border-radius: 8px;
  position: relative;
}

.gallery div::after {
  content: "Async UI Concept";
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #666;
  font-size: 0.85rem;
}

.download {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.download a {
  padding: 14px 28px;
  border: 1px solid #333;
  color: var(--fg);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.download a:hover {
  border: 1px solid #ffffff;
}

.github {
  background: var(--panel);
  padding: 60px;
  border-radius: 10px;
}

footer {
  padding: 8vh 0;
  color: #666;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.vision {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.vision-image {
  position: relative;
  margin-top: 80px;
  width: 80vw;
  max-width: 1600px;
  border-radius: 12px;
  align-self: center;
  pointer-events: none;
  filter: drop-shadow(0 60px 120px rgba(37, 37, 37, 0.7));
}

.vision::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 100%
  );
}

.open-source {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.open-source::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/backgrounds/backgroundCode.png") center / cover no-repeat;
  z-index: 0;
}

.open-source::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.144);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.open-source .github {
  position: relative;
  z-index: 2;
  max-width: 720px;
  background: transparent;
  padding: 0;
}

.team {
  width: 150px;
}

.translations {
  text-align: center;
  margin: 40px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.translations a {
  color: var(--fg);
  text-decoration: underline;
  margin: 0 6px;
  transition: color 0.2s ease;
}

.translations a:hover {
  color: #ffffff;
}