/* Marketing surfaces: landing page and auth screens. */

.hero-wrap {
  position: relative;
  overflow: hidden;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: -30% 10% auto 10%;
  height: 560px;
  background:
    radial-gradient(45% 60% at 25% 35%, rgba(99, 102, 241, 0.3), transparent 70%),
    radial-gradient(40% 55% at 78% 15%, rgba(6, 182, 212, 0.18), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 3.25rem;
  }
}

.hero h1 span {
  background: linear-gradient(115deg, #ffffff 25%, #a5b4fc 65%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 1.1rem;
  max-width: 34rem;
  font-size: 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ghost);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

/* product preview card */

.preview {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-strong);
  background: rgba(17, 24, 39, 0.72);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--hairline);
  background: rgba(10, 14, 22, 0.6);
}

.preview-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.preview-title {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ghost);
}

.preview-body {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 292px;
}

.preview-side {
  border-right: 1px solid var(--hairline);
  padding: 0.85rem 0.7rem;
  display: grid;
  gap: 0.35rem;
  align-content: start;
  background: rgba(10, 14, 22, 0.45);
}

.preview-side span {
  font-size: 12px;
  color: var(--ghost);
  padding: 0.28rem 0.45rem;
  border-radius: 5px;
}

.preview-side span.on {
  color: #e0e7ff;
  background: var(--indigo-soft);
}

.preview-main {
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.bubble {
  max-width: 84%;
  padding: 0.5rem 0.7rem;
  border-radius: 8px 8px 8px 2px;
  background: var(--surface-raised);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: #e2e8f0;
}

.bubble.agent {
  margin-left: auto;
  border-radius: 8px 8px 2px 8px;
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
}

.bubble small {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ghost);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.typing {
  display: inline-flex;
  gap: 3px;
  margin-top: 0.4rem;
}

.typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}

/* sections */

.section {
  padding: 3.5rem 0 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.85rem;
}

.feature {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: rgba(17, 24, 39, 0.55);
}

.feature h3 {
  margin-bottom: 0.4rem;
}

.feature p {
  font-size: 13.5px;
  color: var(--muted);
}

.feature .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: var(--indigo-soft);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  font-family: var(--mono);
  font-size: 12px;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stack span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px 10px;
}

.cta-band {
  margin-top: 3.5rem;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.28);
  background:
    radial-gradient(60% 120% at 80% 0%, rgba(99, 102, 241, 0.22), transparent 70%),
    rgba(17, 24, 39, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band p {
  color: var(--muted);
  margin-top: 0.35rem;
  font-size: 14px;
}

/* auth */

.auth-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem 4rem;
}

.auth-card {
  width: min(420px, 100%);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-strong);
  background: rgba(17, 24, 39, 0.8);
  box-shadow: 0 32px 80px -48px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.auth-card h1 {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.auth-card .sub {
  margin-top: 0.4rem;
  margin-bottom: 1.4rem;
  font-size: 14px;
  color: var(--muted);
}

.auth-card .button {
  width: 100%;
  margin-top: 0.35rem;
}

.auth-foot {
  margin-top: 1.15rem;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0;
  color: var(--ghost);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.hint {
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--ghost);
}
