﻿/* Components: navbar, hero, buttons */ 
/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3vw;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 9, 15, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 0.75rem 3vw;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text) !important;
  background: var(--card);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 3vw;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.typed { color: var(--text); }

.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 1.5rem 0 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: wheel 1.6s ease-in-out infinite;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
}

.btn-primary {
  background: var(--gradient);
  color: #06080d;
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: var(--card);
}
.btn-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

