/* style.css - AI Builder UI */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #7f5af0, #16161a 45%, #0f172a 100%);
  color: #e5e7eb;
  overflow: hidden;
}

/* background moving blobs */
.bg-blur {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.6;
  z-index: -1;
  animation: blobMove 18s infinite alternate ease-in-out;
}
.bg-blur.one { background: #7f5af0; top: -100px; left: -80px; }
.bg-blur.two { background: #2cb67d; bottom: -120px; right: -60px; animation-delay: -8s; }

@keyframes blobMove {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px,-30px) scale(1.1); }
  100% { transform: translate(-40px,40px) scale(1.05); }
}

.page-wrapper {
  width: 100%;
  max-width: 1080px;
  padding: 24px;
}

/* glass card */
.card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  animation: fadeInUp 0.6s ease-out;
}

@media (max-width: 780px) {
  .card {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }
}

/* animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(148, 163, 184, 0.12);
  color: #e5e7eb;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.8);
}

.page-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  margin: 18px 0 10px;
}

.page-title span {
  background: linear-gradient(120deg,#f97316,#eab308,#22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.page-subtitle {
  font-size: 14px;
  color: #9ca3af;
  max-width: 460px;
}

.highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.highlight-pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
}

/* CTA buttons */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(120deg,#6366f1,#8b5cf6,#ec4899);
  color: white;
  box-shadow: 0 14px 35px rgba(79,70,229,.55);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 16px 40px rgba(79,70,229,.75);
}

.btn-outline {
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-outline:hover {
  transform: translateY(-1px);
  background: rgba(15,23,42,1);
}

/* feature list */
.feature-list {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.feature-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #cbd5f5;
}

.feature-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* right column / form */

.form-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.9);
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 12px;
}

label {
  font-size: 12px;
  color: #9ca3af;
  display: block;
  margin-bottom: 4px;
}

input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  transition: border .15s, box-shadow .15s, background .15s;
}

input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.6);
  background: rgba(15,23,42,1);
}

.error {
  font-size: 12px;
  color: #f97373;
  margin-bottom: 6px;
}

.success {
  font-size: 12px;
  color: #4ade80;
  margin-bottom: 6px;
}

.form-footer {
  margin-top: 10px;
  font-size: 11px;
  color: #9ca3af;
}

/* home page */

.home-body {
  background: #020617;
  color: #e5e7eb;
}

.home-container {
  width: 100%;
  max-width: 1200px;
  padding: 22px;
}

.home-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.home-logo {
  font-size: 18px;
  font-weight: 600;
}

.home-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
}

.home-main {
  margin-top: 40px;
}