/* ═══════════════════════════════════════════════════════════════
   YNUL — hero.css — Hero Section + Three.js Container
   ═══════════════════════════════════════════════════════════════ */

/* ─── Navigation ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 20px 0;
}

#navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--lss-border);
  padding: 12px 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--lss-cyan), #4A90D9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.62rem;
  color: #000;
  letter-spacing: -0.5px;
  position: relative;
  overflow: hidden;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.nav-logo-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--gap-xl);
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--lss-cyan);
  transition: width var(--t-normal);
  border-radius: var(--r-full);
}

.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.nav-user-pill {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: 6px 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  color: var(--lss-cyan);
  cursor: pointer;
  transition: all var(--t-fast);
}
.nav-user-pill:hover {
  background: rgba(0,212,255,0.2);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-normal);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── Hero Section ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(0,212,255,0.05) 0%, transparent 70%),
              linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.5) 70%, rgba(10,10,15,1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px var(--gap-lg) 80px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--r-full);
  padding: 6px 18px;
  margin-bottom: var(--gap-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lss-cyan);
  animation: fadeIn 0.8s ease;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--lss-cyan);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.hero-title {
  margin-bottom: var(--gap-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--gap-xl);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--lss-cyan), transparent);
  animation: float 2s ease-in-out infinite;
}

/* ─── Stats Bar ─── */
#stats-bar {
  padding: var(--gap-xl) 0;
  border-top: 1px solid var(--lss-border);
  border-bottom: 1px solid var(--lss-border);
  position: relative;
  overflow: hidden;
}

#stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.02), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: var(--gap-lg);
  border-right: 1px solid var(--lss-border);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--lss-cyan), #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--lss-border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--lss-border); }
}
