html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* GLOBAL BACKGROUND – hero image everywhere */
body {
  background-image: url('hero-bg1.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

/* Cinematic dark overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.25), transparent 60%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.98));
  pointer-events: none;
  z-index: -1;
}

/* Sections stay transparent; we use cards for contrast */
section {
  background: transparent !important;
}

/* ==========================
   BUTTONS
========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  background-image: linear-gradient(135deg, #3b82f6, #06b6d4);
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 45px rgba(37, 99, 235, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.9),
    inset 0 0 0 1px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.9);
  transform: translateY(-1px);
  box-shadow:
    0 18px 40px rgba(30, 64, 175, 0.9);
}

/* ==========================
   NAV – subtle vertical dividers
========================== */
.nav-link {
  position: relative;
  padding-inline: 0.75rem;
  font-size: 0.9rem;
}

.nav-link + .nav-link::before {
  content: "";
  position: absolute;
  left: -0.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(148, 163, 184, 0.35);
}

/* ==========================
   LOGO STRIP
========================== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.logo-pill {
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.8rem;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-pill span {
  font-size: 0.9rem;
}

.logo-float {
  animation: floatLogo 6s ease-in-out infinite alternate;
}

@keyframes floatLogo {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

/* ==========================
   CUSTOM SCROLLBAR
========================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.95);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4f46e5, #0ea5e9);
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #6366f1, #22d3ee);
}

/* ==========================
   GENERIC FADE-UP
========================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   GENERIC GLOW ROW / DOT
=========================== */
.glow-row {
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  border-radius: 8px;
}

.glow-row:hover {
  background: rgba(56, 189, 248, 0.06);
  box-shadow:
    0 0 14px rgba(56, 189, 248, 0.18),
    0 0 24px rgba(56, 189, 248, 0.12);
  transform: translateX(4px);
}

.glow-dot {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.glow-dot:hover {
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9), 0 0 24px rgba(56, 189, 248, 0.6);
  transform: scale(1.25);
}

/* ===========================
   LEGAL LINKS
=========================== */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

.legal-pill {
  position: relative;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  color: #9ca3af;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

.legal-pill::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.5), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.legal-pill:hover {
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.legal-pill:hover::before {
  opacity: 1;
}

.legal-link {
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: 0.25s ease;
  display: inline-block;
}

.legal-link:hover {
  color: white;
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}
