.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 0;
  flex-shrink: 0;
}

.hero-heading {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  min-height: 42px;
}

.hero-heading .rotating-text {
  display: inline-block;
  animation: fadeRotate 4s ease-in-out infinite;
}

@keyframes fadeRotate {
  0%, 25% { opacity: 1; transform: translateY(0); }
  30%, 35% { opacity: 0; transform: translateY(-10px); }
  40%, 100% { opacity: 1; transform: translateY(0); }
}

.ask-nansen-box {
  width: 100%;
  max-width: 702px;
  position: relative;
}

.ask-input-wrapper {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(0, 255, 167, 0.3) 0%, rgba(111, 138, 166, 0.3) 100%);
  padding: 1px;
  box-shadow: 0 0 20px rgba(29, 216, 159, 0.08), 0 0 40px rgba(29, 216, 159, 0.04);
}

.ask-input-inner {
  border-radius: inherit;
  background: #06101A;
  overflow: hidden;
  padding: 20px;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ask-input-top {
  display: flex;
  align-items: center;
  padding: 0 0 8px;
}

.ask-input-top input {
  flex: 1;
  font-size: 16px;
  line-height: 20px;
  color: var(--text-primary);
  background: transparent;
  caret-color: rgb(0, 255, 167);
}

.ask-input-top input::placeholder {
  color: var(--text-tertiary);
}

.ask-shortcut {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.ask-shortcut kbd {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 3px;
  padding: 0 4px;
  font-size: 10px;
  font-family: inherit;
  line-height: 18px;
}

.ask-input-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.ask-controls-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ask-control-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 8px 4px 8px 8px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid #2B3540;
  background: transparent;
  transition: all var(--transition-fast);
}

.ask-control-btn:hover {
  border-color: var(--text-secondary);
}

.ask-control-btn.fast {
  color: var(--text-primary);
}

.ask-control-btn svg {
  width: 14px;
  height: 14px;
}

.ask-control-btn[disabled] {
  opacity: 0.5;
  pointer-events: auto;
  cursor: default;
  color: var(--text-secondary);
}

.ask-control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 32px;
  padding: 4px 12px;
  border-radius: 100px;
  background-color: #121C26;
  border: none;
  color: var(--text-secondary);
  transition: background-color 150ms ease, color 150ms ease;
}

.ask-control-icon:hover {
  background-color: #1a2834;
  color: var(--text-primary);
}

.ask-control-icon[disabled] {
  opacity: 0.5;
  background-color: #121C26;
  color: rgba(148, 159, 168, 0.7);
  pointer-events: auto;
  cursor: default;
}

.ask-control-icon svg {
  width: 18px;
  height: 18px;
}

.ask-controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ask-signup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green-accent);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.ask-signup-btn:hover {
  background: #17c28d;
}

.ask-send-btn-ring {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ask-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0a1520;
  color: var(--text-secondary);
  border: none;
  transition: all var(--transition-fast);
}

.ask-send-btn:hover {
  background: #121C26;
  color: var(--text-primary);
}

.ask-send-btn svg {
  width: 16px;
  height: 16px;
}

.hero-actions {
  display: none;
}

.suggestions-row {
  width: 100%;
  overflow: hidden;
  margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 68px, rgb(0,0,0) calc(100% - 68px), rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0,0,0) 68px, rgb(0,0,0) calc(100% - 68px), rgba(0,0,0,0) 100%);
}

.suggestions-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  animation: scrollSuggestions 105s linear infinite;
  width: max-content;
  padding: 6px 4px;
}

@keyframes scrollSuggestions {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.suggestion-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 1);
  outline: none;
  border-radius: 16px;
  max-width: 320px;
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.suggestion-pill span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.4px;
  color: rgb(148, 159, 168);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 899px) {
  .suggestion-pill {
    max-width: 280px;
  }
}

@media (max-width: 599px) {
  .suggestion-pill {
    max-width: 240px;
  }
}

.suggestion-pill:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.suggestion-pill:hover span {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 20px 12px 0;
  }
  .hero-heading {
    font-size: 22px;
    min-height: 30px;
    margin-bottom: 16px;
  }
  .ask-nansen-box {
    max-width: 100%;
  }
  .ask-input-inner {
    padding: 14px;
    min-height: 90px;
  }
  .ask-input-top input {
    font-size: 14px;
  }
  .ask-control-btn {
    font-size: 12px;
    height: 28px;
    padding: 6px 4px 6px 6px;
  }
  .ask-control-btn svg {
    width: 12px;
    height: 12px;
  }
  .ask-control-icon {
    height: 28px;
    min-width: 28px;
    padding: 4px 8px;
  }
  .ask-control-icon svg {
    width: 16px;
    height: 16px;
  }
  .ask-signup-btn {
    font-size: 11px;
    height: 28px;
    padding: 0 10px;
  }
  .ask-send-btn {
    width: 28px;
    height: 28px;
  }
  .suggestions-row {
    margin-top: 12px;
  }
  .suggestion-pill {
    padding: 12px;
    height: 42px;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .ask-input-inner {
    padding: 12px;
    min-height: auto;
  }
  .ask-input-top {
    padding: 0 0 6px;
  }
  .ask-input-top input {
    font-size: 13px;
  }
  .ask-shortcut {
    display: none;
  }
  .ask-signup-btn {
    display: none;
  }
  .ask-control-btn .chevron {
    display: none;
  }
  .suggestion-pill {
    padding: 10px;
    height: 38px;
    max-width: 240px;
  }
}
