/* Central stylesheet - NAMA Premium Purple/Green Theme */
:root {
  --primary: #6C3483;
  --primary-soft: #8E44AD;
  --bg-main: #0D0D0D;
  --bg-section: #1A1A1A;
  --bg-card: #2A2A2A;
  --text-main: #F5F5F5;
  --text-muted: #BFBFBF;
  --bg-light: #0D0D0D;
  --bg-dark: #0D0D0D;
}

html,
body {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0D0D0D !important;
  color: #F5F5F5 !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ─── Glass header (dark/black) ─── */
.glass-header {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Logo link: hover feedback, constrain hit area */
header .logo-link {
  display: inline-flex;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
header .logo-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
header .logo-link img {
  display: block;
}

.glass-header.scrolled {
  background: rgba(13, 13, 13, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.glass-effect {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #4B4B4B;
}

/* ─── Mobile Navigation ─── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 60;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-panel {
  display: block;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  opacity: 0;
}

.mobile-nav-panel.open {
  max-height: 600px;
  opacity: 1;
}

/* Staggered link animation when panel opens (same feel as overlay pages) */
.mobile-nav-panel a {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}
.mobile-nav-panel.open a:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.mobile-nav-panel.open a:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.mobile-nav-panel.open a:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.mobile-nav-panel.open a:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.mobile-nav-panel.open a:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }

@media (max-width: 767px) {
  .glass-header {
    position: sticky !important;
    top: 0;
    background: rgba(13, 13, 13, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  main {
    margin-top: -7rem;
    /* h-28 is 7rem */
  }

  .mobile-nav-panel.open {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.threads-container,
#threads-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

#threads-container canvas,
.threads-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: auto;
}

.mobile-nav-panel a:hover {
  color: #6C3483 !important;
  transform: translateY(0) translateX(8px);
}

/* Mobile nav overlay: hidden by default so nav text doesn't show above logo */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Desktop: hide overlay entirely so only GooeyNav shows */
@media (min-width: 768px) {
  .mobile-nav-overlay {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex;
  }

  .header-cta-desktop {
    display: none !important;
  }

}

/* Mobile: animate main content down when dropdown opens, back when closes */
@media (max-width: 767px) {
  main {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  body.mobile-menu-open main {
    transform: translateY(280px);
  }
  /* Keep header (and X button) above overlay so user can close the dropdown */
  body.mobile-menu-open #site-header,
  body.mobile-menu-open .glass-header {
    z-index: 70 !important;
  }
}

/* ─── Scroll Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children animations */
.stagger-children>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0.05s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.15s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

/* ─── Scroll Text Reveal ─── */
.scroll-text-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.scroll-text-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hero Video Responsive ─── */
@media (max-width: 767px) {
  .min-h-screen video {
    object-position: center center;
  }

  .hero-word {
    display: inline;
  }

  .hero-scroll-line {
    height: 40px;
  }

  section.py-32 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  .line-through {
    font-size: 0.9rem !important;
  }

  #hero-section h1 {
    font-size: 2.5rem !important;
    line-height: 1.15 !important;
  }
}

/* ─── Threads Animation Specific ─── */
.threads-container,
#threads-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

#threads-container canvas,
.threads-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-text-content {
  pointer-events: none;
  text-align: center !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 1rem;
  /* Minimal backdrop – animation stays prominent behind text */
  background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.hero-text-content * {
  pointer-events: auto;
}

.hero-text-content h1,
.hero-text-content p,
.hero-text-content .max-w-3xl {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* Hero text: high contrast and readability over threads animation */
#hero-section h1 {
  color: #ffffff !important;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 12px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

#hero-section .hero-text-content p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  line-height: 1.6;
}

.text-primary.italic {
  background: linear-gradient(135deg, #B07CC4 0%, #6C3483 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Hero "Feels Alive" – white text on animation */
#hero-section h1 span.text-white.italic {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}

/* ─── Micro Animations ─── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(108, 52, 131, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(108, 52, 131, 0.15);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(90deg, #fff 0%, var(--primary) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ─── Enhanced Card Hover Effects ─── */
.card-hover {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease;
}

/* ─── Mobile layout fixes ─── */
@media (max-width: 767px) {

  /* Reduce header height and logo size to avoid content overlap */
  header#site-header>div {
    height: 56px !important;
    padding-top: 6px;
    padding-bottom: 6px;
    align-items: center;
  }

  header#site-header img {
    height: 56px !important;
    max-height: 56px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-right: 8px;
  }

  /* Ensure main content is not hidden under the absolute header */
  main {
    padding-top: 56px !important;
  }

  /* Hero/background videos should behave as full-bleed backgrounds */
  .min-h-screen video.autoplay-video,
  .min-h-screen .autoplay-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: none !important;
    object-fit: cover !important;
  }

  /* Other section background videos (non-hero) should scale down safely */
  video.video-bg.autoplay-video,
  .video-bg {
    width: 100% !important;
    height: auto !important;
    max-height: 50vh !important;
    object-fit: cover !important;
  }

  /* Tighter spacing for hero cards/text */
  .hero-not-card {
    padding: 1.25rem !important;
  }

  .hero-not-card p {
    font-size: 1rem !important;
  }

  /* Ensure containers have side padding on small screens */
  .max-w-7xl,
  .max-w-6xl,
  .max-w-4xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Add spacing so hero text sits below header */
.hero-text-content {
  padding-top: 6rem;
  /* desktop spacing */
}

@media (max-width: 767px) {
  .hero-text-content {
    padding-top: clamp(4.5rem, 6vw, 5rem);
    /* mobile: between 4.5rem and 5rem */
  }
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(108, 52, 131, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(108, 52, 131, 0.2);
}

/* ─── Hero "Not" Cards Enhanced Hover ─── */
.hero-not-card:hover {
  box-shadow: 0 16px 48px rgba(108, 52, 131, 0.5),
    0 8px 24px rgba(108, 52, 131, 0.3),
    0 0 80px rgba(108, 52, 131, 0.2);
  transform: translateY(-8px) scale(1.02);
}

/* ─── Studio Light Effects for Cards ─── */
.bg-gradient-radial {
  background: radial-gradient(circle, currentColor 0%, transparent 70%);
}

/* Enhanced card shimmer on hover */
@keyframes card-shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.card-hover:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(108, 52, 131, 0.1) 50%,
      transparent 100%);
  background-size: 200% 100%;
  animation: card-shimmer 2s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

/* ─── Global Card Studio Light Effects ─── */
/* Apply to all bento-cards, featured-case, and other card elements */
.bento-card,
.featured-case,
.service-card,
.impact-card,
div[class*="rounded-2xl"][class*="bg-"][class*="border"] {
  position: relative;
  overflow: hidden;
}

.bento-card::before,
.featured-case::before,
.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(108, 52, 131, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.bento-card:hover::before,
.featured-case:hover::before,
.service-card:hover::before {
  opacity: 1;
}

.bento-card::after,
.featured-case::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays on top */
.bento-card>*:not(::before):not(::after),
.featured-case>*:not(::before):not(::after) {
  position: relative;
  z-index: 1;
}

/* Featured case study cards enhanced */
.featured-case {
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.featured-case:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 52, 131, 0.4);
  box-shadow: 0 20px 60px rgba(108, 52, 131, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Work reveal cards animation */
.work-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Solutions Page Platform Cards ─── */
div[class*="rounded-2xl"][class*="bg-[#1A1A1A]"][class*="backdrop-blur"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

div[class*="rounded-2xl"][class*="bg-[#1A1A1A]"][class*="backdrop-blur"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 52, 131, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

div[class*="rounded-2xl"][class*="bg-[#1A1A1A]"][class*="backdrop-blur"]::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(108, 52, 131, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  filter: blur(30px);
}

div[class*="rounded-2xl"][class*="bg-[#1A1A1A]"][class*="backdrop-blur"]:hover::before {
  opacity: 1;
}

/* ─── Floating Badge Effects (Contact Page) ─── */
.float-badge {
  animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* ─── Stats & Metrics Cards Glow ─── */
.result-number {
  text-shadow: 0 0 20px rgba(108, 52, 131, 0.3);
}

.glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 10px rgba(108, 52, 131, 0.5);
}

/* ─── Service Cards with Large Icons ─── */
div[class*="lg:col-span"] div[class*="opacity-5"] {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

div[class*="lg:col-span"]:hover div[class*="opacity-5"] {
  transform: scale(1.05);
}

/* ─── Universal Card Enhancement ─── */
[class*="border-[#4B4B4B]"]:hover {
  border-color: rgba(108, 52, 131, 0.3) !important;
}

/* Ensure all cards have smooth transitions */
[class*="rounded-2xl"][class*="bg-"],
[class*="rounded-xl"][class*="bg-"] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add subtle inner glow to all cards on hover */
[class*="rounded-2xl"][class*="bg-"]:hover,
[class*="rounded-xl"][class*="bg-"]:hover {
  box-shadow: inset 0 0 60px rgba(108, 52, 131, 0.05),
    0 8px 32px rgba(108, 52, 131, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ─── Button Hover Animation ─── */
.btn-animate {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animate::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-animate:hover::before {
  width: 300px;
  height: 300px;
}

/* ─── Gradient Border Glow ─── */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), transparent, var(--primary));
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glow-border:hover::before {
  opacity: 1;
}

/* ─── Service card hover transitions ─── */
.service-card .outcomes-overlay {
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease-in-out;
}

.service-card:hover .outcomes-overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-content {
  opacity: 0;
  transform: translateY(-10px);
}

/* ─── Background image helpers (per-page) ─── */
.solutions-hero {
  background-size: cover;
  background-position: center;
}

.enterprise-bg,
.startups-bg,
.automation-bg {
  background-size: cover;
  background-position: center;
}

.about-hero,
.team-ceo,
.team-cto,
.team-product,
.team-project,
.team-content {
  background-size: cover;
  background-position: center;
}

/* ─── Background images (page-specific) ─── */
.solutions-hero {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuDyovypkd1pHltvtJ3G-7W7wNsDvEsFJh_xOZbEWV_SD_aiea4S-o9734DS9inpGoZxNURiihnSbyuVqhj-ekr95oO-fazQBIaLXrufuJpNi_tcX4CXT05ep6R7Sfra5x9czimVX0ECTjsEV1-atu8oNONpIDr62yD9ibRcL18nFRN2XqJu7US2qErLOliBNnMK8MtZEi7PY3HeIADv--LPWDI8gNWsq1QhPqfLRCgGKUS7h3hpd_Oe8vtzLKyQeLOUDsco8pByk00');
}

.enterprise-bg {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAmCMPFfEsLK_260q8B7fcM2TOntxp72MLm6DeUFIPw5UnMCaxC2Mp6Q2l8NYLvwWjiXWxxtxzYgEswk9Osulws9qt_Gd1nl5569YYP4Fc8fMPbJpNJwnG7iqm6mL3lOJpUwwZKMUuDdUoKYB_k7IjW2FVjV7hjoi1phD9dxzprLdBvUyoGnZrG-mks_HRdAZhUov352_dIlWXe9Mm2dTmrIoCtw0LFlWYU7ZIvzq93f1O4kILashqfNKVT8ffUWhP8B_Z4pHxMmfk');
}

.startups-bg {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCL-Ep6DbwjhSwnw3pBX1FxAmv6bW1spFLgBuys0AqAEfq1T6VOCGhNerLSVW5MRlg6jHqJyQVHWJ4q0DhJq_VYtgY66KrVdbra2_59M84DDNEeFshE2d4apES2OOsUF2DBU5JoeG8-aMTwqHZl1qawKn561TiHY6pn0c8y8jKLRO7YxxfoLKB-UKfn6v0duJxSnCuVi-LZMFPNZ4ea4tBcUq7d2GiSHRDccX4gvQxvjs6faG85J5GtwP5GBraJFacwbnipV0ZIEJk');
}

.automation-bg {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuD-YU5m9kvFXqASg3U4qa402DVcAuXCq0VgLleUSH_9Q38rlKcKkEKAhN2Lph-xqcHAZjBLJcz27F04zbJua9uOqK07vPQwuM1wQbDwZYaAwMtqD4fmgSwulMhZVge_VQNZyG9cT0yI22Kz4B_uckrdEqYVix5o4bRiv3E_L6Z-uwbGn4KhTJ8GSrMsFpoWvlpHiOr-uw-9AKSVyqLIkfvqMgoDdQ8xE_W97omKZSF-zfUGSa3SfVtBFl-5RhrmJxJo_bAwbVQau94');
}

/* About page images */
.about-hero {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuBMLNzP_Z-ZI2M9PXpR0NHmwibAPe2IL91UYSgcNkWTBQ6RVmlbzO-6LRsLDiJ8DHBofFHsBDusQxpPXcV3EamIdCpUWh4yiEvZF8OKM-Wo1dwOCwX_7J_77DjQykDl27pJ_qLFPHMVU5TmxbrX5-w7hmyh5JI1IdloP2WEoBHWltNUVk7VLqOngtFJ-QSx4KSj7QXdqmynAAzfdFTTtELushI0gKozMxZt3xutvfU9ceHcLJEgiQMKiLP91RWecpOw_ZllLxIF60Y');
}

.team-ceo {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuDUMxQ9NKbdGWe5toAYWD9Ub5AbpAdw2r9Z0xUuDDKN3xHElnviBE8nvMwUf2AK0IJaeFPMZd6RmAFy084RcjglT0W5MRsE7iAgTHFYXf3_X1y20IjHFafrwriZizYWKHtwpIEgP5lTLz54eGvdyBU5JowsbOThasP4LxLA45qElTFSWyYa3Ip08WV3gdelTJuWwLtMA-DCeVVqbKadqpejDFvxARJNUIn8XrLeNySf8wWXxu5B5AJlWr5yEe7Q5mqf7gE6IExtAXY');
}

.team-cto {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuAs7Kc8kbRD8XzNtexPKd03KsV9Tx7w0kSxEJmiJSGuiTHWcX9OjYsNq5eYoly2B7PHgxV4dkvWxOAs48F-XApAvOYXxCxYkhm9GUl0gPE_NlVIdq4FCcV1NhlhXkABlBsYIaRv_jvAIyUP_Z8sskHs0mNND0pcguRSYC1bQbebNLDhQqm5hWMGvtrx4WITYnYzfTGdpdi34pep1wxzc32mXHTQG8AZ4iCUZwlfjLAPGaiSJAo7lqdkJnzwy6DQQmwlCN_Tk7G0rFI');
}

.team-product {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCZAMmQwBuWP8ZHzqOwKd6WYn9nJT9sNbKTO99nQNX2xhrb-XSsCz0Qqf16MfmGCbhdzBsTMtgLfGSOyscFtCPgDq-JhYQFkCd00htbzLg988qkM9UNHxwvTTW0vK5RKI8dkoSkKyus4xi1RvwZH_8PteX6k0QOdXqffAShpNJBOJtMU_6Zz9AR0oQSesxsOwXm-_VZ9iRkeeG4WFfPYp-KCyw5nX89rTu9aoFCSxiPV6Lw2w1CUNYAqHuyKjIT_t4NeLpjMJj9Nvo');
}

.team-project {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCzL0igHZEUtm1HO4aH_gBcp0xWsI4sbkHIp4fmhcHGAuX0FBw0zjjObxiKJwKxeHTUtIjyVLo3CWLiOYn3gKBuCPzf4N_4gXdOnxo0ytCWlu4cGj-JsfTt3H6SFnhK6INKsDfyCRyMIjWc3o5MZumUelu5owjNlGH9ZSchotxurDa_cxOuZUawNFfPnJB6JGS05irQ3AwE5An3aDXJbZ1TGsfCN8mcuHHuKr7TY3hRzMPKJxbPnmWS5o1qDLGhIXXWFld-wjQNoq8');
}

.team-content {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCgEGXAmR_KVxKDU-HBsx6sGbp9aahc-VFR8yAT1KmzA1t1p1v3HdJO1_pBaRaXQR0-AhG_-VWLyQG6Y7GrwyDsW2FUUGibYMeH8NQyxcijuMbHPjS1WDpAVyNV3NVnS2rVN1dKs4Q0EKYDJpzQiFv1DYQPk4nm_TfzvBu8RXa5gc1W8RJsT_WFEIgCuI43pLJgERuj68gzviCRelye2MhvnYa_tMbfb4On46sBEHy9lDxylZMhRZEbp06i5NBT2OYatLuiP1-PwJQ');
}

/* Home radial background */
.radial-pattern {
  background-image: radial-gradient(circle at 2px 2px, var(--primary) 1px, transparent 0);
  background-size: 40px 40px;
}

/* Progress width helpers */
.progress-35 {
  width: 35%;
}

.progress-75 {
  width: 75%;
}

.progress-40 {
  width: 40%;
}

/* CTA decorative blobs */
.blob-white {
  background: rgba(255, 255, 255, 0.1);
}

.blob-blue {
  background: rgba(46, 204, 113, 0.2);
}

/* Small utility sizes used in pages */
.size-14 {
  width: 56px;
  height: 56px;
}

.size-6 {
  width: 24px;
  height: 24px;
}

/* ─── Hyperspeed Animation Container ─── */
#hyperspeed-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

#hyperspeed-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ─── Global Dark Override ─── */
section:not(.hero-cinematic):not(.hero-cinematic-gradient):not(.about-hero-gradient):not(.work-hero-gradient),
main,
footer,
header {
  background-color: #0D0D0D !important;
}

.bg-white {
  background-color: #0D0D0D !important;
}

.bg-background-light {
  background-color: #0D0D0D !important;
}

.bg-background-dark {
  background-color: #0D0D0D !important;
}

.dark .bg-background-dark {
  background-color: #0D0D0D !important;
}

.bg-slate-50\/50 {
  background-color: rgba(26, 26, 26, 0.5) !important;
}

.bg-slate-50,
.bg-slate-100,
.bg-background-light {
  background-color: #1A1A1A !important;
}

.text-slate-900 {
  color: #F5F5F5 !important;
}

.text-slate-700 {
  color: #BFBFBF !important;
}

.text-slate-600 {
  color: #BFBFBF !important;
}

.border-slate-100,
.border-slate-200 {
  border-color: #4B4B4B !important;
}

input,
select,
textarea {
  background-color: #2A2A2A !important;
  border-color: #4B4B4B !important;
  color: #F5F5F5 !important;
}

.dark\:bg-slate-800\/30,
.dark\:bg-slate-800 {
  background-color: rgba(26, 26, 26, 0.8) !important;
}

footer {
  background-color: #0D0D0D !important;
  border-top: none !important;
}

/* ─── Refined Typography Scale ─── */
/* Desktop: dial back the oversized headings for a more editorial feel */
h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
}

/* ─── Responsive Typography ─── */
@media (max-width: 767px) {
  .text-5xl {
    font-size: 1.85rem !important;
    line-height: 1.15 !important;
  }

  .text-4xl {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
  }

  .text-3xl {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .text-6xl {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }

  .py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-20 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .mb-20 {
    margin-bottom: 3rem !important;
  }

  .mb-16 {
    margin-bottom: 2rem !important;
  }

  .gap-12 {
    gap: 2rem !important;
  }

  .gap-16 {
    gap: 2rem !important;
  }

  .min-h-\[85vh\] {
    min-height: 70vh !important;
  }

  .min-h-\[500px\] {
    min-height: 350px !important;
  }
}

/* ─── Enhanced Link/Button Transitions ─── */
a,
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Video Background for Sections ─── */
.video-bg-section {
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.video-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.4);
  z-index: 1;
  pointer-events: none;
}

.video-bg-section>.video-bg-content {
  position: relative;
  z-index: 2;
}

/* ─── Cinematic Hero Styles ─── */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-cinematic-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 52, 131, 0.2), transparent),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(108, 52, 131, 0.1), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(46, 204, 113, 0.04), transparent),
    #0D0D0D !important;
}

/* Ambient glow pulse */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 52, 131, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite;
}

@keyframes heroGlowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Decorative rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(108, 52, 131, 0.08);
  pointer-events: none;
  animation: heroRingExpand 8s ease-in-out infinite;
}

@keyframes heroRingExpand {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.2;
  }
}

/* Vertical guide lines */
.hero-guide-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(108, 52, 131, 0.12), transparent);
  width: 1px;
  height: 100%;
  top: 0;
  pointer-events: none;
}

/* Floating grid dots */
.hero-grid-dots {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: radial-gradient(circle at 1px 1px, #6C3483 1px, transparent 0);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Word-by-word reveal animation */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px) rotateX(-12deg);
  animation: heroWordReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Subtitle fade-in */
.hero-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge entrance */
.hero-badge-anim {
  animation: heroBadgeEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
  transform: translateY(15px);
}

@keyframes heroBadgeEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stat bar rise */
.hero-stat-rise {
  opacity: 0;
  transform: translateY(30px);
  animation: heroStatRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroStatRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stat divider */
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #4B4B4B, transparent);
}

/* Scroll indicator line */
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #6C3483, transparent);
  animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {

  0%,
  100% {
    opacity: 0.5;
    height: 60px;
  }

  50% {
    opacity: 1;
    height: 80px;
  }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: heroOrbFloat 8s ease-in-out infinite;
}

@keyframes heroOrbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

/* Horizontal accent line */
.hero-accent-line {
  height: 2px;
  background: linear-gradient(to right, #6C3483, transparent);
  opacity: 0.4;
}

/* ─── Section Label Badge ─── */
.section-label-dot {
  position: relative;
}

.section-label-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--primary);
  opacity: 0.75;
  animation: sectionDotPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes sectionDotPing {

  75%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ─── Scrollbar Styling ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 52, 131, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 52, 131, 0.7);
}

/* ─── Selection Color ─── */
::selection {
  background: rgba(108, 52, 131, 0.3);
  color: #fff;
}

/* ─── Image responsive fixes ─── */
img {
  max-width: 100%;
  height: auto;
}

/* ─── Newsletter Light Section Override ─── */
section[style*="background: #f7f7f7"] {
  background-color: #f7f7f7 !important;
}

section[style*="background: #f7f7f7"] input {
  background-color: #fff !important;
  border-color: #ddd !important;
  color: #333 !important;
}

section[style*="background: #f7f7f7"] input::placeholder {
  color: #999 !important;
}

/* ─── Footer responsive ─── */
@media (max-width: 767px) {
  footer .grid {
    grid-template-columns: 1fr !important;
  }

  footer .col-span-2 {
    grid-column: span 1 !important;
  }
}

/* Additional mobile header/nav styling: transparent header and styled mobile panel */
@media (max-width: 767px) {

  .glass-header,
  .glass-header.scrolled {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .mobile-nav-overlay {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    align-items: flex-start !important;
    padding-top: 56px !important;
    /* drop below header */
  }

  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-overlay .nav-panel {
    margin: 12px auto 0 auto;
    width: calc(100% - 32px);
    max-width: 420px;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(75, 75, 75, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(-16px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  }

  .mobile-nav-overlay.open .nav-panel {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-nav-overlay a {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
    opacity: 1 !important;
    transform: none !important;
    transition: transform 0.25s ease, color 0.2s ease;
  }

  .mobile-nav-overlay a:hover {
    color: var(--primary);
    transform: translateX(6px);
  }

  /* Ensure hamburger sits above video */
  .mobile-menu-btn {
    z-index: 70 !important;
  }
}

@media (max-width: 767px) {
  .min-h-screen {
    min-height: 100vh !important;
    height: 100vh !important;
    overflow: hidden;
  }
}

/* Animate nav-panel links with stagger */
.mobile-nav-overlay .nav-panel a {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1), transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.open .nav-panel a:nth-child(1) {
  transition-delay: 0.06s;
  opacity: 1;
  transform: none;
}

.mobile-nav-overlay.open .nav-panel a:nth-child(2) {
  transition-delay: 0.12s;
  opacity: 1;
  transform: none;
}

.mobile-nav-overlay.open .nav-panel a:nth-child(3) {
  transition-delay: 0.18s;
  opacity: 1;
  transform: none;
}

.mobile-nav-overlay.open .nav-panel a:nth-child(4) {
  transition-delay: 0.24s;
  opacity: 1;
  transform: none;
}

.mobile-nav-overlay.open .nav-panel a:nth-child(5) {
  transition-delay: 0.30s;
  opacity: 1;
  transform: none;
}