/* ===== NEW HERO AI & EDITOR DECORATION ===== */

.hero-scene-new {
  width: 100%;
  height: 650px;
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}

.ai-logos-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: float-logos 4s ease-in-out infinite;
}

@keyframes float-logos {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.ai-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.ai-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  -webkit-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.3s;
}

.ai-logo:hover::before {
  opacity: 1;
}

.ai-logo:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.ai-logo.grock {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
}

.ai-logo.grock:hover {
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.ai-logo.chatgpt {
  background: linear-gradient(135deg, #74aa9c 0%, #10a37f 100%);
  color: #fff;
}

.ai-logo.chatgpt:hover {
  box-shadow: 0 15px 40px rgba(16, 163, 127, 0.4);
}

.ai-logo.claude {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
}

.ai-logo.claude:hover {
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.ai-logo.gemini {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
}

.ai-logo.gemini:hover {
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Image-based AI logos */
.ai-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ai-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-logo-img:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.editor-container {
  width: 100%;
  max-width: 500px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(59, 130, 246, 0.2),
    0 0 60px rgba(139, 92, 246, 0.15);
  transform-style: preserve-3d;
  animation: float 4s ease-in-out infinite, rotate3d 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotateX(5deg) rotateZ(2deg); }
  50% { transform: translateY(-20px) rotateX(8deg) rotateZ(-2deg); }
}

@keyframes rotate3d {
  0%, 100% { 
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(2deg) translateY(0px);
  }
  50% { 
    transform: rotateX(8deg) rotateY(5deg) rotateZ(-2deg) translateY(-20px);
  }
}

.glow-background {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 70%),
              radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
  animation: pulse 3s ease-in-out infinite;
}

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

.editor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #0f172a 0%, #1a2332 100%);
  border-bottom: 1px solid #334155;
  position: relative;
  z-index: 3;
}

.file-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px 8px 0 0;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.file-tab.active {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.file-icon { font-size: 14px; }
.file-lang { margin-left: auto; color: #64748b; font-size: 10px; }

.brand-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  margin-left: auto;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.toolbar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #334155, #475569);
  border: 1px solid #475569;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
}

.icon-btn:hover {
  background: linear-gradient(135deg, #475569, #64748b);
  color: #f1f5f9;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.editor-content {
  padding: 16px;
  background: #1e293b;
  max-height: 260px;
  overflow-y: hidden;
}

.code-line {
  display: flex;
  align-items: center;
  height: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: #cbd5e1;
}

.line-num {
  display: inline-block;
  width: 28px;
  color: #64748b;
  text-align: right;
  padding-right: 14px;
  user-select: none;
  flex-shrink: 0;
}

.keyword { color: #f472b6; font-weight: 500; }
.string { color: #86efac; }
.function { color: #38bdf8; font-weight: 500; }
.type { color: #a78bfa; }

.editor-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #1a2332 0%, #0f172a 100%);
  border-top: 1px solid #334155;
  font-size: 11px;
  color: #94a3b8;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.status-text {
  color: #10b981;
  font-weight: 500;
  margin-left: 6px;
}

.time { margin-left: auto; }

/* ===== Tech Stack Badges ===== */
.tech-badges-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  animation: float-logos 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: default;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tech-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tech-badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
