/* Dropdown styles */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 20px;
  min-width: 500px;
  display: none;
  margin-top: 0;
  padding-top: 24px;
  z-index: 1000;
}
.dropdown:hover .dropdown-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dropdown-menu:hover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dropdown-category {
  margin-bottom: 16px;
}
.dropdown-category-title {
  font-size: 12px;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.dropdown-item {
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
  color: inherit;
}
.dropdown-item:hover {
  background: #f0f9ff;
}
.dropdown-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}
.dropdown-item-desc {
  font-size: 13px;
  color: #64748b;
}

/* Page styles */
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
section { padding: 60px 0; }
.ai-agent {
  width: 200px;
  height: 280px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}
.ai-head {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
  position: relative;
  margin: 0 auto 20px;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}
.ai-head::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  top: -10px;
  left: -10px;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}
.ai-hair {
  position: absolute;
  top: -18px;
  left: 15px;
  width: 110px;
  height: 45px;
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 55% 55% 48% 48%;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}
.ai-hair::before {
  content: '';
  position: absolute;
  width: 35px;
  height: 50px;
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 60% 30% 45% 55%;
  top: 10px;
  left: -10px;
  transform: rotate(-18deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.ai-hair::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 50px;
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 30% 60% 55% 45%;
  top: 10px;
  right: -10px;
  transform: rotate(18deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.ai-hair-texture {
  position: absolute;
  width: 40px;
  height: 38px;
  background: linear-gradient(180deg, #4a5568 0%, #3d4451 100%);
  border-radius: 50% 50% 42% 42%;
  top: 5px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}
.ai-hair-texture::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 32px;
  background: linear-gradient(180deg, #4a5568 0%, #3d4451 100%);
  border-radius: 50% 45% 48% 52%;
  top: 8px;
  left: -16px;
  transform: rotate(-10deg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.ai-hair-texture::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 32px;
  background: linear-gradient(180deg, #4a5568 0%, #3d4451 100%);
  border-radius: 45% 50% 52% 48%;
  top: 8px;
  right: -16px;
  transform: rotate(10deg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.ai-headset {
  position: absolute;
  width: 160px;
  height: 140px;
  top: -10px;
  left: -10px;
  z-index: 1;
}
.ai-headset::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 10px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 50% 50% 0 0;
  top: 0;
  left: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ai-headset::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 38px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 50%;
  top: 35px;
  left: 0px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  border: 2px solid #3b82f6;
}
.ai-headset-right {
  position: absolute;
  width: 28px;
  height: 38px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 50%;
  top: 35px;
  right: 0px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  border: 2px solid #3b82f6;
}
.ai-headset-mic {
  position: absolute;
  width: 4px;
  height: 40px;
  background: #1e293b;
  border-radius: 2px;
  bottom: 25px;
  left: 8px;
  transform: rotate(-25deg);
}
.ai-headset-mic::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
  bottom: -2px;
  left: -3px;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
  animation: micPulse 2s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.8); }
  50% { box-shadow: 0 0 20px rgba(59, 130, 246, 1); }
}
.ai-eye {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50px;
  animation: blink 4s infinite;
}
.ai-eye.left { left: 35px; }
.ai-eye.right { right: 35px; }
.ai-eye::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
}
.ai-mouth {
  width: 60px;
  height: 30px;
  border: 3px solid #fff;
  border-top: none;
  border-radius: 0 0 60px 60px;
  position: absolute;
  bottom: 30px;
  left: 40px;
  animation: talk 0.5s infinite;
}
@keyframes talk {
  0%, 100% { height: 30px; }
  50% { height: 20px; }
}
@keyframes blink {
  0%, 48%, 52%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}
.ai-glasses {
  position: absolute;
  top: 45px;
  left: 25px;
  width: 90px;
  height: 40px;
  z-index: 10;
}
.ai-glasses::before {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  border: 3px solid #fff;
  border-radius: 50%;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
}
.ai-glasses::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  border: 3px solid #fff;
  border-radius: 50%;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
}
.ai-glasses-bridge {
  position: absolute;
  width: 12px;
  height: 3px;
  background: #fff;
  top: 17px;
  left: 39px;
}
.ai-body {
  width: 120px;
  height: 100px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 20px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}
.ai-arm {
  width: 15px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 10px;
  position: absolute;
  top: 10px;
}
.ai-arm.left { 
  left: -20px; 
  transform: rotate(-20deg);
}
.ai-arm.right { 
  right: -20px; 
  transform: rotate(20deg);
  animation: presentText 4s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes presentText {
  0%, 100% { transform: rotate(45deg) translateX(20px) translateY(5px); }
  25% { transform: rotate(50deg) translateX(30px) translateY(0px); }
  50% { transform: rotate(55deg) translateX(35px) translateY(-5px); }
  75% { transform: rotate(48deg) translateX(28px) translateY(2px); }
}
.ai-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.speech-bubble {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  border: 2px solid #e2e8f0;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 20px solid #e2e8f0;
}
.speech-bubble-right {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  border: 2px solid #e2e8f0;
}
.speech-bubble-right::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 50px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid #e2e8f0;
}
.ai-agent-mirrored .ai-arm.left {
  animation: presentText 4s ease-in-out infinite;
  transform-origin: top center;
}
.ai-agent-mirrored .ai-arm.right {
  animation: none;
  transform: rotate(20deg);
}
.diff-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.diff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.fade-in { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: all 0.8s ease;
}
.fade-in.visible { 
  opacity: 1; 
  transform: translateY(0); 
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  section { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .story-grid { grid-template-columns: 1fr !important; }
  .ai-agent { width: 150px; height: 210px; margin: 0 auto 30px; }
}
