/* Zipp Lend - Space Theme Media Buying Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --space-black: #03050c;
  --space-deep: #060918;
  --space-card: rgba(13, 19, 39, 0.7);
  --space-card-hover: rgba(22, 32, 66, 0.85);
  --space-border: rgba(255, 255, 255, 0.08);
  --space-border-glow: rgba(56, 189, 248, 0.35);
  --cosmic-cyan: #38bdf8;
  --cosmic-purple: #a855f7;
  --cosmic-indigo: #6366f1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--space-black);
  color: #f1f5f9;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* Background Space Video Container */
.space-video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -20;
  overflow: hidden;
  pointer-events: none;
}

.space-video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: contrast(110%) brightness(85%);
  transition: opacity 0.5s ease;
}

.space-video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  background: radial-gradient(circle at 50% 15%, rgba(14, 21, 48, 0.5) 0%, rgba(3, 5, 12, 0.88) 65%, rgba(3, 5, 12, 0.98) 100%);
}

/* Cosmic Grid Accent */
.cosmic-grid-bg {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Cosmic Glow Blobs */
.cosmic-glow-cyan {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cosmic-glow-purple {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
}

/* Fixed Top Navbar per prompt specifications */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  padding: 20px 120px; /* Exact prompt: 120px horizontal, 20px vertical */
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .navbar-custom {
    padding: 18px 40px;
  }
}

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

/* Nav links spaced 30px apart, 14px font-medium in black with 14px gap to chevron-down */
.nav-links-group {
  display: flex;
  align-items: center;
  gap: 30px; /* Exact prompt: 30px apart */
}

.nav-item-link {
  color: #000000;
  font-size: 14px; /* Exact prompt: 14px */
  font-weight: 500; /* Exact prompt: font-medium */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px; /* Exact prompt: 14px gap between label and arrow */
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-item-link:hover {
  color: #2563eb;
}

.nav-item-link svg {
  transition: transform 0.2s ease;
}

.nav-item-link:hover svg {
  transform: translateY(2px);
}

/* Contact Us Button on Navbar: black background, white text */
.nav-contact-btn {
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-contact-btn:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Hero Section Spacing per Prompt:
   Vertically centered in remaining viewport space,
   Pushed down with ~220px top padding on desktop (180px on mobile), 120px bottom padding.
   Horizontally centered and stacked vertically with 40px gaps. */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 220px; /* Exact prompt: 220px top padding desktop */
  padding-bottom: 120px; /* Exact prompt: 120px bottom padding */
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 180px; /* Exact prompt: 180px on mobile */
    padding-bottom: 80px;
  }
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px; /* Exact prompt: stacked vertically with 40px gaps */
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* Subpage Hero Spacing */
.subpage-hero {
  padding-top: 170px;
  padding-bottom: 80px;
  position: relative;
}

/* Glassmorphism Cosmic Cards */
.cosmic-card {
  background: var(--space-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--space-border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cosmic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transition: 0.5s;
  pointer-events: none;
}

.cosmic-card:hover {
  transform: translateY(-4px);
  background: var(--space-card-hover);
  border-color: var(--space-border-glow);
  box-shadow: 0 12px 35px -10px rgba(56, 189, 248, 0.2);
}

.cosmic-card:hover::before {
  left: 100%;
}

/* Badge Styling */
.cosmic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cosmic-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Infinite Marquee Ticker for Trusted Brands */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 48px;
  animation: scrollMarquee 26s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--cosmic-cyan);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: transform 0.3s ease, background 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--cosmic-cyan);
  color: #03050c;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.active .faq-content {
  max-height: 1000px;
  padding-bottom: 24px;
  transition: max-height 0.4s ease-in-out;
}

/* Buttons */
.btn-cosmic-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
  transition: all 0.25s ease;
}

.btn-cosmic-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.5);
  filter: brightness(110%);
}

.btn-cosmic-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-cosmic-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #03050c;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 45;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
