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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Page Layout ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 20px 32px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 24px;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: block;
  transition: opacity 0.2s;
}

.logo:hover .logo-circle {
  opacity: 0.85;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 13px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.create-account {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  flex-shrink: 0;
}

.create-account:hover {
  color: #fff;
}

.user-icon {
  width: 18px;
  height: 18px;
}

/* ===== Hero Container ===== */
.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero-inner {
  position: relative;
  flex: 1;
  border-radius: 40px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 18px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 480px;
}

.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 36px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-join:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.btn-join:active {
  transform: scale(0.98);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.scroll-btn svg {
  width: 16px;
  height: 16px;
}

.scroll-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ===== Progress Widget ===== */
.progress-widget {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.progress-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.progress-track {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 35%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { width: 35%; opacity: 0.6; }
  50% { width: 55%; opacity: 1; }
}

/* ===== Partner Bar ===== */
.partner-bar {
  padding: 28px 0 8px;
}

.partner-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
  cursor: default;
}

.partner-item:hover {
  color: rgba(255, 255, 255, 0.6);
}

.partner-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  opacity: 0.7;
  object-fit: cover;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .page-wrapper {
    padding: 16px 16px 20px;
  }

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

  .nav-pill {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: auto;
  }

  .create-account {
    margin-left: auto;
  }

  .hero-inner {
    border-radius: 28px;
    min-height: calc(100vh - 220px);
  }

  .scroll-indicator,
  .progress-widget {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-link {
    padding: 6px 12px;
    font-size: 12px;
  }

  .partner-list {
    gap: 20px 28px;
  }

  .partner-item {
    font-size: 12px;
  }
}
