/* ===================================================================
   NEXUS AGENTS — N8N OVERVIEW STYLES & LOVABLE MESH HERO
   =================================================================== */

.lovable-hero-section {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 24px clamp(50px, 7vw, 80px);
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  box-shadow: none;
  background-color: #000000;
}

/* Brand-New Vertical Aurora Light Sweep & Ambient Shimmer Pulse */
.lovable-hero-bg-glow {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
  transform: translate3d(0, 0, 0);
  /* Multi-layered soft radial mesh glow with prominent TOP-CENTER BLACK RADIAL SHADOW over #15161B base */
  background:
    /* 1. TOP-CENTER BLACK RADIAL SHADOW directly framing heading from above */
    radial-gradient(ellipse 55% 42% at 50% 0%,
      rgba(4, 5, 8, 0.98) 0%,
      rgba(8, 10, 15, 0.90) 35%,
      rgba(15, 18, 28, 0.65) 60%,
      transparent 100%),
    /* 2. LEFT BLUE GLOW */
    radial-gradient(ellipse 70% 55% at 5% 30%,
      rgba(45, 95, 255, 0.88) 0%,
      rgba(50, 80, 220, 0.55) 35%,
      transparent 75%),
    /* 3. RIGHT BLUE GLOW */
    radial-gradient(ellipse 70% 55% at 95% 30%,
      rgba(45, 95, 255, 0.88) 0%,
      rgba(50, 80, 220, 0.55) 35%,
      transparent 75%),
    /* 4. PURPLE / VIOLET CENTER TRANSITION */
    radial-gradient(ellipse 75% 55% at 50% 50%,
      rgba(120, 45, 190, 0.52) 0%,
      rgba(90, 35, 160, 0.32) 45%,
      transparent 75%),
    /* 5. PINK / MAGENTA LOWER GLOW (rising behind input box area) */
    radial-gradient(ellipse 95% 65% at 50% 78%,
      rgba(245, 25, 160, 0.90) 0%,
      rgba(235, 20, 140, 0.62) 40%,
      transparent 80%),
    /* 6. HOT PINK / RED BOTTOM HORIZON */
    radial-gradient(ellipse 100% 55% at 50% 110%,
      rgba(255, 40, 80, 0.88) 0%,
      rgba(245, 25, 100, 0.58) 45%,
      transparent 80%),
    /* 7. Base dark charcoal background */
    #15161B;
  animation: auroraSweepUp 3.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    auroraShimmerPulse 14s ease-in-out 3.2s infinite alternate;
}

/* Hero Text — NO animation, always fully visible */
.lovable-hero-title,
.lovable-hero-subtitle,
.lovable-prompt-outer,
.lovable-prompt-container {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: none;
}

/* Radiant vertical sweep of aurora light upwards from pitch black base */
@keyframes auroraSweepUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 75px, 0) scale(0.93);
  }

  40% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Continuous Ambient Aurora Shimmer Pulse */
@keyframes auroraShimmerPulse {
  0% {
    opacity: 0.94;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate3d(0, -8px, 0) scale(1.02);
  }

  100% {
    opacity: 0.96;
    transform: translate3d(0, 4px, 0) scale(1.01);
  }
}

@keyframes auroraTextAscent {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.lovable-hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff !important;
  margin-bottom: 10px;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lovable-hero-title .highlight {
  color: #ffffff !important;
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
}

.lovable-hero-subtitle {
  font-size: clamp(0.9rem, 1.7vw, 1.08rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Outer wrapper for prompt area — plain flex column, no glow */
.lovable-prompt-outer {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Prompt Box Glow Ring Container — wraps ONLY the input box */
.lovable-prompt-container {
  width: 100%;
  position: relative;
  border-radius: 22px;
  padding: 2px;
  /* 2px gap = glow ring thickness */
  background: linear-gradient(var(--angle, 0deg),
      rgba(45, 95, 255, 0.9),
      rgba(120, 45, 190, 0.85),
      rgba(245, 25, 160, 0.9),
      rgba(255, 40, 80, 0.85),
      rgba(45, 95, 255, 0.9));
  animation: borderGlowRotate 4s linear infinite;
  box-shadow:
    0 0 20px rgba(45, 95, 255, 0.5),
    0 0 40px rgba(245, 25, 160, 0.3);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderGlowRotate {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

.lovable-prompt-box {
  background: rgba(20, 21, 28, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: none;
  border-radius: 20px !important;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.2s ease;
  text-align: left;
  /* Ensure box sits inside the glowing border ring */
  position: relative;
  z-index: 1;
}

.lovable-prompt-box:focus-within {
  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 109, 90, 0.3);
}

.lovable-prompt-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: #ffffff;
  padding: 4px 2px;
}

.lovable-prompt-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.lovable-prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lovable-select {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 10px 14px;
  min-height: 42px;
  border-radius: 0px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lovable-select option {
  background: #18181C;
  color: #ffffff;
}

.lovable-select:focus {
  border-color: var(--n8n-coral);
}

.lovable-submit-btn {
  background: linear-gradient(135deg, var(--n8n-coral), var(--n8n-pink));
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 22px;
  min-height: 42px;
  border-radius: 0px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.lovable-submit-btn:hover {
  opacity: 0.9;
}

/* Prompt Shortcut Chips */
.lovable-shortcuts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  width: 100%;
  padding: 6px 2px 10px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

.lovable-shortcuts::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.lovable-shortcut-tag {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 7px 16px;
  border-radius: 0px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.lovable-shortcut-tag:hover {
  border-color: var(--n8n-coral);
  color: #ffffff;
  background: rgba(255, 109, 90, 0.15);
}

/* Mobile Sidebar Toggle Button Floating in Corner */
.landing-mobile-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0px;
}

.landing-mobile-toggle:hover {
  color: var(--n8n-coral);
  border-color: var(--n8n-coral);
}

@media (max-width: 900px) {
  .landing-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  body.home-page {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed;
    width: 100%;
  }

  .lovable-hero-section {
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 100vh !important;
    padding: 48px 16px 70px !important;
    justify-content: center;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .lovable-hero-title {
    font-size: 2.1rem !important;
    margin-bottom: 10px;
  }

  .lovable-hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .lovable-prompt-outer,
  .lovable-prompt-container {
    max-width: 100%;
    width: 100%;
  }

  .lovable-prompt-box {
    padding: 14px 14px !important;
    border-radius: 16px !important;
    gap: 10px;
  }

  .lovable-prompt-input {
    font-size: 0.9rem;
    padding: 4px;
  }

  .lovable-prompt-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lovable-select {
    width: 100%;
    font-size: 0.84rem;
    padding: 10px 12px;
    border-radius: 6px;
    min-height: 44px;
  }

  .lovable-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.92rem;
    border-radius: 6px;
    min-height: 44px;
  }

  /* Horizontal scrollable shortcut tags on mobile */
  .lovable-shortcuts {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 8px 4px 12px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .lovable-shortcuts::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .lovable-shortcut-tag {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }
}

padding: 11px 16px;
font-size: 0.92rem;
border-radius: 6px;
min-height: 44px;
}

/* Horizontal scrollable shortcut tags on mobile */
.lovable-shortcuts {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 8px 4px 12px !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.lovable-shortcuts::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.lovable-shortcut-tag {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  font-size: 0.78rem !important;
  padding: 6px 12px !important;
}
}