/* Enhanced Hero Section Styling for Siylis Memory System */

/* Hero container with interactive background */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, var(--ge-blue-dark) 0%, var(--twilight-dark) 100%);
  overflow: hidden;
  z-index: 1;
}

/* p5.js background container */
#p5-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Overlay for better text contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, 
    rgba(3, 11, 20, 0.4) 0%, 
    rgba(3, 11, 20, 0.6) 70%, 
    rgba(3, 11, 20, 0.8) 100%);
  z-index: -1;
}

/* Accent lines for design flair */
.accent-line {
  position: absolute;
  background: linear-gradient(135deg, var(--ge-gold) 0%, transparent 80%);
  opacity: 0.15;
  z-index: 0;
}

.accent-line.accent-top-left {
  top: 0;
  left: 0;
  width: 30%;
  height: 2px;
}

.accent-line.accent-bottom-right {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 30%;
}

/* SVG Ornaments */
.svg-ornament {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.3;
  z-index: 0;
}

.svg-ornament-top-left {
  top: 40px;
  left: 40px;
  animation: float-gentle 8s ease-in-out infinite;
}

.svg-ornament-bottom-right {
  bottom: 40px;
  right: 40px;
  animation: float-gentle 10s ease-in-out infinite reverse;
}

@keyframes float-gentle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(5px, -5px) rotate(1deg); }
  50% { transform: translate(-3px, 8px) rotate(-1deg); }
  75% { transform: translate(-7px, -3px) rotate(0.5deg); }
}

/* Hero content container */
.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 40px;
  backdrop-filter: blur(5px);
  background: rgba(3, 11, 20, 0.3);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Title styling */
.hero-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.title-accent {
  position: absolute;
  bottom: -5px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ge-gold), transparent);
}

.site-title {
  font-size: 5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 6px;
  color: var(--ge-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 1rem 0 1.5rem;
  color: var(--ge-amber);
  text-shadow: 0 0 10px rgba(255, 191, 0, 0.3);
}

.hero-subheader {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ge-text);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Call to action buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--ge-gold) 0%, var(--ge-amber) 100%);
  color: var(--ge-blue-dark);
  border: none;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.cta-button.secondary {
  background: rgba(10, 31, 53, 0.7);
  color: var(--ge-text);
  border: 2px solid var(--ge-gold);
}

.cta-button.secondary:hover {
  background: rgba(26, 74, 107, 0.7);
  color: var(--ge-amber);
  transform: translateY(-2px);
}

.cta-icon {
  font-size: 1.2rem;
}

.soon-tag {
  font-size: 0.8rem;
  opacity: 0.8;
  background: rgba(212, 175, 55, 0.2);
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Feature tags */
.hero-features {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 31, 53, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 0.9rem;
  color: var(--ge-text);
}

.feature-icon {
  font-size: 1.1rem;
}

/* Privacy badge */
.privacy-badge {
  font-size: 0.85rem;
  color: var(--ge-text);
  opacity: 0.7;
  margin-top: 20px;
}

/* Enhanced AI Greeter */
.ai-greeter {
  max-width: 800px;
  margin: 2rem auto 0;
  position: relative;
  background-color: rgba(10, 31, 51, 0.6);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--ge-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.ai-greeter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-conic-gradient(
    rgba(100, 100, 160, 0.03) 0deg,
    rgba(100, 100, 160, 0) 10deg, 
    rgba(100, 100, 160, 0.03) 20deg,
    rgba(100, 100, 160, 0) 30deg
  );
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.ai-identity {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ai-avatar {
  width: 60px;
  height: 60px;
  background-color: var(--ge-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  position: relative;
  border: 2px solid var(--ge-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.ai-avatar::before {
  content: '◉';
  font-size: 30px;
  color: var(--ge-amber);
}

.ai-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--ge-gold);
  margin: 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.ai-title {
  font-size: 14px;
  color: var(--ge-text);
  opacity: 0.8;
  margin: 0;
}

.ai-message {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  color: var(--ge-text);
}

.ai-message-typing {
  display: none;
  margin-top: 15px;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
}

.typing-indicator span {
  height: 7px;
  width: 7px;
  background-color: var(--ge-amber);
  border-radius: 50%;
  display: inline-block;
  margin-right: 3px;
  animation: typingBounce 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive design */
@media (max-width: 1024px) {
  .site-title {
    font-size: 4rem;
  }
  
  .hero-tagline {
    font-size: 1.8rem;
  }
  
  .hero-content {
    max-width: 700px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 15px 50px;
  }
  
  .site-title {
    font-size: 3rem;
  }
  
  .hero-tagline {
    font-size: 1.5rem;
  }
  
  .hero-subheader {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  .cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .svg-ornament {
    width: 100px;
    height: 100px;
  }
  
  .svg-ornament-top-left {
    top: 20px;
    left: 20px;
  }
  
  .svg-ornament-bottom-right {
    bottom: 20px;
    right: 20px;
  }
  
  .ai-message {
    font-size: 16px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
}