.neon-hover:hover { text-shadow: 0 0 8px #00C2FF, 0 0 12px #FFB800; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* Home Page Enhancements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 194, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(0, 194, 255, 0.6), 0 0 40px rgba(255, 184, 0, 0.3); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #00C2FF 50%, #FFB800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideInLeft 0.8s ease-out;
}

.hero-image-container {
  animation: slideInRight 0.8s ease-out, float 6s ease-in-out infinite;
  animation-delay: 0.2s;
}

.hero-image-container::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #00C2FF, #FFB800);
  border-radius: 1.5rem;
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.3s;
}

.hero-image-container:hover::after {
  opacity: 0.3;
}

/* Stats Cards */
.stats-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.stats-card:nth-child(1) { animation-delay: 0.1s; }
.stats-card:nth-child(2) { animation-delay: 0.2s; }
.stats-card:nth-child(3) { animation-delay: 0.3s; }
.stats-card:nth-child(4) { animation-delay: 0.4s; }
.stats-card:nth-child(5) { animation-delay: 0.5s; }
.stats-card:nth-child(6) { animation-delay: 0.6s; }
.stats-card:nth-child(7) { animation-delay: 0.7s; }
.stats-card:nth-child(8) { animation-delay: 0.8s; }

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.2), transparent);
  transition: left 0.5s;
}

.stats-card:hover::before {
  left: 100%;
}

.stats-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 194, 255, 0.2);
}

.stats-number {
  position: relative;
  display: inline-block;
  transition: all 0.3s;
}

.stats-card:hover .stats-number {
  transform: scale(1.1);
  text-shadow: 0 0 20px currentColor;
}

/* Section Headers */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00C2FF, #FFB800);
  transition: width 0.5s ease-out;
}

.section-header.animate::after {
  width: 100%;
}

/* Content Cards */
.content-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  padding: 2px;
  background: linear-gradient(135deg, #00C2FF, #FFB800);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.content-card:hover::before {
  opacity: 1;
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 194, 255, 0.1);
}

/* Service Cards */
.service-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 184, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Buttons */
.btn-gradient {
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-gradient:hover::before {
  width: 300px;
  height: 300px;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 194, 255, 0.4);
}

.btn-outline {
  position: relative;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(255, 184, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:hover {
  border-color: rgba(0, 194, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 194, 255, 0.2);
}

/* Feature Work Cards */
.featured-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 194, 255, 0.2);
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.15) 0%, rgba(255, 184, 0, 0.15) 50%, transparent 100%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}

.cta-card {
  position: relative;
  z-index: 1;
  animation: scaleIn 0.6s ease-out;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Top Menu Styles */
#mobile-nav {
  animation: slideDown 0.3s ease-out;
}

#mobile-nav.hidden {
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* UI Showcase Styles - Card-Based Gallery */
.ui-view-toggle.active {
  background-color: #1A1A1A;
  border-color: #00C2FF !important;
  color: #00C2FF;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.ui-view-toggle:not(.active):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ui-screenshot-gallery img {
  display: block;
}

/* Card-based screenshot items */
.screenshot-card {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-card:hover {
  transform: translateY(-8px);
  border-width: 2px;
}

.screenshot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(255, 184, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  pointer-events: none;
}

.screenshot-card:hover::before {
  opacity: 1;
}

/* Side-by-Side Comparison Styles */
.comparison-panel {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-panel:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.view-mode-btn.active {
  background-color: #1A1A1A;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.view-mode-btn:not(.active):hover {
  transform: translateY(-2px);
}

.ui-showcase-view.hidden {
  display: none;
}

/* Carousel Slider Styles */
.carousel-container {
  position: relative;
}

.carousel-wrapper {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(255, 184, 0, 0.05) 100%);
}

.carousel-track {
  will-change: transform;
}

.carousel-slide {
  padding: 0;
}

.carousel-nav {
  font-size: 2rem;
  font-weight: bold;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-dot {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #00C2FF;
  width: 2rem;
}

.carousel-dot[data-carousel="desktop"].active {
  background-color: #FFB800;
}

.carousel-type-btn.active {
  background-color: #1A1A1A;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

/* Masonry Grid Styles */
.masonry-grid-container {
  width: 100%;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  grid-auto-rows: 10px;
}

@media (min-width: 640px) {
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
  }
}

.masonry-item {
  grid-row-end: span var(--row-span, 30);
  break-inside: avoid;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.masonry-item:nth-child(1) { animation-delay: 0.1s; }
.masonry-item:nth-child(2) { animation-delay: 0.2s; }
.masonry-item:nth-child(3) { animation-delay: 0.3s; }
.masonry-item:nth-child(4) { animation-delay: 0.4s; }
.masonry-item:nth-child(5) { animation-delay: 0.5s; }
.masonry-item:nth-child(6) { animation-delay: 0.6s; }
.masonry-item:nth-child(n+7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

.masonry-type-btn.active {
  background-color: #1A1A1A;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

/* Tabbed Interface Styles */
.tab-content {
  animation: fadeInTab 0.4s ease-out;
}

.tab-content.hidden {
  display: none;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-btn {
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00C2FF 0%, #FFB800 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-btn:not(.active):hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Thumbnail Gallery Styles */
.thumbnails-gallery-container {
  width: 100%;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.thumbnail-item {
  position: relative;
  cursor: pointer;
  background: #1A1A1A;
}

.thumbnail-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 194, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
}

.thumbnail-item:hover::before {
  opacity: 1;
}

.thumbnail-item.active {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
}

.thumbnail-item[data-type="desktop"].active {
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.thumbnails-type-btn.active {
  background-color: #1A1A1A;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

/* Accordion Styles */
.accordion-container {
  width: 100%;
}

.accordion-item {
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.accordion-header {
  user-select: none;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-content {
  transition: max-height 0.5s ease-in-out;
}

.accordion-type-btn.active {
  background-color: #1A1A1A;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

/* Grid Lightbox Styles */
.grid-lightbox-container {
  width: 100%;
}

.grid-lightbox-item {
  position: relative;
  overflow: hidden;
}

.grid-lightbox-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.grid-lightbox-item img {
  transition: transform 0.5s ease;
}

.grid-lightbox-type-btn.active {
  background-color: #1A1A1A;
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

/* Before/After Slider Styles */
.beforeafter-wrapper {
  user-select: none;
}

.beforeafter-inner {
  position: relative;
}

.beforeafter-after {
  transition: clip-path 0.1s ease-out;
}

.beforeafter-handle {
  transition: left 0.1s ease-out;
  touch-action: none;
}

.beforeafter-handle:hover {
  background: linear-gradient(to bottom, #00C2FF, #FFB800);
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.6);
}

.beforeafter-handle:active {
  box-shadow: 0 0 40px rgba(0, 194, 255, 0.8);
}

.beforeafter-handle svg {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.beforeafter-container {
  margin-bottom: 3rem;
}

/* Lightbox Styles */
#lightbox-modal {
  animation: fadeIn 0.3s ease-in-out;
}

#lightbox-modal.hidden {
  display: none;
}

#lightbox-image {
  animation: zoomIn 0.3s ease-in-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(0, 194, 255, 0.2);
  border-color: #00C2FF;
  transform: scale(1.1);
}

#lightbox-counter {
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Embedded Page Iframe Styles */
.screenshot-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
  pointer-events: auto;
}

/* Mobile iframe - use responsive width but maintain mobile aspect ratio */
.screenshot-card[data-type="mobile"] iframe {
  width: 100%;
  min-height: 177.87%; /* 667/375 = 1.7787 aspect ratio */
}

/* Desktop iframe - use responsive width but maintain desktop aspect ratio */
.screenshot-card[data-type="desktop"] iframe {
  width: 100%;
  min-height: 56.25%; /* 9/16 = 0.5625 aspect ratio */
}

/* Container for iframes */
.screenshot-card > div[style*="aspect-ratio"] {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

/* Download Modal Styles - Ensure inputs are interactive */
#download-modal {
  pointer-events: auto;
}

#download-modal > .relative {
  pointer-events: auto;
  position: relative;
  z-index: 100;
}

#download-modal input,
#download-modal textarea {
  pointer-events: auto !important;
  position: relative;
  z-index: 101;
}

#download-modal form {
  pointer-events: auto !important;
}


