/* ==========================================================================
   ENTERPRISE APPLICATIONS PAGE CUSTOM STYLES
   ========================================================================== */

/* Hero Marquee Text Animation */
@keyframes mq-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.mq-track {
  animation: mq-scroll 35s linear infinite;
  will-change: transform;
}

.mq-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .mq-track {
    animation: none !important;
  }
}

/* Brand Marquee Animations */
@keyframes marquee-forward {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee-forward 30s linear infinite;
  will-change: transform;
}

.marquee-rev .marquee-track {
  animation: marquee-backward 30s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* 17 Verticals Interactive Wheel */
.wheel {
  position: relative;
  width: 620px;
  height: 620px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed var(--border-on-dark, rgba(255, 255, 255, 0.12));
}

.wheel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px 20px;
  border-radius: 9999px;
  background: var(--surface-card, rgba(13, 13, 13, 0.85));
  border: 1px solid var(--border-on-dark, rgba(255, 255, 255, 0.1));
  color: var(--fg-mute, rgba(255, 255, 255, 0.7));
  font-family: var(--font-display, inherit);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  cursor: pointer;
}

.wheel-item:hover,
.wheel-item.active {
  background: var(--flame, #ff6b1a);
  color: #0a0a0a !important;
  border-color: var(--flame, #ff6b1a);
  font-weight: 700;
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 8px 30px rgba(255, 107, 26, 0.5);
  z-index: 10;
}

.wheel-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--scrim-card, radial-gradient(circle, #1a1a1a 0%, #0a0a0a 100%));
  border: 1px solid var(--border-on-dark, rgba(255, 255, 255, 0.15));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

body.light .wheel {
  border-color: rgba(10, 10, 10, 0.15);
}

body.light .wheel-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(10, 10, 10, 0.12);
  color: rgba(10, 10, 10, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

body.light .wheel-core {
  background: radial-gradient(circle, #ffffff 0%, #f5f1ea 100%);
  border-color: rgba(10, 10, 10, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Technology Stack Section & Pills */
.tech-pill {
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute, rgba(255, 255, 255, 0.6));
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.tech-pill:hover {
  color: var(--fg, #ffffff);
}

.tech-pill.active {
  color: var(--fg, #ffffff);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

body.light .tech-pill {
  color: rgba(10, 10, 10, 0.6);
}

body.light .tech-pill:hover,
body.light .tech-pill.active {
  color: #0a0a0a;
}

body.light .tech-pill.active {
  background: rgba(10, 10, 10, 0.08);
}

.tech-pill-bg {
  position: absolute;
  top: 6px;
  bottom: 6px;
  background: var(--flame, #ff6b1a);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
  opacity: 0.15;
}

/* Service Nav Interactive States */
.service-nav-btn {
  width: 100%;
  text-align: left;
  padding: 24px 16px 24px 0;
  display: flex;
  align-items: baseline;
  gap: 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-on-dark, rgba(255, 255, 255, 0.08));
  color: var(--fg-mute, rgba(255, 255, 255, 0.5));
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-nav-btn:hover {
  color: var(--fg, rgba(255, 255, 255, 0.85));
}

.service-nav-btn.active {
  color: var(--fg, #ffffff);
}

.service-nav-btn.active .arrow-indicator {
  opacity: 1;
  transform: translateX(0);
}

.service-nav-btn .arrow-indicator {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--flame, #ff6b1a);
}

/* Card Glow and Hover Effects */
.benefit-card {
  background-color: var(--surface-card, #0a0a0a);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.benefit-card:hover {
  background-color: var(--surface-raised, #0d0d0d);
}

.benefit-card .flame-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--flame, #ff6b1a);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.benefit-card:hover .flame-line {
  transform: scaleY(1);
}

/* Light Theme Contrast Enhancements */
body.light .benefit-card {
  background-color: #ffffff;
  border-color: rgba(10, 10, 10, 0.08);
}

body.light .benefit-card:hover {
  background-color: #faf7f2;
}

body.light .rounded-3xl.bg-\[\#0d0d0d\] {
  background-color: #ffffff !important;
  border-color: rgba(10, 10, 10, 0.1) !important;
}

body.light .text-white {
  color: #0a0a0a !important;
}

body.light .text-white\/90,
body.light .text-white\/80,
body.light .text-white\/75,
body.light .text-white\/70,
body.light .text-white\/65,
body.light .text-white\/60 {
  color: rgba(10, 10, 10, 0.75) !important;
}

body.light .text-white\/50,
body.light .text-white\/45,
body.light .text-white\/40,
body.light .text-white\/30 {
  color: rgba(10, 10, 10, 0.55) !important;
}

body.light .bg-\[\#0a0a0a\] {
  background-color: #faf7f2 !important;
}

body.light .bg-\[\#0d0d0d\] {
  background-color: #ffffff !important;
}

body.light .border-white\/5,
body.light .border-white\/10,
body.light .border-white\/\[0\.06\],
body.light .border-white\/\[0\.08\] {
  border-color: rgba(10, 10, 10, 0.08) !important;
}

body.light .img-tech-icon {
  filter: grayscale(100%) brightness(0.2) !important;
}

body.light .group:hover .img-tech-icon {
  filter: none !important;
}

/* ==========================================================================
   INLINE STYLES MOVED TO CLASSES
   ========================================================================== */

/* Background Gradients */
.bg-gradient-hero {
  background: radial-gradient(55% 45% at 10% 20%, rgba(255, 107, 26, 0.12), transparent 65%), radial-gradient(55% 45% at 90% 80%, rgba(124, 58, 237, 0.1), transparent 65%);
}

.bg-gradient-benefits {
  background: radial-gradient(55% 50% at 50% 0%, rgba(6, 182, 212, 0.08), transparent 65%), radial-gradient(40% 35% at 20% 80%, rgba(255, 107, 26, 0.06), transparent 70%);
  opacity: 0.5;
  transform: translateY(-80px);
}

.bg-gradient-services {
  background: radial-gradient(55% 50% at 90% 100%, rgba(34, 197, 94, 0.06), transparent 65%), radial-gradient(40% 35% at 15% 15%, rgba(255, 107, 26, 0.08), transparent 70%);
  opacity: 0.5;
  transform: translateY(80px);
}

.bg-gradient-why-us {
  background: radial-gradient(55% 45% at 50% 100%, rgba(239, 68, 68, 0.05), transparent 65%), radial-gradient(40% 35% at 80% 10%, rgba(124, 58, 237, 0.07), transparent 70%);
  opacity: 0.5;
  transform: translateY(-80px);
}

.bg-gradient-contact {
  background: radial-gradient(70% 50% at 30% 40%, rgba(255, 107, 26, 0.2), transparent 60%), radial-gradient(50% 50% at 80% 70%, rgba(124, 58, 237, 0.15), transparent 60%);
  transform: translateY(-60px) scale(1.05);
}

/* Typography Clamp Styles */
.text-clamp-hero {
  font-size: clamp(4rem, 8vw, 14rem);
}

.text-clamp-stat {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.9;
}

.text-clamp-heading {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}

.text-clamp-nav {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
}

.text-clamp-subheading {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.text-clamp-number {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
}
