:root {
  --sand-100: #dbe9f4;
  --sand-200: #bfd3e6;
  --pastel-blue: #9cd2f1;
  --pastel-lilac: #bca8ef;
  --pastel-peach: #ffd29b;
  --pastel-mint: #77d8bf;
  --ink: #0c2c41;
  --blue: #0077b6;
  --magenta: #d62828;
  --violet: #3e5aa8;
  --card: rgba(13, 58, 84, 0.78);
  --card-strong: rgba(20, 73, 102, 0.82);
  --surface-0: rgba(203, 223, 241, 0.22);
  --surface-1: rgba(188, 212, 234, 0.28);
  --surface-2: rgba(170, 198, 224, 0.34);
  --line: rgba(120, 183, 220, 0.34);
  --success: #125f44;
  --error: #9a2453;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #dceaf6;
  background:
    radial-gradient(circle at 18% 22%, rgba(62, 193, 169, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 80% 8%, rgba(252, 191, 73, 0.22) 0%, transparent 34%),
    linear-gradient(150deg, #031f32 0%, #023047 52%, #115173 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20vmax;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

body::before {
  background:
    radial-gradient(circle at 16% 28%, rgba(62, 193, 169, 0.45) 0, rgba(62, 193, 169, 0) 44%),
    radial-gradient(circle at 78% 16%, rgba(0, 119, 182, 0.45) 0, rgba(0, 119, 182, 0) 42%),
    radial-gradient(circle at 66% 76%, rgba(252, 191, 73, 0.34) 0, rgba(252, 191, 73, 0) 46%);
  filter: blur(28px) saturate(115%);
  animation: pastelFloatA 26s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(circle at 24% 76%, rgba(214, 40, 40, 0.26) 0, rgba(214, 40, 40, 0) 42%),
    radial-gradient(circle at 84% 66%, rgba(0, 119, 182, 0.26) 0, rgba(0, 119, 182, 0) 39%),
    radial-gradient(circle at 46% 12%, rgba(252, 191, 73, 0.2) 0, rgba(252, 191, 73, 0) 38%);
  filter: blur(34px) saturate(108%);
  animation: pastelFloatB 34s ease-in-out infinite alternate;
}

@keyframes pastelFloatA {
  0% {
    transform: translate3d(-2.8%, -1.6%, 0) scale(1.02);
  }
  50% {
    transform: translate3d(1.9%, 1.6%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(3.6%, -1.2%, 0) scale(1.03);
  }
}

@keyframes pastelFloatB {
  0% {
    transform: translate3d(2.4%, 1.5%, 0) scale(1.01);
  }
  50% {
    transform: translate3d(-2.1%, -1.2%, 0) scale(1.07);
  }
  100% {
    transform: translate3d(-3.4%, 1.1%, 0) scale(1.03);
  }
}

body.modal-open {
  overflow: hidden;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(133, 191, 226, 0.16), rgba(133, 191, 226, 0.16) 1px, transparent 1px, transparent 3px);
}

.topbar {
  width: min(1080px, 92vw);
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 53, 80, 0.7);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-icon {
  width: 2.2rem;
  height: 2.2rem;
}

.brand-name {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--blue);
}

.brand-name strong {
  color: var(--magenta);
  font-weight: 700;
}

nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #c5e6ff;
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
}

nav a.is-current {
  color: #9ddfff;
  border-color: rgba(157, 223, 255, 0.42);
}

.page-home .marketing-nav {
  position: relative;
  gap: 1rem;
}

.page-home .marketing-nav > a,
.page-home .nav-trigger {
  text-decoration: none;
  color: #c9e9ff;
  font-weight: 800;
  font-size: 0.88rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  padding: 0.15rem 0.1rem;
}

.page-home .nav-item {
  position: relative;
}

.page-home .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.page-home .nav-item.has-menu::after {
  content: "▾";
  font-size: 0.72rem;
  color: #9fc5df;
  margin-left: 0.22rem;
}

.page-home .mega-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.9rem);
  min-width: 520px;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(120, 183, 220, 0.35);
  background: rgba(7, 53, 80, 0.96);
  box-shadow: 0 16px 30px rgba(4, 19, 30, 0.55);
  z-index: 10;
}

.page-home .nav-item.is-open .mega-menu {
  display: grid;
}

.page-home .mega-link {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
  border-radius: 0.75rem;
  border: 1px solid rgba(120, 183, 220, 0.32);
  background: rgba(17, 70, 102, 0.85);
  padding: 0.62rem 0.66rem;
}

.page-home .mega-link strong {
  color: #d9f2ff;
  font-size: 0.92rem;
}

.page-home .mega-link span {
  color: #b5d3ea;
  font-size: 0.84rem;
  line-height: 1.35;
}

main {
  width: min(1080px, 92vw);
  margin: 2.2rem auto;
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
  padding: 2rem;
  border-radius: 1.4rem;
  background: linear-gradient(160deg, rgba(9, 61, 89, 0.88) 30%, rgba(19, 83, 115, 0.86) 100%);
  border: 1px solid rgba(120, 183, 220, 0.32);
  box-shadow: 0 24px 40px rgba(4, 19, 30, 0.48);
}

.page-intro {
  padding: 1.7rem 1.8rem;
  border-radius: 1.2rem;
  background: linear-gradient(155deg, rgba(11, 65, 95, 0.88), rgba(18, 79, 110, 0.86));
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(4, 19, 30, 0.42);
}

.visual-flow-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-flow-card {
  border: 1px solid rgba(120, 183, 220, 0.35);
  border-radius: 0.95rem;
  background: linear-gradient(150deg, rgba(11, 73, 104, 0.75), rgba(15, 88, 123, 0.68));
  padding: 0.8rem;
  display: grid;
  gap: 0.35rem;
}

.visual-flow-card h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #fff0d2;
}

.visual-flow-card p {
  margin: 0;
  color: #d2e9fb;
  font-size: 0.88rem;
}

.visual-flow-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: #08273b;
  background: linear-gradient(135deg, #fcbf49, #3ec1a9);
}

.eyebrow {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99e4ce;
  font-size: 0.77rem;
}

h1 {
  margin: 0.7rem 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 span {
  background: linear-gradient(90deg, var(--blue), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.55;
  color: #d6e8f7;
}

.hero-badge {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(120, 183, 220, 0.32);
  background: linear-gradient(180deg, rgba(19, 79, 111, 0.9), rgba(12, 63, 93, 0.88));
  align-self: start;
}

.badge-icon {
  width: 4.2rem;
  height: 4.2rem;
  margin-bottom: 0.4rem;
}

.hero-badge p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #d5eaf8;
}

.hero-centered {
  grid-template-columns: 1fr;
  text-align: center;
  background: linear-gradient(170deg, rgba(0, 119, 182, 0.42) 0%, rgba(2, 48, 71, 0.9) 58%, rgba(10, 76, 106, 0.88) 100%);
}

.hero-centered .lead {
  margin-inline: auto;
}

.marketing-prompt-box {
  width: min(760px, 100%);
  margin: 1.1rem auto 0;
  border-radius: 1.35rem;
  border: 1px solid rgba(120, 183, 220, 0.34);
  background: rgba(13, 72, 103, 0.9);
  min-height: 124px;
  position: relative;
  padding: 1.1rem 5.5rem 1.1rem 1.1rem;
  box-shadow: 0 14px 24px rgba(29, 34, 51, 0.09);
}

.prompt-placeholder {
  margin: 0;
  font-size: 1.02rem;
  color: #c5def1;
  text-align: left;
}

.prompt-go {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  min-width: 3.1rem;
  padding-inline: 1rem;
}

.starter-chips {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.starter-chips a {
  text-decoration: none;
  border: 1px solid rgba(120, 183, 220, 0.34);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-weight: 700;
  color: #d0ebff;
  background: rgba(11, 73, 104, 0.68);
}

.category-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  border: 1px solid rgba(120, 183, 220, 0.29);
  border-radius: 0.9rem;
  background: var(--surface-1);
  padding: 0.85rem;
}

.category-card h3 {
  margin: 0 0 0.35rem;
  color: #d8efff;
  font-size: 1rem;
}

.category-card p {
  margin: 0;
  color: #bed9ee;
  font-weight: 700;
}

.template-showcase-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-showcase-card {
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.95rem;
  background: var(--surface-1);
  padding: 0.72rem;
}

.template-showcase-card h3 {
  margin: 0.6rem 0 0.35rem;
  color: #d8efff;
}

.template-showcase-card p {
  margin: 0;
  color: #c1daed;
  line-height: 1.48;
}

.ai-pulse-panel {
  overflow: hidden;
}

.ai-pulse-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-pulse-card {
  border: 1px solid rgba(120, 183, 220, 0.36);
  border-radius: 0.9rem;
  background: linear-gradient(150deg, rgba(10, 75, 108, 0.72), rgba(14, 98, 137, 0.6));
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
}

.ai-pulse-card::after {
  content: "";
  position: absolute;
  left: -30%;
  top: -30%;
  width: 60%;
  height: 160%;
  background: linear-gradient(120deg, transparent, rgba(250, 255, 255, 0.2), transparent);
  transform: translateX(-140%);
  animation: aiPulseScan 4.8s ease-in-out infinite;
}

.ai-pulse-card h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #fff1d3;
}

.ai-pulse-card p {
  margin: 0;
  font-size: 0.83rem;
  color: #cae4f7;
}

.ai-pulse-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.ai-pulse-meta span {
  font-size: 0.72rem;
  color: #b3d5ee;
}

.ai-pulse-meta strong {
  font-size: 0.8rem;
  color: #9ff6dd;
}

.template-showcase-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.8rem;
  border: 1px solid rgba(35, 80, 213, 0.18);
  position: relative;
  overflow: hidden;
}

.template-media-picture {
  width: 100%;
  height: 100%;
  display: block;
}

.template-media-picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.55s ease;
}

.template-media-fallback {
  width: 100%;
  height: 100%;
}

.template-showcase-card:hover .template-media-picture img {
  transform: scale(1.06);
}

.template-showcase-thumb.has-photo::before,
.template-showcase-thumb.has-photo::after,
.template-thumb.has-photo::before,
.template-thumb.has-photo::after,
.template-detail-preview.has-photo::before,
.template-detail-preview.has-photo::after,
.template-view-preview.has-photo::before,
.template-view-preview.has-photo::after {
  display: none;
}

.template-thumb-status {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #d8efff;
  background: rgba(2, 48, 71, 0.75);
  border: 1px solid rgba(120, 183, 220, 0.4);
}

.template-card-meta-row {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.template-meta-chip {
  border-radius: 999px;
  padding: 0.18rem 0.52rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #d3ecff;
  border: 1px solid rgba(120, 183, 220, 0.34);
  background: rgba(8, 67, 96, 0.64);
}

.template-clone-count {
  font-size: 0.8rem;
  color: #b8d7ee;
  font-weight: 700;
}

.template-card-tags {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.template-card-tags-compact {
  margin-top: 0.25rem;
  gap: 0.32rem;
}

.template-card-tag {
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.7rem;
  color: #d4edff;
  border: 1px solid rgba(120, 183, 220, 0.34);
  background: rgba(7, 70, 102, 0.64);
}

.template-card-tag.is-status {
  color: #092a3e;
  background: linear-gradient(140deg, #fcbf49, #9ddfff);
  border-color: rgba(252, 191, 73, 0.45);
}

.template-view-layout {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.template-view-media {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.template-view-preview {
  width: 100%;
  min-height: 430px;
  border-radius: 1rem;
  border: 1px solid rgba(120, 183, 220, 0.34);
  position: relative;
  overflow: hidden;
}

.template-media-picture-large img {
  object-position: center 35%;
}

.template-view-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(191, 221, 242, 0.26) 0%, rgba(12, 58, 86, 0.1) 60%, rgba(191, 221, 242, 0.22) 100%);
}

.template-view-copy {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.template-view-copy h1 {
  margin: 0;
}

.template-view-stats {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-stat-card {
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.8rem;
  padding: 0.55rem 0.65rem;
  background: var(--surface-0);
}

.template-stat-card span {
  display: block;
  font-size: 0.74rem;
  color: #bdd8ed;
  font-weight: 700;
}

.template-stat-card strong {
  display: block;
  margin-top: 0.2rem;
  color: #d8efff;
}

.template-block-title {
  margin: 0.35rem 0 0;
  color: #d8efff;
  font-size: 0.9rem;
  font-weight: 800;
}

.template-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.template-pill {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #d8efff;
  border: 1px solid rgba(120, 183, 220, 0.32);
  background: rgba(10, 72, 103, 0.64);
}

.template-pill.tech {
  background: rgba(13, 89, 127, 0.66);
  border-color: rgba(120, 183, 220, 0.36);
}

.template-live-layout {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.enterprise-hero {
  text-align: center;
  background: linear-gradient(120deg, rgba(0, 119, 182, 0.38) 0%, rgba(16, 77, 108, 0.84) 50%, rgba(252, 191, 73, 0.28) 100%);
}

.enterprise-hero h2 {
  margin: 0.65rem 0 0.45rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.enterprise-hero .lead {
  margin-inline: auto;
}

.actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px rgba(35, 80, 213, 0.2);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
}

.btn-primary {
  padding: 0.8rem 1.35rem;
  color: white;
  background: linear-gradient(130deg, var(--blue), var(--magenta));
  box-shadow: 0 10px 22px rgba(56, 61, 156, 0.28);
}

.btn-ghost {
  padding: 0.8rem 1.35rem;
  color: #c8e9ff;
  border-color: rgba(120, 183, 220, 0.38);
  background: rgba(7, 68, 98, 0.55);
}

.btn-inline {
  margin-top: 0.65rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

.section-panel {
  margin-top: 1.4rem;
  padding: 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 14px 26px rgba(4, 19, 30, 0.4);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-panel > * {
  position: relative;
  z-index: 1;
}

.motion-enabled .section-panel::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  top: -32%;
  height: 56%;
  background: radial-gradient(circle at 55% 45%, rgba(125, 52, 222, 0.18), rgba(35, 80, 213, 0.08) 45%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

h2 {
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #d9f2ff;
}

h3 {
  margin: 0;
  color: #ffd9a1;
}

.mini-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.feature-grid,
.support-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

article,
.steps,
.status-box {
  background: var(--card-strong);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(35, 80, 213, 0.11);
}

article p,
.steps,
.muted {
  color: #c3dbef;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  background: rgba(36, 79, 212, 0.08);
  border: 1px solid rgba(36, 79, 212, 0.18);
  border-radius: 0.4rem;
  padding: 0.1rem 0.35rem;
}

.steps {
  margin: 0;
  padding-left: 1.35rem;
  line-height: 1.7;
}

.brand-inline {
  color: var(--magenta);
  font-weight: 800;
}

.site-footer {
  width: min(1080px, 92vw);
  margin: 0 auto 2.6rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(6, 52, 78, 0.72);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.site-footer p,
.site-footer small {
  margin: 0;
  color: #bfdaee;
}

.beginner-banner {
  width: min(1080px, 92vw);
  margin: 1rem auto 0;
  background: linear-gradient(130deg, rgba(16, 88, 126, 0.76), rgba(10, 65, 95, 0.8));
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.beginner-banner p {
  margin: 0;
  color: #d2ebff;
}

.quickstart-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quickstart-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  background: var(--surface-1);
  border-radius: 1rem;
  border: 1px solid rgba(120, 183, 220, 0.28);
  padding: 0.95rem;
}

.quickstart-card h3 {
  margin: 0;
  color: #d9f2ff;
}

.quickstart-card p {
  margin: 0;
  color: #c1daee;
}

.quickstart-card.is-done {
  border-color: rgba(104, 227, 186, 0.5);
  background: linear-gradient(150deg, rgba(9, 96, 79, 0.55), rgba(10, 122, 100, 0.45));
}

.quickstart-card.is-pending {
  border-color: rgba(120, 183, 220, 0.28);
  background: var(--surface-1);
}

.builder-visual-strip {
  margin-top: 0.25rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.builder-graphic-deck {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.graphic-card {
  border: 1px solid rgba(120, 183, 220, 0.34);
  border-radius: 0.85rem;
  min-height: 58px;
  padding: 0.45rem;
  background: linear-gradient(140deg, rgba(15, 96, 138, 0.55), rgba(83, 35, 132, 0.5));
  display: grid;
  gap: 0.46rem;
}

.graphic-dots {
  display: flex;
  gap: 0.32rem;
}

.graphic-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.graphic-lines {
  display: grid;
  gap: 0.33rem;
}

.graphic-lines span {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.66), rgba(177, 220, 255, 0.24));
}

.graphic-lines span:nth-child(2) {
  width: 82%;
}

.graphic-lines span:nth-child(3) {
  width: 58%;
}

.visual-mini-card {
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.8rem;
  padding: 0.58rem 0.62rem;
  background: rgba(9, 77, 111, 0.55);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.visual-mini-card span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #083146;
  background: linear-gradient(135deg, #3ec1a9, #9ddfff);
}

.visual-mini-card strong {
  font-size: 0.78rem;
  color: #d8efff;
}

.builder-ai-tools {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.builder-ai-tools .btn {
  width: 100%;
}

.builder-ai-live {
  margin-top: 0.85rem;
}

.ai-live-grid {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-live-card {
  border: 1px solid rgba(120, 183, 220, 0.35);
  border-radius: 0.75rem;
  padding: 0.6rem;
  background: rgba(8, 70, 101, 0.55);
  display: grid;
  gap: 0.18rem;
}

.ai-live-card p {
  margin: 0;
  font-size: 0.76rem;
  color: #bcd8ed;
}

.ai-live-card strong {
  color: #fff0d2;
  font-size: 0.96rem;
}

@keyframes aiPulseScan {
  0% {
    transform: translateX(-150%);
  }
  50% {
    transform: translateX(210%);
  }
  100% {
    transform: translateX(210%);
  }
}

.motion-enabled .template-showcase-card,
.motion-enabled .category-card,
.motion-enabled .plan-card,
.motion-enabled .status-box {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.motion-enabled .template-showcase-card:hover,
.motion-enabled .category-card:hover,
.motion-enabled .plan-card:hover,
.motion-enabled .status-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(35, 80, 213, 0.15);
  border-color: rgba(125, 52, 222, 0.3);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 700;
  color: #d0eaff;
}

.form-field-full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(120, 183, 220, 0.34);
  border-radius: 0.75rem;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: #e8f5ff;
  background: var(--surface-2);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(123, 53, 222, 0.34);
  border-color: rgba(123, 53, 222, 0.55);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.28);
  border-radius: 0.8rem;
  padding: 0.72rem 0.8rem;
}

.checklist label {
  display: flex;
  gap: 0.65rem;
  align-items: start;
  cursor: pointer;
}

.checklist input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.progress-wrap {
  margin: 0.75rem 0 0.95rem;
}

.progress-bar {
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  background: #e3d8ca;
  overflow: hidden;
}

#onboardingProgressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--magenta), var(--blue));
  transition: width 180ms ease;
}

#builderStepProgressFill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #3ec1a9, #0077b6, #d62828);
  transition: width 180ms ease;
}

#onboardingProgressText {
  margin: 0.45rem 0 0;
  font-weight: 700;
  color: #d0e9fc;
}

.status-box {
  margin-top: 1rem;
}

.status-box h3 {
  margin-bottom: 0.7rem;
}

.status-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.status-box li + li {
  margin-top: 0.35rem;
}

.hidden {
  display: none !important;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 700;
  color: #d0e9fc;
}

.consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.billing-toggle {
  display: inline-flex;
  border: 1px solid rgba(120, 183, 220, 0.34);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--surface-0);
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  color: #d6edff;
  cursor: pointer;
}

.toggle-btn.is-active {
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  color: white;
}

.plan-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.provider-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.setup-provider-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-health {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-health-item {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.8rem;
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.provider-health-item span {
  font-weight: 700;
  color: #d9f2ff;
}

.provider-health-item small {
  color: #b8d5ea;
  font-size: 0.78rem;
}

.provider-health-item.is-ready {
  border-color: rgba(18, 95, 68, 0.35);
  background: rgba(12, 89, 73, 0.34);
}

.provider-health-item.is-missing {
  border-color: rgba(154, 36, 83, 0.3);
  background: rgba(126, 24, 58, 0.3);
}

.provider-card {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 1rem;
}

.provider-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.provider-type {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #d6eeff;
  background: rgba(12, 84, 120, 0.5);
  border: 1px solid rgba(120, 183, 220, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

.provider-card > p {
  margin: 0.45rem 0 0.2rem;
  color: #bed9ed;
}

.service-block {
  margin-top: 0.75rem;
  background: var(--surface-1);
  border: 1px solid rgba(120, 183, 220, 0.24);
  border-radius: 0.85rem;
  padding: 0.8rem;
}

.service-block p {
  margin: 0.4rem 0 0.6rem;
  color: #c2dbef;
}

.plan-choice-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-choice {
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.75rem;
  background: var(--surface-0);
  color: #d7eeff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font-weight: 700;
}

.plan-choice strong {
  color: var(--magenta);
}

.services-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.cart-panel {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 0.9rem;
}

.cart-list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.cart-list li + li {
  margin-top: 0.65rem;
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.cart-total {
  margin: 1rem 0 0;
  color: #d2eafd;
}

.request-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-card {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 0.95rem;
}

.request-card h3 {
  margin: 0 0 0.4rem;
}

.request-card p {
  margin: 0.3rem 0 0;
  color: #c2dbef;
}

.ops-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advisor-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ai-requirement-item {
  display: grid;
  gap: 0.35rem;
}

.ai-requirement-item .status-chip {
  width: fit-content;
}

.ai-requirement-item p {
  margin: 0;
  color: #bfdaee;
}

.journey-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.journey-step {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 0.95rem;
}

.journey-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.journey-step-head h3 {
  margin: 0;
}

.journey-step p {
  margin: 0.55rem 0 0.25rem;
  color: #c0d9ed;
}

.ops-request-card {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 0.95rem;
}

.ops-request-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.ops-request-header h3 {
  margin: 0;
}

.ops-request-card p {
  margin: 0.38rem 0 0;
  color: #c0d9ed;
}

.ops-actions {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.status-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.status-submitted,
.status-reviewing,
.status-approved {
  color: #d6edff;
  background: rgba(0, 119, 182, 0.35);
}

.status-provisioning {
  color: #ffe4b3;
  background: rgba(120, 74, 0, 0.4);
}

.status-active {
  color: #b0f3da;
  background: rgba(15, 97, 67, 0.38);
}

.status-partially-active,
.status-provision-failed,
.status-on-hold,
.status-cancelled {
  color: #ffd2e3;
  background: rgba(140, 36, 80, 0.38);
}

.projects-grid {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 1rem;
  padding: 0.95rem;
}

.project-card h3 {
  margin: 0 0 0.45rem;
}

.project-card p {
  margin: 0.35rem 0 0;
  color: #c0d9ed;
}

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.step-pill {
  border: 1px solid rgba(120, 183, 220, 0.34);
  background: var(--surface-0);
  color: #d7eeff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.step-pill.is-active {
  background: linear-gradient(130deg, var(--blue), var(--magenta));
  color: white;
  border-color: transparent;
}

.step-pill.is-complete {
  background: rgba(14, 112, 85, 0.45);
  border-color: rgba(88, 218, 174, 0.35);
  color: #cff8ea;
}

.builder-step {
  display: none;
  background: var(--card-strong);
  border: 1px solid rgba(35, 80, 213, 0.11);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
}

.builder-step.is-active {
  display: block;
}

.fast-build-grid {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-app-builder .fast-build-grid {
  grid-template-columns: minmax(300px, 1fr) minmax(560px, 3fr);
  align-items: stretch;
}

.page-app-builder .fast-build-grid > .status-box:last-child {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
}

.builder-simple-actions {
  margin-top: 0.95rem;
}

.builder-step-status {
  margin: 0 0 0.85rem;
}

.builder-step-nav {
  margin-top: 0.8rem;
}

.builder-quick-guide {
  margin-top: 0.85rem;
  border-color: rgba(120, 183, 220, 0.35);
  background: linear-gradient(135deg, rgba(10, 82, 119, 0.7), rgba(25, 95, 130, 0.66));
}

.builder-quick-guide .steps {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-quick-guide .steps li {
  border: 1px solid rgba(120, 183, 220, 0.32);
  border-radius: 0.7rem;
  padding: 0.55rem;
  background: rgba(7, 70, 102, 0.45);
  color: #d0e9fc;
  font-size: 0.86rem;
}

.ai-chat-shell {
  display: grid;
  gap: 0.7rem;
}

.ai-chat-log {
  max-height: 220px;
  min-height: 76px;
  overflow: auto;
  border: 1px solid rgba(120, 183, 220, 0.32);
  border-radius: 0.8rem;
  background: rgba(6, 55, 81, 0.58);
  padding: 0.55rem;
  display: grid;
  gap: 0.42rem;
}

.ai-chat-log.is-compact {
  max-height: 92px;
  min-height: 64px;
  overflow: hidden;
}

.ai-msg {
  max-width: 88%;
  border-radius: 0.8rem;
  padding: 0.5rem 0.62rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.ai-chat-log.is-compact .ai-msg {
  max-width: 100%;
}

.ai-msg p {
  margin: 0;
}

.ai-msg-user {
  justify-self: end;
  background: linear-gradient(130deg, #2350d5, #7b35de);
  color: white;
}

.ai-msg-assistant {
  justify-self: start;
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.34);
  color: #d5edff;
}

.ai-chat-thinking {
  width: fit-content;
  border-radius: 999px;
  padding: 0.28rem 0.64rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffe4b3;
  background: rgba(120, 74, 0, 0.4);
  border: 1px solid rgba(255, 204, 128, 0.28);
}

.ai-chat-composer {
  display: grid;
  gap: 0.7rem;
}

.quick-example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.quick-example-row .toggle-btn {
  border: 1px solid rgba(120, 183, 220, 0.3);
  background: var(--surface-0);
  padding: 0.38rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.prompt-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.prompt-card {
  width: 100%;
  min-height: 62px;
  border-radius: 0.76rem;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.2rem;
  padding: 0.56rem 0.62rem;
  background: linear-gradient(140deg, rgba(8, 70, 101, 0.8), rgba(65, 38, 116, 0.74)) !important;
}

.prompt-card strong {
  font-size: 0.84rem;
  color: #e6f6ff;
}

.prompt-card-badge {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff0d2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

.builder-options-toggle {
  width: fit-content;
}

.builder-extra-options {
  display: grid;
  gap: 0.62rem;
  padding: 0.7rem;
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.8rem;
  background: rgba(8, 70, 101, 0.42);
}

.builder-preview-art {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.55rem;
}

.preview-art-card {
  border: 1px solid rgba(120, 183, 220, 0.34);
  border-radius: 0.8rem;
  padding: 0.5rem;
  min-height: 74px;
  background: linear-gradient(140deg, rgba(8, 70, 101, 0.58), rgba(71, 39, 124, 0.5));
}

.preview-art-header {
  width: 58%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.45rem;
}

.preview-art-body {
  display: grid;
  gap: 0.34rem;
}

.preview-art-body span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.54), rgba(177, 220, 255, 0.2));
}

.preview-art-body span:nth-child(2) {
  width: 84%;
}

.preview-art-body span:nth-child(3) {
  width: 67%;
}

.fast-preview-frame {
  width: 100%;
  min-height: 300px;
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.8rem;
  background: rgba(6, 55, 81, 0.56);
  overflow: auto;
}

.page-app-builder .fast-preview-frame {
  min-height: clamp(420px, 68vh, 860px);
}

.template-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-filters {
  margin: 0.55rem 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.builder-template-tools {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
}

.builder-template-tools .form-field {
  margin: 0;
  flex: 1 1 360px;
}

.builder-template-tools .muted {
  margin: 0;
  font-weight: 700;
}

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

#builderTemplateGrid {
  max-height: 780px;
  overflow-y: auto;
  padding-right: 0.25rem;
  align-content: start;
}

.template-card {
  border: 1px solid rgba(120, 183, 220, 0.3);
  border-radius: 0.9rem;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--surface-0);
  cursor: pointer;
}

.template-card input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.template-card strong {
  color: #d8efff;
}

.template-card span {
  color: #c1daed;
}

.template-card-visual {
  padding: 0.65rem;
  gap: 0.45rem;
}

.template-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  border: 1px solid rgba(120, 183, 220, 0.3);
  overflow: hidden;
  background: rgba(10, 73, 106, 0.62);
  position: relative;
}

.template-thumb.has-photo {
  background: #0f1528;
}

.template-thumb::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 16%;
  background: rgba(193, 223, 244, 0.36);
}

.template-thumb::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10%;
  height: 18%;
  border-radius: 0.5rem;
  background: rgba(193, 223, 244, 0.28);
}

.template-thumb-saas {
  background: linear-gradient(135deg, #1642c7, #8742dc 50%, #f02f6f);
}

.template-thumb-portal {
  background: linear-gradient(135deg, #2a3f68, #476ca7 52%, #94a8cc);
}

.template-thumb-market {
  background: linear-gradient(135deg, #6f34df, #4472f2 45%, #31c9ff);
}

.template-thumb-store {
  background: linear-gradient(135deg, #f78b2a, #f05058 50%, #6e38e0);
}

.template-thumb-booking {
  background: linear-gradient(135deg, #1ca68e, #29c7a3 50%, #2f8ad8);
}

.template-thumb-helpdesk {
  background: linear-gradient(135deg, #3a4766, #536289 48%, #7685ad);
}

.template-thumb-community {
  background: linear-gradient(135deg, #f02f6f, #7d34de 50%, #244fd4);
}

.template-thumb-membership {
  background: linear-gradient(135deg, #ef4f32, #e3942b 48%, #efc74e);
}

.template-thumb-crm {
  background: linear-gradient(135deg, #1d2f4f, #344f82 50%, #4667ad);
}

.template-thumb-hr {
  background: linear-gradient(135deg, #0f7f7a, #24a69f 52%, #7ad3ce);
}

.template-thumb-realestate {
  background: linear-gradient(135deg, #314460, #4f6f98 50%, #8fb4de);
}

.template-thumb-restaurant {
  background: linear-gradient(135deg, #5b2618, #c14d2d 50%, #f0a53d);
}

.template-card.is-selected {
  border-color: rgba(231, 42, 111, 0.52);
  box-shadow: 0 8px 20px rgba(125, 52, 222, 0.14);
}

.template-detail {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.template-detail-media {
  min-height: 250px;
}

.template-detail-preview {
  height: 100%;
  min-height: 250px;
  border-radius: 0.9rem;
  border: 1px solid rgba(120, 183, 220, 0.35);
  position: relative;
  overflow: hidden;
}

.template-detail-preview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 15%;
  background: rgba(193, 223, 244, 0.3);
}

.template-detail-preview::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 9%;
  height: 18%;
  border-radius: 0.65rem;
  background: rgba(193, 223, 244, 0.24);
}

.template-detail-copy {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.template-detail-copy h4 {
  margin: 0;
  color: #d8efff;
}

.template-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 24, 38, 0.68);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.template-demo-card {
  width: min(1100px, 96vw);
  border-radius: 1rem;
  background: rgba(8, 62, 90, 0.95);
  border: 1px solid rgba(120, 183, 220, 0.35);
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.template-demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.template-demo-top h3 {
  margin: 0;
}

.template-demo-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid rgba(120, 183, 220, 0.35);
  border-radius: 0.8rem;
  background: rgba(8, 62, 90, 0.7);
  overflow: auto;
}

.feature-picks {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-preset-actions {
  margin-bottom: 0.7rem;
}

.builder-live-summary {
  margin: 0 0 0.85rem;
  padding: 0.8rem 0.9rem;
}

.builder-live-summary h3 {
  margin-bottom: 0.55rem;
}

.builder-live-summary .checklist {
  gap: 0.45rem;
}

.builder-live-summary .checklist li {
  padding: 0.58rem 0.68rem;
  font-size: 0.92rem;
}

.feature-picks label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(120, 183, 220, 0.29);
  border-radius: 0.75rem;
  background: var(--surface-0);
  padding: 0.68rem 0.74rem;
  font-weight: 700;
  color: #d2ebff;
}

.feature-picks input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.plan-card {
  background: var(--surface-0);
  border: 1px solid rgba(120, 183, 220, 0.29);
  border-radius: 1rem;
  padding: 1rem;
}

.plan-card ul {
  margin: 0.75rem 0;
  padding-left: 1.2rem;
  color: #c1daed;
}

.plan-card li + li {
  margin-top: 0.4rem;
}

.featured {
  border-width: 2px;
  border-color: rgba(231, 42, 111, 0.45);
  box-shadow: 0 12px 30px rgba(125, 52, 222, 0.14);
}

.tag {
  margin: 0 0 0.5rem;
  display: inline-flex;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: white;
  background: linear-gradient(120deg, var(--violet), var(--magenta));
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.price {
  margin: 0.55rem 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #d8efff;
}

.price small {
  font-size: 0.95rem;
  font-weight: 700;
  color: #b7d5eb;
  margin-left: 0.25rem;
}

.estimate {
  margin: 0.9rem 0 0.3rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #d1ebff;
}

.status-box.success {
  border-color: rgba(18, 95, 68, 0.3);
  background: rgba(12, 89, 73, 0.32);
}

.status-box.error {
  border-color: rgba(154, 36, 83, 0.3);
  background: rgba(126, 24, 58, 0.3);
}

.status-box.success h3 {
  color: var(--success);
}

.status-box.error h3 {
  color: var(--error);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .template-media-picture img {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 1rem;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .feature-grid,
  .support-grid,
  .form-grid,
  .fast-build-grid,
  .template-grid,
  .feature-picks {
    grid-template-columns: 1fr;
  }

  .page-home .marketing-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-home .mega-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.45rem;
    box-shadow: none;
  }

  .category-grid,
  .template-showcase-grid,
  .visual-flow-grid,
  .template-view-layout,
  .template-live-layout,
  .template-view-stats {
    grid-template-columns: 1fr;
  }

  .beginner-banner {
    margin-top: 0.7rem;
    padding: 0.8rem 0.85rem;
  }

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

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

  .provider-grid,
  .setup-provider-grid,
  .provider-health,
  .request-grid,
  .ops-grid,
  .advisor-grid,
  .plan-choice-grid,
  .services-layout,
  .ops-actions,
  .template-detail,
  .quickstart-grid,
  .builder-visual-strip,
  .builder-graphic-deck,
  .prompt-card-grid,
  .builder-preview-art {
    grid-template-columns: 1fr;
  }

  .builder-ai-tools,
  .ai-live-grid,
  .ai-pulse-grid {
    grid-template-columns: 1fr;
  }

  .builder-quick-guide .steps {
    grid-template-columns: 1fr;
  }

  .builder-template-tools {
    align-items: start;
    flex-direction: column;
  }

  #builderTemplateGrid {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

.simple-home-hero {
  background: linear-gradient(150deg, rgba(19, 90, 128, 0.64), rgba(36, 66, 143, 0.58));
  border: 1px solid rgba(120, 183, 220, 0.35);
  border-radius: 1.3rem;
  padding: 1.2rem;
}

.simple-home-hero .lead {
  max-width: 40ch;
  margin-inline: auto;
}

.simple-home-visual {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.simple-art-card {
  border: 1px solid rgba(120, 183, 220, 0.34);
  border-radius: 0.95rem;
  background: linear-gradient(150deg, rgba(27, 76, 122, 0.6), rgba(64, 63, 155, 0.58));
  padding: 0.8rem;
  min-height: 102px;
  display: grid;
  gap: 0.62rem;
}

.simple-art-head {
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(252, 191, 73, 0.72), rgba(62, 193, 169, 0.72));
}

.simple-art-lines {
  display: grid;
  gap: 0.42rem;
}

.simple-art-lines span {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(200, 227, 246, 0.62);
}

.simple-art-lines span:nth-child(2) {
  width: 84%;
}

.simple-art-lines span:nth-child(3) {
  width: 62%;
}

.simple-step-panel .visual-flow-card {
  background: linear-gradient(145deg, rgba(17, 64, 99, 0.55), rgba(34, 78, 142, 0.45));
}

.simple-mode-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simple-mode-card {
  border: 1px solid rgba(120, 183, 220, 0.33);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(12, 63, 95, 0.74), rgba(23, 71, 128, 0.62));
  padding: 1rem;
  display: grid;
  gap: 0.62rem;
}

.simple-mode-card .price {
  margin: 0;
}

.simple-mode-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #c8e1f1;
}

.simple-mode-card li + li {
  margin-top: 0.32rem;
}

.verify-status-box {
  width: fit-content;
  margin: 0.85rem auto 0;
  border: 1px solid rgba(120, 183, 220, 0.35);
  border-radius: 0.85rem;
  background: rgba(10, 54, 84, 0.62);
  padding: 0.7rem 0.85rem;
  min-width: min(320px, 100%);
}

.verify-inline-status {
  margin: 0.25rem 0 0;
  color: #bfd7ea;
}

.verify-inline-status.is-verified {
  color: #8cf1cb;
}

.verify-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
}

.verify-gate-modal.hidden {
  display: none;
}

.verify-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 16, 29, 0.72);
}

.verify-gate-card {
  position: relative;
  width: min(520px, 92vw);
  border-radius: 1rem;
  border: 1px solid rgba(120, 183, 220, 0.38);
  background: linear-gradient(145deg, rgba(9, 51, 80, 0.96), rgba(30, 63, 123, 0.93));
  padding: 1rem;
  z-index: 1;
  box-shadow: 0 24px 50px rgba(2, 10, 20, 0.58);
}

.verify-gate-close {
  position: absolute;
  top: 0.55rem;
  right: 0.62rem;
  border: 1px solid rgba(120, 183, 220, 0.35);
  background: rgba(7, 45, 70, 0.85);
  color: #d8efff;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

.verify-gate-step {
  margin: 0 0 0.28rem;
  color: #94ebcc;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.verify-gate-card h3 {
  margin: 0;
}

.verify-gate-code-row {
  margin-top: 0.45rem;
}

.verify-gate-status {
  margin-top: 0.7rem;
}

.simple-template-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.8rem;
}

.simple-template-card {
  border: 1px solid rgba(120, 183, 220, 0.32);
  border-radius: 0.95rem;
  background: linear-gradient(150deg, rgba(15, 64, 101, 0.66), rgba(38, 78, 139, 0.62));
  padding: 0.85rem;
  display: grid;
  gap: 0.5rem;
}

.simple-template-thumb {
  height: 120px;
  border-radius: 0.8rem;
  background:
    linear-gradient(135deg, rgba(0, 119, 182, 0.32), rgba(214, 40, 40, 0.32)),
    linear-gradient(115deg, rgba(62, 193, 169, 0.3), rgba(252, 191, 73, 0.28));
  border: 1px solid rgba(120, 183, 220, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px) {
  .simple-home-visual,
  .simple-mode-grid {
    grid-template-columns: 1fr;
  }

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

  .verify-status-box {
    width: 100%;
    min-width: 0;
  }
}
