:root {
  --ink: #101828;
  --muted: #5d6b82;
  --soft: #eef5ff;
  --line: rgba(24, 38, 64, .12);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(17, 31, 58, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef4ff 42%, #ffffff 100%);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
strong,
b {
  font-weight: 700;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 20px 60px rgba(29, 54, 98, .12);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand img {
  width: 132px;
  height: auto;
  border-radius: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover {
  background: #eef5ff;
  color: var(--blue);
}

.site-nav .nav-action {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(16, 24, 40, .2);
}

.site-nav .nav-action:hover {
  color: #fff;
  background: var(--blue);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  padding: 11px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 132px 24px 92px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0), #f7fbff 72%);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(37, 99, 235, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .08) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, .22), transparent 38%),
    linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(16, 185, 129, .08), rgba(244, 63, 94, .08));
  background-size: 64px 64px, 64px 64px, auto, auto;
  mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 100%);
}

.scene-window {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.window-main {
  right: max(34px, calc((100vw - 1180px) / 2));
  top: 156px;
  width: min(560px, 45vw);
  padding: 16px;
  transform: rotate(-2deg);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 14px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.window-top span:nth-child(2) {
  background: var(--amber);
}

.window-top span:nth-child(3) {
  background: var(--green);
  margin-right: 8px;
}

.product-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-row div,
.workflow-steps div,
.tool-card,
.results-panel,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
}

.metric-row div {
  padding: 14px;
}

.metric-row strong,
.result-stats strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 700;
}

.metric-row span,
.result-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.builder-preview {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #111827, #1e3a8a);
}

.preview-copy {
  padding: 24px;
  color: #fff;
}

.preview-copy span {
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-copy h3 {
  margin: 16px 0 10px;
  font-size: 30px;
  line-height: 1.05;
}

.preview-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.preview-art {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06b6d4, #10b981);
}

.preview-art div {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
}

.preview-art div:first-child {
  right: 36px;
  top: 36px;
}

.preview-art div:last-child {
  right: -30px;
  bottom: -28px;
  background: rgba(16, 24, 40, .2);
}

.window-chat {
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 105px;
  width: min(360px, 36vw);
  padding: 16px;
  transform: rotate(2deg);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.chat-head img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.bot-bubble,
.user-bubble {
  width: fit-content;
  max-width: 88%;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.bot-bubble {
  background: #f2f6ff;
  color: #344054;
}

.user-bubble {
  margin-left: auto;
  color: #fff;
  background: var(--blue);
}

.window-book {
  right: max(22px, calc((100vw - 1180px) / 2 + 120px));
  bottom: 52px;
  width: 240px;
  padding: 18px;
}

.window-book span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.window-book strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.book-lines {
  margin-top: 16px;
}

.book-lines i {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: #dbe7ff;
}

.book-lines i:nth-child(2) {
  width: 82%;
}

.book-lines i:nth-child(3) {
  width: 62%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #1764d8;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 9vw, 118px);
  line-height: .9;
  letter-spacing: 0;
}

.hero p {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(37, 99, 235, .28);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

.tools-section,
.workflow-section,
.results-section,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tools-section {
  padding: 34px 0 80px;
}

.section-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 24px;
}

.section-heading h2,
.workflow-copy h2,
.results-panel h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  min-height: 290px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(17, 31, 58, .08);
}

.tool-card h3 {
  margin: 68px 0 12px;
  font-size: 23px;
}

.tool-card p,
.workflow-copy p,
.workflow-steps p,
.final-cta p {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 21px;
}

.icon.chat {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.icon.ads {
  background: linear-gradient(135deg, var(--rose), var(--amber));
}

.icon.magnet {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.icon.book {
  background: linear-gradient(135deg, #7c3aed, var(--blue));
}

.workflow-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 78px 0;
}

.workflow-copy p {
  max-width: 520px;
  font-size: 18px;
}

.workflow-steps {
  display: grid;
  gap: 12px;
}

.workflow-steps div {
  display: grid;
  grid-template-columns: 56px 130px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.workflow-steps span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.workflow-steps strong {
  font-size: 20px;
}

.workflow-steps p {
  margin: 0;
}

.results-section {
  padding: 64px 0 34px;
}

.results-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(239, 248, 255, .9));
  box-shadow: var(--shadow);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.result-stats div {
  min-height: 150px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.final-cta {
  margin-top: 34px;
  margin-bottom: 46px;
  padding: 48px 26px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 620px;
  margin: 16px auto 26px;
  color: rgba(255, 255, 255, .72);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: #667085;
  font-size: 14px;
}

.site-footer span {
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--blue);
}

.hero {
  min-height: 860px;
  place-items: center;
  padding-top: 126px;
  padding-bottom: 120px;
}

.hero-content {
  max-width: 620px;
  margin-right: auto;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(58px, 7.4vw, 104px);
  line-height: .93;
}

.hero p {
  max-width: 560px;
  font-size: clamp(18px, 1.8vw, 22px);
}

.hero-scene {
  left: auto;
  width: 58%;
  min-width: 760px;
  pointer-events: none;
}

.scene-grid {
  background:
    radial-gradient(circle at 56% 18%, rgba(6, 182, 212, .22), transparent 32%),
    radial-gradient(circle at 90% 42%, rgba(16, 185, 129, .18), transparent 28%),
    linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
}

.window-main {
  top: 142px;
  right: max(28px, calc((100vw - 1180px) / 2));
  width: min(560px, 44vw);
  transform: rotate(-1.25deg);
  z-index: 2;
}

.window-chat {
  left: auto;
  right: max(210px, calc((100vw - 1180px) / 2 + 185px));
  bottom: 168px;
  width: 300px;
  transform: rotate(2deg);
  z-index: 1;
}

.window-book {
  right: max(76px, calc((100vw - 1180px) / 2 + 82px));
  bottom: 94px;
  z-index: 3;
}

.section-heading {
  grid-template-columns: .7fr 1.3fr;
}

.tool-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78));
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .16;
}

.tool-card:nth-child(2)::after {
  background: linear-gradient(90deg, var(--rose), var(--amber));
}

.tool-card:nth-child(3)::after {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.tool-card:nth-child(4)::after {
  background: linear-gradient(90deg, #7c3aed, var(--blue));
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 32px 80px rgba(17, 31, 58, .13);
}

.workflow-section {
  border-top: 1px solid rgba(24, 38, 64, .08);
  border-bottom: 1px solid rgba(24, 38, 64, .08);
}

.results-panel {
  overflow: hidden;
  position: relative;
}

.results-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(6, 182, 212, .16);
}

.final-cta {
  background:
    radial-gradient(circle at 30% 10%, rgba(37, 99, 235, .36), transparent 30%),
    linear-gradient(135deg, #0b1220, #111827 58%, #0f172a);
}

.preview-modal {
  display: none;
  width: min(1080px, calc(100vw - 34px));
}

.modal-product {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #eff6ff);
  color: var(--ink);
}

.modal-product h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.modal-product p {
  color: var(--muted);
  line-height: 1.65;
  margin: 18px 0 24px;
}

.modal-screen {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(16, 24, 40, .18);
  overflow: hidden;
}

.modal-preview-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: #f8fbff;
}

.screen-header {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.screen-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.screen-header span:nth-child(2) {
  background: var(--amber);
}

.screen-header span:nth-child(3) {
  background: var(--green);
}

.screen-layout {
  display: grid;
  grid-template-columns: 155px 1fr;
  min-height: 380px;
}

.screen-layout aside {
  background:
    linear-gradient(180deg, #f8fbff, #eef5ff);
  border-right: 1px solid var(--line);
}

.screen-layout main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
}

.screen-layout section {
  min-height: 120px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border: 1px solid var(--line);
}

.screen-layout section:first-child {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .92), rgba(6, 182, 212, .82));
}

.screen-layout section:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, .22), rgba(255, 255, 255, .92));
}

.screen-layout section:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(244, 63, 94, .18), rgba(255, 255, 255, .94));
}

body.modal-open {
  overflow: hidden;
}

.fallback-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 12, 24, .78);
}

.fallback-box {
  width: min(1080px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.fallback-box .preview-modal {
  display: block;
  width: 100%;
}

.fallback-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.open .site-nav {
    display: grid;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
    place-items: start;
    padding-top: 126px;
  }

  .hero-content {
    padding-bottom: 320px;
  }

  .window-main {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 48px;
    width: auto;
  }

  .window-chat,
  .window-book {
    display: none;
  }

  .section-heading,
  .workflow-section,
  .results-panel {
    grid-template-columns: 1fr;
  }

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

  .workflow-steps div {
    grid-template-columns: 48px 1fr;
  }

  .workflow-steps p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 116px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content {
    padding-bottom: 280px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .builder-preview {
    grid-template-columns: 1fr;
  }

  .preview-art {
    min-height: 120px;
  }

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

  .tool-card {
    min-height: auto;
  }

  .tool-card h3 {
    margin-top: 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
