/* ==========================================================================
   KINETIC STUDIO - BRANDING SYSTEM (NEON VIOLET #7C3AED & DEEP OBSIDIAN #0D0D0F)
   ========================================================================== */

:root {
  --brand-violet: #7C3AED;
  --brand-violet-bright: #8B5CF6;
  --brand-violet-glow: rgba(124, 58, 237, 0.4);
  --brand-obsidian: #0D0D0F;
  --brand-card-bg: #131317;
  --brand-white: #ffffff;
}

/* Base Body Background */
body.home2, html {
  background-color: var(--brand-obsidian) !important;
  color: var(--brand-white);
}

/* Lenis Smooth Scroll CSS Helper */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-prevent {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Kinetic Studio Brand Logo Styling */
.brand-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--brand-white);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-logo-text:hover {
  transform: translateY(-1px);
}

.brand-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 0 14px var(--brand-violet);
}

.brand-purple-accent {
  color: var(--brand-violet-bright);
}

/* Violet Glow & Highlights Overrides */
.button-03 {
  background: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.button-03 .paragraph-02-m {
  color: #000000 !important;
}

.button-03:hover {
  box-shadow: 0 0 25px var(--brand-violet-glow) !important;
  border-color: var(--brand-violet) !important;
}

/* Violet Highlight Text & Badges */
.is-highlight, .small-caption.is-highlight {
  color: var(--brand-violet-bright) !important;
}

/* Featured Card Violet Border Glow */
.featured-purple-card {
  border: 1px solid rgba(124, 58, 237, 0.5) !important;
  background: rgba(19, 19, 23, 0.95) !important;
  box-shadow: 0 0 35px rgba(124, 58, 237, 0.22) !important;
}

.featured-purple-badge {
  background: var(--brand-violet) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.check-purple {
  color: var(--brand-violet-bright) !important;
}

/* Video Lightbox Popup Modal */
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.video-popup-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(14px);
}

.video-popup-content {
  position: relative;
  width: min(92vw, 1100px);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  z-index: 2;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px var(--brand-violet-glow);
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--brand-violet);
  color: #fff;
}

/* Accordion open states */
.accordion.active .accordion-list {
  display: block !important;
  max-height: 300px;
  opacity: 1;
}

.accordion.active .accordion-icon {
  transform: rotate(180deg);
}

/* Marquee infinite scroll keyframes */
.brands-logo-row {
  animation: marqueeScroll 25s linear infinite;
}

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

/* Button arrow hover animation */
.button-03:hover .button-arrow-wrapper {
  transform: translateX(4px);
}

/* Scroll Reveal Classes */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered Delay Utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Parallax graphics responsiveness */
.hero-bg-left, .hero-bg-right {
  transition: transform 0.2s ease-out;
  will-change: transform;
}
