/* ============================================
   ACETERNITY UI - SPOTLIGHT EFFECT
   Enhanced with Multi-Accent Color System
   ============================================ */

/* ============================================
   GLOBAL GRID BACKGROUND
   Extends hero grid pattern across entire site
   ============================================ */

/* Global grid overlay - fixed position element */
.global-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Light theme grid */
[data-theme="light"] .global-grid-bg {
  background-image: 
    linear-gradient(rgba(79, 60, 201, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 60, 201, 0.03) 1px, transparent 1px);
}

/* Ensure all main content sections appear above the grid */
.hero,
.section,
.footer,
main {
  position: relative;
  z-index: 1;
}

/* ============================================
   PREMIUM CONTACT FORM STYLES
   Glassmorphism with glowing accents
   ============================================ */

/* Form Wrapper Enhancement */
.contact-form-wrapper {
  background: linear-gradient(145deg, 
    rgba(15, 23, 42, 0.9) 0%, 
    rgba(30, 41, 59, 0.7) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74, 222, 128, 0.1);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient border effect */
.contact-form-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(74, 222, 128, 0.3) 0%,
    transparent 25%,
    transparent 75%,
    rgba(6, 182, 212, 0.2) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Background glow */
.contact-form-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-form-wrapper > * {
  position: relative;
  z-index: 1;
}

/* Form Group Styling */
.form-group {
  position: relative;
  margin-bottom: var(--space-5);
}

/* Floating Label Style */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Premium Input Styling */
.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
  transition: all 0.3s ease;
}

/* Focus States with Glow */
.form-input:focus,
.form-textarea:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 
    0 0 0 4px rgba(74, 222, 128, 0.1),
    0 0 20px rgba(74, 222, 128, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
  opacity: 0.3;
  transform: translateX(5px);
}

/* Hover States */
.form-input:hover:not(:focus),
.form-textarea:hover:not(:focus) {
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(15, 23, 42, 0.7);
}

/* Textarea Specific */
.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

/* Valid/Invalid States */
.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
  border-color: rgba(74, 222, 128, 0.3);
}

.form-input:invalid:not(:placeholder-shown):not(:focus),
.form-textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Submit Button Enhancement */
.contact-form-wrapper .btn-primary {
  position: relative;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-form-wrapper .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form-wrapper .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 40px rgba(74, 222, 128, 0.4),
    0 0 60px rgba(74, 222, 128, 0.2);
}

.contact-form-wrapper .btn-primary:hover::before {
  opacity: 1;
}

.contact-form-wrapper .btn-primary:active {
  transform: translateY(-1px);
}

/* Contact Cards Enhancement */
.contact-card {
  background: linear-gradient(145deg, 
    rgba(15, 23, 42, 0.8) 0%, 
    rgba(30, 41, 59, 0.6) 100%
  );
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(74, 222, 128, 0.5), 
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(74, 222, 128, 0.1);
}

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

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, 
    rgba(74, 222, 128, 0.15) 0%, 
    rgba(6, 182, 212, 0.1) 100%
  );
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  background: var(--primary);
  color: var(--black-dark);
  border-color: var(--primary);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}

/* Input Icon Enhancement (optional - add icons to inputs) */
.input-with-icon {
  position: relative;
}

.input-with-icon .form-input {
  padding-left: 50px;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(74, 222, 128, 0.5);
  font-size: 18px;
  transition: color 0.3s ease;
  pointer-events: none;
}

.input-with-icon .form-input:focus + .input-icon,
.input-with-icon .form-input:focus ~ .input-icon {
  color: var(--primary);
}

/* Light Theme Adjustments */
[data-theme="light"] .contact-form-wrapper {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 100%
  );
  border-color: rgba(79, 60, 201, 0.1);
}

[data-theme="light"] .contact-form-wrapper::before {
  background: linear-gradient(
    135deg,
    rgba(79, 60, 201, 0.3) 0%,
    transparent 25%,
    transparent 75%,
    rgba(16, 185, 129, 0.2) 100%
  );
}

[data-theme="light"] .contact-form-wrapper::after {
  background: radial-gradient(circle, rgba(79, 60, 201, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .form-label {
  color: #64748b;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(79, 60, 201, 0.15);
  color: #1a1f36;
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: rgba(100, 116, 139, 0.6);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: rgba(79, 60, 201, 0.5);
  box-shadow: 
    0 0 0 4px rgba(79, 60, 201, 0.1),
    0 0 20px rgba(79, 60, 201, 0.1);
}

[data-theme="light"] .form-input:hover:not(:focus),
[data-theme="light"] .form-textarea:hover:not(:focus) {
  border-color: rgba(79, 60, 201, 0.3);
}

[data-theme="light"] .contact-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 100%
  );
  border-color: rgba(79, 60, 201, 0.1);
}

[data-theme="light"] .contact-card:hover {
  border-color: rgba(79, 60, 201, 0.25);
  box-shadow: 
    0 20px 40px rgba(30, 21, 90, 0.1),
    0 0 40px rgba(79, 60, 201, 0.05);
}

[data-theme="light"] .contact-card::before {
  background: linear-gradient(90deg, 
    transparent, 
    rgba(79, 60, 201, 0.5), 
    transparent
  );
}

[data-theme="light"] .contact-card-icon {
  background: linear-gradient(135deg, 
    rgba(79, 60, 201, 0.1) 0%, 
    rgba(16, 185, 129, 0.08) 100%
  );
  border-color: rgba(79, 60, 201, 0.15);
  color: var(--primary);
}

[data-theme="light"] .contact-card:hover .contact-card-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(79, 60, 201, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-input,
  .form-textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .contact-card {
    padding: 20px;
  }
  
  .contact-card-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* Animated gradient accent lines - horizontal */
.global-grid-accent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.global-grid-accent::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -100%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(74, 222, 128, 0.3) 25%, 
    rgba(6, 182, 212, 0.3) 50%, 
    rgba(139, 92, 246, 0.3) 75%, 
    transparent 100%
  );
  animation: gridAccentMove 20s linear infinite;
}

.global-grid-accent::after {
  content: '';
  position: absolute;
  top: 60%;
  left: -100%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(139, 92, 246, 0.2) 25%, 
    rgba(74, 222, 128, 0.2) 50%, 
    rgba(6, 182, 212, 0.2) 75%, 
    transparent 100%
  );
  animation: gridAccentMove 25s linear infinite reverse;
}

@keyframes gridAccentMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* Vertical accent lines */
.global-grid-vertical {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.global-grid-vertical::before {
  content: '';
  position: absolute;
  left: 15%;
  top: -100%;
  width: 1px;
  height: 200%;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(74, 222, 128, 0.15) 25%, 
    rgba(6, 182, 212, 0.15) 50%, 
    rgba(139, 92, 246, 0.15) 75%, 
    transparent 100%
  );
  animation: gridVerticalMove 30s linear infinite;
}

.global-grid-vertical::after {
  content: '';
  position: absolute;
  right: 15%;
  top: -100%;
  width: 1px;
  height: 200%;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(139, 92, 246, 0.15) 25%, 
    rgba(74, 222, 128, 0.15) 50%, 
    rgba(6, 182, 212, 0.15) 75%, 
    transparent 100%
  );
  animation: gridVerticalMove 35s linear infinite reverse;
}

@keyframes gridVerticalMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(50%); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .global-grid-accent::before,
  .global-grid-accent::after,
  .global-grid-vertical::before,
  .global-grid-vertical::after {
    animation: none;
  }
}

/* Mobile optimization - lighter grid */
@media (max-width: 768px) {
  .global-grid-bg {
    background-size: 40px 40px;
    opacity: 0.6;
  }
  
  .global-grid-accent,
  .global-grid-vertical {
    display: none;
  }
}

/* ============================================
   SPOTLIGHT CARD EFFECT - Primary (Emerald)
   Mouse-following glow on cards
   ============================================ */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   SPOTLIGHT VARIANTS - Multi-Accent Colors
   ============================================ */

/* Cyan Spotlight - for tech/code elements */
.spotlight-cyan::before {
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.06),
    transparent 40%
  );
}

.spotlight-cyan::after {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.15),
    transparent 40%
  );
}

/* Violet Spotlight - for AI/ML sections */
.spotlight-violet::before {
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(139, 92, 246, 0.06),
    transparent 40%
  );
}

.spotlight-violet::after {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(139, 92, 246, 0.15),
    transparent 40%
  );
}

/* Amber Spotlight - for highlights/warnings */
.spotlight-amber::before {
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 158, 11, 0.06),
    transparent 40%
  );
}

.spotlight-amber::after {
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 158, 11, 0.15),
    transparent 40%
  );
}

/* ============================================
   SPOTLIGHT BORDER EFFECT
   ============================================ */
.spotlight-border {
  position: relative;
}

.spotlight-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(16, 185, 129, 0.4),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.spotlight-border:hover::before {
  opacity: 1;
}

/* Border variants */
.spotlight-border-cyan::before {
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.4),
    transparent 40%
  );
}

.spotlight-border-violet::before {
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(139, 92, 246, 0.4),
    transparent 40%
  );
}

.spotlight-border-amber::before {
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(245, 158, 11, 0.4),
    transparent 40%
  );
}

/* Container for grouped spotlight cards */
.spotlight-container {
  position: relative;
}

/* ============================================
   ACCENT COLOR UTILITY CLASSES
   ============================================ */

/* Text colors */
.text-primary { color: #10b981; }
.text-cyan { color: #06b6d4; }
.text-violet { color: #8b5cf6; }
.text-amber { color: #f59e0b; }

/* Background colors */
.bg-primary { background-color: #10b981; }
.bg-cyan { background-color: #06b6d4; }
.bg-violet { background-color: #8b5cf6; }
.bg-amber { background-color: #f59e0b; }

/* Gradient text variants */
.text-gradient-cyan {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Multi-color gradient */
.text-gradient-multi {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 33%, #8b5cf6 66%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow effects */
.glow-primary { box-shadow: 0 0 30px rgba(16, 185, 129, 0.4); }
.glow-cyan { box-shadow: 0 0 30px rgba(6, 182, 212, 0.4); }
.glow-violet { box-shadow: 0 0 30px rgba(139, 92, 246, 0.4); }
.glow-amber { box-shadow: 0 0 30px rgba(245, 158, 11, 0.4); }

/* Border accent colors */
.border-primary { border-color: #10b981; }
.border-cyan { border-color: #06b6d4; }
.border-violet { border-color: #8b5cf6; }
.border-amber { border-color: #f59e0b; }

/* ============================================
   COMET CARD EFFECT
   Glowing comet trail orbiting around element
   ============================================ */

.comet-card {
  position: relative;
  overflow: visible;
}

/* The comet container - sits behind the card content */
.comet-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    #4ade80 45%,
    #22d3ee 50%,
    #a78bfa 55%,
    transparent 60%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: cometOrbit 4s linear infinite;
  opacity: 0.8;
  pointer-events: none;
}

/* Comet glow trail */
.comet-card::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    rgba(74, 222, 128, 0.3) 45%,
    rgba(34, 211, 238, 0.4) 50%,
    rgba(167, 139, 250, 0.3) 55%,
    transparent 60%,
    transparent 100%
  );
  filter: blur(12px);
  animation: cometOrbit 4s linear infinite;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

@keyframes cometOrbit {
  0% {
    --comet-angle: 0deg;
  }
  100% {
    --comet-angle: 360deg;
  }
}

/* For browsers that don't support @property */
@supports not (background: conic-gradient(from var(--comet-angle), red, blue)) {
  .comet-card::before,
  .comet-card::after {
    animation: cometOrbitFallback 4s linear infinite;
  }
  
  @keyframes cometOrbitFallback {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
}

/* Register custom property for smooth animation */
@property --comet-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Comet card variants */
.comet-card-slow::before,
.comet-card-slow::after {
  animation-duration: 6s;
}

.comet-card-fast::before,
.comet-card-fast::after {
  animation-duration: 2.5s;
}

/* Cyan comet */
.comet-card-cyan::before {
  background: linear-gradient(
    var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    #06b6d4 45%,
    #22d3ee 50%,
    #67e8f9 55%,
    transparent 60%,
    transparent 100%
  );
}

.comet-card-cyan::after {
  background: conic-gradient(
    from var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    rgba(6, 182, 212, 0.4) 50%,
    transparent 60%,
    transparent 100%
  );
}

/* Violet comet */
.comet-card-violet::before {
  background: linear-gradient(
    var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    #8b5cf6 45%,
    #a78bfa 50%,
    #c4b5fd 55%,
    transparent 60%,
    transparent 100%
  );
}

.comet-card-violet::after {
  background: conic-gradient(
    from var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    rgba(139, 92, 246, 0.4) 50%,
    transparent 60%,
    transparent 100%
  );
}

/* Amber/Gold comet */
.comet-card-amber::before {
  background: linear-gradient(
    var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    #f59e0b 45%,
    #fbbf24 50%,
    #fcd34d 55%,
    transparent 60%,
    transparent 100%
  );
}

.comet-card-amber::after {
  background: conic-gradient(
    from var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    rgba(245, 158, 11, 0.4) 50%,
    transparent 60%,
    transparent 100%
  );
}

/* Pause animation on hover for focus */
.comet-card:hover::before,
.comet-card:hover::after {
  animation-play-state: paused;
}

/* Light theme adjustments */
[data-theme="light"] .comet-card::before {
  background: linear-gradient(
    var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    #4f3cc9 45%,
    #7c3aed 50%,
    #a78bfa 55%,
    transparent 60%,
    transparent 100%
  );
}

[data-theme="light"] .comet-card::after {
  background: conic-gradient(
    from var(--comet-angle, 0deg),
    transparent 0%,
    transparent 40%,
    rgba(79, 60, 201, 0.3) 45%,
    rgba(124, 58, 237, 0.4) 50%,
    rgba(167, 139, 250, 0.3) 55%,
    transparent 60%,
    transparent 100%
  );
}

/* ============================================
   TRACING BEAM EFFECT - FULL PAGE VERSION
   Sharp, smooth vertical scroll-tracking beam
   ============================================ */

/* Full page tracing beam wrapper */
/* Aligned with back-to-top button: right: 32px + (52px width / 2) = 58px from right edge to center */
.page-tracing-beam {
  position: fixed;
  right: 56px;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 99;
  pointer-events: none;
}

/* The background track line */
.page-tracing-beam .beam-track {
  position: absolute;
  left: 0;
  width: 100%;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 3px;
}

/* The active gradient fill */
.page-tracing-beam .beam-progress {
  position: absolute;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    #4ade80 0%,
    #22d3ee 35%,
    #a78bfa 70%,
    #f472b6 100%
  );
  border-radius: 3px;
  transform-origin: top center;
  transform: scaleY(0);
  will-change: transform;
}

/* The glowing dot indicator */
.page-tracing-beam .beam-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 
    0 0 0 3px rgba(74, 222, 128, 0.3),
    0 0 15px 3px rgba(74, 222, 128, 0.6),
    0 0 30px 6px rgba(74, 222, 128, 0.3);
  will-change: transform;
}

/* Inner bright core of the dot */
.page-tracing-beam .beam-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
}

/* Pulse ring animation */
.page-tracing-beam .beam-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, 0.5);
  animation: beamPulse 2s ease-out infinite;
}

@keyframes beamPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Section markers on the beam */
.page-tracing-beam .beam-marker {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  border: 2px solid rgba(74, 222, 128, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  pointer-events: auto;
}

.page-tracing-beam .beam-marker:hover {
  background: rgba(74, 222, 128, 0.4);
  border-color: rgba(74, 222, 128, 0.6);
  transform: scale(1.3);
}

.page-tracing-beam .beam-marker.is-active {
  background: #4ade80;
  border-color: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  transform: scale(1.2);
}

/* Marker tooltip */
.page-tracing-beam .beam-marker .marker-tooltip {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.page-tracing-beam .beam-marker:hover .marker-tooltip {
  opacity: 1;
  visibility: visible;
  right: 25px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .page-tracing-beam {
    right: 56px;
  }
  .page-tracing-beam .beam-dot {
    width: 12px;
    height: 12px;
    margin-left: -6px;
  }
  .page-tracing-beam .beam-dot::before {
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
  }
  .page-tracing-beam .beam-marker .marker-tooltip {
    display: none;
  }
}

/* On tablet/mobile, align with smaller back-to-top button (right: 24px + 48px/2 = 48px) */
@media (max-width: 768px) {
  .page-tracing-beam {
    right: 46px;
  }
}

/* Smaller screens - keep visible but more compact and sharp */
@media (max-width: 576px) {
  .page-tracing-beam {
    right: 16px;
    width: 2px;
  }
  
  .page-tracing-beam .beam-track {
    width: 2px;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 1px;
  }
  
  .page-tracing-beam .beam-progress {
    width: 2px;
    border-radius: 1px;
    background: linear-gradient(
      180deg,
      #4ade80 0%,
      #22d3ee 50%,
      #a78bfa 100%
    );
  }
  
  /* Centered dot on the beam */
  .page-tracing-beam .beam-dot {
    width: 10px;
    height: 10px;
    margin-left: -4px; /* (10px - 2px) / 2 = 4px to center on 2px beam */
    background: #4ade80;
    box-shadow: 
      0 0 0 2px rgba(74, 222, 128, 0.4),
      0 0 8px 2px rgba(74, 222, 128, 0.6),
      0 0 16px 4px rgba(74, 222, 128, 0.3);
  }
  
  .page-tracing-beam .beam-dot::before {
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
  }
  
  .page-tracing-beam .beam-dot::after {
    inset: -4px;
    border-width: 1px;
  }
  
  /* Centered markers on the beam */
  .page-tracing-beam .beam-marker {
    width: 6px;
    height: 6px;
    margin-left: -2px; /* (6px - 2px) / 2 = 2px to center on 2px beam */
    border-width: 1px;
  }
  
  .page-tracing-beam .beam-marker.is-active {
    transform: scale(1.3);
  }
}

/* Even smaller screens */
@media (max-width: 400px) {
  .page-tracing-beam {
    right: 12px;
  }
}

/* Light theme adjustments */
[data-theme="light"] .page-tracing-beam .beam-track {
  background: rgba(48, 33, 138, 0.08);
}

[data-theme="light"] .page-tracing-beam .beam-progress {
  background: linear-gradient(
    180deg,
    #30218a 0%,
    #4f3cc9 35%,
    #7c3aed 70%,
    #a855f7 100%
  );
}

[data-theme="light"] .page-tracing-beam .beam-dot {
  background: #4f3cc9;
  box-shadow: 
    0 0 0 3px rgba(79, 60, 201, 0.3),
    0 0 15px 3px rgba(79, 60, 201, 0.5),
    0 0 30px 6px rgba(79, 60, 201, 0.25);
}

[data-theme="light"] .page-tracing-beam .beam-dot::after {
  border-color: rgba(79, 60, 201, 0.5);
}

[data-theme="light"] .page-tracing-beam .beam-marker {
  background: rgba(79, 60, 201, 0.1);
  border-color: rgba(79, 60, 201, 0.25);
}

[data-theme="light"] .page-tracing-beam .beam-marker:hover {
  background: rgba(79, 60, 201, 0.3);
  border-color: rgba(79, 60, 201, 0.5);
}

[data-theme="light"] .page-tracing-beam .beam-marker.is-active {
  background: #4f3cc9;
  border-color: #4f3cc9;
  box-shadow: 0 0 12px rgba(79, 60, 201, 0.5);
}

[data-theme="light"] .page-tracing-beam .beam-marker .marker-tooltip {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(79, 60, 201, 0.2);
  color: #1a1f36;
}

/* Light theme mobile adjustments */
@media (max-width: 576px) {
  [data-theme="light"] .page-tracing-beam .beam-track {
    background: rgba(79, 60, 201, 0.12);
  }
  
  [data-theme="light"] .page-tracing-beam .beam-dot {
    background: #4f3cc9;
    box-shadow: 
      0 0 0 2px rgba(79, 60, 201, 0.4),
      0 0 8px 2px rgba(79, 60, 201, 0.5),
      0 0 16px 4px rgba(79, 60, 201, 0.25);
  }
}

/* ============================================
   TRACING BEAM - SECTION CONTAINER VERSION
   For use within specific content sections
   ============================================ */

.tracing-beam-container {
  position: relative;
  width: 100%;
}

.tracing-beam {
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(74, 222, 128, 0.1) 10%,
    rgba(74, 222, 128, 0.1) 90%,
    transparent
  );
  z-index: 1;
  border-radius: 2px;
}

/* The glowing dot that follows scroll */
.tracing-beam-dot {
  position: absolute;
  left: 20px;
  top: 0;
  width: 12px;
  height: 12px;
  margin-left: -5px;
  margin-top: -6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 
    0 0 0 3px rgba(74, 222, 128, 0.25),
    0 0 12px 2px rgba(74, 222, 128, 0.5),
    0 0 24px 4px rgba(74, 222, 128, 0.25);
  z-index: 3;
  will-change: transform;
}

/* Inner dot for extra glow effect */
.tracing-beam-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.8);
}

/* The traced/filled portion of the beam */
.tracing-beam-gradient {
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #4ade80,
    #22d3ee 50%,
    #a78bfa
  );
  z-index: 2;
  transform-origin: top;
  transform: scaleY(var(--beam-scale, 0));
  border-radius: 2px;
  will-change: transform;
}

/* Content wrapper with left padding for the beam */
.tracing-beam-content {
  position: relative;
  padding-left: 60px;
  z-index: 4;
}

/* Individual content items along the beam */
.tracing-beam-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0.4;
  transform: translateX(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tracing-beam-item.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* Connector dots on the beam line */
.tracing-beam-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  border: 2px solid rgba(74, 222, 128, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.tracing-beam-item.is-active::before {
  background: #4ade80;
  border-color: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  transform: scale(1.1);
}

/* Badge styling */
.tracing-beam-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Title styling */
.tracing-beam-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f1f5f9;
  line-height: 1.3;
}

/* Description text */
.tracing-beam-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #94a3b8;
}

.tracing-beam-description p {
  margin-bottom: 1rem;
}

.tracing-beam-description p:last-child {
  margin-bottom: 0;
}

/* Image styling */
.tracing-beam-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* ============================================
   TRACING BEAM COLOR VARIANTS
   ============================================ */

/* Cyan variant */
.tracing-beam-cyan .tracing-beam {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(6, 182, 212, 0.1) 10%,
    rgba(6, 182, 212, 0.1) 90%,
    transparent
  );
}

.tracing-beam-cyan .tracing-beam-dot {
  background: #06b6d4;
  box-shadow: 
    0 0 10px #06b6d4,
    0 0 20px #06b6d4,
    0 0 30px rgba(6, 182, 212, 0.5);
}

.tracing-beam-cyan .tracing-beam-gradient {
  background: linear-gradient(
    to bottom,
    #06b6d4,
    #0891b2 50%,
    #0e7490
  );
}

.tracing-beam-cyan .tracing-beam-item::before {
  background: rgba(6, 182, 212, 0.3);
  border-color: rgba(6, 182, 212, 0.5);
}

.tracing-beam-cyan .tracing-beam-item.is-active::before {
  background: #06b6d4;
  border-color: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.tracing-beam-cyan .tracing-beam-badge {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Violet variant */
.tracing-beam-violet .tracing-beam {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(139, 92, 246, 0.1) 10%,
    rgba(139, 92, 246, 0.1) 90%,
    transparent
  );
}

.tracing-beam-violet .tracing-beam-dot {
  background: #8b5cf6;
  box-shadow: 
    0 0 10px #8b5cf6,
    0 0 20px #8b5cf6,
    0 0 30px rgba(139, 92, 246, 0.5);
}

.tracing-beam-violet .tracing-beam-gradient {
  background: linear-gradient(
    to bottom,
    #8b5cf6,
    #7c3aed 50%,
    #6d28d9
  );
}

.tracing-beam-violet .tracing-beam-item::before {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
}

.tracing-beam-violet .tracing-beam-item.is-active::before {
  background: #8b5cf6;
  border-color: #8b5cf6;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.tracing-beam-violet .tracing-beam-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Amber variant */
.tracing-beam-amber .tracing-beam {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(245, 158, 11, 0.1) 10%,
    rgba(245, 158, 11, 0.1) 90%,
    transparent
  );
}

.tracing-beam-amber .tracing-beam-dot {
  background: #f59e0b;
  box-shadow: 
    0 0 10px #f59e0b,
    0 0 20px #f59e0b,
    0 0 30px rgba(245, 158, 11, 0.5);
}

.tracing-beam-amber .tracing-beam-gradient {
  background: linear-gradient(
    to bottom,
    #f59e0b,
    #d97706 50%,
    #b45309
  );
}

.tracing-beam-amber .tracing-beam-item::before {
  background: rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.5);
}

.tracing-beam-amber .tracing-beam-item.is-active::before {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.tracing-beam-amber .tracing-beam-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  .tracing-beam,
  .tracing-beam-gradient {
    left: 10px;
  }
  
  .tracing-beam-dot {
    left: 10px;
    width: 8px;
    height: 8px;
    margin-left: -3px;
  }
  
  .tracing-beam-content {
    padding-left: 40px;
  }
  
  .tracing-beam-item::before {
    left: -34px;
    width: 6px;
    height: 6px;
  }
  
  .tracing-beam-title {
    font-size: 1.25rem;
  }
}

/* ============================================
   GLOBE EFFECT
   Interactive 3D globe with connection arcs
   ============================================ */

.globe-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--black-dark);
  width: 100%;
}

/* Subtle gradient overlay matching website theme */
.globe-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 70% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* Decorative grid pattern */
.globe-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

.globe-container {
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

.globe-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  width: 100%;
}

.globe-text {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.globe-text .section-tag {
  margin-bottom: var(--space-4);
}

.globe-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--text-white);
}

.globe-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: var(--space-8);
}

/* Stats row */
.globe-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  margin-bottom: var(--space-8);
}

.globe-stat {
  text-align: center;
}

.globe-stat-value {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.globe-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Location badges */
.globe-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.globe-location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.globe-location:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.globe-location i {
  color: #06b6d4;
  font-size: 14px;
}

/* Globe visual wrapper */
.globe-visual {
  position: relative;
  width: 100%;
  height: 1015px;
  min-height: 1015px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#globe-container {
  width: 100%;
  height: 100%;
  max-width: 1080px;
  max-height: 1080px;
}

#globe-container canvas {
  cursor: grab;
}

#globe-container canvas:active {
  cursor: grabbing;
}

/* Globe glow effect */
.globe-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 880px;
  height: 880px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Gradient overlay at bottom - reduced */
.globe-gradient-overlay {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--black-dark) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
  display: none; /* Hide bottom gradient for cleaner look */
}

/* Hide decorative dots - we use 3D points now */
.globe-dots {
  display: none;
}

/* Floating particles around globe */
.globe-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.globe-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(6, 182, 212, 0.6);
  border-radius: 50%;
  animation: floatParticle 8s ease-in-out infinite;
}

.globe-particle:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; animation-duration: 7s; }
.globe-particle:nth-child(2) { top: 25%; left: 80%; animation-delay: 1s; animation-duration: 9s; }
.globe-particle:nth-child(3) { top: 70%; left: 15%; animation-delay: 2s; animation-duration: 6s; }
.globe-particle:nth-child(4) { top: 80%; left: 75%; animation-delay: 3s; animation-duration: 8s; }
.globe-particle:nth-child(5) { top: 45%; left: 10%; animation-delay: 0.5s; animation-duration: 10s; }
.globe-particle:nth-child(6) { top: 55%; left: 90%; animation-delay: 1.5s; animation-duration: 7s; }

@keyframes floatParticle {
  0%, 100% { 
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-10px) translateX(-5px);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-30px) translateX(15px);
    opacity: 0.7;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .globe-visual {
    height: 810px;
    min-height: 810px;
  }

  #globe-container {
    max-width: 810px;
    max-height: 810px;
  }

  .globe-glow {
    width: 675px;
    height: 675px;
  }
}

@media (max-width: 768px) {
  .globe-section {
    padding: 60px 0;
  }

  .globe-visual {
    height: 650px;
    min-height: 650px;
  }

  #globe-container {
    max-width: 650px;
    max-height: 650px;
  }

  .globe-glow {
    width: 565px;
    height: 565px;
  }

  .globe-stats {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .globe-stat {
    flex: 1 1 40%;
    text-align: center;
  }

  .globe-stat-value {
    font-size: 32px;
  }
}

/* Light theme */
[data-theme="light"] .globe-section {
  background: var(--black-dark);
}

[data-theme="light"] .globe-section::before {
  background: 
    radial-gradient(ellipse 80% 50% at 70% 50%, rgba(79, 60, 201, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
}

[data-theme="light"] .globe-section::after {
  background-image: 
    linear-gradient(rgba(79, 60, 201, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 60, 201, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .globe-text h2 {
  color: #1a1f36;
}

[data-theme="light"] .globe-text p {
  color: #3c4257;
}

[data-theme="light"] .globe-stat-value {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .globe-location {
  background: rgba(48, 33, 138, 0.08);
  border-color: rgba(48, 33, 138, 0.15);
  color: #1a1f36;
}

[data-theme="light"] .globe-location:hover {
  background: rgba(48, 33, 138, 0.12);
  border-color: rgba(48, 33, 138, 0.25);
}

[data-theme="light"] .globe-location i {
  color: var(--primary);
}

[data-theme="light"] .globe-glow {
  background: radial-gradient(circle, rgba(79, 60, 201, 0.15) 0%, transparent 60%);
}

[data-theme="light"] .globe-gradient-overlay {
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

[data-theme="light"] .globe-dot {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(79, 60, 201, 0.5);
}

/* ============================================
   TEAM SECTION - ENHANCED STYLING
   ============================================ */

.team-section-enhanced {
  position: relative;
  overflow: hidden;
  background: var(--black-dark);
}

/* Animated gradient background */
.team-section-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
  pointer-events: none;
  animation: teamGradientShift 15s ease-in-out infinite alternate;
}

@keyframes teamGradientShift {
  0% {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) translateX(-2%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateX(2%);
  }
}

/* Subtle grid pattern */
.team-section-enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.6;
}

/* Floating orbs decoration */
.team-section-enhanced .container {
  position: relative;
  z-index: 2;
}

/* Glowing accent lines */
.team-section-enhanced .section-header::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

.team-section-enhanced .section-header::after {
  content: '';
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
  border-radius: 2px;
}

.team-section-enhanced .section-header {
  position: relative;
}

/* Enhanced team cards with glow effect */
.team-section-enhanced .team-card {
  position: relative;
  background: linear-gradient(145deg, 
    rgba(15, 23, 42, 0.9) 0%, 
    rgba(30, 41, 59, 0.6) 100%
  );
  border: 1px solid rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-section-enhanced .team-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(139, 92, 246, 0.2) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-section-enhanced .team-card:hover::before {
  opacity: 1;
}

.team-section-enhanced .team-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(16, 185, 129, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Avatar glow enhancement */
.team-section-enhanced .team-avatar {
  position: relative;
  border: 3px solid rgba(16, 185, 129, 0.3);
  box-shadow: 
    0 0 30px rgba(16, 185, 129, 0.2),
    0 10px 40px rgba(0, 0, 0, 0.3);
}

.team-section-enhanced .team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: 
    0 0 40px rgba(16, 185, 129, 0.4),
    0 0 80px rgba(16, 185, 129, 0.2),
    0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Social links enhancement */
.team-section-enhanced .team-socials a {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.team-section-enhanced .team-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--black-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Light theme adjustments */
[data-theme="light"] .team-section-enhanced {
  background: var(--black-dark);
}

[data-theme="light"] .team-section-enhanced::before {
  background: 
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(79, 60, 201, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
}

[data-theme="light"] .team-section-enhanced::after {
  background-image: 
    linear-gradient(rgba(79, 60, 201, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 60, 201, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .team-section-enhanced .section-header::before {
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

[data-theme="light"] .team-section-enhanced .section-header::after {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.6), transparent);
}

[data-theme="light"] .team-section-enhanced .team-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 250, 252, 0.9) 100%
  );
  border-color: rgba(79, 60, 201, 0.1);
}

[data-theme="light"] .team-section-enhanced .team-card::before {
  background: linear-gradient(
    135deg,
    rgba(79, 60, 201, 0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(16, 185, 129, 0.2) 100%
  );
}

[data-theme="light"] .team-section-enhanced .team-card:hover {
  border-color: rgba(79, 60, 201, 0.25);
  box-shadow: 
    0 25px 50px rgba(30, 21, 90, 0.1),
    0 0 80px rgba(79, 60, 201, 0.08);
}

[data-theme="light"] .team-section-enhanced .team-avatar {
  border-color: rgba(79, 60, 201, 0.25);
  box-shadow: 
    0 0 30px rgba(79, 60, 201, 0.15),
    0 10px 40px rgba(30, 21, 90, 0.1);
}

[data-theme="light"] .team-section-enhanced .team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: 
    0 0 40px rgba(79, 60, 201, 0.25),
    0 0 80px rgba(79, 60, 201, 0.1);
}

[data-theme="light"] .team-section-enhanced .team-socials a {
  background: rgba(79, 60, 201, 0.08);
  border-color: rgba(79, 60, 201, 0.15);
}

[data-theme="light"] .team-section-enhanced .team-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .team-section-enhanced::before {
    background: 
      radial-gradient(ellipse 80% 40% at 50% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 80% 40% at 50% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  }
  
  .team-section-enhanced::after {
    background-size: 50px 50px;
  }
  
  .team-section-enhanced .section-header::before,
  .team-section-enhanced .section-header::after {
    display: none;
  }
}