:root {
  --bg: #0c0c0c;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7f1e8;
  --muted: rgba(247, 241, 232, 0.72);
  --accent: #ffb05c;
  --accent-2: #8fd3ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 176, 92, 0.18), transparent 28%),
    radial-gradient(circle at 75% 12%, rgba(143, 211, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #090909 0%, #121212 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

.hero,
.section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0 22px;
}

.brand,
.nav-links a {
  color: var(--text);
  text-decoration: none;
}

.brand {
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links .nav-cta {
  color: var(--text);
}

.hero-inner {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 42px 0 70px;
}

.eyebrow,
.plan-name,
.signal-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.3rem, 8vw, 7.4rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h3 {
  font-size: 1.4rem;
}

.lede,
.hero-trust,
.section-copy,
.thesis-grid p,
.price-panel li,
.price-panel p,
.roadmap-list p,
.signal-card p,
.footer-note,
.intro-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.hero-trust,
.pricing-legal-note {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.preset:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #16110c;
  background: linear-gradient(135deg, #ffd29e 0%, var(--accent) 100%);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-metrics li,
.intro-strip,
.generator-shell,
.thesis-grid article,
.price-panel,
.roadmap-list div,
.signal-card,
.prompt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-metrics li {
  min-width: 154px;
  padding: 14px 16px;
  border-radius: 20px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics span {
  color: var(--muted);
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.cover-fan {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.cover-frame {
  position: absolute;
  width: min(38vw, 290px);
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.cover-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-cover-main {
  z-index: 4;
  transform: translate(22px, 12px) rotate(4deg);
}

.hero-cover-left {
  z-index: 2;
  transform: translate(-150px, -34px) rotate(-11deg);
}

.hero-cover-right {
  z-index: 3;
  transform: translate(168px, -46px) rotate(12deg);
}

.hero-cover-low {
  z-index: 1;
  transform: translate(-30px, 130px) rotate(-2deg);
}

.visual-chip {
  position: absolute;
  z-index: 5;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.64);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(18px);
}

.visual-chip-top {
  top: 38px;
  right: 24px;
}

.visual-chip-bottom {
  left: 26px;
  bottom: 28px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-amber {
  inset: 60px auto auto 20px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 176, 92, 0.95), rgba(255, 176, 92, 0));
}

.orb-ice {
  right: 20px;
  bottom: 50px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(143, 211, 255, 0.75), rgba(143, 211, 255, 0));
}

.signal-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.signal-card {
  width: min(100%, 320px);
  padding: 22px;
  border-radius: 28px;
}

.signal-card-output {
  transform: translateX(80px);
}

.signal-line {
  width: 2px;
  height: 84px;
  margin: 18px 0;
  background: linear-gradient(180deg, rgba(255, 176, 92, 0.9), rgba(143, 211, 255, 0.7));
}

.section {
  padding-bottom: 92px;
}

.intro-strip {
  border-radius: 22px;
  padding: 18px 22px;
  margin-bottom: 88px;
}

.section-heading {
  margin-bottom: 26px;
}

.generator-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 28px;
}

.generator-form {
  display: grid;
  gap: 14px;
}

.generator-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.generator-form input,
.generator-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
}

.generator-form input:focus,
.generator-form select:focus {
  outline: 2px solid rgba(255, 176, 92, 0.45);
  outline-offset: 1px;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preset,
.copy-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.prompt-results {
  display: grid;
  gap: 14px;
  align-content: start;
}

.prompt-card {
  padding: 20px;
  border-radius: 22px;
}

.prompt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.prompt-card p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
  line-height: 1.7;
}

.thesis-grid,
.pricing-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.thesis-grid article,
.price-panel {
  padding: 24px;
  border-radius: 24px;
}

.pricing-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.price-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: "Cormorant Garamond", serif;
}

.price-panel ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-panel li + li {
  margin-top: 10px;
}

.price-panel li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.price-panel-featured {
  background: linear-gradient(180deg, rgba(255, 176, 92, 0.12), rgba(255, 255, 255, 0.08));
}

.pricing-legal-note {
  margin-top: 18px;
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.library-copy p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.8;
}

.library-showcase {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.library-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 176, 92, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(143, 211, 255, 0.16), transparent 24%);
}

.library-cover {
  width: min(26vw, 220px);
  aspect-ratio: 3 / 4;
}

.library-cover-a {
  top: 74px;
  left: 72px;
  z-index: 3;
  transform: rotate(-10deg);
}

.library-cover-b {
  top: 108px;
  left: 250px;
  z-index: 4;
  transform: rotate(-2deg);
}

.library-cover-c {
  top: 76px;
  right: 76px;
  z-index: 3;
  transform: rotate(10deg);
}

.library-cover-d {
  bottom: 62px;
  left: 160px;
  z-index: 2;
  transform: rotate(5deg);
}

.library-cover-e {
  bottom: 52px;
  right: 156px;
  z-index: 1;
  transform: rotate(-7deg);
}

.library-note {
  position: absolute;
  left: 34px;
  bottom: 24px;
  z-index: 5;
  max-width: 280px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.7);
  color: var(--muted);
  line-height: 1.6;
}

.preview-stage {
  position: relative;
  min-height: 640px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(255, 176, 92, 0.17), transparent 24%),
    radial-gradient(circle at bottom left, rgba(143, 211, 255, 0.14), transparent 22%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-panel {
  position: absolute;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.preview-panel img {
  width: 100%;
  height: 100%;
  display: block;
}

.preview-panel-main {
  top: 54px;
  left: 56px;
  width: min(54vw, 540px);
  aspect-ratio: 4 / 5;
  z-index: 2;
}

.preview-panel-top {
  top: 70px;
  right: 48px;
  width: min(32vw, 300px);
  aspect-ratio: 1 / 1;
  z-index: 3;
}

.preview-panel-side {
  bottom: 72px;
  right: 112px;
  width: min(28vw, 250px);
  aspect-ratio: 4 / 5;
  z-index: 2;
}

.preview-note {
  position: absolute;
  left: 96px;
  bottom: 48px;
  z-index: 4;
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.72);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.preview-note strong {
  display: block;
  margin-bottom: 8px;
}

.creative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.creative-card {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.creative-card img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  margin-bottom: 16px;
}

.checkout-note {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.roadmap-list {
  display: grid;
  gap: 14px;
}

.roadmap-list div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 22px;
}

.roadmap-list span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 176, 92, 0.14);
  color: var(--accent);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 42px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-inner,
  .generator-shell,
  .pricing-layout,
  .thesis-grid,
  .creative-grid,
  .library-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .signal-card-output {
    transform: translateX(0);
  }

  .hero-cover-left {
    transform: translate(-98px, -24px) rotate(-9deg);
  }

  .hero-cover-right {
    transform: translate(108px, -38px) rotate(9deg);
  }

  .hero-cover-low {
    transform: translate(-10px, 118px) rotate(-2deg);
  }

  .preview-stage {
    min-height: 600px;
  }

  .preview-panel-main {
    left: 32px;
    width: min(58vw, 460px);
  }

  .preview-panel-top {
    right: 28px;
  }

  .preview-panel-side {
    right: 54px;
  }
}

@media (max-width: 700px) {
  .hero,
  .section,
  .footer {
    width: min(100% - 20px, 1180px);
  }

  .nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 24px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 16vw, 5rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .hero-actions .button,
  .price-panel .button {
    width: 100%;
  }

  .cover-frame {
    width: min(56vw, 250px);
  }

  .hero-cover-main {
    transform: translate(8px, 18px) rotate(4deg);
  }

  .hero-cover-left {
    transform: translate(-66px, -10px) rotate(-10deg);
  }

  .hero-cover-right {
    transform: translate(72px, -18px) rotate(10deg);
  }

  .hero-cover-low {
    transform: translate(-10px, 108px) rotate(-2deg);
  }

  .visual-chip {
    font-size: 0.8rem;
  }

  .library-showcase {
    min-height: 620px;
  }

  .library-cover {
    width: min(42vw, 210px);
  }

  .library-cover-a {
    top: 44px;
    left: 18px;
  }

  .library-cover-b {
    top: 132px;
    left: 110px;
  }

  .library-cover-c {
    top: 62px;
    right: 18px;
  }

  .library-cover-d {
    bottom: 116px;
    left: 24px;
  }

  .library-cover-e {
    bottom: 48px;
    right: 24px;
  }

  .library-note {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .preview-stage {
    min-height: 760px;
  }

  .preview-panel-main {
    top: 26px;
    left: 16px;
    width: min(72vw, 290px);
  }

  .preview-panel-top {
    top: 48px;
    right: 16px;
    width: min(42vw, 180px);
  }

  .preview-panel-side {
    right: 18px;
    bottom: 154px;
    width: min(46vw, 190px);
  }

  .preview-note {
    left: 16px;
    right: 16px;
    bottom: 18px;
    max-width: none;
  }

  .footer {
    flex-direction: column;
  }
}
