* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: white;
  overflow-x: hidden;
  position: relative;
  background: linear-gradient(to right, #14196a, #1e29a7);
}

/* Video Background - Hidden */
.video-background {
  display: none;
}

/* Mobile Fallback Background Image - Hidden */
.mobile-background-image {
  display: none;
}

/* Overlay removed - using body gradient instead */


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.8), rgba(26, 26, 46, 0.8));
  border-radius: 6px;
  border: 1px solid rgba(30, 144, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #9ca3af, #d1d5db, #e5e7eb);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d1d5db, #e5e7eb, #f3f4f6);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-corner {
  background: rgba(15, 15, 35, 0.8);
}

/* Background patterns for depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* ========================================
   MODERN MOBILE NAVIGATION
   ======================================== */

/* Mobile Top Bar - Hidden by default, shown on mobile */
.mobile-top-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.98) 0%, rgba(27, 38, 59, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo {
  display: flex;
  align-items: center;
  z-index: 2001;
}

.mobile-logo img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2001;
  transition: all 0.3s ease;
}

.mobile-menu-toggle .hamburger-line {
  width: 25px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* Mobile Dropdown Menu */
.mobile-dropdown-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.98) 0%, rgba(27, 38, 59, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1999;
}

.mobile-dropdown-menu.open {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

/* Mobile Nav Items in Dropdown */
.mobile-dropdown-menu .mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.mobile-dropdown-menu .mobile-nav-item:hover {
  background: rgba(30, 144, 255, 0.1);
}

.mobile-dropdown-menu .mobile-nav-item.active {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(65, 105, 225, 0.15) 100%);
  border-left: 3px solid #1e90ff;
}

.mobile-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mobile-nav-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.mobile-nav-icon svg {
  color: rgba(255, 255, 255, 0.9);
}

/* AQ logo specific sizing */
.mobile-nav-item[data-page="assessments"] .mobile-nav-icon img {
  width: auto;
  max-width: 40px;
  height: 20px;
  object-fit: contain;
}

/* Settings emoji */
.mobile-nav-item[data-page="settings"] .mobile-nav-icon {
  font-size: 22px;
  filter: grayscale(1) brightness(10);
}

.mobile-nav-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
}

.mobile-dropdown-menu .mobile-nav-item.active .mobile-nav-icon {
  color: #1e90ff;
}

.mobile-dropdown-menu .mobile-nav-item.active .mobile-nav-label {
  color: #1e90ff;
  font-weight: 600;
}

.mobile-dropdown-menu .mobile-nav-item.active .mobile-nav-icon img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(98%) saturate(2688%) hue-rotate(198deg) brightness(103%) contrast(101%);
}

/* Layout */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: linear-gradient(to right, #0e1d58, #141a72);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(30, 144, 255, 0.2);
  padding: 25px 0;
  z-index: 1000;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.main-content {
  margin-left: 220px;
  padding: 0 0 140px 0;
  min-height: 100vh;
  background: transparent;
  /* Layout stability improvements */
  contain: layout style;
  transform: translateZ(0);
}

/* Optional text styling */
.optional-text {
  font-size: 0.65em;
  font-weight: 300;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.6);
}

/* Enhanced Sidebar Styling */
.logo {
  display: flex;
  align-items: center;
  padding: 50px 25px 35px 25px;
  border-bottom: 1px solid rgba(30, 144, 255, 0.3);
  margin-bottom: 35px;
  position: relative;
  background: none;
  border-radius: 0;
  pointer-events: none;
  cursor: default;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 25px;
  right: 25px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1e90ff, transparent);
  border-radius: 1px;
}

.logo-icon {
  width: 140px;
  height: 180px;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto;
  box-shadow: none;
}

.logo-icon img {
  height: 100%;
  object-fit: contain;
  padding: 8px 8px 13px 13px;
}


.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(30, 144, 255, 0.3);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  flex: 1;
}

.nav-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-item:hover::before {
  left: 100%;
}

.nav-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: white;
  transform: translateX(6px);
}

.nav-item.active {
  background: linear-gradient(135deg, #00248c, #006eff) !important;
  color: white;
  transform: translateX(6px);
  backdrop-filter: blur(20px);
}

.nav-icon {
  margin-right: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  transition: transform 0.3s ease;
  color: white;
}

.nav-icon img {
  width: 25px;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.nav-item:hover .nav-icon {
  transform: scale(1.1);
}

.nav-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Hamburger Menu Styling */
.hamburger-menu {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(65, 105, 225, 0.3));
  border-radius: 8px;
  border: 1px solid rgba(30, 144, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
}

.hamburger-menu:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.3), rgba(65, 105, 225, 0.4));
  border-color: rgba(30, 144, 255, 0.5);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
  transform: scale(1.05);
}

.hamburger-line {
  width: 14px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: absolute;
}

/* Default state: Hamburger menu (3 horizontal lines) */
.hamburger-line:nth-child(1) {
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger-line:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger-line:nth-child(3) {
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hamburger-menu:hover .hamburger-line {
  background: white;
}

/* Plus Sign Animation - When collapsed, show plus sign */
.sidebar.collapsed .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.sidebar.collapsed .hamburger-line:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.sidebar.collapsed .hamburger-line:nth-child(3) {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

/* Collapsed Sidebar State - Match Mobile Media Query Exactly */
.sidebar.collapsed {
  width: 70px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed .nav-text,
.sidebar.collapsed .logo-text {
  display: none;
}

.sidebar.collapsed .logo {
  justify-content: center;
  padding: 50px 10px 20px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  cursor: default;
  margin: 0 5px 35px 5px;
}

.sidebar.collapsed .logo-icon {
  width: 57px;
  height: 40px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0 12px;
}

.sidebar.collapsed .logo-icon img {
  padding: 8px 4px;
}

.sidebar.collapsed .nav-menu {
  padding: 0 10px;
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 16px 12px;
  margin: 2px 2px;
}

.sidebar.collapsed .nav-icon {
  margin-right: 0;
}

/* Main Content Adjustment for Collapsed State */
.main-content.sidebar-collapsed {
  margin-left: 70px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Adjustment for Collapsed State */
.modern-footer.sidebar-collapsed {
  left: 70px;
  width: calc(100%);
  transition: left 0.3s ease, width 0.3s ease;
}

/* Page Content Adjustment for Collapsed State */
.page-content.sidebar-collapsed {
  left: 70px !important;
  width: calc(100% - 70px) !important;
  transition: left 0.3s ease, width 0.3s ease;
}

/* Specific page adjustments for collapsed sidebar */
#homePage.sidebar-collapsed {
  left: 70px !important;
  width: calc(100%) !important;
}

#aqAssessmentPage.sidebar-collapsed {
  left: 70px !important;
  width: calc(100%) !important;
}

#myProfilePage.sidebar-collapsed {
  left: 70px !important;
  width: calc(100%) !important;
}

#aqResultsPage.sidebar-collapsed {
  left: 70px !important;
  width: calc(100% - 70px) !important;
}

#loginPage.sidebar-collapsed {
  left: 70px !important;
  width: calc(100%) !important;
}

#signupPage.sidebar-collapsed {
  left: 70px !important;
  width: calc(100%) !important;
}

/* Enhanced Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px;
  position: relative;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
}

.aq-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  box-shadow:
    0 12px 35px rgba(30, 144, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.aq-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.aq-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 4s infinite;
}

.header h1 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 2px 15px rgba(30, 144, 255, 0.3);
}

.user-profile {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(65, 105, 225, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  cursor: pointer;
}

.user-name {
  display: none;
  margin-right: 15px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.user-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  box-shadow:
    0 6px 20px rgba(30, 144, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.user-profile:hover .user-avatar {
  transform: scale(1.05);
}

/* Profile Dropdown */
.profile-dropdown {
  position: fixed;
  top: auto;
  right: 20px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
  backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.3);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(30, 144, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999999;
  margin-top: 70px;
}

.user-profile:hover .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.15), rgba(65, 105, 225, 0.1));
  color: white;
  transform: translateX(4px);
}

.dropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: white;
}

.profile-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.logout-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.dropdown-text {
  font-size: 14px;
  font-weight: 500;
}

/* Page Content System */
.page-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-left: 250px;
}

.page-content.active {
  display: block;
  opacity: 1;
}

/* Profile, Login & Signup Pages Styling */
.profile-container,
.login-container,
.signup-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 200px);
}

.profile-header,
.login-header,
.signup-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 0;
}

.winshape-logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.winshape-logo {
  width: 200px;
  height: auto;
  max-width: 200px;
  margin: 0 auto 25px auto;
  display: block;
  filter: brightness(1);
  object-fit: contain;
}

.profile-header h2,
.login-header h2,
.signup-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 15px rgba(30, 144, 255, 0.3);
}

.profile-header p,
.login-header p,
.signup-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.profile-form-wrapper,
.login-form-wrapper,
.signup-form-wrapper {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.3), rgba(22, 33, 62, 0.8));
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(30, 144, 255, 0.1);
}

/* Profile Picture Section */
.profile-picture-section {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.profile-picture-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 4px solid rgba(30, 144, 255, 0.3);
  box-shadow: 0 15px 35px rgba(30, 144, 255, 0.2);
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15), rgba(65, 105, 225, 0.1));
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-btn:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.25), rgba(65, 105, 225, 0.2));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.upload-btn span {
  font-size: 16px;
}

/* Form Sections */
.form-section {
  margin-bottom: 35px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(30, 144, 255, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  padding: 15px 18px;
  background: rgba(15, 15, 35, 0.6);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Enhanced Select Dropdown Styling */
.form-group select {
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.85) 0%,
      rgba(22, 33, 62, 0.9) 50%,
      rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 2px 10px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 45px;
  position: relative;
}

.form-group select::after {
  content: '▼';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #3b82f6;
  font-size: 12px;
  pointer-events: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow:
    0 0 0 2px rgba(59, 130, 246, 0.3),
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 4px 15px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.9) 0%,
      rgba(22, 33, 62, 0.95) 50%,
      rgba(15, 23, 42, 1) 100%);
  transform: translateY(-1px);
}

.form-group select:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 4px 15px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

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

.form-group select option {
  background: #1a1a2e;
  color: white;
  padding: 12px 16px;
  border: none;
  font-size: 15px;
}

.form-group select option:hover,
.form-group select option:checked {
  background: #3b82f6;
  color: white;
}

/* Terms and Privacy Acceptance */
.terms-acceptance {
  margin: 30px 0 20px;
  padding: 20px;
  background: rgba(15, 15, 35, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 22px;
  width: 22px;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.checkmark {
  position: relative;
  height: 22px;
  min-width: 22px;
  width: 22px;
  background-color: rgba(15, 15, 35, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.4);
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-top: 2px;
  z-index: 1;
}

.checkbox-container:hover .checkmark {
  border-color: rgba(0, 212, 255, 0.7);
  background-color: rgba(0, 212, 255, 0.1);
}

.checkbox-container input[type="checkbox"]:checked~.checkmark {
  background: linear-gradient(135deg, #0052ff, #00d4ff);
  border-color: #00d4ff;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input[type="checkbox"]:checked~.checkmark::after {
  display: block;
}

.checkbox-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.policy-link {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.policy-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0052ff);
  transition: width 0.3s ease;
}

.policy-link:hover {
  color: #00a8ff;
}

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

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
}

.btn-primary,
.btn-secondary {
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 140px;
}

.btn-primary {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(30, 144, 255, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(30, 144, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(30, 144, 255, 0.1);
  color: white;
  border-color: rgba(30, 144, 255, 0.5);
  transform: translateY(-2px);
}

/* Responsive Action Buttons - Tablets and Desktops */
@media (min-width: 769px) {
  .action-buttons-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: flex-start;
    align-items: center;
  }

  .action-buttons-container .btn {
    width: auto !important;
    min-width: auto !important;
    padding: 10px 18px !important;
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  .action-buttons-container .btn-edit {
    min-width: auto !important;
    padding: 10px 18px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
    white-space: nowrap !important;
    border-radius: 8px !important;
  }

  .action-buttons-container .btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
  }

  .report-status {
    order: 1;
    margin-top: 0;
    margin-left: auto;
    min-width: 110px;
  }
}

@media (min-width: 1024px) {
  .action-buttons-container .btn {
    min-width: auto;
    padding: 10px 18px;
    font-size: 12px;
    line-height: 1.4;
  }

  .action-buttons-container .btn-edit {
    min-width: auto;
  }

  .action-buttons-container {
    gap: 12px;
  }
}

/* Responsive Design for Forms */
@media (max-width: 768px) {

  /* Hide video background on mobile, show image fallback */
  .video-background {
    display: none !important;
  }

  .mobile-background-image {
    display: block;
  }

  /* Hide modal video on mobile, show image fallback */
  .modal-video-background {
    display: none !important;
  }

  .modal-mobile-background-image {
    display: block;
  }

  /* Show mobile top navigation */
  .mobile-top-nav {
    display: flex !important;
  }

  /* Show mobile dropdown menu */
  .mobile-dropdown-menu {
    display: block !important;
  }

  /* Mobile sidebar - slide in from left */
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 999;
    display: flex !important;
  }

  .sidebar.active {
    left: 0;
  }

  /* Hamburger menu active state */
  .hamburger-menu.active {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.3), rgba(65, 105, 225, 0.4));
  }

  .hamburger-menu.active .hamburger-line {
    background: white;
  }

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

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

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

  /* Hide sidebar powered by on mobile */
  .sidebar-powered-by {
    display: none !important;
  }

  /* Show footer powered by on mobile only */
  .footer-powered-by {
    display: flex !important;
  }

  /* Adjust main content for top navigation */
  .main-content {
    margin-left: 0 !important;
    margin-top: 65px;
  }

  .page-content {
    margin-left: 0 !important;
  }

  /* Adjust header for mobile */
  .header {
    padding: 20px 25px;
  }

  /* Home page hero spacing for mobile nav + header */
  .home-hero {
    padding-top: 130px;
  }

  /* Adjust all pages for mobile top nav */
  #homePage,
  #aqAssessmentPage,
  #myProfilePage,
  #aqResultsPage,
  #loginPage,
  #signupPage {
    left: 0 !important;
    width: 100% !important;
  }

  /* AQ Profiles - Mobile Layout */
  .user-result-card .user-result-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    grid-template-columns: unset !important;
  }

  /* Score display on top, centered */
  .user-result-card .user-result-header > div:nth-child(3) {
    order: -2;
    align-self: center !important;
    justify-self: center !important;
  }

  /* CORE Breakdown second, centered */
  .user-result-card .user-result-header > div:nth-child(2) {
    order: -1;
    align-self: center !important;
    min-width: unset !important;
    width: 100% !important;
    max-width: 350px;
  }

  /* User info last */
  .user-result-card .user-result-header > div:nth-child(1) {
    order: 0;
    text-align: center;
  }

  /* Adjust footer for mobile */
  .modern-footer {
    left: 0 !important;
    width: 100% !important;
  }

  /* Hide modern footer on mobile, show powered by instead */
  .modern-footer {
    display: none !important;
  }

  .profile-container,
  .login-container,
  .signup-container {
    padding: 20px 15px;
  }

  .profile-form-wrapper,
  .login-form-wrapper,
  .signup-form-wrapper {
    padding: 25px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-header h2,
  .login-header h2,
  .signup-header h2 {
    font-size: 24px;
  }

  .form-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
  }

  /* Reverse button order on mobile - Sign In first, then Back to Home */
  .form-actions .btn-primary {
    order: 1;
  }

  .form-actions .btn-secondary {
    order: 2;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .profile-picture {
    width: 100px;
    height: 100px;
  }

  /* User Management Table Mobile Optimization */
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table table {
    min-width: 100%;
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody {
    display: block;
  }

  .data-table tr {
    display: block;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.08), rgba(65, 105, 225, 0.08));
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(30, 144, 255, 0.2);
  }

  .data-table td {
    display: block;
    text-align: left;
    padding: 10px 0;
    border: none;
  }

  .data-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .data-table td:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 10px;
  }

  .data-table .btn {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 20px;
  }

  .data-table .btn:last-child {
    margin-bottom: 0;
  }

  .data-table td:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 10px;
  }

  /* Action Buttons Container */
  .action-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .action-buttons-container .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
    text-align: center;
    margin: 0;
    min-width: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .action-buttons-container .btn:hover {
    transform: translateY(-1px);
  }

  .report-status {
    text-align: center;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 11px;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Search and Header Responsive */
  .search-container {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .search-container input {
    width: 100%;
  }

  .search-container button {
    width: 100%;
  }

  /* Card grid responsive */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  /* Modal adjustments */
  .modal-content {
    width: 95% !important;
    max-width: 95% !important;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .placeholder-avatar {
    font-size: 30px;
  }
}

/* User Management Action Buttons - Stack Vertically Under 1330px */
@media (max-width: 1330px) {
  table td:last-child {
    display: flex;
    flex-direction: column;
  }

  table td:last-child .btn {
    margin: 5px 0;
  }

  table td:last-child .btn:first-child {
    margin-top: 0;
  }

  table td:last-child .btn:last-child {
    margin-bottom: 0;
  }
}

/* Scenario Title */
.scenario-title {
  padding: 0px 50px 20px;
  text-align: left;
}

.scenario-title h3 {
  font-size: 24px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Progress Section - Fixed 6 Steps */
.progress-section {
  padding: 40px 50px;
}

.progress-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.progress-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 25px;
  gap: 8px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  padding: 0 10px;
}

.step {
  width: clamp(18px, 3vw, 28px);
  height: clamp(18px, 3vw, 28px);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(58, 61, 74, 0.8), rgba(58, 61, 74, 0.6));
  border: 1px solid rgba(30, 144, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(8px, 1.2vw, 12px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  flex-shrink: 0;
}

.step.active {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  color: white;
  border-color: #1e90ff;
  box-shadow:
    0 4px 12px rgba(30, 144, 255, 0.3),
    0 0 0 2px rgba(30, 144, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.step.completed {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  color: white;
  border-color: #1e90ff;
  box-shadow:
    0 2px 8px rgba(30, 144, 255, 0.2),
    0 0 0 1px rgba(30, 144, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  opacity: 0.8;
}

.step-line {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(58, 61, 74, 0.4), rgba(58, 61, 74, 0.2));
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 0.5px;
  backdrop-filter: blur(3px);
}

.progress-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Enhanced Questions Container */
.questions-container {
  padding: 0 50px 0px;
  /* Layout stability */
  contain: layout style;
  transform: translateZ(0);
}

.question-block {
  margin-bottom: 35px;
  padding: 50px 25px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.6));
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(30, 144, 255, 0.2);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* Layout stability improvements */
  contain: layout style paint;
  transform: translateZ(0); /* Hardware acceleration */
  will-change: transform, box-shadow;
  /* Reserve space for hover effect to prevent layout shift */
  margin-top: 8px;
}

.question-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e90ff, #4169e1, #6495ed);
  border-radius: 20px 20px 0 0;
}

.question-block:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(30, 144, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(30, 144, 255, 0.4);
}

.question-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
}

.question-text {
  font-size: 18px;
  color: white;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.3px;
  flex: 1;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  text-align: center;
}

/* New Column Layout */
.slider-row {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  gap: 20px;
  position: relative;
}

.left-column {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}

.middle-column {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.right-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.slider-label-left,
.slider-label-right {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(65, 105, 225, 0.05));
  border-radius: 8px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  text-align: center;
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Slider label lighting effects - Much brighter */
.slider-label-left.light-20,
.slider-label-right.light-20 {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.5), rgba(65, 105, 225, 0.4));
  border-color: rgba(30, 144, 255, 0.6);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
}

.slider-label-left.light-40,
.slider-label-right.light-40 {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.65), rgba(65, 105, 225, 0.55));
  border-color: rgba(30, 144, 255, 0.75);
  color: white;
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.4);
}

.slider-label-left.light-60,
.slider-label-right.light-60 {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.8), rgba(65, 105, 225, 0.7));
  border-color: rgba(30, 144, 255, 0.85);
  color: white;
  box-shadow: 0 0 25px rgba(30, 144, 255, 0.5);
}

.slider-label-left.light-80,
.slider-label-right.light-80 {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.95), rgba(65, 105, 225, 0.85));
  border-color: rgba(30, 144, 255, 0.95);
  color: white;
  box-shadow: 0 0 30px rgba(30, 144, 255, 0.6);
}

.slider-label-left.light-100,
.slider-label-right.light-100 {
  background: linear-gradient(135deg, rgb(30, 144, 255), rgb(65, 105, 225));
  border-color: rgb(30, 144, 255);
  color: white;
  box-shadow: 0 0 40px rgba(30, 144, 255, 0.8), 0 0 20px rgba(30, 144, 255, 0.6);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Enhanced Custom Slider - Beautiful blue gradient up to thumb */
.slider {
  --thumb-size: 24px;
  width: 100%;
  height: 10px;
  border-radius: 6px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(30, 144, 255, 0.3);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(30, 144, 255, 0.2);
  overflow: visible;
  padding: 0 calc(var(--thumb-size) / 2);
  background-origin: content-box;
  background-clip: content-box;
  background:
    linear-gradient(90deg, #1e3a8a 0%, #1e40af 25%, #1d4ed8 50%, #2563eb 75%, #3b82f6 100%) no-repeat,
    rgba(58, 61, 74, 0.4);
  background-size: var(--progress-px, 0px) 100%, 100% 100%;
  background-position: 0 0, 0 0;
  /* Layout stability */
  contain: layout style paint;
  transform: translateZ(0);
  will-change: background-size;
}

/* Force slider gradient to stay stable in ALL situations */
.slider,
.slider:hover,
.slider:focus,
.slider:active,
.question-block:hover .slider,
.question-block .slider:hover,
.question-block .slider:focus,
.question-block .slider:active {
  background:
    linear-gradient(90deg, #1e3a8a 0%, #1e40af 25%, #1d4ed8 50%, #2563eb 75%, #3b82f6 100%) no-repeat,
    rgba(58, 61, 74, 0.4) !important;
  background-size: var(--progress-px, 0px) 100%, 100% 100% !important;
  background-position: 0 0, 0 0 !important;
}

.slider::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 6px;
  background: transparent;
  border: none;
  -webkit-appearance: none;
}

/* Firefox-specific track and progress styles */
.slider::-moz-range-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(58, 61, 74, 0.4);
  border: none;
}

.slider::-moz-range-progress {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 25%, #1d4ed8 50%, #2563eb 75%, #3b82f6 100%);
}

.slider:hover::-webkit-slider-runnable-track,
.slider:focus::-webkit-slider-runnable-track,
.slider:active::-webkit-slider-runnable-track {
  background: transparent !important;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  cursor: pointer;
  border: 2px solid #1e90ff;
  box-shadow:
    0 4px 12px rgba(30, 144, 255, 0.5),
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
  margin-top: -7px;
  position: relative;
  z-index: 10;
}

.slider::-webkit-slider-thumb:hover {
  box-shadow:
    0 6px 16px rgba(30, 144, 255, 0.6),
    0 0 12px rgba(30, 144, 255, 0.4),
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  cursor: pointer;
  border: 2px solid #1e90ff;
  box-shadow:
    0 4px 12px rgba(30, 144, 255, 0.5),
    inset 0 1px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
  position: relative;
  z-index: 10;
}

.slider::-moz-range-track {
  height: 10px;
  border-radius: 6px;
  background: transparent;
  border: none;
}

.slider:hover::-moz-range-track,
.slider:focus::-moz-range-track,
.slider:active::-moz-range-track {
  background: transparent !important;
}

/* Enhanced Score Circle - Positioned in question header */
.score-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(58, 61, 74, 0.4) !important;
  color: white !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow:
    0 8px 25px rgba(58, 61, 74, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: absolute;
  top: -80px;
  border: 3px solid rgba(255, 255, 255, 0.3) !important;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Desktop override for larger screens */
@media (min-width: 769px) {
  .score-circle {
    position: absolute;
    top: -80px;
    margin-left: auto;
  }

  .question-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: calc(100% - 120px);
    line-height: 1.6;
    padding-right: 20px;
  }
}

.score-circle.active {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%) !important;
  box-shadow: 0 12px 35px rgba(30, 144, 255, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.2), inset 0 -2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile/Tablet active state positioning */
@media (max-width: 768px) {
  .score-circle.active {
    transform: translateX(-50%) scale(1.05) !important;
  }
}

/* Mobile Media Query - Comprehensive */
@media screen and (max-width: 480px) {

  /* Hide video background on mobile, show image fallback */
  .video-background {
    display: none !important;
  }

  .mobile-background-image {
    display: block;
  }

  /* Hide modal video on mobile, show image fallback */
  .modal-video-background {
    display: none !important;
  }

  .modal-mobile-background-image {
    display: block;
  }

  /* Show mobile top navigation */
  .mobile-top-nav {
    display: flex !important;
  }

  /* Show mobile dropdown menu */
  .mobile-dropdown-menu {
    display: block !important;
  }

  /* Mobile sidebar - slide in from left */
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 999;
    display: flex !important;
  }

  .sidebar.active {
    left: 0;
  }

  /* Hamburger menu active state */
  .hamburger-menu.active {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.3), rgba(65, 105, 225, 0.4));
  }

  .hamburger-menu.active .hamburger-line {
    background: white;
  }

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

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

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

  /* Hide sidebar powered by on mobile */
  .sidebar-powered-by {
    display: none !important;
  }

  /* Show footer powered by on mobile only */
  .footer-powered-by {
    display: flex !important;
  }

  /* Adjust main content for top navigation */
  .main-content {
    margin-left: 0 !important;
    margin-top: 65px;
  }

  .header {
    padding: 20px 20px;
  }

  /* Home page hero spacing for mobile nav + header */
  .home-hero {
    padding-top: 120px;
  }

  /* Pages positioning - no sidebar, top nav only */
  #homePage,
  #aqAssessmentPage,
  #myProfilePage,
  #aqResultsPage,
  #loginPage,
  #signupPage {
    left: 0 !important;
    width: 100% !important;
  }

  /* Footer positioning - no sidebar */
  .modern-footer {
    left: 0 !important;
    width: 100% !important;
    height: 90px;
  }

  /* Modal adjustments */
  .modal-container {
    width: 98%;
    margin: 10px;
  }

  /* Step indicators adjustments */
  .step-indicators {
    gap: 2px;
    justify-content: center;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .step {
    width: 18px;
    height: 18px;
    font-size: 8px;
    flex-shrink: 0;
  }

  .step-line {
    display: none;
  }

  /* Question blocks adjustments */
  .question-block {
    position: relative;
    padding-top: 110px;
  }

  .question-header {
    margin-top: 50px;
  }

  .right-column {
    position: static;
  }

  .slider-row {
    position: static;
  }

  .score-circle {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 10 !important;
    width: 65px !important;
    height: 65px !important;
  }

  /* Score circle active state */
  .score-circle.active {
    transform: translateX(-50%) scale(1.05) !important;
  }

  /* Progress content adjustments */
  .progress-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .next-button-container {
    align-items: center;
  }

  .next-button {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 12px;
    min-height: 35px;
  }

  .completion-status {
    font-size: 9px;
    max-width: 100px;
  }

  /* Results page adjustments */
  .results-header p:first-child {
    font-size: 2rem;
  }

  .results-subtitle {
    font-size: 0.6rem;
  }

  #aqResultsPage {
    padding: 50px 15px 20px 15px;
  }

  /* Form containers adjustments - full width for mobile */
  .profile-container,
  .login-container,
  .signup-container {
    padding: 15px 10px;
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .profile-form-wrapper,
  .login-form-wrapper,
  .signup-form-wrapper {
    padding: 25px 15px;
    margin: 0;
  }

  /* Reverse button order on mobile - Sign In first, then Back to Home */
  .form-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
  }

  .form-actions .btn-primary {
    order: 1;
  }

  .form-actions .btn-secondary {
    order: 2;
  }
}

/* Smaller Desktop Media Query */
@media (max-width: 1200px) and (min-width: 1025px) {
  .question-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: calc(100% - 120px);
    line-height: 1.4;
    padding-right: 20px;
  }

  .step-indicators {
    gap: 6px;
    max-width: 100%;
  }

  .step {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .progress-section {
    padding: 30px 20px 40px;
  }
}

/* Enhanced Responsive Design - Minimized Sidebar Under 1200px */
@media (max-width: 1199px) {
  /* Hide hamburger menu */
  #sidebarToggle.hamburger-menu {
    display: none;
  }

  .sidebar {
    width: 70px;
  }

  .main-content {
    margin-left: 70px;
  }

  .page-content {
    margin-left: 70px!important
  }

  .nav-text,
  .logo-text {
    display: none;
  }

  /* Hide powered by section on tablet */
  .sidebar-powered-by {
    display: none !important;
  }

  .logo {
    justify-content: center;
    padding: 50px 10px 20px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    cursor: default;
    margin: 0 5px 35px 5px;
  }

  .logo-icon {
    width: 77px;
    height: 60px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0 12px;
  }

  .logo-icon img {
    padding: 8px 4px;
  }

  .nav-menu {
    padding: 0 10px;
  }

  .nav-item {
    justify-content: center;
    padding: 16px 12px;
    margin: 2px 2px;
  }

  .nav-icon {
    margin-right: 0;
  }

  .header,
  .progress-section,
  .questions-container {
    padding: 30px 40px;
  }

  .slider-row {
    grid-template-columns: 180px 1fr 180px;
    gap: 20px;
  }

  .question-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: calc(100% - 100px);
    line-height: 1.4;
  }

  .step-indicators {
    gap: 5px;
    max-width: 100%;
    overflow: visible;
  }

  .step {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .progress-section {
    padding: 20px 30px 30px;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .step-indicators {
    gap: 4px;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: center;
  }

  .step {
    width: 18px;
    height: 18px;
    font-size: 8px;
    flex-shrink: 0;
  }

  .step-line {
    display: none;
  }

  .progress-section {
    padding: 15px 20px 25px;
  }

  .progress-content {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .next-button-container {
    align-items: center;
  }
}

@media (max-width: 768px) {

  /* Hide sidebar hamburger toggle on mobile only */
  #sidebarToggle.hamburger-menu {
    display: none;
  }

  /* Mobile Page Header - Move Below Mobile Nav */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 65px;
    padding-top: 15px;
  }

  .page-header-content {
    width: 100%;
  }

  /* Hide desktop user profile on mobile */
  .user-profile {
    display: none !important;
  }

  /* Mobile user avatar in top nav */
  .mobile-user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: absolute;
    right: 65px;
  }

  .mobile-user-avatar:hover {
    transform: scale(1.05);
  }

  .mobile-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }

  .profile-dropdown {
    position: fixed;
    top: 75px;
    right: 15px;
    z-index: 998;
  }

  .step-indicators {
    gap: 3px;
    justify-content: center;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .step {
    width: 16px;
    height: 16px;
    font-size: 7px;
    flex-shrink: 0;
  }

  .step-line {
    display: none;
  }

  .question-block {
    position: relative;
    padding-top: 110px;
  }

  .question-header {
    margin-top: 2px;
  }

  .right-column {
    position: static;
  }

  .slider-row {
    position: static;
  }

  .score-circle {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 10 !important;
    width: 65px !important;
    height: 65px !important;
  }

  .next-button {
    min-width: 120px !important;
    padding: 12px 25px !important;
    font-size: 14px !important;
    min-height: 40px !important;
  }

  .completion-status {
    font-size: 10px !important;
    max-width: 120px !important;
  }

  .sidebar {
    width: 70px;
  }

  .main-content {
    margin-left: 70px;
  }

  .nav-text,
  .logo-text {
    display: none;
  }

  .logo {
    justify-content: center;
    padding: 50px 10px 20px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    cursor: default;
  }

  .logo-icon {
    width: 77px;
    height: 60px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0 12px;
  }

  .logo-icon img {
    padding: 8px 4px;
  }

  .aq-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .nav-menu {
    padding: 0 10px;
  }

  .nav-item {
    justify-content: center;
    padding: 16px 12px;
    margin: 2px 2px;
  }

  .nav-icon {
    margin-right: 0;
  }

  .header {
    padding: 25px 30px;
  }

  .header h1 {
    font-size: 20px;
  }

  .progress-section,
  .questions-container {
    padding: 25px 30px;
  }

  .question-block {
    padding: 50px 25px;
    margin-bottom: 40px;
  }

  .slider-row {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .slider-label-left,
  .slider-label-right {
    font-size: 11px;
    min-height: 40px;
  }

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

  .question-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

}

/* Duplicate mobile styles moved to comprehensive mobile query above */

/* Enhanced Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

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

  50% {
    transform: scale(1.15);
  }
}

@keyframes float {

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

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

.question-block {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
  /* Reserve space for animation to prevent layout shift */
  margin-bottom: 35px;
  contain: layout style paint;
}

.question-block.animate-in {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.5s ease, transform 0.5s ease;
}


.nav-item {
  animation: fadeInLeft 0.4s ease forwards;
}

.nav-item:nth-child(1) {
  animation-delay: 0.1s;
}

.nav-item:nth-child(2) {
  animation-delay: 0.15s;
}

.nav-item:nth-child(3) {
  animation-delay: 0.2s;
}

.nav-item:nth-child(4) {
  animation-delay: 0.25s;
}

.nav-item:nth-child(5) {
  animation-delay: 0.3s;
}

.nav-item:nth-child(6) {
  animation-delay: 0.35s;
}

.nav-item:nth-child(7) {
  animation-delay: 0.4s;
}

.nav-item:nth-child(8) {
  animation-delay: 0.45s;
}

.step.active {
  animation: pulse 2s ease-in-out infinite;
}

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

.score-circle:nth-child(1) {
  animation-delay: 0s;
}

.score-circle:nth-child(2) {
  animation-delay: 0.5s;
}

.score-circle:nth-child(3) {
  animation-delay: 1s;
}

.score-circle:nth-child(4) {
  animation-delay: 1.5s;
}

/* Next Button Styles - Large and Bottom Right */
.next-button-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.next-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 50px;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  border: none;
  border-radius: 16px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 180px;
  min-height: 60px;
  box-shadow:
    0 12px 35px rgba(30, 144, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.next-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.next-button:hover:not(:disabled)::before {
  left: 100%;
}

.next-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(30, 144, 255, 0.5),
    0 0 20px rgba(30, 144, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.next-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow:
    0 6px 20px rgba(30, 144, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.next-button:disabled {
  background: linear-gradient(135deg, rgba(58, 61, 74, 0.6), rgba(58, 61, 74, 0.4));
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: none;
}

.button-text {
  font-weight: 700;
  letter-spacing: 1px;
}

.button-arrow {
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.next-button:hover:not(:disabled) .button-arrow {
  transform: translateX(4px);
}

.completion-status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  max-width: 200px;
  line-height: 1.3;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.completion-status.complete {
  color: #48ca48;
  font-weight: 600;
}

/* Bottom Next Button Container - Match Top Navigation */
.bottom-next-button-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 0px;
  margin-bottom: 30px;
  padding: 40px 50px;
}

/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Roboto Black font loaded via HTML link tag */

/* Home Page Layout */
#homePage {
  position: absolute;
  top: 0;
  left: 220px;
  height: 100vh;
  width: calc(100% - 220px);
  overflow: hidden;
  z-index: 1;
}

.home-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}


/* Home Content */
.home-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* PEAK Title */
.hero-brand {
  margin-bottom: 40px;
}

/* Home Winshape Logo */
.home-winshape-logo {
  text-align: center;
  margin-bottom: 30px;
}

.home-winshape-logo img {
  width: 250px;
  height: auto;
  max-width: 90vw;
}

/* PEAK Logo */
.peak-logo {
  text-align: center;
  margin: 0;
  position: relative;
}

.peak-logo img {
  width: clamp(300px, 50vw, 600px);
  height: auto;
  filter: drop-shadow(4px 4px 20px rgba(0, 0, 0, 0.5));
  max-width: 90vw;
}

/* Removed titleGlow animation */

/* Description */
.hero-description {
  margin-bottom: 60px;
  max-width: 800px;
}

.hero-description p {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-btn {
  padding: 24px 48px;
  border-radius: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-width: 220px;
  backdrop-filter: blur(15px);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  animation: shimmer 3s infinite;
}

.hero-btn:hover::before {
  left: 100%;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  50% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.hero-btn:active {
  transform: translateY(2px) scale(0.98);
  transition: all 0.1s ease;
}

.hero-btn span {
  position: relative;
  z-index: 2;
}

/* Login Button */
.hero-btn-login {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 50%, #6495ed 100%);
  color: white;
  border-color: rgba(30, 144, 255, 0.5);
  box-shadow:
    0 15px 35px rgba(30, 144, 255, 0.4),
    0 0 20px rgba(30, 144, 255, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.hero-btn-login:hover {
  background: linear-gradient(135deg, #4169e1 0%, #6495ed 50%, #87ceeb 100%);
  color: white;
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(30, 144, 255, 0.8);
  box-shadow:
    0 25px 50px rgba(30, 144, 255, 0.6),
    0 0 40px rgba(30, 144, 255, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: pulse-login 2s infinite;
}

@keyframes pulse-login {
  0% {
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.6), 0 0 40px rgba(30, 144, 255, 0.4);
  }

  50% {
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.8), 0 0 60px rgba(30, 144, 255, 0.6);
  }

  100% {
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.6), 0 0 40px rgba(30, 144, 255, 0.4);
  }
}

/* Signup Button */
.hero-btn-signup {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 15px 35px rgba(255, 255, 255, 0.1),
    0 0 20px rgba(255, 255, 255, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.hero-btn-signup:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.25) 100%);
  color: white;
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 25px 50px rgba(255, 255, 255, 0.2),
    0 0 40px rgba(255, 255, 255, 0.15),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: pulse-signup 2s infinite;
}

@keyframes pulse-signup {
  0% {
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.15);
  }

  50% {
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 255, 255, 0.25);
  }

  100% {
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 255, 255, 0.15);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  #homePage {
    left: 180px;
    width: calc(100% - 180px);
  }

  .home-content {
    max-width: 800px;
    padding: 0 30px;
  }

  .peak-logo img {
    width: clamp(250px, 45vw, 500px);
  }

  .hero-description p {
    font-size: 18px;
  }

  /* AQ Profiles - Tablet Layout */
  .user-result-card .user-result-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    grid-template-columns: unset !important;
  }

  /* Score display on top, centered */
  .user-result-card .user-result-header > div:nth-child(3) {
    order: -2;
    align-self: center !important;
    justify-self: center !important;
  }

  /* CORE Breakdown second, centered */
  .user-result-card .user-result-header > div:nth-child(2) {
    order: -1;
    align-self: center !important;
    min-width: unset !important;
    width: 100% !important;
    max-width: 350px;
  }

  /* User info last */
  .user-result-card .user-result-header > div:nth-child(1) {
    order: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #homePage {
    left: 0 !important;
    width: 100% !important;
  }

  .home-hero {
    padding-top: 130px;
  }

  .home-content {
    padding: 0 20px;
  }

  .peak-logo img {
    width: clamp(200px, 40vw, 400px);
  }

  .home-winshape-logo img {
    width: 200px;
  }

  .results-winshape-logo .winshape-logo {
    width: 150px;
    max-width: 150px;
    object-fit: contain;
  }

  .hero-description {
    margin-bottom: 40px;
  }

  .hero-description p {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    max-width: 350px;
    padding: 20px 40px;
    font-size: 17px;
    min-width: auto;
  }
}

/* Home page mobile styles moved to comprehensive mobile query above */

/* ========================================
   PAGE HEADER WITH USER PROFILE
   ======================================== */

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.page-header-content {
  flex: 1;
}

/* User Profile Component */
.user-profile {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(65, 105, 225, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.user-profile:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15), rgba(65, 105, 225, 0.15));
  border-color: rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.2);
}

.user-name {
  display: none;
  margin-right: 15px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.user-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  box-shadow:
    0 6px 20px rgba(30, 144, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.user-profile:hover .user-avatar {
  transform: scale(1.05);
}

/* Profile Dropdown */
.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
  backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(30, 144, 255, 0.3);
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(30, 144, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}

.user-profile:hover .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(65, 105, 225, 0.2));
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  flex-shrink: 0;
  object-fit: contain;
}

.dropdown-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.dropdown-item:hover .dropdown-text {
  color: white;
}

.dropdown-item:hover .dropdown-icon {
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* ========================================
   MODERN FOOTER STYLES
   ======================================== */

.modern-footer {
  position: fixed;
  bottom: 0;
  left: 220px;
  width: calc(100% - 220px);
  min-height: 80px;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.3) 0%, rgba(22, 33, 62, 0.1) 100%);
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(30, 144, 255, 0.3);
  z-index: 999;
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease, width 0.3s ease;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(30, 144, 255, 0.3));
}

.footer-version {
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.footer-version p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: white;
  opacity: 0.9;
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-contact {
  display: flex;
  gap: 40px;
  align-items: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(30, 144, 255, 0.8);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contact-link {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #1e90ff, #4169e1);
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: #1e90ff;
  transform: translateY(-1px);
}

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

.footer-right {
  display: flex;
  align-items: center;
}

.footer-copyright {
  text-align: right;
  line-height: 1.3;
}

.footer-copyright p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 400;
}

.website-link {
  color: white !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  margin-top: 2px !important;
}

/* Footer Powered By Section */
.footer-powered-by {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(30, 144, 255, 0.2);
}

.footer-powered-by span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.footer-powered-by a {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer-powered-by a:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.footer-powered-by img {
  height: 20px;
  width: auto;
  opacity: 0.9;
}

/* Sidebar Powered By Section */
.sidebar-powered-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 15px 10px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.sidebar-powered-by span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  white-space: nowrap;
}

.sidebar-powered-by a {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.sidebar-powered-by a:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.sidebar-powered-by img {
  height: 8px;
  width: auto;
  opacity: 0.8;
}

/* Hide powered by section when sidebar is collapsed */
.sidebar.collapsed .sidebar-powered-by {
  display: none;
}

/* Footer Responsive Design */
@media (max-width: 1199px) {
  .modern-footer {
    left: 70px;
    width: calc(100% - 70px);
  }

  .footer-content {
    padding: 0 30px;
  }

  .footer-contact {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .modern-footer {
    left: 70px;
    width: calc(100% - 70px);
    height: 90px;
  }

  .footer-content {
    flex-direction: column;
    padding: 8px 20px;
    gap: 8px;
  }

  .footer-left {
    order: 2;
  }

  .footer-center {
    order: 1;
    flex: none;
  }

  .footer-right {
    order: 3;
  }

  .footer-contact {
    gap: 20px;
  }

  .contact-item {
    gap: 2px;
  }

  .contact-label {
    font-size: 10px;
  }

  .contact-link {
    font-size: 12px;
  }

  .footer-copyright p {
    font-size: 9px;
  }

  .footer-logo {
    height: 35px;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-version {
    margin-left: 8px;
  }

  .footer-version p {
    font-size: 12px;
  }
}

/* Footer mobile styles moved to comprehensive mobile query above */

/* Adjust main content to account for footer */
.page-content:not(#homePage) {
  padding-bottom: 100px;
}

/* ========================================
   LOGIN PAGE SPECIFIC STYLES
   ======================================== */

/* Signup Link */
.signup-link {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
}

.signup-link p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.signup-link a {
  color: #1e90ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.signup-link a:hover {
  color: #4169e1;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

/* Forgot Password Link */
.forgot-password-link {
  text-align: right;
  margin-top: 8px;
}

.forgot-password-link a {
  color: rgba(30, 144, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.forgot-password-link a:hover {
  color: #1e90ff;
  text-shadow: 0 0 8px rgba(30, 144, 255, 0.4);
}

/* ========================================
   CUSTOM MODAL STYLES
   ======================================== */

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Modal Video Background - Hidden */
.modal-video-background {
  display: none !important;
}

/* Modal Mobile Fallback Background Image - Hidden */
.modal-mobile-background-image {
  display: none !important;
}

/* Modal Overlay Gradient */
.modal-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.5) 0%, rgb(33, 95, 176, 0.3) 50%, rgba(22, 33, 62, 0.5) 100%);
  z-index: -1;
  pointer-events: none;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.modal-container {
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.95) 0%,
      rgba(22, 33, 62, 0.95) 50%,
      rgba(15, 15, 35, 0.95) 100%);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(30, 144, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 480px;
  padding: 0;
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: modalSlideIn 0.5s ease-out;
}

.modal-overlay.show .modal-container {
  transform: scale(1) translateY(0);
}

@keyframes modalSlideIn {
  0% {
    transform: scale(0.7) translateY(100px);
    opacity: 0;
  }

  50% {
    transform: scale(1.05) translateY(-10px);
  }

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

/* Modal Header */
.modal-header {
  text-align: center;
  padding: 40px 30px 20px;
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #1e90ff, transparent);
}

/* Modal Icon */
.modal-icon {
  margin-bottom: 20px;
}

.modal-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow:
    0 12px 35px rgba(30, 144, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: iconPulse 2s infinite ease-in-out;
}

.modal-icon-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 35px rgba(30, 144, 255, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(30, 144, 255, 0.6);
  }
}

.modal-icon-circle span {
  font-size: 32px;
  position: relative;
  z-index: 2;
}

/* Modal Title */
#modalTitle {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 15px rgba(30, 144, 255, 0.3);
  letter-spacing: 0.5px;
}

/* Modal Content */
.modal-content {
  padding: 30px;
  text-align: center;
}

/* Keep AQ Profile Instructions modal left-aligned */
.modal-content[data-instructions="true"] {
  text-align: left;
}

#modalMessage {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

#modalMessage strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 15px;
  padding: 20px 30px 40px;
  justify-content: center;
}

/* Enhanced vertical spacing for password change modal */
#passwordChangeModal .modal-header {
  margin-bottom: 25px;
}

#passwordChangeModal .modal-content {
  margin-bottom: 30px;
}

#passwordChangeModal .password-change-form .form-group {
  margin-bottom: 20px;
}

#passwordChangeModal .password-change-form .form-group:last-child {
  margin-bottom: 0;
}

.modal-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  backdrop-filter: blur(10px);
}

.modal-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.modal-btn:hover::before {
  left: 100%;
}

/* Primary Modal Button */
.modal-btn-primary {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
  color: white;
  border-color: rgba(30, 144, 255, 0.3);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.modal-btn-primary:hover {
  background: linear-gradient(135deg, #4169e1 0%, #6495ed 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(30, 144, 255, 0.5);
}

/* Secondary Modal Button */
.modal-btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

#modalIcon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
  .modal-container {
    width: 95%;
    margin: 20px;
  }

  #customModal .modal-content {
    width: 95%;
    max-width: none;
    margin: 20px;
    padding: 30px 20px;
  }

  .modal-header {
    padding: 30px 20px 15px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
    gap: 12px;
    padding: 15px 20px 30px;
  }

  .modal-btn {
    width: 100%;
  }

  .modal-icon-circle {
    width: 60px;
    height: 60px;
  }

  .modal-icon-circle span {
    font-size: 24px;
  }

  #modalTitle {
    font-size: 20px;
  }
}

/* Custom Modal Element Styles */
#customModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

#customModal.show {
  opacity: 1;
  visibility: visible;
}

#customModal .modal-content {
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.95) 0%,
      rgba(22, 33, 62, 0.95) 50%,
      rgba(15, 15, 35, 0.95) 100%);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  border: 1px solid rgba(30, 144, 255, 0.2);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(30, 144, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 480px;
  padding: 40px;
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: modalSlideIn 0.5s ease-out;
  position: relative;
  z-index: 1;
}

#customModal.show .modal-content {
  transform: scale(1) translateY(0);
}

/* Modal mobile styles moved to comprehensive mobile query above */

/* ===== AQ RESULTS PAGE STYLES ===== */

/* Results Page Container - Direct styling within page-content */
#aqResultsPage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 20px 20px;
  /* Reduced padding for less vertical space */
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* Results Header */
.results-header {
  text-align: center;
  margin: 0 0 15px 0;
  /* Reduced bottom margin for less vertical space */
  position: relative;
  overflow: hidden;
}

.results-winshape-logo {
  text-align: center;
  margin-bottom: 25px;
  animation: slideUp 1s ease-out 0.2s both;
}

.results-winshape-logo .winshape-logo {
  width: 180px;
  height: auto;
  max-width: 180px;
  filter: brightness(1);
  object-fit: contain;
}

.results-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 300px;
  height: 2px;
  background: none;
  transform: translateX(-50%);
  animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.results-header p:first-child {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
  animation: slideUp 1s ease-out;
}

.completion-message {
  font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
  font-weight: bold !important;
  color: white !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: normal !important;
  animation: slideUp 1s ease-out;
}

.results-subtitle {
  font-size: clamp(0.66rem, 1vw, 0.78rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 1s ease-out 0.3s both;
}

/* Results Tabs */
.results-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 1s ease-out 0.6s both;
}

.results-tab {
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.results-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: left 0.5s ease;
}

.results-tab:hover::before {
  left: 100%;
}

.results-tab:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.1);
}

.results-tab.active {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(65, 105, 225, 0.4);
}

.results-tab.active::before {
  display: none;
}

/* Tab Content */
.results-content {
  position: relative;
  min-height: 600px;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out;
}

/* Score Visualization */
.score-visualization {
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: visible;
}

/* Main Score Display */
.score-display {
  text-align: center;
  margin: 5px 0;
  position: relative;
}

.score-number {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 900;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6, #2563eb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin: 0;
  text-shadow: 0 0 50px rgba(65, 105, 225, 0.3);
  animation: scoreReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-label {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: scoreReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes scoreReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }

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

/* Bell Curve Visualization */
.mountain-chart {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 365px;
  overflow: visible;
}

.bell-curve-svg {
  width: 100%;
  height: 280px;
  filter: drop-shadow(0 10px 40px rgba(0, 139, 139, 0.4));
  animation: bellCurveRise 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide old CSS-based mountain elements in favor of SVG */
.mountain-background,
.mountain-overlay,
.score-indicator:not(#scoreIndicatorSVG),
.indicator-dot,
.indicator-line {
  display: none !important;
}

/* Override old score indicator styles for SVG */
#scoreIndicatorSVG {
  animation: bellCurveRise 2s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

#scoreIndicatorSVG circle {
  animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {

  0%,
  100% {
    r: 8;
    opacity: 1;
  }

  50% {
    r: 12;
    opacity: 0.8;
  }
}

@keyframes bellCurveRise {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.mountain-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    /* Vertical section dividers - matching the 5 sections in the image */
    linear-gradient(90deg,
      transparent 0%,
      transparent 19.5%,
      rgba(255, 255, 255, 0.4) 20%,
      rgba(255, 255, 255, 0.4) 20.5%,
      transparent 21%,
      transparent 39.5%,
      rgba(255, 255, 255, 0.4) 40%,
      rgba(255, 255, 255, 0.4) 40.5%,
      transparent 41%,
      transparent 59.5%,
      rgba(255, 255, 255, 0.4) 60%,
      rgba(255, 255, 255, 0.4) 60.5%,
      transparent 61%,
      transparent 79.5%,
      rgba(255, 255, 255, 0.4) 80%,
      rgba(255, 255, 255, 0.4) 80.5%,
      transparent 81%,
      transparent 100%),
    /* Mountain texture details */
    radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

/* Score Indicator */
.score-indicator {
  position: absolute;
  top: 30px;
  left: 68%;
  /* Default position for "Above Average" score */
  transform: translateX(-50%);
  z-index: 10;
  animation: indicatorDrop 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s both;
}

@keyframes indicatorDrop {
  0% {
    transform: translateX(-50%) translateY(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.indicator-dot {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow:
    0 8px 25px rgba(65, 105, 225, 0.4),
    0 0 20px rgba(65, 105, 225, 0.6);
  animation: indicatorPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes indicatorPulse {

  0%,
  100% {
    box-shadow:
      0 8px 25px rgba(65, 105, 225, 0.4),
      0 0 20px rgba(65, 105, 225, 0.6),
      0 0 0 0 rgba(65, 105, 225, 0.7);
  }

  50% {
    box-shadow:
      0 8px 25px rgba(65, 105, 225, 0.6),
      0 0 30px rgba(65, 105, 225, 0.8),
      0 0 0 15px rgba(65, 105, 225, 0);
  }
}

.indicator-line {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 2px;
  height: 250px;
  background: linear-gradient(180deg,
      rgba(65, 105, 225, 0.8) 0%,
      rgba(65, 105, 225, 0.4) 50%,
      rgba(65, 105, 225, 0.1) 100%);
  transform: translateX(-50%);
  opacity: 0.7;
}

/* Scale Container */
.scale-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 85px;
}

.scale-markers {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -35px;
  left: -50px;
  right: -50px;
  padding: 0 20px;
  z-index: 10;
}

.scale-marker {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 16px;
  animation: slideUp 1s ease-out 1.5s both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);

  /* Beautiful dark blue square button styling */
  background: linear-gradient(135deg,
      rgba(30, 58, 138, 0.95) 0%,
      rgba(29, 78, 216, 0.95) 50%,
      rgba(30, 64, 175, 0.95) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow:
    0 8px 25px rgba(30, 58, 138, 0.5),
    0 0 20px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  min-width: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scale-marker::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.6s ease;
}

.scale-marker:hover::before {
  left: 100%;
}

.scale-marker:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 35px rgba(30, 58, 138, 0.6),
    0 0 30px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #1a1a1a9c, #1e4786, #1a1a1aad);
  border-radius: 0 0 15px 15px;
  padding: 15px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.range-label {
  color: #F7931E;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  animation: slideUp 1s ease-out 2s both;
}

/* Results page numeric scores - apply circle button styling */
#totalAqScore,
#controlScore,
#ownershipScore,
#reachScore,
#enduranceScore {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50% !important;
  background: rgba(58, 61, 74, 0.4) !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  box-shadow:
    0 8px 25px rgba(58, 61, 74, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  border: 3px solid rgba(255, 255, 255, 0.3) !important;
  letter-spacing: 1px !important;
  flex-shrink: 0 !important;
  position: relative !important;
}

/* Score title styling */
.score-title {
  font-size: 2.2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main AQ score - enhanced modern circular design */
#totalAqScore {
  margin: 0 auto !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  font-size: 72px !important;
  font-weight: 800 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(26, 26, 46, 0.3) !important;
  backdrop-filter: blur(15px) !important;
  border: 3px solid rgba(59, 130, 246, 0.6) !important;
  box-shadow:
    0 20px 40px rgba(30, 58, 138, 0.4),
    0 0 30px rgba(59, 130, 246, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.15),
    inset 0 -3px 8px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

#totalAqScore::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 70%);
  transform: rotate(45deg);
  animation: aqScoreShimmer 3s infinite ease-in-out;
}

#totalAqScore::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 50%;
  pointer-events: none;
}

/* Dimensional scores alignment - keep right aligned in headers */
#controlScore,
#ownershipScore,
#reachScore,
#enduranceScore {
  margin-left: auto !important;
}

/* Score Explanation */
.score-explanation {
  margin: 25px 0;
  animation: slideUp 1s ease-out 1.8s both;
}

.explanation-card {
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.explanation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
}

.explanation-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.explanation-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.percentile-info {
  padding: 20px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.percentile-text {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1rem;
}

/* Dimensional Scores */
.dimensional-scores {
  margin-top: 0px;
  animation: slideUp 1s ease-out 2.2s both;
}

.dimensional-scores h3 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.dimension-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.6));
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dimension-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.dimension-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
}

.dimension-card:hover::before {
  left: 100%;
}

.dimension-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dimension-name {
  color: #3b82f6;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dimension-score {
  color: white;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.dimension-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
}

.dimension-fill {
  height: 100%;
  background: linear-gradient(90deg, #0030ff, #00b0ff);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: barFill 2s ease-out 2.5s both;
}

.dimension-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: barShine 2s ease-in-out infinite;
}

@keyframes barFill {
  0% {
    width: 0 !important;
  }
}

@keyframes barShine {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

.dimension-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Results Page 2x2 Grid Layout for Overview-Style Dimensions */
.results-dimensions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  margin: 0 auto;
}

.results-dimension {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.6));
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.results-dimension::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.02) 50%,
      transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.results-dimension:hover::before {
  opacity: 1;
}

.results-dimension:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsive - stack vertically on small screens */
@media (max-width: 768px) {
  .results-dimensions-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }

  .results-dimension {
    padding: 20px;
    gap: 15px;
  }

  .overview-dimension-icon {
    width: 70px !important;
    height: 70px !important;
  }

  .icon-letter {
    color: #ffc600;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 198, 0, 0.5);
    letter-spacing: 1px;
  }
}

/* Other Tab Content */
/* Modern Overview Tab Styling */
.overview-content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.dimension-detail-content,
.amplify-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  padding: 50px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Overview Tab Title */
.overview-title {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.overview-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

/* Legend */
.overview-legend {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 20px;
  height: 12px;
  border-radius: 2px;
}

.legend-color.global-average {
  background: linear-gradient(90deg, #ffc600, #ffc600);
}

.legend-color.first-score {
  background: linear-gradient(90deg, #005fff, #0099ff);
}

.legend-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Overview Dimensions */
.overview-dimensions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.overview-dimension {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.6));
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.overview-dimension::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.02) 50%,
      transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overview-dimension:hover::before {
  opacity: 1;
}

.overview-dimension:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Dimension Icon */
.overview-dimension-icon {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
  box-shadow: 0 0 30px rgba(0, 130, 255, 0.8), 0 0 50px rgb(0 212 255 / 10%), 0 8px 25px rgba(0, 82, 255, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.3), inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.overview-dimension-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #1e3a8a, #3b82f6, #2563eb, #1e40af);
  border-radius: 50%;
  z-index: -1;
  animation: iconRotate 8s linear infinite;
}

@keyframes iconRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.icon-letter {
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 55px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 2;
  letter-spacing: 2px;
}

/* Dimension Content */
.overview-dimension-content {
  flex: 1;
  min-width: 0;
}

.overview-dimension-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: 1.5px;
}

.overview-dimension-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-style: italic;
}

/* Progress Bars */
.overview-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-bar-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.overview-bar-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.overview-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.overview-bar-fill {
  height: 100%;
  border-radius: 4px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-fill {
  background: linear-gradient(90deg, #a28021, #ffd600);
}

.first-fill {
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.overview-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: barShimmer 5s ease-in-out infinite;
}

@keyframes barShimmer {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

/* Overview Score - using same circle button styling as assessment */
.overview-score {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50% !important;
  background: rgba(58, 61, 74, 0.4) !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  box-shadow:
    0 8px 25px rgba(58, 61, 74, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.1),
    inset 0 -2px 6px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  border: 3px solid rgba(255, 255, 255, 0.3) !important;
  letter-spacing: 1px !important;
  flex-shrink: 0 !important;
  position: relative !important;
}

.dimension-detail-content h3,
.amplify-content h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* AQ Score Tab Styling */
.aq-score-content {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* AQ Score Hero Section */
.aq-score-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
}

.aq-score-title {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin: 0;
}

.aq-score-circle {
  margin: 0 auto !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  font-size: 72px !important;
  font-weight: 800 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(26, 26, 46, 0.3) !important;
  backdrop-filter: blur(15px) !important;
  border: 3px solid rgba(59, 130, 246, 0.6) !important;
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4), 0 0 30px rgba(59, 130, 246, 0.3), inset 0 2px 8px rgba(255, 255, 255, 0.15), inset 0 -3px 8px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.aq-score-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 70%);
  transform: rotate(45deg);
  animation: aqScoreShimmer 3s infinite ease-in-out;
}

@keyframes scoreCircleRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.aq-score-number {
  color: white;
  font-size: 4rem;
  font-weight: 900;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.aq-score-description {
  max-width: 800px;
  padding: 30px;
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.aq-score-description p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
}

/* Dimension Comparison Table */
.aq-dimensions-table {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.6));
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  padding: 30px;
  overflow: hidden;
}

.table-header {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.table-header-empty {
  /* Empty space above icons */
}

.table-header-item {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-header-item span {
  text-align: center;
}

.table-header-item.global {
  color: white;
}

.table-header-item.first {
  color: #d1d5db;
}

/* Table Header Color Boxes */
.table-header-color {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.table-header-color.global-average {
  background: linear-gradient(90deg, #ffc600, #ffc600);
}

.table-header-color.first-score {
  background: linear-gradient(90deg, #005fff, #0099ff);
}

.table-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.table-row:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.table-row.total-row {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  margin-top: 15px;
  padding-top: 20px;
  font-weight: 900;
}

.dimension-icon-cell {
  display: flex;
  justify-content: center;
}

.table-dimension-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052ffd9, #0080ff, #00d4ffe8);
  box-shadow: 0 0 25px rgba(0, 130, 255, 0.8), 0 0 40px rgb(0 212 255 / 6%), 0 8px 25px rgb(0 82 255 / 59%), inset 0 2px 8px rgba(255, 255, 255, 0.3), inset 0 -2px 8px rgb(0 0 0 / 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.table-dimension-icon.total-icon {
  background: linear-gradient(135deg, #0052ffd9, #0080ffa1, #00d4ff);
  box-shadow: 0 0 25px rgba(0, 130, 255, 0.8), 0 0 40px rgb(0 159 255), 0 6px 20px rgba(0, 82, 255, 0.5);
}

.total-icon .table-icon-letter {
  color: white;
}

.total-icon .table-icon-letter img {
  width: 100%;
  height: auto;
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

.table-dimension-icon:hover {
  transform: scale(1.1);
}

.table-icon-letter {
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.table-score {
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.table-score.global-score {
  background: linear-gradient(135deg, rgb(255 210 0 / 94%) 0%, rgb(255 188 0 / 47%) 100%);
  color: white;
}

.table-score.first-score {
  background: linear-gradient(135deg, rgb(6 69 249 / 98%) 0%, rgb(59 168 246 / 77%) 100%);
  color: white;
}

.table-score.total-score {
  font-size: 2.2rem;
  border-width: 3px;
}

.table-score:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* AQ Improvement Section */
.aq-improvement-section {
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.aq-improvement-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0024ff, #008aff, #0024ff);
  border-radius: 20px 20px 0 0;
}

.improvement-header {
  text-align: center;
  margin-bottom: 30px;
}

.improvement-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 15px 0;
  text-shadow: 0 2px 10px rgba(0, 138, 255, 0.3);
}

.improvement-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

.improvement-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}

.dimension-detail-content p,
.amplify-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aqScoreShimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(0%) translateY(0%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #aqResultsPage {
    padding: 50px 15px 20px 15px;
    /* 50px top padding added for mobile too */
  }

  .results-tabs {
    gap: 5px;
    padding: 5px;
  }

  .results-tab {
    padding: 10px 14px;
    font-size: 11px;
  }

  .mountain-chart {
    height: 300px;
  }

  .mountain-background {
    height: 240px;
  }

  .score-number {
    font-size: clamp(3rem, 10vw, 6rem);
  }

  .dimensions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dimension-card {
    padding: 25px;
  }

  .explanation-card {
    padding: 30px 20px;
  }

  .overview-content,
  .dimension-detail-content,
  .amplify-content {
    padding: 30px 20px;
  }
}

/* Watch Video Button Styles */
.video-button-container {
  text-align: center;
  margin: 0px auto 30px auto;
  padding: 20px;
}

.watch-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6, #60a5fa);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(59, 130, 246, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  min-width: 220px;
}

.watch-video-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.watch-video-btn:hover::before {
  left: 100%;
}

.watch-video-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(59, 130, 246, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #2563eb, #60a5fa, #93c5fd);
}

.watch-video-btn:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}

.play-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  padding-left: 2px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.watch-video-btn:hover .play-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: none;
  max-height: none;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Custom Vimeo Player Styling */
.video-modal-content iframe {
  border-radius: 15px;
}

/* Additional Vimeo player customization through URL parameters */
.video-modal-content {
  --vimeo-color: #3b82f6;
}

.video-close-btn {
  position: absolute;
  top: -60px;
  right: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.95), rgba(96, 165, 250, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(20px);
  box-shadow:
    0 10px 40px rgba(59, 130, 246, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 10001;
}

.video-close-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-close-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(96, 165, 250, 1), rgba(147, 197, 253, 1));
  transform: scale(1.1) rotate(90deg);
  box-shadow:
    0 15px 50px rgba(59, 130, 246, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.video-close-btn:hover::before {
  opacity: 1;
}

.video-close-btn:active {
  transform: scale(1.05) rotate(90deg);
  transition: all 0.15s ease;
}

/* Video Margin Close Button */
.video-margin-close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.95), rgba(96, 165, 250, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  font-weight: 300;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(25px);
  box-shadow:
    0 12px 45px rgba(59, 130, 246, 0.4),
    0 6px 25px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
  z-index: 10002;
}

.video-margin-close-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-margin-close-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(96, 165, 250, 1), rgba(147, 197, 253, 1));
  transform: scale(1.15) rotate(90deg);
  box-shadow:
    0 18px 60px rgba(59, 130, 246, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.video-margin-close-btn:hover::before {
  opacity: 1;
}

.video-margin-close-btn:active {
  transform: scale(1.1) rotate(90deg);
  transition: all 0.15s ease;
}

/* Mobile responsiveness for video buttons */
@media (max-width: 768px) {
  .watch-video-btn {
    padding: 16px 30px;
    font-size: 14px;
    min-width: 180px;
    gap: 12px;
  }

  .play-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .video-modal-content {
    width: 90%;
    height: 90%;
  }

  .video-close-btn {
    top: -55px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .video-margin-close-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    top: 15px;
    right: 15px;
  }
}

/* Global Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.95), rgba(96, 165, 250, 0.95));
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/loadingscreen-final_1758765770218.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-container {
  text-align: center;
  color: white;
  animation: loadingFadeIn 1s ease-out;
}

.loading-logo {
  margin-bottom: 40px;
  animation: logoFloat 3s ease-in-out infinite;
}

.loading-logo-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.3));
}

/* 3D Ring Loader */
.loader-3d {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ring1 {
  border-top: 4px solid rgba(255, 255, 255, 0.9);
  border-right: 4px solid rgba(255, 255, 255, 0.3);
  animation: ring1Rotate 2s infinite linear;
  transform: rotateX(0deg);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.ring2 {
  border-bottom: 4px solid rgba(147, 197, 253, 0.9);
  border-left: 4px solid rgba(147, 197, 253, 0.3);
  animation: ring2Rotate 2.5s infinite linear reverse;
  transform: rotateX(60deg);
  box-shadow: 0 0 25px rgba(147, 197, 253, 0.4);
}

.ring3 {
  border-right: 4px solid rgba(96, 165, 250, 0.9);
  border-top: 4px solid rgba(96, 165, 250, 0.3);
  animation: ring3Rotate 3s infinite linear;
  transform: rotateX(120deg);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.center-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 1), rgba(147, 197, 253, 0.8));
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.8),
    inset -3px -3px 6px rgba(0, 0, 0, 0.1),
    inset 3px 3px 6px rgba(255, 255, 255, 0.3);
  animation: spherePulse 1.5s ease-in-out infinite alternate;
}

/* 3D Ring Animations */
@keyframes ring1Rotate {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes ring2Rotate {
  0% {
    transform: rotateX(60deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(60deg) rotateY(-360deg) rotateZ(0deg);
  }
}

@keyframes ring3Rotate {
  0% {
    transform: rotateX(120deg) rotateY(0deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(120deg) rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes spherePulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.8),
      inset -3px -3px 6px rgba(0, 0, 0, 0.1),
      inset 3px 3px 6px rgba(255, 255, 255, 0.3);
  }

  100% {
    transform: scale(1.3);
    box-shadow:
      0 0 40px rgba(255, 255, 255, 1),
      inset -3px -3px 6px rgba(0, 0, 0, 0.1),
      inset 3px 3px 6px rgba(255, 255, 255, 0.5);
  }
}

@keyframes logoFloat {

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

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

@keyframes loadingFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0px);
  }
}

/* Loading Text Animation */
.loading-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.loading-dots::after {
  content: '';
  animation: loadingDots 2s infinite;
}

@keyframes loadingDots {
  0% {
    content: '';
  }

  25% {
    content: '.';
  }

  50% {
    content: '..';
  }

  75% {
    content: '...';
  }

  100% {
    content: '';
  }
}

/* Mobile optimization for loading screen */
@media (max-width: 768px) {
  .loading-logo-img {
    width: 80px;
  }

  .loader-3d {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
  }

  .ring {
    border-width: 3px;
  }

  .center-sphere {
    width: 15px;
    height: 15px;
    margin: -7.5px 0 0 -7.5px;
  }

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

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  .ring1,
  .ring2,
  .ring3 {
    animation-duration: 6s;
    animation-iteration-count: 1;
  }

  .spherePulse {
    animation: none;
  }

  .logoFloat {
    animation: none;
  }
}

/* Control Tab Styling */
.control-content {
  padding: 0px;
  color: white;
}

/* Control Header */
.control-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(22, 33, 62, 0.6));
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.control-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.control-logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052ffd9, #006cff, #00aeff);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.control-logo-letter {
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.control-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

/* Control Score Section */
.control-score-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
  background: transparent;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.control-score-display {
  background: transparent;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.control-score-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.control-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.control-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgb(255 255 255);
  box-shadow: 0 0 35px rgb(0 130 255 / 0%), 0 0 60px rgb(0 212 255 / 0%), 0 8px 25px rgba(0, 82, 255, 0.6), inset 0 2px 8px rgba(255, 255, 255, 0.3), inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.control-score-number {
  font-size: 42px;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Dimension Comparison Chart */
.dimension-chart {
  width: 100%;
  display: flex;
  gap: 1px;
  align-items: flex-start;
}

/* Chart Scale */
.chart-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  padding: 30px 20px 20px 0;
  margin-right: 10px;
  text-align: right;
  align-items: flex-end;
}

.scale-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

/* Chart Bars Container */
.chart-bars-container {
  flex: 1;
}

.chart-bars {
  display: flex;
  gap: 15px;
  height: 200px;
  align-items: flex-end;
  margin-bottom: 15px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  padding: 30px 20px 20px 20px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}

.chart-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  justify-content: flex-end;
}

/* Active bar highlighting */
.chart-bar.active-bar .bar-fill {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 5px 15px rgba(30, 64, 175, 0.4);
}

/* Vertical rotated labels */
.bar-vertical-label {
  position: absolute;
  left: -10px;
  bottom: 0px;
  transform: rotate(-90deg);
  transform-origin: bottom left;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  pointer-events: none;
  width: max-content;
  margin-left: 10px;
}

.control-label {
  color: rgb(0, 135, 255);
  font-weight: 700;
}

.ownership-label {
  color: rgb(255, 162, 0);
}

.reach-label {
  color: rgb(0, 225, 255);
}

.endurance-label {
  color: rgb(20, 210, 23);
}

.bar-fill {
  width: 40px;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease-out;
  order: 2;
  flex-shrink: 0;
  overflow: hidden;
}

.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: barShimmer 2s ease-in-out infinite;
}

.control-fill {
  background: linear-gradient(180deg, #007fff, #0047b8);
  height: 100%;
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

.ownership-fill {
  background: linear-gradient(180deg, #d97706, #f59e0b);
  height: 100%;
  box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4);
}

.reach-fill {
  background: linear-gradient(1deg, #1e7b8a, #00feff);
  height: 20%;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
}

.endurance-fill {
  background: linear-gradient(0deg, #236c00, #11d414);
  height: 20%;
  box-shadow: 0 5px 15px rgba(71, 85, 105, 0.4);
}


.bar-score {
  font-size: 16px;
  font-weight: 700;
  color: white;
  order: 0;
  margin-top: 10px;
  text-align: center;
}

.dimension-icons {
  display: flex;
  gap: 15px;
  justify-content: space-around;
  margin-top: 5px;
  padding: 0 20px;
}

.dimension-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
}

/* Active icon highlighting */
.dimension-icon.active-icon {
  box-shadow:
    0 0 30px rgba(0, 130, 255, 1),
    0 0 50px rgba(0, 212, 255, 0.9),
    0 8px 25px rgba(0, 82, 255, 0.7);
  border: 2px solid rgb(255 255 255 / 90%);
  transform: scale(1.1);
}

.control-icon-small {
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
}

.ownership-icon-small {
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
}

.reach-icon-small {
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
}

.endurance-icon-small {
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
}

/* Control page specific - reduce dimension icons by 25% */
.control-content .dimension-icon {
  width: 37.5px;
  height: 37.5px;
  font-size: 13.5px;
}

/* Control page specific - icon letter font size */
.control-content .icon-letter {
  font-size: 25px;
}

/* Control Description */
.control-description {
  padding: 30px;
}

.control-description h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

.control-description p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
  padding-top: 25px;
}

/* Your C Score Section */
.your-c-score-section {
  background: transparent;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
  margin-bottom: 30px;
  margin-top: 50px;
}

.your-c-score-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

.your-c-score-section p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

/* AQ Skill Builder */
.aq-skill-builder {
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
  padding: 40px;
  border-radius: 15px;
  color: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.aq-skill-builder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.skill-builder-header {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.skill-builder-icon {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.arrow-up {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.skill-builder-text {
  font-size: 20px;
  font-weight: 700;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-builder-challenge {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.skill-builder-content {
  position: relative;
  z-index: 1;
}

.skill-builder-quote {
  font-size: 18px;
  line-height: 1.6;
  color: #fbbf24;
  background: rgba(59, 130, 246, 0.1);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #fbbf24;
  margin-bottom: 25px;
}

.skill-builder-action {
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.6;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

/* Tablet/Medium Desktop Responsiveness - Description under score */
@media (min-width: 769px) and (max-width: 1200px) {
  .control-score-section {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .control-score-display,
  .mobile-score-content {
    width: 100% !important;
  }
}

/* Mobile Responsiveness for Control Tab */
@media (max-width: 768px) {
  .control-content {
    padding: 20px;
    margin: 10px 0;
  }

  .control-header {
    padding: 20px;
    margin-bottom: 30px;
  }

  .control-logo {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .control-logo-circle {
    width: 60px;
    height: 60px;
  }

  .control-logo-letter {
    font-size: 28px;
  }

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

  .control-score-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .control-score-circle {
    width: 100px;
    height: 100px;
  }

  .control-score-number {
    font-size: 36px;
  }

  .chart-bars {
    height: 150px;
    padding: 15px;
  }

  .bar-fill {
    width: 30px;
  }

  .dimension-icon {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .control-description,
  .your-c-score-section {
    padding: 20px;
  }

  .aq-skill-builder {
    padding: 25px;
  }

  .skill-builder-icon {
    flex-direction: column;
    text-align: center;
  }

  .arrow-up {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Display Control - Show appropriate version based on screen size */

/* Desktop/Tablet: Show wrapped version, hide mobile copy */
@media (min-width: 769px) {
  .control-score-display {
    display: block;
  }

  .mobile-score-content {
    display: none;
  }
}

/* Mobile/Tablet: Hide wrapped version, show simplified copy */
@media (max-width: 768px) {
  .control-score-display {
    display: none;
  }

  .mobile-score-content {
    display: block;
  }
}

/* Smallest Mobile Devices - Control Tab Minimized Layout */
@media screen and (max-width: 480px) {

  /* Control score section now contains content directly */
  .control-score-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 15px 10px !important;
    margin-bottom: 15px !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile content styling */
  .mobile-score-content .control-score-label {
    display: block !important;
    font-size: 6px !important;
    margin-bottom: 10px !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .mobile-score-content .control-score-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 15px !important;
  }

  /* Main container adjustments - force override */
  .control-content {
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header minimized */
  .control-header {
    padding: 10px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .control-title {
    font-size: 20px !important;
  }

  .control-logo-circle {
    width: 40px !important;
    height: 40px !important;
  }

  .control-logo-letter {
    font-size: 20px !important;
  }

  /* Score section - minimized and inline */
  .control-score-section {
    padding: 15px 10px !important;
    margin-bottom: 15px !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .control-score-display {
    display: none !important;
  }

  /* Compact score circle */
  .control-score-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .control-score-number {
    font-size: 24px;
  }

  .control-score-label {
    font-size: 6px;
    margin-bottom: 10px;
  }

  /* Chart section - ultra compact with forced constraints */
  .chart-bars {
    height: 100px !important;
    padding: 10px 5px !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .chart-scale {
    padding: 20px 8px 10px 0 !important;
    margin-right: 2px !important;
    width: auto !important;
    flex-shrink: 0 !important;
  }

  .scale-value {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .bar-fill {
    width: 18px !important;
    max-width: 18px !important;
  }

  /* Vertical label adjustments */
  .bar-vertical-label {
    font-size: 8px !important;
    left: -6px !important;
  }

  .control-label,
  .ownership-label,
  .reach-label,
  .endurance-label {
    font-size: 8px !important;
  }

  /* Dimension icons - compact with constraints */
  .dimension-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }

  .dimension-icons {
    gap: 4px !important;
    padding: 0 3px !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Description section - minimized with constraints */
  .control-description {
    padding: 15px 10px !important;
    margin-top: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .control-description h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .control-description p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    word-wrap: break-word !important;
  }

  /* Hide any extra spacing elements with constraints */
  .your-c-score-section {
    padding: 15px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .aq-skill-builder {
    padding: 15px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .skill-builder-icon {
    flex-direction: column !important;
    text-align: center !important;
  }

  .arrow-up {
    width: 35px !important;
    height: 35px !important;
    font-size: 18px !important;
  }

  /* Force main control container to never overflow */
  #controlTab {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Force chart container to stay within bounds */
  .chart-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

/* Results page mobile styles moved to comprehensive mobile query above */

/* ===================================
   AMPLIFY PAGE STYLES
   =================================== */

/* Amplify Hero Section */
.amplify-hero {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.amplify-mountain-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
}

.amplify-mountain-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Climbing Path */
.climbing-path {
  position: absolute;
  left: 15%;
  top: 20%;
  bottom: 10%;
  width: 3px;
  background: linear-gradient(to bottom,
      rgba(0, 212, 255, 0.8) 0%,
      rgba(0, 212, 255, 0.4) 100%);
  border-radius: 2px;
}

/* Path Points */
.path-point {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
}

.path-point[data-position="80"] {
  top: 0%;
}

.path-point[data-position="60"] {
  top: 25%;
}

.path-point[data-position="40"] {
  top: 50%;
}

.path-point[data-position="20"] {
  top: 75%;
}

.path-point[data-position="0"] {
  top: 100%;
}

.path-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052ff, #00d4ff);
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.9);
  }
}

.path-label {
  position: absolute;
  left: 35px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

/* Active Score Path Point */
.path-point.active-score .path-dot {
  width: 28px;
  height: 28px;
  border: 4px solid white;
  background: linear-gradient(135deg, #0052ff, #0080ff, #00d4ff);
  box-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 60px rgba(0, 130, 255, 0.8);
  animation: active-pulse 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes active-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 60px rgba(0, 130, 255, 0.8);
  }

  50% {
    transform: scale(1.2);
    box-shadow: 0 0 40px rgba(0, 212, 255, 1), 0 0 80px rgba(0, 130, 255, 1);
  }
}

.path-point.active-score .path-label {
  background: linear-gradient(135deg, #0052ffd9, #00d4ffe8);
  color: white;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  animation: label-glow 2s ease-in-out infinite;
}

@keyframes label-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 35px rgba(0, 212, 255, 1);
  }
}

/* Keep Climbing Text */
.keep-climbing-text {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 1.5px;
  text-align: center;
}

/* Amplify Hero Content */
.amplify-hero-content {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 30px;
}

.amplify-title {
  font-size: 38px;
  font-weight: 900;
  color: rgb(255 255 255);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgb(255 255 255 / 60%);
  letter-spacing: 2px;
}

.amplify-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Glass Card Design */
.glass-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 15px;
}

.glass-card p:last-child {
  margin-bottom: 0;
}

/* Perspective Section */
.amplify-perspective-section {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.perspective-intro {
  font-size: 18px !important;
  font-weight: 500;
}

.perspective-question {
  font-size: 17px !important;
  margin-bottom: 20px !important;
}

/* CORE Dimensions Grid */
.amplify-core-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.amplify-core-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.amplify-core-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(0, 82, 255, 0.2) 0%,
      rgba(0, 212, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.amplify-core-card:hover::before {
  opacity: 1;
}

.amplify-core-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgb(0, 98, 255, 0.3);
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
}

/* CORE Card Specific Borders */
.control-card:hover {
  border-color: rgb(0, 98, 255, 0.6);
}

.ownership-card:hover {
  border-color: rgb(0, 98, 255, 0.6);
}

.reach-card:hover {
  border-color: rgb(0, 98, 255, 0.6);
}

.endurance-card:hover {
  border-color: rgb(0, 98, 255, 0.6);
}

/* CORE Icon Large */
.core-icon-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052ffd9, #0080ff96, #00d4ffe8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.4);
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.amplify-core-card:hover .core-icon-large {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 12px 48px rgba(0, 212, 255, 0.7);
}

.icon-letter-large {
  font-size: 36px;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 8px rgb(255, 255, 255, 0.3);
}

.core-card-content {
  position: relative;
  z-index: 1;
}

.core-card-content p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

/* Reflection Section */
.amplify-reflection-section {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.reflection-card {
  background: linear-gradient(135deg, rgb(12 76 242 / 71%), rgba(22, 33, 62, 0.6));
  text-align: center;
  padding: 40px;
}

.reflection-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.reflection-question {
  font-size: 19px !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.7 !important;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .amplify-mountain-container {
    height: 350px;
  }

  .climbing-path {
    left: 12%;
  }

  .path-label {
    font-size: 9px;
    padding: 3px 8px;
    left: 28px;
  }

  .path-dot {
    width: 16px;
    height: 16px;
  }

  .indicator-dot {
    width: 22px;
    height: 22px;
  }

  .indicator-label {
    font-size: 11px;
    padding: 4px 10px;
    left: 35px;
  }

  .keep-climbing-text {
    font-size: 14px;
    top: 20px;
  }

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

  .amplify-subtitle {
    font-size: 16px;
  }

  .amplify-core-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .core-icon-large {
    width: 70px;
    height: 70px;
  }

  .icon-letter-large {
    font-size: 32px;
  }

  .reflection-title {
    font-size: 24px;
  }

  .glass-card {
    padding: 20px;
  }
}

/* Assessment progress indicator stability */
.progress-container {
  contain: layout style paint;
  height: 60px;
  transform: translateZ(0);
}