/* ==========================================================================
   PLAYMAKER GROUP - STADIUM NIGHTS DESIGN SYSTEM
   ========================================================================== */

/* CSS Variables - Design Tokens */
:root {
  /* Primary Colors */
  --pregame-darkness: #1a1d29;
  --stadium-gold: #f4d03f;
  --sunset-flame: #ff6b35;
  --twilight-blue: #2e86ab;
  --concrete-neutral: #c8c6c6;

  /* Gradients */
  --money-gradient: linear-gradient(135deg, #f4d03f 0%, #ff6b35 100%);
  --dark-gradient: linear-gradient(180deg, #1a1d29 0%, #0f1117 100%);

  /* Semantic Colors */
  --text-primary: #ffffff;
  --text-secondary: #c8c6c6;
  --text-accent: #f4d03f;

  /* Overlay Colors */
  --overlay-dark: rgba(26, 29, 41, 0.85);
  --overlay-gradient: linear-gradient(
    180deg,
    rgba(26, 29, 41, 0) 0%,
    rgba(26, 29, 41, 0.8) 100%
  );

  /* Typography */
  --font-headline: "Oswald", "Arial Black", sans-serif;
  --font-subhead: "Inter", "Helvetica Neue", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type Scale */
  --text-hero: 64px;
  --text-h2: 40px;
  --text-h3: 24px;
  --text-body: 16px;
  --text-small: 14px;

  /* Line Heights */
  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-relaxed: 1.8;

  /* Letter Spacing */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;

  /* Spacing Scale (6px base unit) */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --space-4xl: 96px;
  --space-5xl: 144px;

  /* Animation Durations */
  --duration-instant: 0.15s;
  --duration-fast: 0.3s;
  --duration-normal: 0.5s;
  --duration-cinematic: 0.8s;
  --duration-slow: 1.2s;
  --duration-epic: 2s;

  /* Easing Functions */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--pregame-darkness);
  overflow-x: hidden;
}

/* Prevent flash of unstyled content on hero elements */
body:not(.loaded) .hero-content-side [data-fade-up],
body:not(.loaded) .hero-content-side .hero-label,
body:not(.loaded) .hero-content-side .hero-headline,
body:not(.loaded) .hero-content-side .hero-subhead,
body:not(.loaded) .hero-content-side .hero-cta-group,
body:not(.loaded) .phone-stack,
body:not(.loaded) .showcase-3d-container,
body:not(.loaded) .showcase-controls,
body:not(.loaded) .swipe-indicator,
body:not(.loaded) .scroll-indicator {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Container */
.container-stadium {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: 700;
}

h1 {
  font-size: var(--text-hero);
}
h2 {
  font-size: var(--text-h2);
}
h3 {
  font-size: var(--text-h3);
}

p {
  margin-bottom: var(--space-lg);
}

/* Gradient Text Effect */
.gradient-text {
  background: var(--money-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Section Spacing */
section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stadium-gold);
  margin-bottom: var(--space-md);
  padding: 8px 16px;
  border: 1px solid var(--stadium-gold);
  border-radius: 50px;
}

.section-title {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar-stadium {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: var(--space-lg) 0 !important;
  background: transparent;
  transition: background var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  z-index: 1000;
  overflow: visible !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.navbar-stadium .container-stadium {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: var(--space-2xl) !important;
  padding-right: var(--space-2xl) !important;
  box-sizing: border-box !important;
}

.navbar-stadium.scrolled {
  background: rgba(26, 29, 41, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar-content {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1400px !important;
  width: 100% !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
}

.navbar-stadium__logo {
  font-family: var(--font-headline);
  font-size: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-image {
  height: 32px;
  width: auto;
  transition: transform var(--duration-fast) var(--ease-out);
}

.logo-text {
  background: var(--money-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.logo-subtext {
  color: var(--text-secondary);
  font-weight: 400;
}

.navbar-stadium__menu {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar-stadium__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.navbar-stadium__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--money-gradient);
  transition: width var(--duration-fast) var(--ease-out);
}

.navbar-stadium__link:hover {
  color: var(--stadium-gold);
}

.navbar-stadium__link:hover::after {
  width: 100%;
}

/* Active nav link styling */
.navbar-stadium__link.active {
  color: var(--stadium-gold);
}

.navbar-stadium__link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.navbar-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-icon {
  font-size: 10px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.navbar-dropdown:hover .dropdown-icon,
.navbar-dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.navbar-dropdown__menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 29, 41, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(244, 208, 63, 0.15);
  border-radius: 8px;
  padding: var(--space-sm) 0;
  min-width: 180px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 10000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-dropdown:hover .navbar-dropdown__menu,
.navbar-dropdown.active .navbar-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar-dropdown__link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.navbar-dropdown__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--money-gradient);
  transition: width var(--duration-fast) var(--ease-out);
}

.navbar-dropdown__link:hover {
  color: var(--stadium-gold);
  padding-left: calc(var(--space-lg) + 12px);
}

.navbar-dropdown__link:hover::before {
  width: 8px;
  left: var(--space-lg);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.hamburger-line {
  width: 28px;
  height: 2px;
  background: var(--stadium-gold);
  transition: transform var(--duration-fast) var(--ease-out);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pregame-darkness);
}

/* Animated Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  z-index: 1;
}

/* Stadium Grid Background */
.stadium-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(244, 208, 63, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(244, 208, 63, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: grid-move 20s linear infinite;
  z-index: 1;
}

@keyframes grid-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100px);
  }
}

/* Hero Container - Split Layout */
.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 var(--space-2xl);
  margin: 0 auto;
}

/* Left Side: Content */
.hero-content-side {
  display: flex;
  align-items: center;
  min-height: 600px;
  position: relative;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 600px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-subhead);
  font-size: 12px;
  font-weight: 600;
  color: var(--stadium-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
  padding: 8px 16px;
  background: rgba(244, 208, 63, 0.1);
  border: 1px solid rgba(244, 208, 63, 0.3);
  border-radius: 100px;
  position: relative;
  z-index: 100;
}

.hero-headline {
  font-size: 72px;
  line-height: 1.2;
  margin-bottom: var(--space-xl);
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.headline-main {
  display: block;
  font-style: normal;
  line-height: 1.4;
  font-size: 72px;
  padding: 6px 0;
  overflow: visible;
}

.headline-flow {
  background: linear-gradient(
    90deg,
    #f4d03f 0%,
    #ffd700 20%,
    #fff 40%,
    #ffd700 60%,
    #ff6b35 80%,
    #f4d03f 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 4s ease-in-out infinite;
  position: relative;
  display: inline-block;
  padding: 0 4px;
  font-style: normal;
}

@keyframes shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.headline-subtitle {
  display: block;
  font-size: 56px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.1;
}

.hero-subhead {
  font-size: 18px;
  color: rgba(200, 198, 198, 0.9);
  margin-bottom: var(--space-lg);
  font-family: var(--font-body);
  line-height: 1.6;
  max-width: 480px;
  font-weight: 400;
  position: relative;
  z-index: 100;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 100;
}

/* New Hero Buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--money-gradient);
  color: var(--pregame-darkness);
  font-family: var(--font-subhead);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: 0 4px 16px rgba(244, 208, 63, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.5);
  color: var(--pregame-darkness);
}

.btn-hero-primary svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-subhead);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.btn-hero-secondary::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: var(--stadium-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn-hero-secondary:hover {
  color: var(--stadium-gold);
}

.btn-hero-secondary:hover::after {
  transform: scaleX(1);
}

/* Right Side: 3D Phone Stack Showcase */
.hero-showcase-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 2000px;
}

.showcase-3d-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phone Stack Container */
.phone-stack {
  position: relative;
  width: 300px;
  height: 600px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  /* GPU acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.phone-stack:active {
  cursor: grabbing;
}

/* Individual Phone Card */
.phone-card {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU acceleration - only animate transform and opacity */
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Force GPU layer */
  transform: translateZ(0);
}

/* Phone Frame (Device Mock) - Sleek Modern Design */
.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #0f0f0f 0%, #1a1a1a 100%);
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(244, 208, 63, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  /* GPU acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(
    145deg,
    rgba(244, 208, 63, 0.3),
    rgba(46, 134, 171, 0.2)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Remove phone notch */
.phone-notch {
  display: none;
}

/* Phone Screen Content */
.phone-frame img {
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  border-radius: 26px;
  user-select: none;
  pointer-events: none;
  /* GPU acceleration for images */
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Optimize image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Phone Reflection/Glow */
.phone-reflection {
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(244, 208, 63, 0.15) 0%,
    transparent 50%,
    rgba(46, 134, 171, 0.1) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-fast);
  /* GPU acceleration */
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.phone-card:hover .phone-reflection {
  opacity: 1;
}

/* Phone Label */
.phone-label {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--stadium-gold);
  font-family: var(--font-subhead);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--duration-fast);
  text-align: center;
}

/* Stack Positioning - Default State */
.phone-card[data-index="0"] {
  z-index: 50;
  transform: translateZ(0px) rotateY(0deg) scale(1);
  opacity: 1;
}

.phone-card[data-index="0"] .phone-label {
  opacity: 1;
}

.phone-card[data-index="1"] {
  z-index: 40;
  transform: translateZ(-100px) translateX(40px) rotateY(-15deg) scale(0.9);
  opacity: 0.7;
}

.phone-card[data-index="2"] {
  z-index: 30;
  transform: translateZ(-200px) translateX(-40px) rotateY(15deg) scale(0.8);
  opacity: 0.5;
}

.phone-card[data-index="3"] {
  z-index: 20;
  transform: translateZ(-300px) translateX(30px) rotateY(-10deg) scale(0.7);
  opacity: 0.3;
}

.phone-card[data-index="4"] {
  z-index: 10;
  transform: translateZ(-400px) translateX(-30px) rotateY(10deg) scale(0.6);
  opacity: 0.2;
}

/* Hide cards that are too far back to improve performance */
.phone-card[data-index="3"],
.phone-card[data-index="4"] {
  visibility: hidden;
  pointer-events: none;
}

/* Show only first 3 cards for better performance */
.phone-card[data-index="0"],
.phone-card[data-index="1"],
.phone-card[data-index="2"] {
  visibility: visible;
}

/* Navigation Controls */
.showcase-controls {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  z-index: 100;
}

.control-btn {
  width: 44px;
  height: 44px;
  background: rgba(26, 29, 41, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(244, 208, 63, 0.3);
  border-radius: 50%;
  color: var(--stadium-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.control-btn:hover {
  background: rgba(244, 208, 63, 0.2);
  border-color: var(--stadium-gold);
  transform: scale(1.1);
}

.control-btn:active {
  transform: scale(0.95);
}

.control-counter {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-subhead);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 18px;
  min-width: 60px;
  justify-content: center;
}

.divider {
  color: var(--text-secondary);
  font-weight: 400;
}

.total-number {
  color: var(--text-secondary);
}

/* Action Hint */
.showcase-hint {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  animation: pulse-hint 2s ease-in-out infinite;
}

.showcase-hint svg {
  color: var(--stadium-gold);
}

@keyframes pulse-hint {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Light Flares */
.light-flare {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 208, 63, 0.3) 0%,
    rgba(244, 208, 63, 0) 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pulse-flare 4s ease-in-out infinite;
  z-index: 2;
}

.light-flare-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
}

.light-flare-2 {
  width: 800px;
  height: 800px;
  bottom: -400px;
  left: -200px;
  animation-delay: 2s;
}

.light-flare-3 {
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes pulse-flare {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  z-index: 2;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: var(--stadium-gold);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: var(--money-gradient);
  color: var(--pregame-darkness);
  font-family: var(--font-subhead);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  height: 52px;
  box-sizing: border-box;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.4);
  color: var(--pregame-darkness);
}

.btn-glow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

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

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: transparent;
  color: var(--stadium-gold);
  font-family: var(--font-subhead);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--stadium-gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  height: 52px;
  box-sizing: border-box;
}

.btn-secondary:hover {
  background: var(--stadium-gold);
  color: var(--pregame-darkness);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.4);
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */

.intro-section {
  background: var(--pregame-darkness);
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: visible;
}

.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(244, 208, 63, 0.02) 35px,
    rgba(244, 208, 63, 0.02) 70px
  );
  pointer-events: none;
  z-index: 0;
}

.intro-section .container-stadium {
  position: relative;
  z-index: 1;
}

.section-quote {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: 8px;
  overflow: visible;
}

.section-quote::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--money-gradient);
  border-radius: 2px;
}

.intro-text {
  font-size: 18px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-section {
  background: var(--pregame-darkness);
}

.filter-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--text-secondary);
  padding: 12px 24px;
  font-family: var(--font-subhead);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-small);
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--money-gradient);
  color: var(--pregame-darkness);
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: opacity var(--duration-fast), transform var(--duration-fast);
  align-self: start;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  display: none;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/16;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-cinematic) var(--ease-out);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-gradient);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--duration-cinematic) var(--ease-out);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  font-size: var(--text-h3);
  margin-bottom: var(--space-sm);
}

.portfolio-category {
  color: var(--stadium-gold);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* Portfolio Show More */
.portfolio-item-more {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}

.portfolio-item-more.visible {
  display: block;
}

.portfolio-item-more .portfolio-image,
.portfolio-item-more .portfolio-image img {
  width: 100%;
  height: auto;
}

.portfolio-show-more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-3xl);
  width: 100%;
}

.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 40px;
  background: transparent;
  color: var(--stadium-gold);
  border: 2px solid var(--stadium-gold);
  border-radius: 50px;
  font-family: var(--font-subhead);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-show-more:hover {
  background: var(--stadium-gold);
  color: var(--pregame-darkness);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.3);
}

.show-more-icon {
  transition: transform var(--duration-fast);
}

.btn-show-more.active .show-more-icon {
  transform: rotate(180deg);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  z-index: 3;
  background: rgba(26, 29, 41, 0.8);
  border: 2px solid rgba(244, 208, 63, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--duration-fast);
}

.lightbox-close:hover {
  background: rgba(244, 208, 63, 0.2);
  border-color: var(--stadium-gold);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(26, 29, 41, 0.8);
  border: 2px solid rgba(244, 208, 63, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--duration-fast);
}

.lightbox-nav:hover {
  background: rgba(244, 208, 63, 0.2);
  border-color: var(--stadium-gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: var(--space-xl);
}

.lightbox-next {
  right: var(--space-xl);
}

/* Video Lightbox */
.video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.video-lightbox.active {
  display: flex;
  opacity: 1;
}

.video-lightbox-content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox-content video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Portfolio Video Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-play-btn {
  background: rgba(244, 208, 63, 0.95);
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-bg);
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.3);
  padding-left: 4px;
}

.portfolio-play-btn:hover {
  transform: scale(1.1);
  background: var(--stadium-gold);
  box-shadow: 0 6px 30px rgba(244, 208, 63, 0.5);
}

.portfolio-play-btn i {
  display: block;
}

.portfolio-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
}

/* Portfolio Fullscreen Button for Graphics */
.portfolio-fullscreen-btn {
  background: rgba(244, 208, 63, 0.95);
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.3);
}

.portfolio-fullscreen-btn:hover {
  transform: scale(1.1);
  background: var(--stadium-gold);
  box-shadow: 0 6px 30px rgba(244, 208, 63, 0.5);
}

.portfolio-fullscreen-btn svg {
  display: block;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  background: var(--dark-gradient);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.service-card {
  background: rgba(26, 29, 41, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 208, 63, 0.2);
  border-radius: 12px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 208, 63, 0.1) 0%,
    rgba(255, 107, 53, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(244, 208, 63, 0.3), 0 0 0 1px var(--stadium-gold);
  border-color: var(--stadium-gold);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
  color: var(--stadium-gold);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #ffd700;
}

.service-title {
  margin-bottom: var(--space-md);
}

.service-description {
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}

.service-features li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--stadium-gold);
  font-weight: bold;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
  background: var(--pregame-darkness);
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) 0;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(244, 208, 63, 0.02) 35px,
    rgba(244, 208, 63, 0.02) 70px
  );
  pointer-events: none;
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: var(--space-xl);
  background: rgba(26, 29, 41, 0.9);
  border: 1px solid rgba(244, 208, 63, 0.15);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 208, 63, 0.05) 0%,
    rgba(255, 107, 53, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: var(--stadium-gold);
  box-shadow: 0 16px 48px rgba(244, 208, 63, 0.2);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item > * {
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--stadium-gold);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.stat-item:hover .stat-icon {
  transform: scale(1.15);
  color: #ffd700;
}

.stat-number {
  font-size: 56px;
  background: var(--money-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  font-size: var(--text-small);
  margin-bottom: 0;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background: var(--pregame-darkness);
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.about-section .container-stadium {
  position: relative;
  z-index: 2;
}

.about-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  z-index: 1;
}

.about-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stadium-gold);
  margin-bottom: var(--space-md);
  padding: 8px 16px;
  border: 1px solid var(--stadium-gold);
  border-radius: 50px;
}

.about-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.about-text {
  font-size: 18px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.about-quote-wrapper {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(26, 29, 41, 0.6);
  border-left: 4px solid var(--stadium-gold);
  border-radius: 8px;
  position: relative;
}

.quote-icon {
  color: var(--stadium-gold);
  opacity: 0.3;
  margin-bottom: var(--space-md);
}

.about-quote {
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  line-height: var(--lh-normal);
  margin: 0;
}

.process-workflow {
  position: relative;
  z-index: 2;
  padding-right: var(--space-2xl);
}

.process-header {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2xl);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-step {
  position: relative;
  margin-bottom: var(--space-2xl);
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step:last-child .step-connector {
  display: none;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--stadium-gold) 0%,
    var(--stadium-orange) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-bg);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

.step-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-left: 72px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-content {
  transform: translateX(8px);
}

.step-icon {
  width: 48px;
  height: 48px;
  color: var(--stadium-gold);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.process-step:hover .step-icon {
  transform: scale(1.1);
  color: #ffd700;
}

.step-info {
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.step-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.step-connector {
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: calc(100% + var(--space-2xl) - 48px);
  background: linear-gradient(
    180deg,
    var(--stadium-gold) 0%,
    rgba(244, 208, 63, 0.2) 100%
  );
  z-index: 1;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  background: var(--dark-gradient);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

/* Swiper Container */
.testimonials-swiper-container {
  margin-top: var(--space-3xl);
  padding: 60px 100px;
  position: relative;
}

.testimonials-swiper {
  overflow: visible;
}

.testimonials-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

.testimonials-swiper .swiper-slide {
  width: 420px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Non-active slides (scaled down and faded) */
.testimonials-swiper .swiper-slide:not(.swiper-slide-active) .testimonial-card {
  filter: blur(2px);
  opacity: 0.5;
  transform: scale(0.92);
  will-change: auto;
}

/* Active slide (centered, focused) */
.testimonials-swiper .swiper-slide-active .testimonial-card {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
  border-color: var(--stadium-gold);
  box-shadow: 0 20px 60px rgba(244, 208, 63, 0.4);
  will-change: transform, opacity, filter;
}

/* Testimonial Card */
.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(26, 29, 41, 0.98) 0%,
    rgba(31, 35, 50, 0.98) 100%
  );
  border: 2px solid rgba(244, 208, 63, 0.15);
  border-radius: 24px;
  padding: var(--space-2xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Gradient glow effect */
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 208, 63, 0.08) 0%,
    rgba(255, 107, 53, 0.08) 50%,
    rgba(46, 134, 171, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 24px;
}

.testimonials-swiper .swiper-slide-active .testimonial-card::before {
  opacity: 1;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

/* Quote Icon */
.quote-icon-lg {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: var(--stadium-gold);
  opacity: 0.15;
  z-index: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonials-swiper .swiper-slide-active .quote-icon-lg {
  opacity: 0.3;
  transform: scale(1.05);
}

/* Photo and badge styles removed per client request */

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-lg);
  color: var(--stadium-gold);
  justify-content: center;
}

.testimonial-text {
  font-size: 18px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  margin-top: var(--space-lg);
  font-style: italic;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  background: var(--money-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.author-position {
  font-size: 14px;
  color: var(--stadium-gold);
  margin: 0;
  text-align: center;
}

/* Metrics removed per client request */

/* Swiper Navigation Buttons */
.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(244, 208, 63, 0.1);
  border: 2px solid rgba(244, 208, 63, 0.3);
  color: var(--stadium-gold) !important;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testimonial-nav-btn::after {
  font-size: 20px;
  font-weight: bold;
}

.testimonial-nav-btn:hover {
  background: var(--money-gradient);
  color: var(--pregame-darkness) !important;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.5);
  border-color: transparent;
}

.testimonial-nav-btn:active {
  transform: scale(0.95);
}

.testimonial-nav-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Swiper Pagination */
.testimonial-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: var(--space-2xl);
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(244, 208, 63, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background: var(--stadium-gold);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(244, 208, 63, 0.6);
}

.testimonial-pagination .swiper-pagination-bullet:hover {
  background: var(--stadium-gold);
  transform: scale(1.2);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: var(--dark-gradient);
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  max-width: 100vw;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(244, 208, 63, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(244, 208, 63, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 0;
}

.contact-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-section .container-stadium {
  position: relative;
  z-index: 2;
}

.contact-form {
  margin-top: var(--space-2xl);
}

.form-input {
  width: 100%;
  padding: 18px 24px;
  background: rgba(26, 29, 41, 0.8);
  border: 2px solid rgba(244, 208, 63, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input:focus {
  outline: none;
  border-color: var(--stadium-gold);
  background: rgba(26, 29, 41, 0.95);
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.15);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  margin-bottom: 0;
  font-size: 20px;
}

.contact-email i {
  background: var(--money-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
}

.contact-email a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  font-weight: 500;
}

.contact-email a:hover {
  color: var(--stadium-gold);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 29, 41, 0.5);
  border: 1px solid rgba(244, 208, 63, 0.2);
  font-size: 24px;
}

.social-links a:hover {
  color: var(--stadium-gold);
  text-decoration: none;
  transform: translateY(-4px);
  border-color: var(--stadium-gold);
  background: rgba(244, 208, 63, 0.1);
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.2);
}

.contact-form .btn-primary {
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-stadium {
  background: rgba(26, 29, 41, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid rgba(244, 208, 63, 0.1);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-nav a:hover {
  color: var(--stadium-gold);
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: var(--text-small);
  margin-bottom: 0;
}

.dev-note {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

.devlook-link {
  text-decoration: none;
  color: inherit;
}

.devlook-shine {
  position: relative;
  display: inline;
  background: linear-gradient(
    90deg,
    #5fcfb8 0%,
    #7FFFD4 25%,
    #fff 50%,
    #7FFFD4 75%,
    #5fcfb8 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  animation: devlook-shine 1.5s linear infinite;
}

@keyframes devlook-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Fade Up Animation */
[data-fade-up] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-cinematic) var(--ease-out),
    transform var(--duration-cinematic) var(--ease-out);
}

[data-fade-up].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus States for Accessibility */
*:focus-visible {
  outline: 2px solid var(--stadium-gold);
  outline-offset: 4px;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
  position: fixed !important;
  bottom: 40px !important;
  right: 40px !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  background: linear-gradient(135deg, #f4d03f 0%, #ff6b35 100%) !important;
  border: 2px solid #f4d03f !important;
  border-radius: 50% !important;
  color: #1a1d29 !important;
  cursor: pointer !important;
  z-index: 999999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(20px) !important;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.back-to-top:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px rgba(244, 208, 63, 0.5) !important;
}

.back-to-top:active {
  transform: translateY(-2px) !important;
}

.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.back-to-top i {
  font-size: 20px !important;
  color: #1a1d29 !important;
}

/* Hide back to top button when lightbox is active */
.lightbox.active ~ .back-to-top,
.video-lightbox.active ~ .back-to-top,
body:has(.lightbox.active) .back-to-top,
body:has(.video-lightbox.active) .back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --text-hero: 52px;
    --text-h2: 38px;
    --text-h3: 24px;
    --space-4xl: 80px;
    --space-5xl: 100px;
  }

  /* ===== TABLET NAVBAR - OVERRIDE BOOTSTRAP ===== */

  /* Navbar - force proper positioning */
  .navbar-stadium {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .navbar-stadium.scrolled {
    overflow: visible !important;
  }

  /* Navbar content - use relative positioning */
  .navbar-content {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 32px !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* Logo */
  .navbar-stadium__logo {
    flex-shrink: 0;
    position: relative !important;
    z-index: 1003 !important;
    margin-left: 8px !important;
  }

  .logo-image {
    height: 28px;
    width: auto;
  }

  /* SHOW hamburger menu on tablets - absolute position on right */
  .menu-toggle {
    display: flex !important;
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1002 !important;
    flex-shrink: 0 !important;
  }

  /* Hide desktop menu, convert to mobile dropdown */
  .navbar-stadium__menu {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    background: rgba(26, 29, 41, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 32px 24px !important;
    gap: 24px !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.3s ease, opacity 0.3s ease !important;
    z-index: 1003 !important;
    margin: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
  }

  .navbar-stadium__menu > li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .navbar-stadium__menu.active {
    pointer-events: auto !important;
  }

  /* Show menu when active class added */
  .navbar-stadium__menu.active {
    max-height: 600px !important;
    opacity: 1 !important;
  }

  /* Menu links in dropdown */
  .navbar-stadium__link {
    font-size: 16px !important;
    text-align: left !important;
    padding: 12px !important;
    display: block !important;
  }

  /* Dropdown tablet styling */
  .navbar-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-dropdown__trigger {
    width: auto;
    justify-content: flex-start;
    padding: 12px;
    display: flex;
    text-align: left;
    gap: 8px;
    align-items: center;
  }

  .dropdown-icon {
    font-size: 10px;
    margin-left: 0;
  }

  .navbar-dropdown__menu {
    position: relative;
    transform: none;
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(244, 208, 63, 0);
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
    margin: var(--space-md) 0 0 0;
    width: 100%;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease,
                padding 0.3s ease,
                background 0.2s ease,
                border-color 0.2s ease;
    opacity: 0;
  }

  .navbar-dropdown.active .navbar-dropdown__menu {
    max-height: 400px;
    padding: var(--space-sm) 0;
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(244, 208, 63, 0.3);
    opacity: 1;
  }

  .navbar-dropdown__menu li {
    width: 100%;
    display: block;
  }

  .navbar-dropdown__link {
    padding: 12px var(--space-xl) !important;
    font-size: var(--text-small) !important;
    font-weight: 500 !important;
    opacity: 0 !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    color: var(--text-secondary) !important;
    transition: opacity 0.2s ease,
                color 0.2s ease,
                background 0.2s ease,
                padding 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: var(--ls-wide) !important;
    position: relative !important;
  }

  .navbar-dropdown.active .navbar-dropdown__link {
    opacity: 0.8 !important;
  }

  .navbar-dropdown__link::before {
    content: "→";
    position: absolute;
    left: var(--space-lg);
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--stadium-gold);
  }

  .navbar-dropdown__link:hover,
  .navbar-dropdown__link:active {
    opacity: 1 !important;
    color: var(--stadium-gold) !important;
    background: rgba(244, 208, 63, 0.1) !important;
    padding-left: calc(var(--space-xl) + 12px) !important;
  }

  .navbar-dropdown__link:hover::before,
  .navbar-dropdown__link:active::before {
    opacity: 1;
    left: calc(var(--space-lg) + 4px);
  }

  /* Hero Section */
  .hero-section {
    overflow: hidden !important;
  }

  .hero-background {
    overflow: hidden !important;
  }

  .hero-canvas {
    max-width: 100vw !important;
  }

  /* About Section */
  .about-section {
    overflow: hidden !important;
  }

  .about-canvas {
    max-width: 100vw !important;
  }

  /* Contact Section */
  .contact-section {
    overflow: hidden !important;
  }

  .contact-particles {
    max-width: 100vw !important;
  }

  /* Hero Section Tablet Optimization */
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: 0 var(--space-2xl);
    align-items: center;
  }

  .hero-content-side {
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-label {
    font-size: 11px;
    padding: 7px 14px;
    margin-bottom: var(--space-md);
  }

  .hero-headline {
    font-size: 48px;
    margin-bottom: var(--space-lg);
    gap: 6px;
  }

  .headline-main {
    font-size: 48px;
    line-height: 1.3;
  }

  .headline-subtitle {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-subhead {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: var(--space-lg);
  }

  .hero-cta-group {
    gap: var(--space-md);
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 16px 28px;
    font-size: 15px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* Stats Section Tablet Optimization */
  .stats-section {
    padding: var(--space-4xl) 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .stat-item {
    padding: var(--space-lg);
  }

  .stat-icon {
    width: 56px;
    height: 56px;
    font-size: 42px;
    margin-bottom: var(--space-md);
  }

  .stat-number {
    font-size: 48px;
    margin-bottom: var(--space-xs);
  }

  .stat-label {
    font-size: 13px;
  }

  /* About Section */
  .about-section .row {
    gap: var(--space-2xl);
  }

  .process-workflow {
    padding-right: var(--space-xl);
  }

  .about-title {
    font-size: 40px;
  }

  /* Testimonials Swiper Tablet */
  .testimonials-swiper-container {
    padding: 50px 60px;
  }

  .testimonials-swiper .swiper-slide {
    width: 380px;
  }

  .testimonial-card {
    padding: var(--space-xl);
  }

  .testimonial-text {
    font-size: 16px;
    min-height: 100px;
  }

  .testimonial-image {
    width: 70px;
    height: 70px;
  }

  /* Contact */
  .contact-form {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-stadium {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer-logo {
    height: 35px;
  }

  .footer-nav {
    gap: var(--space-lg);
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-copyright,
  .dev-note {
    font-size: 12px;
    text-align: center;
  }

  /* Showcase Phone Stack for Tablets */
  .hero-showcase-side {
    perspective: 1800px;
  }

  .showcase-3d-container {
    max-width: 100%;
    height: 540px;
  }

  .phone-stack {
    width: 240px;
    height: 480px;
  }

  /* Adjust phone card transforms for tablets */
  .phone-card[data-index="1"] {
    transform: translateZ(-80px) translateX(35px) rotateY(-12deg) scale(0.9);
  }

  .phone-card[data-index="2"] {
    transform: translateZ(-160px) translateX(-35px) rotateY(12deg) scale(0.82);
  }

  .phone-card[data-index="3"] {
    transform: translateZ(-240px) translateX(28px) rotateY(-8deg) scale(0.74);
  }

  .phone-card[data-index="4"] {
    transform: translateZ(-320px) translateX(-28px) rotateY(8deg) scale(0.66);
  }

  .showcase-controls {
    bottom: -65px;
    gap: var(--space-lg);
  }

  .control-btn {
    width: 40px;
    height: 40px;
  }

  .control-counter {
    font-size: 16px;
    min-width: 55px;
  }

  .showcase-hint {
    top: -32px;
    font-size: 11px;
    gap: var(--space-xs);
  }

  .phone-label {
    font-size: 12px;
    bottom: -42px;
  }

  .scroll-indicator {
    bottom: var(--space-xl);
    font-size: 11px;
  }

  .scroll-line {
    height: 35px;
  }
}

/* iPad Pro and larger tablets */
@media (min-width: 1025px) and (max-width: 1366px) {
  /* Navbar fixes for larger tablets */
  .navbar-stadium {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible !important;
  }

  .navbar-stadium.scrolled {
    overflow: visible !important;
  }

  .navbar-content {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
    position: relative !important;
  }

  /* Logo */
  .navbar-stadium__logo {
    margin-left: 8px !important;
  }

  /* Prevent canvas/particles overflow */
  .hero-section,
  .about-section,
  .contact-section {
    overflow: hidden !important;
  }

  .hero-canvas,
  .about-canvas,
  .contact-particles {
    max-width: 100vw !important;
  }

  /* Footer */
  .footer-logo {
    height: 38px;
  }

  .footer-nav {
    gap: var(--space-lg);
  }

  .footer-nav a {
    font-size: 14px;
  }

  /* Phone Stack Optimization for Laptops */
  .hero-container {
    gap: var(--space-2xl);
    max-width: 1400px;
    padding: 0 var(--space-xl);
  }

  .showcase-3d-container {
    max-width: 400px;
    height: 580px;
  }

  .phone-stack {
    width: 260px;
    height: 520px;
  }

  .showcase-controls {
    bottom: -70px;
    gap: var(--space-lg);
  }

  .control-btn {
    width: 42px;
    height: 42px;
  }

  .control-counter {
    font-size: 16px;
  }

  .showcase-hint {
    top: -35px;
    font-size: 11px;
  }

  .phone-label {
    font-size: 12px;
    bottom: -45px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: 36px;
    --text-h2: 28px;
    --text-h3: 20px;
  }

  /* Fix navbar overflow for mobile */
  .navbar-stadium {
    overflow: visible !important;
  }

  .navbar-stadium.scrolled {
    overflow: visible !important;
  }

  .navbar-stadium__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 29, 41, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl);
    gap: var(--space-lg);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--duration-normal) var(--ease-out),
      opacity var(--duration-fast) var(--ease-out);
    z-index: 1003;
    pointer-events: none;
  }

  .navbar-stadium__menu > li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .navbar-stadium__link {
    text-align: left;
    display: block;
  }

  .navbar-stadium__menu.active {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  /* Dropdown mobile styling */
  .navbar-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-dropdown__trigger {
    width: auto;
    justify-content: flex-start;
    padding: 0;
    display: flex;
    text-align: left;
    gap: 8px;
    align-items: center;
  }

  .dropdown-icon {
    font-size: 10px;
    margin-left: 0;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }

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

  .navbar-dropdown__menu {
    position: relative;
    transform: none;
    background: rgba(0, 0, 0, 0);
    border: 1px solid rgba(244, 208, 63, 0);
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
    margin: var(--space-md) 0 0 0;
    width: 100%;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease,
                padding 0.3s ease,
                background 0.2s ease,
                border-color 0.2s ease;
    opacity: 0;
  }

  .navbar-dropdown.active .navbar-dropdown__menu {
    max-height: 400px;
    padding: var(--space-sm) 0;
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(244, 208, 63, 0.3);
    opacity: 1;
  }

  .navbar-dropdown__menu li {
    width: 100%;
    display: block;
  }

  .navbar-dropdown__link {
    padding: 12px var(--space-xl);
    font-size: var(--text-small);
    font-weight: 500;
    opacity: 0;
    text-align: left;
    display: block;
    width: 100%;
    color: var(--text-secondary);
    transition: opacity 0.2s ease,
                color 0.2s ease,
                background 0.2s ease,
                padding 0.2s ease;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    position: relative;
  }

  .navbar-dropdown.active .navbar-dropdown__link {
    opacity: 0.8;
  }

  .navbar-dropdown__link::before {
    content: "→";
    position: absolute;
    left: var(--space-lg);
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--stadium-gold);
  }

  .navbar-dropdown__link:hover,
  .navbar-dropdown__link:active {
    opacity: 1;
    color: var(--stadium-gold);
    background: rgba(244, 208, 63, 0.1);
    padding-left: calc(var(--space-xl) + 12px);
  }

  .navbar-dropdown__link:hover::before,
  .navbar-dropdown__link:active::before {
    opacity: 1;
    left: calc(var(--space-lg) + 4px);
  }

  /* Remove tablet padding on mobile */
  .navbar-stadium__logo {
    margin-left: 0 !important;
  }

  .navbar-content {
    padding: 0 24px !important;
  }

  /* Hero responsive */
  .hero-section {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    padding: var(--space-2xl) var(--space-lg);
  }

  .hero-content-side {
    min-height: auto;
    order: 1;
  }

  .hero-showcase-side {
    order: 2;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-label {
    font-size: 11px;
    padding: 6px 14px;
  }

  .hero-headline {
    font-size: 48px;
  }

  .headline-main {
    font-size: 48px;
  }

  .headline-subtitle {
    font-size: 32px;
  }

  .hero-subhead {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
    gap: var(--space-md);
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }

  .showcase-3d-container {
    max-width: 100%;
    height: 500px;
    margin-bottom: var(--space-3xl);
  }

  .phone-stack {
    width: 220px;
    height: 440px;
  }

  .showcase-controls {
    bottom: -70px;
    gap: var(--space-lg);
  }

  .control-btn {
    width: 40px;
    height: 40px;
  }

  .showcase-hint {
    top: -30px;
    font-size: 11px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .about-section .row {
    flex-direction: column-reverse;
  }

  .process-workflow {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    padding-right: 0;
  }

  .process-header {
    font-size: 20px;
    margin-bottom: var(--space-xl);
  }

  .process-step {
    margin-bottom: var(--space-xl);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .step-content {
    padding-left: 56px;
    gap: var(--space-md);
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-icon svg {
    width: 40px;
    height: 40px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-description {
    font-size: 14px;
  }

  .step-connector {
    left: 19px;
    height: calc(100% + var(--space-xl) - 40px);
  }

  .about-title {
    font-size: 32px;
  }

  .about-text {
    font-size: 16px;
  }

  .about-quote-wrapper {
    padding: var(--space-lg);
    margin-top: var(--space-xl);
  }

  .about-quote {
    font-size: 18px;
  }

  .section-quote {
    font-size: 28px;
  }

  /* Testimonials Swiper Mobile */
  .testimonials-swiper-container {
    padding: 40px 20px;
  }

  .testimonials-swiper .swiper-slide {
    width: 100%;
    max-width: 340px;
  }

  .testimonial-card {
    padding: var(--space-xl);
  }

  .testimonial-text {
    font-size: 15px;
    min-height: 80px;
  }

  .author-name {
    font-size: 18px;
  }

  .testimonial-nav-btn {
    width: 42px;
    height: 42px;
    top: auto !important;
    bottom: -70px !important;
    margin-top: 0 !important;
  }

  .testimonial-nav-btn.swiper-button-prev {
    left: calc(50% - 60px) !important;
  }

  .testimonial-nav-btn.swiper-button-next {
    right: calc(50% - 60px) !important;
  }

  .testimonial-nav-btn::after {
    font-size: 16px;
  }

  /* Add extra padding to container to accommodate bottom buttons */
  .testimonials-swiper-container {
    padding-bottom: 120px;
  }

  /* Remove scale transform on mobile to prevent overflow */
  .testimonials-swiper
    .swiper-slide:not(.swiper-slide-active)
    .testimonial-card {
    transform: scale(1);
  }

  .testimonials-swiper .swiper-slide-active .testimonial-card {
    transform: scale(1);
  }

  /* Footer */
  .footer-stadium {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer-content {
    gap: var(--space-lg);
  }

  .footer-logo {
    height: 32px;
  }

  .footer-nav {
    gap: var(--space-md);
    flex-direction: column;
    align-items: center;
  }

  .footer-nav a {
    font-size: 13px;
    padding: 8px 0;
  }

  .footer-copyright,
  .dev-note {
    font-size: 12px;
    text-align: center;
    padding: 0 var(--space-md);
  }
}

@media (max-width: 575px) {
  :root {
    --text-hero: 32px;
    --text-h2: 24px;
  }

  /* Back to top button mobile positioning */
  .back-to-top {
    bottom: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .hero-section {
    padding: var(--space-2xl) 0;
    min-height: 100vh;
    overflow: hidden;
  }

  .hero-background {
    position: absolute;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
  }

  .stadium-grid {
    background-size: 120px 120px;
    opacity: 0.1;
  }

  .hero-container {
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-lg);
  }

  .hero-label {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: var(--space-md);
  }

  .hero-headline {
    font-size: 36px;
    margin-bottom: var(--space-lg);
  }

  .headline-main {
    font-size: 36px;
  }

  .headline-subtitle {
    font-size: 24px;
  }

  .hero-subhead {
    font-size: 15px;
    margin-bottom: var(--space-xl);
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: var(--space-md);
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 100%;
    padding: 14px 28px;
    font-size: 14px;
  }

  .showcase-3d-container {
    height: 550px;
    margin-bottom: var(--space-3xl);
  }

  .phone-stack {
    width: 220px;
    height: 440px;
  }

  .phone-label {
    bottom: -40px;
    font-size: 12px;
  }

  .phone-card[data-index="1"] {
    transform: translateZ(-80px) translateX(30px) rotateY(-12deg) scale(0.85);
  }

  .phone-card[data-index="2"] {
    transform: translateZ(-160px) translateX(-30px) rotateY(12deg) scale(0.75);
  }

  .phone-card[data-index="3"],
  .phone-card[data-index="4"] {
    opacity: 0;
    pointer-events: none;
  }

  .showcase-controls {
    bottom: -25px;
  }

  .control-btn {
    width: 36px;
    height: 36px;
  }

  .control-counter {
    font-size: 16px;
  }

  .showcase-hint {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 48px;
  }

  /* Footer */
  .footer-stadium {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer-content {
    gap: var(--space-md);
  }

  .footer-logo {
    height: 28px;
  }

  .footer-nav {
    gap: 0;
    flex-direction: column;
    width: 100%;
  }

  .footer-nav a {
    font-size: 12px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(244, 208, 63, 0.05);
    text-align: center;
  }

  .footer-nav a:last-child {
    border-bottom: none;
  }

  .footer-copyright {
    font-size: 11px;
    line-height: 1.6;
  }

  .dev-note {
    font-size: 11px;
  }
}
