/* src/styles.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #131112;
  color: #e8e6e8;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > div#app > main {
  display: flex;
  flex-flow: column;
  min-height: 100svh;
}
a {
  text-decoration: none;
}
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  flex: 1;
  padding: 2rem;
}
.home__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  width: 100%;
  gap: 1.5rem;
}
.home__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(252, 81, 166, 0.35);
  color: #fc51a6;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home__title {
  margin: 0;
  font-family:
    "Geist Mono",
    "IBM Plex Sans Arabic",
    monospace;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f5f3f5;
}
.home__subtitle a,
.home__subtitle a:visited,
.home__subtitle a:hover {
  color: #fc51a6;
}
.home__subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #9d969d;
}
.home__command-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.home__tabs {
  display: flex;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  width: fit-content;
}
.home__tab {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  color: #6b636b;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.home__tab + .home__tab {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.home__tab--active {
  background: rgba(252, 81, 166, 0.1);
  color: #fc51a6;
}
.home__tab:hover:not(.home__tab--active) {
  color: #c8bfc8;
  background: rgba(255, 255, 255, 0.05);
}
.home__command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 8px 8px 8px;
}
.home__code {
  font-family:
    "SF Mono",
    "Fira Code",
    "Fira Mono",
    Menlo,
    Monaco,
    Consolas,
    "Courier New",
    monospace;
  font-size: 0.9rem;
  color: #e8e6e8;
  background: none;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home__copy {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(252, 81, 166, 0.12);
  color: #fc51a6;
  border: 1px solid rgba(252, 81, 166, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.home__copy:hover {
  background: rgba(252, 81, 166, 0.22);
  border-color: rgba(252, 81, 166, 0.5);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spin {
  animation: spin 0.8s linear infinite;
}
.lucide-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.home__llms-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.home__llms {
  font-size: 0.85rem;
  color: #6b636b;
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.home__llms:hover {
  color: #9d969d;
}
.home__llms-menu-wrapper {
  position: relative;
}
@keyframes rainbow-border {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
.home__llms-trigger {
  position: relative;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0ecf0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
  background:
    linear-gradient(
      90deg,
      #8b1a5a,
      #8b4a0e,
      #7a6800,
      #1a6b3a,
      #1a4d7a,
      #4a1a8b,
      #8b1a5a);
  background-size: 200% 100%;
  animation: rainbow-border 4s linear infinite;
  transition:
    opacity 0.15s,
    transform 0.1s,
    padding 0.1s,
    border-radius 0.2s;
}
.home__llms-trigger:hover,
.home__llms-trigger.home__llms-trigger--open {
  opacity: 0.9;
  padding: 8px 8px;
  border-radius: 4px;
  transform: scale(1.05);
}
.home__llms-trigger--open {
  opacity: 0.85;
  transform: scale(0.98);
}
.home__llms-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #1e1b1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.home__llms-dropdown[data-visible=false] {
  visibility: hidden;
  pointer-events: none;
}
.home__llms-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.82rem;
  color: #9d969d;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
  font-family: inherit;
}
.home__llms-option:disabled {
  opacity: 0.6;
  cursor: default;
}
.home__llms-option + .home__llms-option {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.home__llms-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e8e6e8;
}
.home__footer {
  text-align: center;
  padding: 1rem 2rem;
  color: #6b636b;
  font-size: 0.8rem;
}
.home__footer a {
  color: #fc51a6;
}
