:root {
  --bg: #10161d;
  --bg-soft: #192531;
  --surface: #f7f4e8;
  --ink: #131519;
  --accent-a: #ff6f3c;
  --accent-b: #29d3c0;
  --accent-c: #ffd046;
  --line: #22303d;
  --muted: #7f8b99;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--surface);
  background:
    radial-gradient(1200px 800px at 90% -5%, #1d3549 0%, transparent 60%),
    radial-gradient(900px 700px at 0% 15%, #3e271f 0%, transparent 60%),
    linear-gradient(130deg, #0f1218, #111b25 45%, #16202a);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 15% 35%, #fff 1px, transparent 1px),
    radial-gradient(circle at 75% 65%, #fff 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
  z-index: 0;
}

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 111, 60, 0.22), rgba(255, 111, 60, 0) 65%);
  left: var(--mx, -400px);
  top: var(--my, -400px);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: left 0.2s ease-out, top 0.2s ease-out;
}

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1100px, 94vw);
  margin: 18px auto 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-b), var(--accent-c));
}

.brand-text {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.soon-pill {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #3f6078;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: #d0e4f2;
}

.ghost-btn {
  text-decoration: none;
  color: var(--surface);
  border: 1px solid #395365;
  border-radius: 999px;
  padding: 0.56rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ghost-btn:hover {
  border-color: #6c92ad;
  background: rgba(255, 255, 255, 0.04);
}

main {
  width: min(1100px, 94vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}

.hero-copy {
  padding: 16px 0;
}

.eyebrow {
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent-c);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  max-width: 13ch;
}

h1 span {
  color: var(--accent-b);
}

.subhead {
  margin-top: 16px;
  max-width: 52ch;
  color: #d2dae2;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.primary-btn {
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-a), #ffa93f);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 35px rgba(255, 111, 60, 0.35);
  transition: transform 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.text-link {
  color: #dfe8ef;
}

.stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stats article {
  border: 1px solid #274054;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 16px;
  padding: 14px;
}

.stats h3 {
  font-size: 1.36rem;
  margin-bottom: 4px;
}

.stats p {
  margin: 0;
  color: #bfd0de;
  font-size: 0.9rem;
}

.generator-card {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.91)),
    linear-gradient(120deg, rgba(41, 211, 192, 0.2), rgba(255, 111, 60, 0.15));
  color: var(--ink);
  border-radius: 26px;
  padding: 22px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  transform: rotate(-1.2deg);
  position: relative;
}

.generator-card::after {
  content: "";
  position: absolute;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  right: -18px;
  top: -20px;
  background: radial-gradient(circle, var(--accent-c), rgba(255, 208, 70, 0));
  opacity: 0.7;
}

.card-tag {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #42606f;
  font-weight: 700;
}

.coming-note {
  margin: 0 0 8px;
  color: #3a5667;
  font-size: 0.86rem;
  font-weight: 600;
}

.generator-card label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 8px 0 8px;
  color: #2c404c;
}

textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1px solid #9bb2c2;
  border-radius: 14px;
  padding: 0.85rem;
  font: inherit;
  background: #f9fbfe;
  color: #182024;
}

textarea:focus {
  outline: 2px solid rgba(41, 211, 192, 0.35);
  border-color: #46cdbd;
}

.file-drop {
  position: relative;
  margin-top: 0;
  border: 1px dashed #8fa7b7;
  background: linear-gradient(180deg, #fbfdff, #f3f9fd);
  border-radius: 14px;
  padding: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.file-drop:hover {
  border-color: #56b8ac;
  transform: translateY(-1px);
}

.file-drop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-drop span {
  font-size: 0.86rem;
  color: #3b5565;
  font-weight: 600;
}

.controls {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.control {
  border: 1px solid #c8d7e2;
  border-radius: 12px;
  padding: 10px;
  background: #fafcfe;
}

.control label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.control input[type="range"] {
  width: 100%;
  accent-color: #13a999;
}

.control span {
  font-size: 0.83rem;
  color: #45606f;
  font-weight: 600;
}

.generate-btn {
  border: 0;
  width: 100%;
  margin-top: 14px;
  border-radius: 12px;
  padding: 0.84rem 1rem;
  font: inherit;
  font-weight: 700;
  color: white;
  background: linear-gradient(120deg, #163749, #0b8e82, #18637f);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.generate-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.generator-card.is-coming-soon .control,
.generator-card.is-coming-soon .file-drop,
.generator-card.is-coming-soon textarea {
  opacity: 0.74;
}

.progress-wrap {
  margin-top: 12px;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #dce6ec;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff6f3c, #ffd046);
  transition: width 0.26s ease;
}

#progress-label {
  margin: 6px 0 0;
  color: #34505f;
  font-size: 0.82rem;
}

.pipeline,
.waitlist,
.gallery {
  margin-top: 84px;
}

.section-head {
  max-width: 760px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin-top: 5px;
}

.steps {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  border: 1px solid #294357;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: 14px;
  border-radius: 16px;
  min-height: 180px;
  position: relative;
}

.steps span {
  color: var(--accent-a);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.8rem;
}

.steps h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

.steps p {
  color: #c4d5e3;
  line-height: 1.52;
}

.waitlist-card {
  margin-top: 20px;
  width: min(520px, 100%);
  border: 1px solid #2b4357;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.waitlist-card label {
  display: block;
  margin-bottom: 8px;
  color: #d9e5ee;
  font-weight: 600;
}

.waitlist-card input {
  width: 100%;
  border: 1px solid #4e6678;
  background: #14212d;
  color: #f4f8fb;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.waitlist-card input:focus {
  outline: 2px solid rgba(41, 211, 192, 0.35);
  border-color: #60d5c7;
}

.notify-btn {
  margin-top: 12px;
  border: 0;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  font: inherit;
  font-weight: 700;
  color: #0f1d28;
  background: linear-gradient(135deg, var(--accent-c), #ffc27c);
  cursor: pointer;
}

#waitlist-msg {
  margin: 8px 0 0;
  color: #aac0d0;
  font-size: 0.88rem;
}

.gallery-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #2d4253;
  filter: saturate(1.04) contrast(1.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-6px) rotate(0.4deg);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.33);
}

footer {
  width: min(1100px, 94vw);
  margin: 64px auto 26px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #2d4354;
  padding-top: 18px;
  color: #9db3c2;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-0.6deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.generator-card {
  animation: drift 5.5s ease-in-out infinite;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .generator-card {
    transform: none;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    margin-top: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}
