/* ========== NAVBAR ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  z-index: 1000;
  padding: 40px 80px;
  display: flex;
  justify-content: center;
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 24px 80px;
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.nav-logo svg {
  width: 24px;
  height: 24px;
  opacity: 0.3;
  filter: grayscale(1);
}

.nav-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav-logo:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-logo:hover svg {
  opacity: 0.8;
  filter: grayscale(0);
}

.nav-links {
  display: flex;
  gap: 56px;
  align-items: center;
  justify-self: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Courier New', monospace;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.nav-link::before {
  content: '■';
  position: absolute;
  left: -24px;
  color: var(--cyan);
  font-size: 10px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(0);
}

.nav-link:hover {
  color: #FFFFFF;
  letter-spacing: 0.22em;
  transform: translateX(10px);
}

.nav-link:hover::before {
  opacity: 1;
  left: -20px;
  transform: scale(1);
}

.nav-cta {
  padding: 16px 48px;
  background: var(--cyan);
  color: var(--near);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  word-spacing: 0.25em;
  font-weight: 900;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 4px;
  justify-self: end;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.08);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
}

.cta-arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
  font-weight: 400;
}

.nav-cta:hover {
  background: #00e5ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.12);
}

.nav-cta:hover .cta-arrow {
  transform: translateX(5px);
}

.nav-cta:active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 10px rgba(0, 217, 255, 0.2),
    0 1px 0 rgba(0, 131, 143, 0.5);
}

/* ========== BUTTONS ========== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 56px;
  background: var(--cyan);
  color: var(--near);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.15em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.08);
  text-decoration: none;
  text-transform: uppercase;
}

.cta-button:hover {
  background: #00e5ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.cta-button:hover .cta-arrow {
  transform: translateX(6px);
}

.cta-button .cta-arrow {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
}

/* ========== SECTION COMPONENTS ========== */
.section {
  padding: 60px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.92);
  z-index: 0;
}

.section-head {
  margin-bottom: 64px;
  opacity: 0;
  animation: revealDown 0.6s ease 0.2s forwards;
  position: relative;
  z-index: 10;
}

.section-head h2 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-head h2 em {
  font-style: normal;
  color: var(--cyan);
}

.section-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

.section-separator {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
}

/* ========== FOOTER ========== */
footer {
  padding: 64px 48px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--near);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
}

.footer-social-box {
  text-align: center;
}

.box-label {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.social-links a:hover {
  border-color: var(--cyan);
  color: var(--near);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 128, 255, 0.3);
}

.social-links a:hover::before {
  transform: translateY(0);
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 32px;
  flex-wrap: wrap;
}

.footer-info p {
  color: var(--muted);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-links {
  display: flex;
  gap: 32px;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.legal-links a:hover {
  color: var(--white);
}

/* ========== CURSOR ========== */
#cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyan);
  border-radius: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cursor.active {
  opacity: 1;
}

#cursor::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav-links {
    gap: 24px;
  }

  .nav-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .header.scrolled {
    padding: 12px 20px;
  }

  .nav-container {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .nav-links {
    display: none;
    /* Hide menu links on mobile for simplicity */
  }

  .nav-logo span {
    display: none;
    /* Hide 'quince.' text to save space */
  }

  .nav-cta {
    padding: 10px 20px;
    font-size: 12px;
  }

  .section {
    padding: 64px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .legal-links {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nav-cta span.cta-arrow {
    display: none;
  }
}