/* ============================================
   MONOPO SAIGON — Hero Section Styles
   ============================================ */

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

:root {
  --color-bg: #000000;
  --color-fg: #ffffff;
  --color-fg-muted: rgba(255, 255, 255, 0.5);
  --color-fg-subtle: rgba(255, 255, 255, 0.3);
  --color-accent: #c8ff00;
  --font-heading: "Orbitron";
  --font-body: "Orbitron";
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

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

ul {
  list-style: none;
}

/* ============================================
   Ripple Canvas
   ============================================ */
#ripple-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 clamp(24px, 4vw, 60px);
  mix-blend-mode: difference;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo img {
  width: clamp(90px, 12vw, 150px);
  height: auto;
}

@media (max-width: 768px) {
  .nav-logo img {
    width: clamp(80px, 28vw, 120px);
  }
}

@media (max-width: 480px) {
  .nav-logo img {
    width: 95px;
  }
}


.nav-logo:hover {
  opacity: 0.7;
}

.logo-svg {
  width: 90px;
  height: 24px;
  color: var(--color-fg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-fg);
  transition: opacity 0.3s ease;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-fg);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Mobile Menu Button */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.menu-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-fg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   Hero Content
   ============================================ */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 4vw, 60px);
  padding-top: 80px;
  position: relative;
}

.hero-title-wrapper {
  margin-bottom: clamp(24px, 3vw, 48px);
  overflow: visible;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: none;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.title-line-1 {
  font-size: clamp(64px, 12vw, 180px);
}

.title-line-2 {
  font-size: clamp(64px, 12vw, 180px);
  padding-left: clamp(40px, 8vw, 140px);
}

.title-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: revealWord 1.2s var(--ease-out-expo) forwards;
  animation-delay: calc(var(--delay) * 0.15s + 0.4s);
  text-shadow: 10px 4px 20px rgba(146, 156, 255, 0.5);
}

@keyframes revealWord {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Description */
.hero-description {
  max-width: 560px;
  margin-left: clamp(4px, 1vw, 12px);
  overflow: hidden;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-fg-muted);
  letter-spacing: 0.01em;
}

.tagline-line {
  display: block;
  overflow: hidden;
}

.tagline-text {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: revealTagline 1s var(--ease-out-expo) forwards;
}

.tagline-line:nth-child(1) .tagline-text {
  animation-delay: 0.9s;
}

.tagline-line:nth-child(2) .tagline-text {
  animation-delay: 1.0s;
}

.tagline-line:nth-child(3) .tagline-text {
  animation-delay: 1.1s;
}

.tagline-line:nth-child(4) .tagline-text {
  animation-delay: 1.2s;
}

@keyframes revealTagline {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Label */
.hero-label {
  position: absolute;
  bottom: clamp(32px, 5vh, 64px);
  right: clamp(24px, 4vw, 60px);
  overflow: hidden;
}

.label-text {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  transform: translateY(110%);
  opacity: 0;
  animation: revealTagline 1s var(--ease-out-expo) forwards;
  animation-delay: 1.4s;
}

/* ============================================
   Scroll Indicator
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: clamp(32px, 5vh, 64px);
  left: clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInScroll 1s ease forwards;
  animation-delay: 1.8s;
}

@keyframes fadeInScroll {
  to {
    opacity: 1;
  }
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-fg-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.scroll-text {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ============================================
   Background Grain / Texture
   ============================================ */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  .nav-inner {
    height: 64px;
  }

  .hero-content {
    padding-top: 64px;
    justify-content: flex-end;
    padding-bottom: 120px;
  }

  .title-line-2 {
    padding-left: clamp(24px, 6vw, 60px);
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-label {
    display: none;
  }

  .scroll-indicator {
    left: auto;
    right: 24px;
  }
}

@media (max-width: 480px) {

  .title-line-1,
  .title-line-2 {
    font-size: clamp(56px, 19vw, 86px);
  }

  .hero-title {
    line-height: 1.05;
  }

  .title-line {
    padding-bottom: 0.14em;
  }

  .title-line-2 {
    padding-left: 22px;
  }
}