/* ========== Core & Utilities ========== */
:root {
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-800: #9d174d;
  --pink-900: #831843;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --black: #0a0a0a;
  --glass-600: rgba(20, 20, 20, 0.65);
  --glass-700: rgba(25, 25, 25, 0.75);
  --glass-800: rgba(30, 30, 30, 0.85);
  --white: #ffffff;
  --pink-border: rgba(236, 72, 153, 0.35);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Prevent image selection and dragging */
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* Allow pointer events for interactive images (buttons, etc.) */
button img, a img {
  pointer-events: auto;
}

/* Extra protection for logo images */
img[src*="logo-exlive"] {
  pointer-events: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Prevent text selection on specific elements */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ========== Background Blobs ========== */
.background-blobs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  min-height: 100vh;
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ========== Monogram Elements ========== */
.monogram-element {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 1;
  mix-blend-mode: overlay;
}

.monogram-element img {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ========== Fixed Scrolling Monograms ========== */
.fixed-monogram {
  position: fixed;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 0;
  mix-blend-mode: normal;
  transition: transform 0.03s linear; /* Very fast for smooth animation */
}

.fixed-monogram img {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Desktop enhancements for fixed monograms */
@media (min-width: 768px) {
  .fixed-monogram {
    /* Normal size on desktop */
    transform: scale(1);
  }
  
  /* Uniform opacity for all fixed monograms - brighter */
  .fixed-monogram {
    opacity: 0.30 !important;
  }
}

/* Mobile-specific monogram positioning */
@media (max-width: 767px) {
  .monogram-element {
    /* Ensure monograms stay in background on mobile */
    z-index: 0;
    /* Higher opacity for better visibility on mobile - brighter */
    opacity: 0.18 !important;
    /* Larger size on mobile for better visibility */
    transform: scale(0.9);
  }
  
  /* Fixed monograms optimization for mobile */
  .fixed-monogram {
    /* Moderate size on mobile */
    transform: scale(0.75);
    /* Uniform opacity on mobile - brighter */
    opacity: 0.22 !important;
    /* Fast movement on mobile */
    transition: transform 0.04s linear;
  }
  
  /* Specific positioning for fixed monograms on mobile */
  .fixed-monogram:nth-child(1) {
    left: 2% !important;
    top: 15% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .fixed-monogram:nth-child(2) {
    right: 3% !important;
    top: 35% !important;
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
  
  .fixed-monogram:nth-child(3) {
    left: 5% !important;
    top: 55% !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .fixed-monogram:nth-child(4) {
    right: 4% !important;
    top: 70% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  /* Less blur on mobile for better visibility */
  .fixed-monogram img {
    filter: blur(0.3px) !important;
  }
  
  /* Ensure fixed monograms don't interfere with content */
  .fixed-monogram {
    z-index: 0 !important;
  }
  
  /* Specific positioning to avoid content blocks */
  .background-blobs .monogram-element {
    /* Ensure they don't interfere with interactive elements */
    pointer-events: none;
  }
  
  /* Better visibility in safe zones */
  .monogram-element[style*="top-[12%]"] {
    top: 15% !important;
  }
  
  .monogram-element[style*="top-[18%]"] {
    top: 22% !important;
  }
  
  .monogram-element[style*="top-[55%]"] {
    top: 60% !important;
  }
  
  .monogram-element[style*="top-[40%]"] {
    top: 45% !important;
  }
  
  .monogram-element[style*="top-[82%]"] {
    top: 88% !important;
  }
  
  .monogram-element[style*="top-[70%]"] {
    top: 75% !important;
  }
  
  /* Additional monogram positioning for new elements */
  .monogram-element[style*="top-[25%]"] {
    top: 30% !important;
  }
  
  .monogram-element[style*="top-[30%]"] {
    top: 35% !important;
  }
  
  .monogram-element[style*="top-[22%]"] {
    top: 28% !important;
  }
  
  .monogram-element[style*="top-[48%]"] {
    top: 52% !important;
  }
  
  .monogram-element[style*="top-[65%]"] {
    top: 68% !important;
  }
  
  .monogram-element[style*="top-[75%]"] {
    top: 78% !important;
  }
  
  .monogram-element[style*="top-[35%]"] {
    top: 38% !important;
  }
  
  .monogram-element[style*="top-[28%]"] {
    top: 32% !important;
  }
  
  .monogram-element[style*="top-[52%]"] {
    top: 55% !important;
  }
  
  .monogram-element[style*="top-[45%]"] {
    top: 48% !important;
  }
  
  .monogram-element[style*="top-[78%]"] {
    top: 80% !important;
  }
  
  .monogram-element[style*="top-[72%]"] {
    top: 76% !important;
  }
  
  .monogram-element[style*="top-[15%]"] {
    top: 18% !important;
  }
  
  .monogram-element[style*="top-[88%]"] {
    top: 90% !important;
  }
  
  .monogram-element[style*="top-[80%]"] {
    top: 82% !important;
  }
  
  /* Ensure monograms avoid content blocks on mobile */
  .monogram-element[style*="top-[55%]"] {
    top: 58% !important;
  }
  
  .monogram-element[style*="top-[40%]"] {
    top: 42% !important;
  }
  
  .monogram-element[style*="top-[82%]"] {
    top: 86% !important;
  }
  
  .monogram-element[style*="top-[70%]"] {
    top: 73% !important;
  }
}

/* Ensure smooth animation performance */
@media (prefers-reduced-motion: no-preference) {
  .blob {
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .monogram-element {
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* ========== Glassmorphism card base ========== */
.glass-card {
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  border-radius: 1rem;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
  transform: translateY(-4px);
}

/* Mobile-first base styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Mobile font sizes (base) */
body {
  background-color: var(--black);
  color: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Desktop enhancements */
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
  
  body {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}

/* Mobile-specific hero adjustments */
@media (max-width: 767px) {
  .hero-logo-wrapper img {
    height: 25rem;
  }
  
  .hero-cta {
    width: 100%;
    justify-content: center;
  }
  
  .hero-desc {
    text-align: center;
  }
}



/* Noise / grain overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  mix-blend-mode: overlay;
}

/* Glassmorphism card base */
.glass-card {
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  border-radius: 1rem;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
  transform: translateY(-4px);
}

/* ========== Typography helpers ========== */
.font-display { font-family: 'Unbounded', system-ui, sans-serif; }
.font-body { font-family: 'Inter', system-ui, sans-serif; }

/* Inter font weights for visual hierarchy */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Unbounded font weights for display */
.font-display-light { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 300; }
.font-display-normal { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 400; }
.font-display-medium { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 500; }
.font-display-semibold { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 600; }
.font-display-bold { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 700; }
.font-display-extrabold { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 800; }
.font-display-black { font-family: 'Unbounded', system-ui, sans-serif; font-weight: 900; }

/* Enhanced text rendering for both fonts */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings hierarchy - Unbounded for impact, Inter for readability */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h4 {
  font-weight: 600;
  line-height: 1.4;
}

/* Body text - Inter for readability */
p, span, div {
  font-family: 'Inter', system-ui, sans-serif;
}

p {
  font-weight: 400;
  line-height: 1.6;
}

/* Navigation links - Inter for clarity */
.nav-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
}

/* Button text - Unbounded for buttons */
.btn-primary, .btn-ghost {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Logo text - Unbounded for branding */
.brand-text {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
}

/* Stats and numbers - Unbounded for impact */
.stat-number {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
}

/* Small labels and tags - Inter for readability */
.label-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Mixed typography for visual interest */
.mixed-heading {
  font-family: 'Unbounded', system-ui, sans-serif;
}

.mixed-subheading {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
}

/* Special font combinations */
.accent-text {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.body-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* Button enhancements with Unbounded */
.btn-primary {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.btn-ghost {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Navigation with Inter for readability */
nav a {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
}

/* Logo text styling */
.brand-text {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Stats and numbers with Unbounded */
.stat-number {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ========== Buttons ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: #fff;
  font-size: 0.85rem;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), background 0.3s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  min-height: 48px; /* Touch target size */
  min-width: 44px; /* Touch target size */
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  box-shadow: 0 0 50px rgba(236, 72, 153, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border: 1px solid var(--pink-border);
  background: var(--glass-600);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-size: 0.85rem;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 0.5rem;
  transition: border-color 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
  min-height: 48px; /* Touch target size */
  min-width: 44px; /* Touch target size */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Desktop button enhancements */
@media (min-width: 768px) {
  .btn-primary {
    padding: 0.9rem 1.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }
  
  .btn-ghost {
    padding: 0.9rem 1.5rem;
    font-size: 0.8rem;
  }
}

.btn-ghost:hover {
  border-color: rgba(236, 72, 153, 0.6);
  background: var(--glass-700);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
  transform: translateY(-2px);
}

/* ========== Hero Logo ========== */
.hero-logo-wrapper {
  animation: fadeInUp 1s var(--ease-out-expo) 0.3s both;
  position: relative;
}

.hero-logo-wrapper img {
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.4));
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s;
}

.hero-logo-wrapper img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 50px rgba(236, 72, 153, 0.6));
}

.hero-logo-wrapper .absolute {
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Nav ========== */
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--pink-400);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--pink-400);
}

/* Navbar width fixes for mobile */
#site-header {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

#site-header > div {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-line {
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

#menu-toggle {
  display: flex !important;
}

@media (min-width: 768px) {
  #menu-toggle {
    display: none !important;
  }
}

#menu-toggle.open .menu-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

#menu-toggle.open .menu-line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ========== Form ========== */
.form-input {
  width: 100%;
  background: var(--glass-600);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--pink-border);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  min-height: 48px; /* Touch target size */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Desktop form enhancements */
@media (min-width: 768px) {
  .form-input {
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
}

.form-input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #ff6b6b;
}

/* ========== Feature cards ========== */
.feature-card {
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  border-radius: 1rem;
  transition: border-color 0.4s, transform 0.5s var(--ease-out-expo), background 0.4s, box-shadow 0.4s;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .feature-card {
    padding: 2rem 3rem;
  }
}

.feature-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  background: var(--glass-800);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
  transform: translateY(-4px);
}

/* ========== Case cards ========== */
.case-card {
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  border-radius: 1rem;
  transition: border-color 0.4s, transform 0.5s var(--ease-out-expo), box-shadow 0.4s;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .case-card {
    padding: 2rem 3rem;
  }
}

.case-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
  transform: translateY(-4px);
}

/* Case card image container for full-size images */
/* Border moved to inner container via inline styles */

/* Responsive image display for case cards */
.case-card img {
  transition: transform 0.4s var(--ease-out-expo);
}

.case-card:hover img {
  transform: scale(1.02);
}

/* Case card responsiveness */
@media (min-width: 768px) {
  .case-card {
    padding: 1.75rem 2rem;
  }
}

/* ========== Portfolio cards ========== */
.portfolio-card {
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease-out-expo), box-shadow 0.4s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
  transform: translateY(-4px);
}

.portfolio-card video,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card .aspect-video {
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
  .portfolio-card .aspect-video {
    aspect-ratio: 4 / 3;
  }
}

/* ========== Carousel Styles ========== */
#carousel-display {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 400px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--glass-600);
  border: 1px solid var(--pink-border);
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s, box-shadow 0.4s;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-item:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.carousel-item:not(.active) {
  transform: scale(0.95);
}

.carousel-item.hidden {
  display: none;
}

.carousel-video,
.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sound button styling */
.carousel-item button[onclick="toggleVideoMute(this)"] {
  background: var(--glass-700);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--pink-border);
  transition: all 0.3s ease;
}

.carousel-item button[onclick="toggleVideoMute(this)"]:hover {
  background: var(--glass-800);
  border-color: rgba(236, 72, 153, 0.5);
  transform: scale(1.1);
}

@media (max-width: 767px) {
  #carousel-display {
    max-width: 320px;
    min-height: 350px;
  }
}

@media (min-width: 768px) {
  #carousel-display {
    max-width: 400px;
    min-height: 450px;
  }
}

.carousel-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc(100% - 2rem);
  /* Performance optimization */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (min-width: 640px) {
  .carousel-card {
    width: calc(50% - 1.5rem);
  }
}

@media (min-width: 1024px) {
  .carousel-card {
    width: calc(33.333% - 1.33rem);
  }
}

@media (min-width: 1280px) {
  .carousel-card {
    width: calc(25% - 1.5rem);
  }
}

/* Progress dots */
.carousel-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-progress-dot.active {
  background: var(--pink-500);
  width: 24px;
  border-radius: 4px;
}

.carousel-progress-dot:hover {
  background: var(--pink-400);
}

@media (max-width: 767px) {
  .carousel-progress-dot {
    width: 6px;
    height: 6px;
  }

  .carousel-progress-dot.active {
    width: 20px;
    height: 6px;
  }

  /* Hide progress dots on mobile since we have swipe */
  #carousel-progress {
    display: none;
  }
}

/* Navigation buttons */
#carousel-prev,
#carousel-next {
  will-change: transform;
  transition: transform 0.2s ease;
}

#carousel-prev:hover,
#carousel-next:hover {
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

/* Swipe hint for mobile */
@media (max-width: 767px) {
  .carousel-track::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
    pointer-events: none;
    z-index: 5;
  }

  /* Better touch targets for mobile */
  .carousel-card {
    width: calc(100% - 1.5rem);
  }

  /* Optimize video performance on mobile */
  .carousel-card video {
    will-change: transform;
  }

  /* Reduce animation complexity on mobile */
  @media (prefers-reduced-motion: no-preference) {
    .carousel-card {
      transition: transform 0.3s ease;
    }
  }
}

/* ========== Video container ========== */
.video-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--pink-border);
  background: var(--glass-800);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.video-container:hover {
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 30px 60px -12px rgba(236, 72, 153, 0.2);
}

.video-container iframe {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: block;
}

.video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, transparent 50%, rgba(219, 39, 119, 0.05) 100%);
  pointer-events: none;
  z-index: 5;
}

/* ========== Why list ========== */
.why-item {
  transition: padding-left 0.4s var(--ease-out-expo);
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .why-item {
    padding: 1.5rem 0;
  }
}

.why-item:hover {
  padding-left: 0.5rem;
  color: var(--pink-400);
}

/* ========== Scroll indicator ========== */
.scroll-line {
  animation: scrollPulse 1.8s var(--ease-out-quart) infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  100% { transform: translateY(200%); }
}

/* ========== Hero path subtle motion ========== */
.hero-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

/* ========== SVG Divider animations ========== */
.wave-path,
.wave-path-2 {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}

.diagonal-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* ========== Team cards ========== */
.team-card {
  background: var(--glass-700);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--pink-border);
  border-radius: 1rem;
  transition: border-color 0.4s, transform 0.5s var(--ease-out-expo), box-shadow 0.4s;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 8px 35px rgba(236, 72, 153, 0.25);
  transform: translateY(-4px);
}

/* ========== Mobile First Responsive Design ========== */
/* Base styles optimized for 360-430px screens */

/* Enable full animation complexity on desktop */
@media (min-width: 768px) {
  /* Full animation complexity on desktop */
  .feature-card,
  .case-card,
  .team-card {
    transform: translateZ(0);
  }
  
  /* Full hero height on desktop */
  #hero {
    min-height: 85svh;
  }
}

/* Reduce animation complexity on mobile */
@media (max-width: 767px) {
  /* Reduce animation complexity on mobile */
  .feature-card,
  .case-card,
  .team-card {
    transform: none !important;
  }
  
  /* Simplified hero on mobile */
  #hero {
    min-height: 75svh;
  }
  
  /* Reduce monogram animation complexity on mobile - slightly brighter */
  .monogram-element {
    opacity: 0.10;
    animation-duration: 60s !important;
  }
  
  /* Reposition monograms for mobile to avoid content overlap */
  .monogram-element:nth-child(1) {
    top: 8% !important;
    left: 5% !important;
    width: 4rem !important;
    height: 4rem !important;
  }
  
  .monogram-element:nth-child(2) {
    top: 12% !important;
    right: 8% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(3) {
    top: 20% !important;
    left: 15% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(4) {
    top: 25% !important;
    right: 12% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(5) {
    top: 35% !important;
    left: 8% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(6) {
    top: 40% !important;
    right: 10% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(7) {
    top: 50% !important;
    left: 20% !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .monogram-element:nth-child(8) {
    top: 55% !important;
    right: 15% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(9) {
    top: 65% !important;
    left: 12% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(10) {
    top: 70% !important;
    right: 8% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(11) {
    top: 78% !important;
    left: 25% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .monogram-element:nth-child(12) {
    top: 85% !important;
    right: 12% !important;
    width: 3rem !important;
    height: 3rem !important;
  }
  
  /* Hide additional monograms on mobile to reduce clutter */
  .monogram-element:nth-child(n+13) {
    display: none;
  }
  
  /* Ensure monograms don't overlap with header */
  .background-blobs .monogram-element {
    z-index: 0;
  }
  
  /* Better mobile visibility by reducing blur */
  .monogram-element img {
    filter: blur(0.5px) !important;
  }
  
  /* Increase visibility of key monograms on mobile - brighter */
  .monogram-element:nth-child(1),
  .monogram-element:nth-child(3),
  .monogram-element:nth-child(5) {
    opacity: 0.22 !important;
  }
}

/* ========== Accessibility improvements ========== */
@media (prefers-reduced-motion: reduce) {
  .wave-path,
  .wave-path-2,
  .diagonal-path,
  .hero-path {
    stroke-dashoffset: 0;
    animation: none;
  }
  
  .monogram-element {
    animation: none;
    opacity: 0.10;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .noise-overlay,
  .ambient-bloom,
  .floating-orb,
  .floating-gradient {
    opacity: 0.05;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 1rem 1.5rem;
  z-index: 10000;
  transition: top 0.3s;
  min-height: 48px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .skip-link {
    padding: 1rem 2rem;
  }
}

.skip-link:focus {
  top: 1rem;
}

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .noise-overlay { opacity: 0.02; }
}

/* ========== Selection & focus ========== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ========== Utility for GPU ========== */
.will-change-transform {
  will-change: transform;
}

/* GPU acceleration for animated elements */
.hero-line,
.hero-logo,
.feature-card,
.case-card,
.why-item,
.team-card,
.floating-orb,
.floating-gradient,
.monogram-element {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Optimize scroll performance */
html {
  will-change: scroll-position;
}

/* Reduce paint complexity */
.noise-overlay,
.ambient-bloom {
  will-change: opacity;
}

/* ===== FAQ Card unique pink backgrounds ===== */
.faq-card-1 {
  background:
    radial-gradient(ellipse 70% 60% at 110% -10%, rgba(236,72,153,0.48) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at -10% 110%, rgba(219,39,119,0.32) 0%, transparent 60%),
    var(--glass-700);
}
.faq-card-1:hover {
  background:
    radial-gradient(ellipse 70% 60% at 110% -10%, rgba(236,72,153,0.62) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at -10% 110%, rgba(219,39,119,0.46) 0%, transparent 60%),
    var(--glass-800);
}

.faq-card-2 {
  background:
    radial-gradient(ellipse 80% 55% at 50% 120%, rgba(236,72,153,0.52) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at -5% -5%, rgba(244,114,182,0.38) 0%, transparent 55%),
    var(--glass-700);
}
.faq-card-2:hover {
  background:
    radial-gradient(ellipse 80% 55% at 50% 120%, rgba(236,72,153,0.66) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at -5% -5%, rgba(244,114,182,0.50) 0%, transparent 55%),
    var(--glass-800);
}

.faq-card-3 {
  background:
    radial-gradient(ellipse 60% 70% at 115% 35%, rgba(236,72,153,0.44) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at -5% 100%, rgba(219,39,119,0.36) 0%, transparent 58%),
    var(--glass-700);
}
.faq-card-3:hover {
  background:
    radial-gradient(ellipse 60% 70% at 115% 35%, rgba(236,72,153,0.58) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at -5% 100%, rgba(219,39,119,0.50) 0%, transparent 58%),
    var(--glass-800);
}

.faq-card-4 {
  background:
    radial-gradient(ellipse 65% 65% at -10% -10%, rgba(236,72,153,0.52) 0%, transparent 62%),
    radial-gradient(ellipse 60% 60% at 110% 110%, rgba(219,39,119,0.46) 0%, transparent 60%),
    var(--glass-700);
}
.faq-card-4:hover {
  background:
    radial-gradient(ellipse 65% 65% at -10% -10%, rgba(236,72,153,0.66) 0%, transparent 62%),
    radial-gradient(ellipse 60% 60% at 110% 110%, rgba(219,39,119,0.60) 0%, transparent 60%),
    var(--glass-800);
}

.faq-card-5 {
  background:
    radial-gradient(ellipse 100% 55% at 50% 120%, rgba(236,72,153,0.44) 0%, transparent 62%),
    radial-gradient(ellipse 35% 35% at 50% -5%, rgba(244,114,182,0.30) 0%, transparent 55%),
    var(--glass-700);
}
.faq-card-5:hover {
  background:
    radial-gradient(ellipse 100% 55% at 50% 120%, rgba(236,72,153,0.58) 0%, transparent 62%),
    radial-gradient(ellipse 35% 35% at 50% -5%, rgba(244,114,182,0.44) 0%, transparent 55%),
    var(--glass-800);
}

.faq-card-6 {
  background:
    radial-gradient(ellipse 60% 80% at -10% 50%, rgba(236,72,153,0.48) 0%, transparent 62%),
    radial-gradient(ellipse 50% 50% at 110% -10%, rgba(244,114,182,0.36) 0%, transparent 58%),
    var(--glass-700);
}
.faq-card-6:hover {
  background:
    radial-gradient(ellipse 60% 80% at -10% 50%, rgba(236,72,153,0.62) 0%, transparent 62%),
    radial-gradient(ellipse 50% 50% at 110% -10%, rgba(244,114,182,0.50) 0%, transparent 58%),
    var(--glass-800);
}

.faq-card-7 {
  background:
    radial-gradient(ellipse 40% 90% at -5% 50%, rgba(236,72,153,0.48) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 50% 115%, rgba(219,39,119,0.42) 0%, transparent 62%),
    radial-gradient(ellipse 40% 90% at 105% 50%, rgba(236,72,153,0.44) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% -5%, rgba(244,114,182,0.30) 0%, transparent 55%),
    var(--glass-700);
}
.faq-card-7:hover {
  background:
    radial-gradient(ellipse 40% 90% at -5% 50%, rgba(236,72,153,0.62) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 50% 115%, rgba(219,39,119,0.56) 0%, transparent 62%),
    radial-gradient(ellipse 40% 90% at 105% 50%, rgba(236,72,153,0.58) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% -5%, rgba(244,114,182,0.44) 0%, transparent 55%),
    var(--glass-800);
}
