*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0b;
  --text: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.6);
  --accent: #6ee7b7;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body.body--loading {
  overflow: hidden;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__content {
  text-align: center;
  padding: 2rem;
  max-width: 420px;
}

.loader__label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.loader__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.loader__hint {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.loader__progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loader__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.3s ease-out;
}

.loader__status {
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.9), transparent);
  backdrop-filter: blur(8px);
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 2rem 4rem;
  position: relative;
}

.hero__label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 100px;
  transition: transform 0.2s, opacity 0.2s;
}

.hero__cta:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Showcase */
.showcase {
  position: relative;
}

.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.showcase__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase__scroll-track {
  pointer-events: none;
}

.showcase__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.showcase__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.15s ease-out;
}

.showcase__counter {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.showcase__counter-divider {
  margin: 0 0.25rem;
  opacity: 0.4;
}

/* Slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.7s;
}

.slide--active {
  opacity: 1;
  visibility: visible;
}

.slide__video-wrap {
  position: absolute;
  inset: 0;
}

.slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 11, 0.92) 0%,
    rgba(10, 10, 11, 0.75) 40%,
    rgba(10, 10, 11, 0.35) 100%
  );
}

.slide__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 2rem 6rem;
  max-width: 640px;
  margin-left: clamp(2rem, 8vw, 8rem);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.slide--active .slide__content {
  transform: translateY(0);
  opacity: 1;
}

.slide__subtitle {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.slide__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.slide__description {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.slide__tag {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  color: var(--text-muted);
}

.slide__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s, color 0.2s;
}

.slide__link:hover {
  gap: 0.75rem;
  color: var(--accent);
}

/* Contact */
.contact {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact__link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact__link:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0 1.25rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .slide__content {
    margin-left: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    max-width: 100%;
  }

  .slide__overlay {
    background: linear-gradient(
      to top,
      rgba(10, 10, 11, 0.95) 0%,
      rgba(10, 10, 11, 0.7) 50%,
      rgba(10, 10, 11, 0.4) 100%
    );
  }

  .showcase__counter {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
