@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  --color-bg: #030712; 
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-accent: #ffffff; /* Pure White premium */
  --color-accent-glow: rgba(255, 255, 255, 0.15);
  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html {
  background-color: var(--color-bg);
  /* scroll-behavior removed for Lenis compatibility */
}

body {
  background-color: transparent;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Outfit', sans-serif;
}

/* Global Background System */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background-image: url("LIKITH's.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(100%) brightness(0.9); /* Premium monochrome treatment */
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: rgba(3, 7, 18, 0.6); /* Slightly more visible image */
  pointer-events: none;
}

/* Glassmorphism */
.glass-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 4px 24px -1px rgba(0, 0, 0, 0.3),
    0 1px 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 10px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 300ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 300ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
  will-change: transform;
}

.glass-panel:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px) translateZ(0);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.6), 
    0 0 30px rgba(255, 255, 255, 0.05),
    0 1px 2px 0 rgba(255, 255, 255, 0.1) inset;
}

/* Typography & Text Effects */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #ffffff 0%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  will-change: transform, opacity;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), opacity 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Buttons & Interactive Elements */
.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
  color: #000;
  background: rgba(251, 191, 36, 0.95);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.8),
    0 4px 15px rgba(251, 191, 36, 0.3);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
  text-transform: uppercase;
  font-size: 0.75rem;
  will-change: transform;
}

.btn-premium:hover {
  transform: translateY(-2px) scale(1.02);
  background: #fbbf24;
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 1),
    0 12px 30px rgba(251, 191, 36, 0.5);
}

.btn-premium:active {
  transform: translateY(0) scale(0.96) !important;
}

.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
  text-transform: uppercase;
  font-size: 0.75rem;
  will-change: transform;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.25),
    0 15px 40px rgba(0, 0, 0, 0.6);
}

.btn-glass:active {
  transform: translateY(0) scale(0.96) !important;
}

.btn-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  background: transparent;
  border-radius: 9999px;
  border: 1px solid #00f3ff;
  box-shadow: 
    0 0 10px rgba(0, 243, 255, 0.5),
    0 0 20px rgba(0, 243, 255, 0.3),
    inset 0 0 10px rgba(0, 243, 255, 0.2);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  overflow: hidden;
  will-change: transform;
}

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

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

.btn-neon:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 
    0 0 20px rgba(0, 243, 255, 0.8),
    0 0 40px rgba(0, 243, 255, 0.6),
    inset 0 0 15px rgba(0, 243, 255, 0.4);
  transform: translateY(-2px) scale(1.02);
  text-shadow: 0 0 12px rgba(255, 255, 255, 1);
  color: #00f3ff;
  border-color: #00f3ff;
}

.btn-neon:active {
  transform: translateY(0) scale(0.96) !important;
}

.ai-quick-btn {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 250ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ai-quick-btn:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.5);
  color: #fbbf24 !important;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(251, 191, 36, 0.2);
}

.ai-quick-btn:active {
  transform: scale(0.96) !important;
}

.btn-filter {
  padding: 0.6rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 200ms cubic-bezier(0.22, 1, 0.36, 1), 
              color 200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.btn-filter.active, .btn-filter:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.1);
}

.btn-filter:active {
  transform: scale(0.96) !important;
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}
.timeline-dot {
  position: absolute;
  left: 1.5rem;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent-glow);
  border: 2px solid var(--color-bg);
}

/* Modal */
.modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}



/* AI Agent Streaming Cursor */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #fbbf24; /* amber-400 */
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* AI Agent Utilities */
.custom-scrollbar {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.2);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.4);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes typing {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.typing-dot {
  animation: typing 1.4s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* --- CINEMATIC SUCCESS SYSTEM --- */

:root {
  --color-platinum: #e2e8f0;
  --color-graphite: #1e293b;
  --color-charcoal: #0f172a;
  --color-silver: #94a3b8;
}

.success-stage {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), visibility 800ms cubic-bezier(0.22, 1, 0.36, 1);
  padding: 4rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: opacity, visibility;
}

.success-stage.active {
  opacity: 1;
  visibility: visible;
}

/* Rocket Area Container */
#rocket-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  margin-bottom: 2rem;
  overflow: visible;
}

/* Glow Layers Behind Rocket */
.glow-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.glow-layer.active {
  opacity: 1;
}

/* Rocket Container */
.rocket-container {
  position: relative;
  width: 140px; /* Base desktop width */
  height: auto;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  z-index: 10;
}

.rocket-svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Hover/Floating animation states */
.rocket-container.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rocket-container.lifted {
  transform: translateY(-10px) scale(1.02);
}

@keyframes rocketHover {
  0%, 100% {
    transform: translateY(-10px) scale(1.02);
  }
  50% {
    transform: translateY(-16px) scale(1.02);
  }
}

.rocket-container.floating {
  animation: rocketHover 3s infinite ease-in-out;
}

/* Thruster Flame Flicker */
@keyframes thrusterFlicker {
  0%, 100% {
    transform: scaleY(1) scaleX(1);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7)) drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
  }
  50% {
    transform: scaleY(1.18) scaleX(0.92);
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 30px rgba(99, 102, 241, 0.6));
  }
}

.thruster-flame {
  transform-origin: top center;
  will-change: transform, filter;
}

.thruster-flame.active {
  opacity: 1 !important;
  animation: thrusterFlicker 120ms infinite alternate ease-in-out;
}

/* Exhaust Particles system */
.exhaust-particles-container {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
  overflow: visible;
  z-index: 5;
}

.exhaust-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.7) 0%, rgba(99, 102, 241, 0.3) 40%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Success Card Message Container */
.success-message-container {
  text-align: center;
  width: min(95vw, 680px);
  padding: 0 1rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-fade-in-up {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.success-fade-in-up.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btn-liquid-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 250ms cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

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

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

.btn-liquid-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.05);
}

.btn-liquid-glass:active {
  transform: translateY(0) scale(0.96) !important;
}

/* --- SUCCESS SYSTEM RESPONSIVENESS --- */

@media (max-width: 1024px) {
  .rocket-container {
    width: 120px;
  }
  #rocket-stage {
    height: 180px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .success-stage {
    padding: 2.5rem 1rem;
  }
  
  .rocket-container {
    width: 100px;
  }
  #rocket-stage {
    height: 150px;
    margin-bottom: 1rem;
  }

  .btn-liquid-glass {
    padding: 0.9rem 1.8rem;
    font-size: 0.75rem;
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .success-stage {
    padding: 1.5rem 0.5rem;
  }
  
  .rocket-container {
    width: 85px;
  }
  #rocket-stage {
    height: 130px;
    margin-bottom: 0.5rem;
  }
}

@media (max-height: 700px) {
  .success-stage {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  #rocket-stage {
    height: 110px;
    margin-bottom: 0.5rem;
  }
}


/* --- FOUNDER MESSAGE CINEMATIC STAGE --- */

.founder-stage {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Ensure scrolling starts from top */
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  opacity: 0;
  visibility: hidden;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6rem 2rem; 
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.founder-stage.active {
  opacity: 1;
  visibility: visible;
}

.founder-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start; /* Align to top */
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0.3s;
  pointer-events: auto;
  margin-bottom: 4rem; /* Spacing at bottom for mobile */
}

.founder-stage.active .founder-container {
  opacity: 1;
  transform: translateY(0);
}

/* Left Content */
.founder-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.founder-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-silver);
  opacity: 0.6;
}

.founder-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
}

.founder-note {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-weight: 300;
  max-width: 600px;
}

.founder-note b {
  color: white;
  font-weight: 600;
}

.founder-highlight-block {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid white;
  padding: 2rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.founder-highlight-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: light-sweep 4s infinite;
}

@keyframes light-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.sakra-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  color: black;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* Right Content - Portrait */
.founder-portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
}

.founder-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: all 1s ease;
}

.founder-stage.active .founder-portrait-wrap img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.05);
}

.portrait-overlay-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.8) 0%, transparent 40%);
  pointer-events: none;
}

.founder-close-btn {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 210;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.founder-close-btn:hover {
  background: white;
  color: black;
  transform: rotate(90deg);
}

/* Capability Chips */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.capability-chip {
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.capability-chip:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: white;
  transform: translateY(-2px);
}

/* Cinematic Line Reveal */
.reveal-line {
  overflow: hidden;
  display: block;
}

.reveal-line span {
  display: block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.founder-stage.active .reveal-line span {
  transform: translateY(0);
}

.founder-stage::-webkit-scrollbar {
  width: 6px;
}
.founder-stage::-webkit-scrollbar-track {
  background: transparent;
}
.founder-stage::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.3);
  border-radius: 10px;
}
.founder-stage::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.5);
}

/* --- MOBILE RESPONSIVENESS --- */

@media (max-width: 968px) {
  .founder-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-portrait-wrap {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .founder-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .founder-stage {
    padding: 3rem 1.5rem;
  }
  
  .founder-highlight-block {
    padding: 1.5rem;
  }
  
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skill-chip {
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
  white-space: nowrap;
}

.skill-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- LEADERSHIP & TRAJECTORY ENHANCEMENTS --- */

#experience .glass-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#experience .glass-panel:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5),
              0 18px 36px -18px rgba(0, 0, 0, 0.5);
}

.text-gradient {
  background: linear-gradient(to right, #ffffff, rgba(255,255,255,0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar for the sticky roadmap if needed */
.sticky::-webkit-scrollbar {
  width: 4px;
}
.sticky::-webkit-scrollbar-track {
  background: transparent;
}
.sticky::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

@media (max-width: 1024px) {
  #experience .grid {
    gap: 4rem;
  }
}

/* --- PREMIUM AI RESPONSE TYPOGRAPHY --- */
.assistant-content {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    font-weight: 300;
    color: #cbd5e1; /* slate-300 */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.assistant-content h1, 
.assistant-content h2, 
.assistant-content h3 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.assistant-content strong {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
    /* Subtle amber underline for key concepts */
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.assistant-content em {
    color: #94a3b8; /* slate-400 */
    font-style: italic;
    font-weight: 300;
}

.assistant-content ul, 
.assistant-content ol {
    margin: 1.25rem 0;
    padding-left: 1.25rem;
}

.assistant-content li {
    margin-bottom: 0.6rem;
    position: relative;
}

.assistant-content ul li::marker {
    color: #fbbf24; /* amber-400 futuristic marker */
}

.assistant-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.assistant-content a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.assistant-content a:hover {
    color: #fbbf24;
    text-decoration-color: #fbbf24;
}

/* Precise responsive tuning */
@media (max-width: 768px) {
    .assistant-content {
        font-size: 0.825rem;
        line-height: 1.6;
    }
}

/* ═══════════════════════════════════════════════════ */
/* PREMIUM HUMAN VERIFICATION SYSTEM                  */
/* ═══════════════════════════════════════════════════ */

.hv-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
}

.hv-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(24px) saturate(0.5);
  -webkit-backdrop-filter: blur(24px) saturate(0.5);
}

.hv-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(
    170deg,
    rgba(20, 20, 25, 0.95) 0%,
    rgba(10, 10, 14, 0.98) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(255, 255, 255, 0.02);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.hv-overlay.active .hv-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Subtle top gradient line */
.hv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* Close Button */
.hv-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hv-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: rotate(90deg);
}

/* Header */
.hv-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hv-icon-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
}

.hv-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hv-subtitle {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
  line-height: 1.5;
  font-weight: 300;
  max-width: 300px;
  margin: 0 auto;
}

/* Divider */
.hv-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin-bottom: 1.75rem;
}

/* Custom Checkbox */
.hv-checkbox-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.hv-checkbox {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
  font: inherit;
}

.hv-checkbox:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.hv-checkbox:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.hv-check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.hv-tick {
  opacity: 0;
  transform: scale(0) rotate(-20deg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hv-tick path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

/* Checked state */
.hv-checkbox.checked .hv-check-box {
  background: rgba(255, 255, 255, 0.95);
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), inset 0 1px 2px rgba(0,0,0,0.1);
}

.hv-checkbox.checked .hv-tick {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.hv-checkbox.checked .hv-tick path {
  stroke: #0a0a0e;
  stroke-dashoffset: 0;
}

.hv-checkbox-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
  user-select: none;
  transition: color 0.3s ease;
}

.hv-checkbox.checked .hv-checkbox-label {
  color: white;
}

/* Verification Pulse */
.hv-verification-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  pointer-events: none;
  top: 0;
  left: 0;
}

.hv-verification-pulse.pulse {
  animation: hv-pulse-ring 0.8s ease-out forwards;
}

@keyframes hv-pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* Math Section */
.hv-math-section {
  margin-bottom: 1.25rem;
  opacity: 0.4;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(4px);
}

.hv-math-section.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hv-math-label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.hv-math-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(148, 163, 184, 0.5);
}

.hv-math-question {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}

.hv-input-wrap {
  position: relative;
}

.hv-math-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  -moz-appearance: textfield;
}

.hv-math-input::-webkit-inner-spin-button,
.hv-math-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hv-math-input::placeholder {
  color: rgba(148, 163, 184, 0.3);
  font-weight: 300;
}

.hv-math-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05), 0 0 20px rgba(255, 255, 255, 0.03);
}

/* Error State */
.hv-error {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  min-height: 1.25rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.hv-error.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shake Animation */
@keyframes hv-micro-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-4px); }
  30% { transform: translateX(4px); }
  45% { transform: translateX(-3px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-1px); }
  90% { transform: translateX(1px); }
}

.hv-card.shake {
  animation: hv-micro-shake 0.5s ease-out;
}

/* Verified State */
.hv-verified-state {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hv-verified-state.visible {
  display: flex;
  animation: hv-fade-in-up 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes hv-fade-in-up {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hv-verified-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hv-verified-icon svg path {
  stroke: #0a0a0e;
}

.hv-verified-state span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Actions */
.hv-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.hv-btn-verify {
  position: relative;
  width: 100%;
  padding: 1rem;
  background: white;
  color: #0a0a0e;
  border: none;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

.hv-btn-verify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
}

.hv-btn-verify:active {
  transform: translateY(0) scale(0.98);
}

.hv-btn-verify.loading {
  pointer-events: none;
  color: transparent;
}

.hv-btn-verify.loading .hv-btn-text {
  opacity: 0;
}

.hv-btn-loader {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
}

.hv-btn-verify.loading .hv-btn-loader {
  display: flex;
}

.hv-scan-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0a0a0e, transparent);
  animation: hv-scan 1.2s ease-in-out infinite;
}

@keyframes hv-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hv-btn-cancel {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: rgba(148, 163, 184, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hv-btn-cancel:hover {
  color: white;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Footer Meta */
.hv-footer-meta {
  text-align: center;
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  color: rgba(148, 163, 184, 0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  min-height: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
  .hv-card {
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 20px;
    max-width: 100%;
  }

  .hv-title {
    font-size: 1.3rem;
  }

  .hv-subtitle {
    font-size: 0.75rem;
  }

  .hv-checkbox {
    padding: 0.75rem 1.25rem;
  }

  .hv-math-question {
    font-size: 1rem;
  }

  .hv-math-input {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
}

/* Chatbot Microphone Pulsing Animation */
@keyframes micPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
.mic-listening {
  background-color: #ef4444 !important; /* Tailwind red-500 */
  color: white !important;
  animation: micPulse 1.5s infinite;
}

/* Prevent AI response text from overflowing in Chatbot UI */
#ai-chat-area .prose, 
#ai-chat-area .assistant-content {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
}

#ai-chat-area pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

#ai-chat-area table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

#ai-chat-area code {
  white-space: pre-wrap;
  word-break: break-all;
}

/* ═══════════════════════════════════════════════════ */
/* FLUID TYPOGRAPHY, ACTIVE NAV, FOCUS & MOBILE NAV   */
/* ═══════════════════════════════════════════════════ */

/* Accessible Focus States */
button:focus-visible, a:focus-visible {
  outline: 2px solid white !important;
  outline-offset: 4px !important;
}

/* Fluid Typographical Scaling */
h1, .h1-fluid {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}

h2, .h2-fluid {
  font-size: clamp(1.65rem, 4vw, 2.75rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

h3, .h3-fluid {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

p, .p-fluid {
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.6;
}

/* Desktop Navigation Active State */
.desktop-nav-link {
  position: relative;
  transition: color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}

.desktop-nav-link.active {
  color: white !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.desktop-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Mobile Premium Floating Navigation Item */
.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px; /* Minimum mobile touch target */
  padding: 0 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8; /* slate-400 */
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), 
              background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 200ms cubic-bezier(0.22, 1, 0.36, 1), 
              color 200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mobile-nav-item:hover, .mobile-nav-item:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.mobile-nav-item:active {
  transform: scale(0.97);
}

/* Mobile Nav Item Active State */
.mobile-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
  position: relative;
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: white;
  border-radius: 0 4px 4px 0;
}

.mobile-nav-item.active .mobile-nav-arrow {
  opacity: 1 !important;
  transform: translateX(2px);
}

/* Mobile Collaborate Option specific button style */
.mobile-nav-btn {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.mobile-nav-btn:hover, .mobile-nav-btn:focus {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.mobile-nav-btn.active {
  background: rgba(251, 191, 36, 0.2);
  border-color: #fbbf24;
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

.mobile-nav-btn.active::before {
  background: #fbbf24;
}

/* SAKRA-AI Premium Chatbot Additional Animations & Rules */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 12s linear infinite;
}

@keyframes wave-bar {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}
.animate-wave-bar {
  animation: wave-bar 0.8s ease-in-out infinite;
}

/* Ensure horizontal scrolling is smooth and premium on mobile quick reply container */
.quick-reply-container::-webkit-scrollbar {
  display: none;
}
.quick-reply-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}


