/* ==========================================================================
   Sparkhub Creative — Maintenance / Coming Soon Styles
   ========================================================================== */

:root {
  --bg-dark: #080a14;
  --accent-cyan: #38bdf8;
  --accent-spark: #ca8eff;
  --accent-pink: #f472b6;
  
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s var(--ease-spring);
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  font-family: var(--font-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Fullscreen Video Background
   ========================================================================== */

.video-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Multi-layered transparent overlay: keeps center video crystal clear & vibrant */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(8, 10, 20, 0.5) 0%, rgba(8, 10, 20, 0.15) 30%, rgba(8, 10, 20, 0.15) 65%, rgba(8, 10, 20, 0.65) 100%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(8, 10, 20, 0.45) 100%);
}

/* ==========================================================================
   Page Wrapper (Full Height, Vertical Alignment)
   ========================================================================== */

.page-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px 16px;
  overflow-x: hidden;
}

.top-spacer {
  height: 20px;
  width: 100%;
  flex-shrink: 0;
}

/* ==========================================================================
   Center Hero Hub (100% Transparent Background — Video Shines Through)
   ========================================================================== */

.center-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 920px;
  margin: auto 0;
  padding: 20px 0;
  /* Completely transparent: no cards or boxes blocking the video */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  background: transparent;
}

/* Brand Logo */
.brand-wrapper {
  margin-bottom: 22px;
}

.brand-link {
  display: inline-block;
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-2px) scale(1.03);
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  /* Converts black monochrome logo to crisp pure white with sharp drop-shadow */
  filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.9));
  transition: filter var(--transition-fast), transform var(--transition-smooth);
}

.brand-link:hover .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 6px 24px rgba(202, 142, 255, 0.5));
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(13, 16, 29, 0.45);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.status-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
}

.status-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.8;
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.status-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* Hero Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  max-width: 840px;
  text-shadow: 
    0 2px 14px rgba(0, 0, 0, 0.95),
    0 4px 30px rgba(0, 0, 0, 0.9);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #ca8eff 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 14px rgba(202, 142, 255, 0.65));
}

/* Hero Description */
.hero-description {
  font-size: clamp(13.5px, 1.35vw, 16px);
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 680px;
  margin-bottom: 24px;
  font-weight: 450;
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.95),
    0 4px 20px rgba(0, 0, 0, 0.85);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(13, 16, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text-white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
}

.sound-btn:hover {
  background: rgba(13, 16, 29, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7);
}

.sound-btn:active {
  transform: translateY(0);
}

.sound-state {
  color: var(--accent-spark);
  margin-left: 2px;
  font-weight: 700;
}

/* Equalizer Bars Animation */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  width: 14px;
}

.equalizer .bar {
  width: 2.5px;
  height: 4px;
  background-color: var(--accent-cyan);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.sound-btn.playing .equalizer .bar-1 { animation: eqBounce 0.9s ease-in-out infinite; }
.sound-btn.playing .equalizer .bar-2 { animation: eqBounce 0.6s ease-in-out infinite 0.2s; }
.sound-btn.playing .equalizer .bar-3 { animation: eqBounce 1.1s ease-in-out infinite 0.4s; }
.sound-btn.playing .equalizer .bar-4 { animation: eqBounce 0.8s ease-in-out infinite 0.1s; }

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ca8eff 0%, #38bdf8 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #070914;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(202, 142, 255, 0.35);
  transition: transform var(--transition-smooth), box-shadow var(--transition-fast);
}

.contact-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(56, 189, 248, 0.5);
}

.pill-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.contact-pill:hover .pill-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Bottom Section (Single-Row Ticker & Minimal Footer)
   ========================================================================== */

.bottom-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  background: transparent;
}

/* Single-Row Horizontal Scrolling Services Ticker */
.services-ticker-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  padding: 6px 0;
  background: transparent;
  /* Soft fade at left and right edges */
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.ticker-track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  animation: tickerGlide 34s linear infinite;
  will-change: transform;
}

.services-ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(13, 16, 29, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  cursor: default;
}

.chip-spark {
  color: var(--accent-spark);
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.service-chip:hover {
  color: #ffffff;
  border-color: rgba(202, 142, 255, 0.5);
  background: rgba(202, 142, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(202, 142, 255, 0.3);
}

.service-chip:hover .chip-spark {
  transform: scale(1.3) rotate(45deg);
  color: var(--accent-cyan);
}

/* Minimal Footer Bar */
.bottom-footer {
  width: 100%;
  background: transparent;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(13, 16, 29, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.social-link svg {
  width: 15px;
  height: 15px;
}

.social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes pulsePing {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

@keyframes tickerGlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Medium Screens (Tablets: <= 1024px) */
@media (max-width: 1024px) {
  .page-wrapper {
    padding: 18px 20px 14px;
  }

  .brand-logo {
    height: 44px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
  }

  .ticker-track {
    animation-duration: 28s;
  }
}

/* Small Screens (Mobile: <= 768px) */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 14px 14px 10px;
    justify-content: space-between;
  }

  .top-spacer {
    display: none;
  }

  .center-hero {
    margin: auto 0;
    padding: 10px 0;
  }

  .brand-wrapper {
    margin-bottom: 14px;
  }

  .brand-logo {
    height: 38px;
  }

  .status-badge {
    padding: 4px 11px;
    margin-bottom: 12px;
  }

  .status-label {
    font-size: 10px;
  }

  .hero-title {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .title-break {
    display: none;
  }

  .hero-description {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .hero-actions {
    gap: 10px;
    width: 100%;
  }

  .sound-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .contact-pill {
    padding: 8px 18px;
    font-size: 12.5px;
  }

  /* Core Services Single-Row at the bottom */
  .bottom-section {
    gap: 8px;
    padding-top: 6px;
  }

  .services-ticker-wrapper {
    padding: 4px 0;
    /* On mobile, allows both automatic marquee AND horizontal touch scrolling */
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-ticker-wrapper::-webkit-scrollbar {
    display: none;
  }

  .ticker-track {
    gap: 8px;
    animation-duration: 25s;
  }

  .service-chip {
    padding: 5px 12px;
    font-size: 11px;
  }

  .footer-container {
    padding: 8px 12px;
    gap: 10px;
  }

  .footer-left {
    font-size: 10.5px;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }
}

/* Extra Small Screens (<= 380px) */
@media (max-width: 380px) {
  .brand-logo {
    height: 34px;
  }

  .hero-title {
    font-size: 19px;
  }

  .hero-description {
    font-size: 11.5px;
  }

  .sound-btn, .contact-pill {
    font-size: 11.5px;
    padding: 7px 12px;
  }
}
