/* Custom Hero Section Inspired by Reference */
.hero-custom {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(to bottom, #F0F2F4 0%, #F0F2F4 60%, #172124 100%);
  z-index: 1;
}

/* Clear existing hero pseudo-elements */
.hero.hero-custom::before, .hero.hero-custom::after {
  display: none;
}

/* Pixelation/Grain effect overlay for the transition */
.hero-custom-grain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.25'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

.hero-custom-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  margin-top: -8vh;
}

.hero-custom-title {
  /* Using serif font to match the reference */
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 76px;
  font-weight: 500;
  color: #1A2125;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-custom-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  color: #555;
  margin-bottom: 50px;
  font-weight: 400;
}

/* Floating UI Box */
.hero-floating-ui {
  background-color: #2D3338; /* Dark slate */
  border-radius: 16px;
  padding: 24px 28px;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 15px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 35px;
  text-align: left;
}

.ui-greeting {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
}

.ui-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-input-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ui-mic-btn {
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color 0.2s;
}

.ui-mic-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.ui-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ui-chip {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-chip:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.ui-chip svg {
  opacity: 0.7;
}

.ui-submit-btn {
  background-color: white;
  color: #1A2125;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background-color 0.2s;
}

.ui-submit-btn:hover {
  transform: translateY(-2px);
  background-color: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-custom-title {
    font-size: 46px;
  }
  
  .hero-floating-ui {
    padding: 20px;
    gap: 25px;
  }
  
  .ui-bottom {
    align-items: flex-start;
  }
  
  .ui-input-placeholder {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .ui-mic-btn {
    display: none; /* Hide mic on small screens for space */
  }
  
  .ui-actions {
    gap: 8px;
  }
  
  .ui-submit-btn {
    margin-top: auto;
    flex-shrink: 0;
  }
}
