/* =========================================================================
   CubeWP Sites Clean Edition — Global Reset, Tokens & Navigation
   ========================================================================= */

:root {
  /* Brand Colors */
  --indigo: #5b3bf5;
  --indigo-bright: #7a5cff;
  --coral: #ff6b5c;
  --amber: #ffb23a;
  --teal: #10c8a3;
  --rose: #ff74a8;
  --sky: #3e9bff;

  /* Neutrals */
  --paper: #faf9f6;
  --surface: #ffffff;
  --ink: #17162a;
  --muted: #4a4860;
  --faint: #8e8ba3;

  /* Borders & Shadows */
  --border: #edebe4;
  --border-ink: rgba(10, 8, 26, 0.08);
  --shadow-sm: 0 4px 16px -4px rgba(10, 8, 26, 0.05);

  /* Layout & Sizing */
  --maxw: 1172px;
  --nav-h: 72px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;

  /* Animation Timing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Defaults */
h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout Container */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Button Defaults */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 19px 27px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.2s;
}

.btn-primary {
  background: linear-gradient(105deg, #6142f7, #7457fb 55%, #6f67ff);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px rgba(97, 66, 247, 0.45);
}

/* ===== NAVIGATION HEADER ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid #f3f1f8;
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand .logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: #4b4a60;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background-color: rgba(10, 8, 26, 0.04);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 9px;
}

.btn-signin {
  background-color: var(--surface);
  border-color: #e7e7ea;
  color: #16141f;
}

.btn-signin:hover {
  border-color: #d6d5dc;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-ink);
  background-color: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
}

/* Mobile Navigation Breakpoint */

@media (max-width: 960px) {
  .nav-links,
  .btn-signin {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background-color: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }
  .mobile-menu.open {
    transform: none;
  }
  .mobile-menu a {
    display: block;
    color: var(--muted);
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
  }
  .mobile-menu .btn {
    width: 100%;
    margin-top: 16px;
    color: #fff;
    text-align: center;
  }
}

/* ===== SHARED SECTION PIECES ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--indigo);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.eyebrow-light {
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-top: 16px;
  color: var(--ink);
}

.section-sub {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.eyebrow-coral {
  color: #e4573d;
}

.eyebrow-teal {
  color: #0fa77e;
}

.eyebrow-pink {
  color: #f0568c;
}

.eyebrow-cyan {
  color: #2dd4e8;
}

.rot-wrap {
  white-space: nowrap;
}

.grad-txt {
  display: inline-block;
  background: linear-gradient(105deg, #6142f7, #7a5cff 55%, #3e9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.grad-txt.rot-out {
  opacity: 0;
  transform: translateY(16px);
}

.grad-txt.rot-in {
  animation: rot-in 0.5s var(--ease);
}

@keyframes rot-in {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn-outline {
  background-color: #ffffff;
  border-color: #e2e0ea;
  color: var(--ink);
  font-weight: 600;
}

.btn-outline:hover {
  border-color: #c9c6d6;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background:
    url("assets/images/hero-bg.webp") no-repeat top center / cover,
    #ffffff;
  padding: 105px 0 105px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-title {
  margin-top: 19px;
  font-size: 84px;
  color: var(--ink);
  max-width: 597px;
  word-spacing: -3.1px !important;
}

.hero-sub {
  margin-top: 30px;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 570px;
}

.hero-sub strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 47px;
}

.btn-hero {
  font-size: 1.05rem;
  padding: 18px 17px;
}

.hero-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 15px;
  border-radius: 12px;
  background-color: #e3f6ec;
  border: 1px solid #cdeeda;
  color: #0a7c62;
  font-size: 14px;
  font-weight: 600;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  gap: 7px 12px;
  margin-top: 26px;
}

.h-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  background-color: #ffffff;
  border: 1px solid #eceaf2;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #4d4a66;
  white-space: nowrap;
}

.h-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-media {
  position: absolute;
  top: 22px;
  right: 0;
  z-index: 0;
  max-width: 732px;
}
.hero-wraper {
  max-width: 1498px;
  margin: auto;
  position: relative;
}
/* ---- Hero mockup (HTML rebuild of the Figma banner visual) ---- */
.hero-map {
  position: absolute;
  top: -60px;
  right: -140px;
  width: 1118px;
  max-width: none;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.hero-mockup {
  position: relative;
  z-index: 1;
  width: 566px;
  height: 507px;
  margin: 100px auto 0;
}

.hm-browser {
  position: relative;
  width: 566px;
  height: 507px;
  border: 1px solid rgba(23, 22, 42, 0.12);
  border-radius: 32px;
  background: linear-gradient(146.2deg, #ffffff 0%, #fbfaff 100%);
  box-shadow: 0 30px 70px 0 rgba(23, 22, 42, 0.22);
}

.hm-bar {
  display: flex;
  align-items: center;
  height: 57px;
  padding: 0 22px 0 16px;
  background: #ffffff;
  border-bottom: 1px solid #ece7de;
  border-radius: 32px 32px 0 0;
}

.hm-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.hm-dot--red {
  background: #ff6058;
}

.hm-dot--yellow {
  background: #febc2e;
}

.hm-dot--green {
  background: #28c840;
}

.hm-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  height: 30px;
  margin-left: 14px;
  padding: 0 12px;
  background: #faf7f2;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.hm-url-domain {
  color: #8a8798;
}

.hm-url-live {
  margin-left: 16px;
  font-weight: 500;
  color: #5b3bf5;
}

.hm-store {
  display: block;
  width: 565px;
  height: 449px;
  object-fit: cover;
  border-radius: 0 0 32px 32px;
}

.hm-selection {
     position: absolute;
    top: 340px;
    left: 160px;
    width: 243px;
    z-index: 3;
}

.hm-panel {
  position: absolute;
  top: -39px;
  right: -41px;
  width: 143px;
  z-index: 4; 
}

/* Floating purple badges */
.hm-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 10px 16px;
  background: #6752eb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 23px 46px -11px rgba(0, 0, 0, 0.25);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  animation: hm-float 4s ease-in-out infinite;
}

.hm-badge--domain {
  top: -74px;
  left: 121px;
  animation-delay: 0.2s;
}

.hm-badge--ssl {
  top: 134px;
  left: -48px;
  animation-delay: 0.8s;
}

.hm-badge--drag {
  bottom: 179px;
  left: -97px;
  animation-delay: 1.4s;
}

.hm-badge--timer {
  top: 255px;
  left: 491px;
  color: #e2e0fc;
  animation-delay: 2s;
}

.hm-badge--templates {
  top: 512px;
  left: -88px;
  animation-delay: 2.6s;
}

@keyframes hm-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Dashed connectors with glowing dot */
.hm-connector {
  position: absolute;
  left: 50%;
  width: 0;
  border-left: 1.85px dashed #6752eb;
  height: 44px;
}

.hm-connector::after {
  content: '';
  position: absolute;
  left: -3.5px;
  width: 6.2px;
  height: 6.2px;
  background: #6752eb;
  border: 0.88px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 7px 0 rgba(124, 58, 237, 0.7);
}

.hm-connector--down {
  top: 100%;
}

.hm-connector--down::after {
  bottom: -7px;
}

.hm-connector--up {
  bottom: 100%;
}

.hm-connector--up::after {
  top: -7px;
}

/* Success toast */
.hm-toast {
  position: absolute;
  right: -105px;
  bottom: 23px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 19px;
  background: #3bb54a;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 76px;
  box-shadow: 0 23px 46px -11px rgba(0, 0, 0, 0.25);
  filter: drop-shadow(0 18px 12px rgba(16, 185, 129, 0.2));
  animation: hm-float 4s ease-in-out 3.2s infinite;
}

.hm-toast-text {
  display: flex;
  flex-direction: column;
  gap: 3.7px;
}

.hm-toast-text strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  line-height: 13px;
  color: #ffffff;
}

.hm-toast-text span {
  font-size: 11px;
  font-weight: 500;
  line-height: 14.8px;
  color: rgba(255, 255, 255, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .hm-badge,
  .hm-toast {
    animation: none;
  }
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-badge svg {
  flex-shrink: 0;
}

.hb-teal {
  background: linear-gradient(115deg, #0ec59e, #10c8a3);
  box-shadow: 0 14px 30px -12px rgba(16, 200, 163, 0.55);
}

.hb-orange {
  background: linear-gradient(115deg, #f7941e, #fb7a33);
  box-shadow: 0 14px 30px -12px rgba(247, 148, 30, 0.55);
}

/* ===== 60-SECOND LAUNCH SECTION ===== */
.launch-section {
  background-color: #ffffff;
  padding: 153px 0 160px 0;
}
.launch-section .launch-copy {
  max-width: 500px;
}
.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  align-items: start; /* Figma: both columns start from the top */
  gap: 0px;
}

.launch-steps {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.step {
  display: flex;
  gap: 25px;
  padding: 16px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.step:hover {
  background-color: rgba(91, 59, 245, 0.04);
  border-color: rgba(91, 59, 245, 0.12);
}

.step:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.step.active {
  background-color: #ffffff;
  border-color: #ece9f8;
  box-shadow: 0 10px 26px -14px rgba(10, 8, 26, 0.14);
}

.step-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #8e8ba3;
  flex-shrink: 0;
  padding-top: 3px;
}

.step-check {
  color: #10c8a3;
  opacity: 0;
  transition: opacity 0.3s;
}

.step.done .step-check {
  opacity: 1;
}

.step-body {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  letter-spacing: 0px;
}

.step-body strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.btn-replay {
  margin-top: 20px;
  padding: 11px 15px;
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}

.launch-note {
  margin-top: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #8e8ba3;
  letter-spacing: 0.3px;
}

.launch-media {
  position: relative;
  height: 100%;
}

.launch-media > img {
  display: block;
  width: 100%;
  height: auto;
}

.launch-deck {
  position: relative;
  width: 100%;
  height: 100%;
}

.launch-slide {
  opacity: 0;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  pointer-events: none;
}

.launch-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.launch-slide img {
  display: block; 
  height: auto;
}

.launch-timer {
  position: absolute;
  top: 44px;
  right: -40px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background-color: #17162a;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(10, 8, 26, 0.45);
}

.lt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ff5c5c;
  animation: lt-blink 1.2s infinite;
}

@keyframes lt-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* ===== TEMPLATES SECTION ===== */
.templates-section {
  background-color: #fff5ef;
  padding: 116px 0 125px 0;
  overflow: hidden;
}
.feature-sub-2 {
  margin-top: 18px;
  font-size: 1.05rem;
}

.feature-sub-2 strong {
  color: var(--ink);
}

.tpl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
  max-width: 520px;
}

.tpl-chip {
  padding: 12px 15px;
  border-radius: 999px;
  background-color: #ffffff;
  border: 1px solid #f3e6dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #4d4a66;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.3s var(--spring);
}

.tpl-chip:hover {
  border-color: #e3cdbd;
  transform: translateY(-1px);
}

.tpl-chip.active {
  background-color: #d9f2e3;
  border-color: #c2ead3;
  color: #0a7c62;
}

/* Template deck slider — active slide in front, others fanned right */
.tpl-deck {
  position: relative;
  height: 540px;
}

.tpl-slide {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 60%;
  transform: translateY(-50%) scale(0.7) rotate(5deg);
  opacity: 0;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
  transition:
    left 0.6s var(--ease),
    transform 0.6s var(--ease),
    opacity 0.5s,
    box-shadow 0.5s;
  will-change: left, transform, opacity;
}

.tpl-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.tpl-slide[data-pos="0"] {
  left: 0;
  transform: translateY(-50%) scale(1);
  opacity: 1;
  z-index: 4;
}

.tpl-slide[data-pos="1"] {
  left: 21%;
  transform: translateY(-50%) scale(0.9) rotate(1.5deg);
  opacity: 0.55;
  z-index: 3;
  box-shadow: 0 20px 40px -24px rgba(89, 44, 16, 0.25);
}

.tpl-slide[data-pos="2"] {
  left: 38%;
  transform: translateY(-50%) scale(0.82) rotate(3deg);
  opacity: 0.35;
  z-index: 2;
  box-shadow: none;
}

.tpl-slide[data-pos="3"] {
  left: 52%;
  transform: translateY(-50%) scale(0.74) rotate(4.5deg);
  opacity: 0.2;
  z-index: 1;
  box-shadow: none;
}

.tpl-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 15.7px;
  font-weight: 700;
  color: var(--indigo);
  transition: gap 0.3s var(--ease);
}

.tpl-link:hover {
  gap: 14px;
}

/* ===== DRAG & DROP SECTION ===== */
.dragdrop-section {
  background-color: #f2f9fa;
  padding: 92px 0 100px 0;
}

.dd-list {
  list-style: none;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dd-list li {
  display: flex;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}

.dd-list strong {
  color: var(--ink);
}

.dd-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: #e7e3fb;
  color: var(--indigo);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== DOMAIN / WHITE LABEL SECTION ===== */
.domain-section {
  background-color: #ffedf4;
  padding: 100px 0 100px 0;
}

.domain-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 30px;
  max-width: 570px;
  margin-left: auto;
  box-shadow: 0 30px 60px -30px rgba(120, 30, 60, 0.25);
}

.domain-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  border-radius: 12px;
  background-color: #fbf7ef;
  border: 1px solid #f0e8d8;
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: var(--ink);
}

.domain-checks {
  list-style: none;
  margin: 24px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-checks li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.98rem;
  color: #35334c;
}

.dc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #10c8a3;
  color: #fff;
  flex-shrink: 0;
}

.domain-toggle {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #f1eee8;
}

.dt-switch {
  position: relative;
  width: 46px;
  height: 27px;
  border-radius: 999px;
  background-color: #10c8a3;
  flex-shrink: 0;
}

.dt-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(10, 8, 26, 0.2);
}

.dt-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dt-meta strong {
  font-size: 1rem;
  color: var(--ink);
}

.dt-meta em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--faint);
}

/* ===== SPEED / INFRASTRUCTURE SECTION (DARK) ===== */
.speed-section {
  background-color: #08090f;
  padding: 100px 0 100px 0;
}

.speed-title {
  margin-top: 17px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: #ffffff;
  max-width: 720px;
  letter-spacing: 0px;
}

.speed-sub {
  margin-top: 24px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: #9aa0b4;
  max-width: 700px;
}

.speed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  align-items: center;
}

.speed-card {
  background-color: #0d0f16;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
}

.speed-nodes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 24px;
  min-height: 320px;
}

.nodes-canvas {
  width: 100%;
  flex: 1;
  min-height: 264px;
  display: block;
}

.nodes-caption {
  margin-top: 18px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #565b6e;
}

.speed-loads {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.load-card {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.load-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.load-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.load-tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.load-tag-red {
  background-color: rgba(240, 86, 96, 0.14);
  color: #f87160;
}

.load-tag-teal {
  background-color: rgba(16, 200, 163, 0.14);
  color: #2dd4a8;
}

.load-track {
  height: 9px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.load-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.4s var(--ease);
}

.load-fill-red {
  background: linear-gradient(90deg, #f0566b, #ff8a5c 55%, #ffb23a);
}

.load-fill-teal {
  background: linear-gradient(90deg, #10c8a3, #2de0c0);
}

.in-view .load-fill-red {
  width: 100%;
}

.in-view .load-fill-teal {
  width: 16%;
}

.load-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #565b6e;
}

.speed-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 17px;
  margin-top: 38px;
}

.stat-card {
  background-color: #0f1015;
  padding: 20px 18px;
}

.stat-q {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #7b8093;
}

.stat-v {
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-d {
  margin-top: 3px;
  font-size: 0.95rem;
  color: #9aa0b4;
}

/* ===== FEATURE ROWS (AI TOOLS / COMMAND CENTER) ===== */
.feature-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4px;
}

.feature-row-flip {
  grid-template-columns: 1.12fr 1fr;
}
.templates-section .feature-title {
  max-width: 524px;
}
.feature-title {
  font-size: 52px;
  color: var(--ink);
  max-width: 640px;
  margin-top: 15px;
  letter-spacing: -2px;
}
.templates-section .feature-sub.feature-sub-2 {
  font-size: 16px;
}
.templates-section .feature-sub {
  max-width: 540px;
}
.feature-sub {
  margin-top: 15px;
  font-size: 21px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 465px;
  letter-spacing: 0.2px;
}

.feature-quote {
  margin-top: 44px;
}

.feature-quote blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: #35334c;
  max-width: 460px;
}

.feature-quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.fq-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6142f7, #3e9bff);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.fq-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.fq-meta strong {
  font-size: 0.98rem;
  color: var(--ink);
}

.fq-meta em {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--faint);
}

.feature-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== ENGINES SECTION ===== */
.engines-section {
  background-color: #e9ecff;
  padding: 100px 0 100px 0;
}

.engines-section .section-sub strong {
  color: var(--ink);
}

.engine-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.engine-card {
  position: relative;
  border-radius: 20px;
  padding: 26px;
  min-height: 488px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.65s var(--ease);
}

.engine-card.expanded {
  flex: 1.72;
  cursor: default;
}

.engine-directory {
  background-color: #f7f6fe;
  border: 1px solid #edeafc;
}

.engine-ecom {
  background-color: #ebf6ef;
  border: 1px solid #ddefe3;
}

.engine-classified {
  background-color: #fef9f0;
  border: 1px solid #f7ecd8;
}

.engine-pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(10, 8, 26, 0.15);
}

.engine-txt {
  margin-top: 22px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  max-height: 200px;
  opacity: 1;
  transition:
    opacity 0.35s,
    max-height 0.5s var(--ease),
    margin-top 0.5s var(--ease);
}

.engine-card.expanded .engine-txt {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
}

.engine-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--indigo);
  box-shadow: 0 8px 18px -8px rgba(10, 8, 26, 0.2);
  transition: transform 0.3s var(--spring);
}

.engine-arrow:hover {
  transform: translateY(-2px) scale(1.05);
}

.engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.engine-view {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f6c87;
  opacity: 0;
  transition: opacity 0.4s;
}

.engine-card.expanded .engine-view {
  opacity: 1;
}

.engine-shot {
  margin-top: 20px;
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px -14px rgba(10, 8, 26, 0.16);
  max-height: 560px;
  opacity: 0;
  transform: translateY(16px);
  /* collapse: hide instantly, no delay, so it doesn't linger while the card shrinks */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transition-delay: 0s;
}

.engine-card.expanded .engine-shot {
  opacity: 1;
  transform: none;
  /* reveal only AFTER the width (flex 0.65s) has finished expanding */
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease);
  transition-delay: 0.55s;
}

.engine-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.engines-cta {
  text-align: center;
  margin-top: 64px;
}

.engines-see {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--indigo);
}

.btn-explore {
  margin-top: 22px;
  padding: 20px 32px;
  font-size: 1.02rem;
}

/* ===== COMPARE / ONE PLAN SECTION ===== */
.compare-section {
  background-color: #faf7f2;
  padding: 130px 0 131px;
}

.cmp-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 50px -25px rgba(10, 8, 26, 0.12);
  border: 1px solid #17162a1a;
}

.cmp-hl {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 184px;
  background: linear-gradient(180deg, #ecebfe, #f9f8ff 30%, #f2f1fe);
  border: 1px solid #cfc8fd;
  border-radius: 18px;
  box-shadow: 0 24px 50px -22px rgba(91, 59, 245, 0.28);
  border-top-width: 2px;
  border-bottom-width: 2px;
}

.cmp-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px 184px;
  align-items: center;
  border-top: 1px solid #f1eee8;
}

.cmp-row.cmp-head {
  border-top: 0;
  padding: 26px 0 22px;
}

.cmp-label-head,
.cmp-col-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e8ba3;
}

.cmp-label-head {
  padding-left: 26px;
}

.cmp-col-head {
  text-align: center;
}

.cmp-col-head-hl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cmp-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(137deg, #5b3bf5, #7a5cff 55%, #3e9bff);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.cmp-brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  background: linear-gradient(105deg, #6142f7, #3e9bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cmp-label {
  padding: 19px 20px 19px 26px;
  font-size: 1rem;
  color: #35334c;
}

.cmp-cell {
  display: flex;
  justify-content: center;
}

.t-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.t-x {
  background-color: #fbe4e2;
  color: #c0392b;
}

.t-dash {
  background-color: #fcf0dc;
  color: #b98137;
  font-size: 14px;
}

.t-check {
  background-color: #d9f2ec;
  color: #0a7c62;
}

.cmp-note {
  margin-top: 28px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #8e8ba3;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  position: relative;
  background: #f1eeff;              /* Figma section fill */
  padding: 130px 0 130px 0;
  overflow: hidden;                 /* clips the blob like the Figma frame */
}

/* Figma 1176:2356 "Gradient+Blur" — 480px circle, centre 141px right of the
   content centre, hanging 147px above the section top. */
.pricing-section::before {
  content: "";
  position: absolute;
  top: -147px;
  left: calc(50% + 141px);
  width: 481px;
  height: 480px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(122, 92, 255, 0.28) 0%,
    rgba(122, 92, 255, 0) 64%
  );
  filter: blur(35px);
  opacity: 0.55;
  pointer-events: none;
}

.pricing-section > * {
  position: relative;
  z-index: 1;
}

.price-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 56px;
  padding: 5px;
  background-color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 26px -14px rgba(10, 8, 26, 0.18);
}

.pt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #4d4a66;
  cursor: pointer;
  transition: color 0.2s;
}

.pt-btn.active {
  background: linear-gradient(137deg, #5b3bf5, #7a5cff 55%, #3e9bff);
  color: #fff;
}

.pt-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background-color: #d8f2ea;
  color: #0a7c62;
  font-size: 11px;
}

.pt-btn.active .pt-tag {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.price-grid {
  display: grid;
  grid-template-columns: 364px 364px;
  justify-content: center;
  gap: 20px;
}

.price-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 34px 32px 30px;
  box-shadow: 0 18px 45px -25px rgba(10, 8, 26, 0.15);
}

.price-card-pro {
  background:
    linear-gradient(
      180deg,
      rgba(199, 187, 255, 0.85),
      rgba(255, 255, 255, 0) 45%
    ),
    #ffffff;
  box-shadow: 0 26px 60px -28px rgba(91, 59, 245, 0.4);
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(105deg, #6142f7, #6f67ff);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e8ba3;
}

.price-label-pro {
  color: var(--indigo);
}

.price-amount {
  margin-top: 14px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.price-per {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #8e8ba3;
}

.price-desc {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--muted);
  min-height: 52px;
}

.price-btn {
  width: 100%;
  margin-top: 22px;
  padding: 17px 24px;
}

.price-feats {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: #35334c;
}

.price-feats .pf-off {
  color: #9c99b0;
}

.pf-ico {
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.pf-yes {
  color: #0fa77e;
}

.pf-no {
  color: #9c99b0;
}

.price-note {
  margin-top: 24px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #8e8ba3;
}

.price-chip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  background-color: #d8f2ea;
  color: #0a7c62;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
}

.price-chip-txt {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: #6f6c87;
}

/* ===== SUPPORT SECTION ===== */
.support-section {
  background-color: #fff1e9;
  padding: 150px 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}

.chat-card {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(89, 44, 16, 0.25);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background-color: #ffffff;
  border-bottom: 1px solid #f1eee8;
}

.chat-avatars {
  display: flex;
}

.chat-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.chat-av + .chat-av {
  margin-left: -8px;
}

.chat-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.3;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #10c8a3;
}

.chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10c8a3;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background-color: #faf7f2;
}

.chat-bubble {
  max-width: 72%;
  padding: 12px 18px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-who {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  margin-bottom: 4px;
}

.chat-you {
  align-self: flex-start;
  background-color: #ffffff;
  border: 1px solid #efece5;
  color: var(--ink);
  box-shadow: 0 4px 12px -6px rgba(10, 8, 26, 0.08);
}

.chat-you .chat-who {
  color: #9c99b0;
}

.chat-agent {
  align-self: flex-end;
  background: linear-gradient(137deg, #5b3bf5, #7a5cff 55%, #3e9bff);
  color: #fff;
}

.chat-agent .chat-who {
  color: rgba(255, 255, 255, 0.75);
}

.support-copy .eyebrow {
  margin-bottom: 22px;
}

.support-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--ink);
  max-width: 520px;
}

.support-sub {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 480px;
}

.support-stats {
  display: flex;
  gap: 52px;
  margin-top: 40px;
}

.s-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--indigo);
}

.s-lbl {
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e8ba3;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: #ffffff;
  padding: 87px 0 80px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #efedf5;
  border-radius: 14px;
  box-shadow: 0 2px 10px -4px rgba(10, 8, 26, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}

.faq-item.open {
  border-color: #e2ddf8;
  box-shadow: 0 10px 26px -10px rgba(91, 59, 245, 0.14);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 21px 24px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-color: #efebfd;
  color: var(--indigo);
  flex-shrink: 0;
}

.faq-txt {
  flex: 1;
}

.faq-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #9c99b0;
  transition: transform 0.35s var(--ease);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  border-radius: 2px;
}

.faq-plus::before {
  width: 16px;
  height: 1.6px;
}

.faq-plus::after {
  width: 1.6px;
  height: 16px;
  transition: opacity 0.25s;
}

.faq-item.open .faq-plus {
  transform: rotate(90deg);
}

.faq-item.open .faq-plus::after {
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a-in {
  padding: 0 24px 22px 72px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ===== CTA BANNER SECTION ===== */
.cta-section {
  background-color: #ffffff;
  padding: 80px 0 155px 0;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(
    110deg,
    #6848f9,
    #7c5cfb 45%,
    #5c7dff 82%,
    #5593f6
  );
  text-align: center;
  padding: 80px 40px 76px;
  color: #fff;
}

.cta-title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  color: #fff;
  margin-top: 14px;
  line-height: 1.12;
}

.cta-sub {
  margin-top: 5px;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.btn-white {
  background-color: #fff;
  color: var(--indigo);
  font-size: 1.05rem;
  padding: 20px 19px;
  box-shadow: 0 12px 30px -10px rgba(10, 8, 26, 0.35);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -10px rgba(10, 8, 26, 0.45);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 1.05rem;
  padding: 20px 15px;
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.btn-caret {
  font-size: 0.8em;
  line-height: 1;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 19px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #17162a;
  color: #b9b7c9;
  padding: 64px 20px 40px 20px;
}

.footer .logo-white {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-desc {
  max-width: 360px;
  font-size: 14.4px;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 12px;
  opacity: 0.7;
}

.footer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 360px;
}

.f-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: #c7c5d6;
  white-space: nowrap;
}

.f-chip svg {
  color: #2fd6a4;
  flex-shrink: 0;
}

.footer-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
  opacity: 45%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col a {
  color: #fff;
  font-size: 1rem;
  padding: 5px 0;
  transition: color 0.2s;
  opacity: 70%;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 13.6px;
  color: #ffffff;
  opacity: 50%;
}

.footer-social {
  display: flex;
  gap: 7px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  color: #e7e5f0;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    transform 0.3s var(--spring);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE: SECTIONS ===== */
@media (max-width: 960px) {
  .hero {
    padding: 56px 0 20px;
  }
  .launch-deck {
    min-height: 600px;
  }
  .hero-grid,
  .launch-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .launch-section {
    padding: 80px 0;
  }
  .launch-timer {
    top: -14px;
    right: 8px;
  }
  .templates-section,
  .dragdrop-section,
  .domain-section {
    padding: 90px 0;
  }
  .tpl-deck {
    height: 440px;
  }
  .tpl-slide {
    width: 55%;
  }
  .domain-card {
    margin-left: 0;
  }
  .speed-section {
    padding: 100px 0 110px;
  }
  .speed-grid {
    grid-template-columns: 1fr;
  }
  .feature-section {
    padding: 70px 0;
  }
  .feature-row,
  .feature-row-flip {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .feature-row-flip .feature-media {
    order: 2;
  }
  .engines-section {
    padding: 100px 0 110px;
  }
  .engine-grid {
    flex-direction: column;
  }
  .engine-card,
  .engine-card.expanded {
    flex: none;
    min-height: 0;
    padding-bottom: 72px;
  }
  .compare-section {
    padding: 100px 0 110px;
  }
  .cmp-row {
    grid-template-columns: 1fr 120px 130px;
  }
  .cmp-hl {
    width: 130px;
  }
  .cmp-brand {
    font-size: 0.95rem;
  }
  .pricing-section {
    padding: 100px 0 110px;
  }
  .price-grid {
    grid-template-columns: minmax(0, 364px) minmax(0, 364px);
  }
  .support-section {
    padding: 100px 0;
  }
  .support-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .faq-section {
    padding: 80px 0 30px;
  }
  .cta-section {
    padding: 80px 0 100px;
  }
  .cta-banner {
    padding: 64px 28px 70px;
  }
}

@media (max-width: 640px) {
  .hero-actions .btn {
    width: 100%;
  }
  .hero-banner {
    display: flex;
  }
  .hero-badges {
    flex-wrap: wrap;
  }
  .speed-stats {
    grid-template-columns: 1fr;
  }
  .step {
    gap: 16px;
    padding: 14px 14px;
  }
  .cmp-row {
    grid-template-columns: 1fr 74px 84px;
  }
  .cmp-hl {
    width: 84px;
  }
  .cmp-label {
    padding: 15px 8px 15px 16px;
    font-size: 0.9rem;
  }
  .cmp-label-head {
    padding-left: 16px;
  }
  .cmp-col-head {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .cmp-pill {
    padding: 4px 9px;
    font-size: 9.5px;
  }
  .cmp-brand {
    font-size: 0.8rem;
  }
  .price-grid {
    grid-template-columns: minmax(0, 400px);
  }
  .price-card-pro {
    margin-top: 10px;
  }
  .support-stats {
    gap: 32px;
  }
  .chat-bubble {
    max-width: 88%;
  }
  .footer {
    padding: 64px 0 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-q {
    padding: 17px 18px;
    font-size: 0.98rem;
    gap: 12px;
  }
  .faq-a-in {
    padding: 0 18px 18px 62px;
  }
  .cta-banner {
    padding: 54px 22px 60px;
    border-radius: 22px;
  }
  .cta-sub {
    font-size: 1.05rem;
  }
  .cta-actions .btn {
    width: 100%;
  }
}
 
/* Small Phone Adjustments */
@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }
  .brand .logo {
    height: 26px;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-cta .btn-primary {
    padding: 13px 18px;
    font-size: 0.9rem;
  }
  .nav-toggle {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }
}

@media (max-width: 1500px) {
  .hero-media {
    right: 4%;
    max-width: 500px;
  }
 
  .launch-timer {
    right: 18px;
  }
}

@media (max-width: 1120px) {
  .hero-title {
    font-size: 50px;
  }
  .nodes-canvas {
    min-height: 264px !important;
    height: 264px !important;
  }
  .feature-title {
    font-size: 36px;
  }
  .feature-sub {
    font-size: 18px;
  }
  .hero-media {
    max-width: 400px;
  }
 
  .cta-section,
  .faq-section,
  .support-section,
  .pricing-section,
  .compare-section,
  .engines-section,
  .feature-section,
  .feature-section,
  .speed-section,
  .domain-section,
  .dragdrop-section,
  .templates-section,
  .launch-section {
    padding: 80px 0 80px 0;
  }
  .nav-links a {
    padding: 2px 8px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .hero-media {
    position: unset;
    max-width: 100%;
    padding: 0 20px;
    margin-top: 50px;
  }
  .hero-badge {
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
  }
}

@media (max-width: 500px) {
  .launch-deck {
    min-height: 450px;
  }
  .cta-section,
  .faq-section,
  .support-section,
  .pricing-section,
  .compare-section,
  .engines-section,
  .feature-section,
  .feature-section,
  .speed-section,
  .domain-section,
  .dragdrop-section,
  .templates-section,
  .launch-section {
    padding: 40px 0 40px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .section-sub {
    font-size: 16px;
  }
  .cta-title {
    font-size: 18px;
  }
  .cta-sub {
    font-size: 14px;
  }
}

/* ===== 60-SECOND LAUNCH — Template library mockup (exact Figma 1176:991) ===== */
.tl-mockup {
  position: relative;
  width: 626px;
  /* Figma: card top sits 74px below the left column top; overflows ~85px right */
  margin: 74px -85px 70px auto;
}

@media (max-width: 1500px) {
  .tl-mockup {
    margin-right: 0;
    margin-left: auto;
  }
}

.tl-browser {
  min-height: 700px;
  background: #ffffff;
  border: 1px solid rgba(23, 22, 42, 0.12);
  border-radius: 32px;
  box-shadow: 0 30px 70px -30px rgba(23, 22, 42, 0.22);
  overflow: hidden;
}

.tl-browser .hm-bar {
  height: 56.6px;
}

.tl-body {
  position: relative;
  padding: 33px 33px 21px;
  background: #ffffff;
  box-shadow: 0 14px 35px -8px rgba(91, 71, 245, 0.08);
}

.tl-heading {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11.1px;
  font-weight: 600;
  line-height: 16.7px;
  letter-spacing: -0.28px;
  color: #111125;
}

.tl-subheading {
  margin-top: 3px;
  font-size: 11.1px;
  line-height: 16.7px;
  color: #64748b;
  opacity: 0.8;
}

.tl-filters {
  display: flex;
  gap: 5.6px;
  margin-top: 24px;
}

.tl-filter {
  padding: 6px 14.6px;
  border-radius: 999px;
  background: #ffffff;
  border: 0.7px solid #eeeef5;
  font-size: 9px;
  line-height: 13.5px;
  color: #64748b;
  white-space: nowrap;
}

.tl-filter--active {
  background: #6752eb;
  border-color: #6752eb;
  color: #ffffff;
}

.tl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22.2px;
  margin-top: 22px;
}

.tl-card {
  padding: 11.8px;
  background: #ffffff;
  border: 0.7px solid #eeeef5;
  border-radius: 11.1px;
}

.tl-card--focused {
  box-shadow: 0 0 0 2.1px rgba(108, 71, 255, 0.2);
}

.tl-card--dim {
  opacity: 0.6;
}

.tl-card > img {
  display: block;
  width: 100%;
  height: 133.3px;
  object-fit: cover;
  border-radius: 8.3px;
}

.tl-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11.1px;
}

.tl-card-name {
  font-size: 11.1px;
  font-weight: 600;
  line-height: 16.7px;
  color: #111125;
}

.tl-card-tag {
  font-size: 6.9px;
  font-weight: 700;
  letter-spacing: 0.35px;
  line-height: 10.4px;
  color: #111125;
}

.tl-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 11.1px;
}

.tl-btn-preview,
.tl-btn-use {
  flex: 1;
  padding: 6.25px 0;
  border-radius: 5.6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 8.3px;
  line-height: 11.1px;
  text-align: center;
  white-space: nowrap;
}

.tl-btn-preview {
  border: 0.7px solid #eeeef5;
  color: #64748b;
}

.tl-btn-use {
  background: #6752eb;
  color: #ffffff;
  box-shadow: 0 2.8px 4.2px -0.7px rgba(108, 71, 255, 0.2);
}

.tl-more {
  width: max-content;
  margin: 22px auto 6px;
  padding: 1.7px 11.8px;
  background: #ffffff;
  border: 0.7px solid rgba(108, 71, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 0.7px 0.7px rgba(0, 0, 0, 0.05);
  font-size: 9px;
  line-height: 13.5px;
  color: #6752eb;
}

/* Launch mockup floating badges — Figma positions (626px card space) */
.tl-badge--filter {
  top: 37px;
  left: -72px;
  animation-delay: 0.3s;
}

.tl-badge--filter .hm-connector--down {
  height: 54px;
}

.tl-badge--preview {
  top: 434px;
  left: -32px;
  animation-delay: 1.1s;
}

.tl-badge--preview .hm-connector--up {
  height: 40px;
}

.tl-badge--apply {
  top: 469px;
  right: -79px;
  left: auto;
  animation-delay: 1.9s;
}

.tl-badge--count {
  top: calc(100% + 9px);
  left: 15px;
  animation-delay: 2.7s;
}

.tl-badge--count .hm-connector--up {
  height: 46px;
  left: 80px;
}

@media (max-width: 1240px) {
  .tl-mockup {
    width: 100%;
    max-width: 626px;
  }

  .tl-badge--filter { left: -8px; }
  .tl-badge--preview { left: -6px; }
  .tl-badge--apply { right: -6px; }
}

@media (max-width: 560px) {
  .tl-grid { gap: 12px; }
  .tl-card > img { height: auto; }
  .hm-badge { font-size: 11px; height: 32px; padding: 8px 12px; }
  .tl-badge--preview, .tl-badge--apply { top: 55%; }
  .tl-badge--count { top: calc(100% + 6px); }
}

/* ===== Launch stage — 4 states cycling every 5s, synced to the steps ===== */
.launch-stage {
  position: relative;
}

.launch-stage .launch-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.launch-stage .launch-slide:first-child {
  position: relative;
}

.launch-stage .launch-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.launch-slide--img img {
  width: 700px;
  max-width: none;
  margin: 6px -120px 0 auto;
}

@media (max-width: 1500px) {
  .launch-slide--img img {
    margin-right: -20px;
  }
}

/* ===== Responsive scaling for the fixed-size mockups (hero + launch) ===== */
.scale-box {
  transform-origin: top left;
}

@media (max-width: 1500px) {
  .hero-map {
    right: -60px;
    width: 90%;
  }
}

@media (max-width: 700px) {
  .hm-panel { display: none; }
  .hero-map { display: none; }
}

/* Mobile hero copy — keep everything inside the viewport */
@media (max-width: 640px) {
  .hero-title {
    font-size: 44px;
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .hero-chips {
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-banner {
    font-size: 0.85rem;
  }
}

/* Small-screen nav — keep logo + actions inside the viewport */
@media (max-width: 640px) {
  .nav .wrap {
    padding: 0 14px;
  }

  .brand .logo {
    height: 26px;
  }

  .nav-cta .btn {
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

/* Clip mockup overflow inside the launch section (like the hero does) */
.launch-section {
  overflow: hidden;
}

/* ===== Launch states 2-4 — full HTML mockups (Figma 1176:3445 / 3645 / 3831) ===== */
.ls-dimmed {
  pointer-events: none;
}

.ls-overlay {
  position: absolute;
  inset: 57px 0 0;
  background: rgba(185, 185, 185, 0.7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.tl-browser {
  position: relative;
}

/* --- State 2: Building your site modal (Figma 1176:3561) --- */
.ls-build {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 511px;
  padding: 40px;
  background: #ffffff;
  border: 1.2px solid #eeeef5;
  border-radius: 24px;
  box-shadow: 0 36px 73px -15px rgba(91, 71, 245, 0.15);
}

.ls-build-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19.5px;
  font-weight: 700;
  line-height: 29px;
  color: #0f0f1a;
}

.ls-build-sub {
  margin-top: 5px;
  font-size: 19.5px;
  line-height: 29px;
  color: #918ea2;
}

.ls-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 39px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19.5px;
  font-weight: 700;
  color: #5b47f5;
}

.ls-progress {
  display: block;
  height: 12px;
  margin-top: 10px;
  background: #f3f0ff;
  border-radius: 999px;
  overflow: hidden;
}

.ls-progress-fill {
  display: block;
  width: 75%;
  height: 100%;
  background: #6c47ff;
  border-radius: 999px;
  animation: ls-progress-load 2.2s ease-out;
}

@keyframes ls-progress-load {
  from { width: 8%; }
  to { width: 75%; }
}

.ls-checklist {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 39px;
  list-style: none;
  padding: 0;
}

.ls-checklist li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19.5px;
  font-weight: 500;
  line-height: 29px;
  color: #0f0f1a;
}

.ls-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #e6fffa;
  flex-shrink: 0;
}

.ls-check--active {
  background: #f3f0ff;
}

.ls-check--active img {
  animation: ls-spin 1.4s linear infinite;
}

@keyframes ls-spin {
  to { transform: rotate(360deg); }
}

/* State 2 badge positions (626px card space, from Figma 1262:2) */
.ls2-badge--wp { top: 78px; left: -37px; animation-delay: 0.3s; }
.ls2-badge--cdn { top: 169px; left: 537px; animation-delay: 1s; }
.ls2-badge--cache { top: 680px; left: -71px; animation-delay: 1.7s; }

.ls2-badge--big {
  top: 646px;
  left: 497px;
  height: auto;
  padding: 18px;
  border-radius: 72px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  animation-delay: 2.4s;
}

/* --- State 3: Connect your domain modal --- */
.ls-domain {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  /* fill more of the card, matching the other states' visual weight */
  min-height: 540px;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 36px 73px -15px rgba(91, 71, 245, 0.15);
  overflow: hidden;
}

.ls-domain-title {
  padding: 38px 28px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  color: #918ea2;
}

.ls-domain-input {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 28px 0;
  padding: 22px 20px;
  background: #f3f0ff;
  border-radius: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  color: #17162a;
}

.ls-domain-ssl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 28px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  color: #16a34a;
}

.ls-ns-box {
  margin: 28px 28px 0;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #eef1f6;
  border-radius: 12px;
}

.ls-ns-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 16px;
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  color: #17162a;
}

.ls-ns-row + .ls-ns-row {
  margin-top: 10px;
}

.ls-ns-note {
  padding: 14px 0 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  text-align: center;
  color: #a3a1b3;
}

.ls-dns-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 18px 20px;
  background: #e9e7ff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  color: #17162a;
}

.ls-dns-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6752eb;
  flex-shrink: 0;
}

.ls-dns-refresh {
  margin-left: auto;
  animation: ls-spin 2.5s linear infinite;
}

/* State 3 badge positions */
.ls3-badge--bring { top: 133px; left: -5px; animation-delay: 0.3s; }
.ls3-badge--bring .hm-connector--down { height: 44px; }
.ls3-badge--ssl { top: 185px; left: 507px; animation-delay: 1s; }
.ls3-badge--ns { top: 523px; left: -84px; animation-delay: 1.7s; }
.ls3-badge--zero { top: 622px; left: 513px; animation-delay: 2.4s; }

/* --- State 4: You're live --- */
.ls-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 10px;
  background: rgba(0, 108, 73, 0.1);
  border: 0.8px solid rgba(0, 108, 73, 0.2);
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #006c49;
}

.ls-live-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #006c49;
}

.ls-site {
  position: relative;
  height: 680px;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  background: #ffffff;
}

.ls-site-layers {
  position: absolute;
  inset: 0;
}

.ls-layer {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
}

/* Exact Figma layer geometry (percent of 680px body) */
.ls-layer--1 { top: 13.61%; height: 64.97%; }
.ls-layer--2 { top: 0.06%; height: 219.82%; }
.ls-layer--3 { top: -0.1%; height: 622.47%; }
.ls-layer--4 { top: 0.09%; height: 147.09%; }

.ls-site-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 303px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 89%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ls-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 110px;
  padding: 17px 27px;
  background: linear-gradient(180deg, #e5005c 0%, #ff22ae 100%);
  border: 1px solid #ffffff;
  border-radius: 85px;
  box-shadow:
    0 36px 91px 0 rgba(229, 0, 92, 0.34),
    0 21px 28px 0 rgba(229, 0, 92, 0.19),
    0 9px 11px 0 rgba(229, 0, 92, 0.22);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 26.6px;
  font-weight: 800;
  letter-spacing: -0.67px;
  color: #ffffff;
  animation: ls-pop 0.6s var(--spring);
}

@keyframes ls-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.ls-selection {
  position: absolute;
  top: 152px;
  left: 30px;
  width: 213px;
  height: 135px;
  border: 1.2px dashed #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.ls-editing {
  position: absolute;
  top: 128px;
  left: 250px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ls-editing span {
  padding: 4px 8px;
  background: #5b47f5;
  border-radius: 54px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
}

/* State 4 badge positions */
.ls4-badge--url { top: -88px; left: 4px; animation-delay: 0.3s; }
.ls4-badge--url .hm-connector--down { height: 54px; }
.ls4-badge--dynamic { top: 435px; left: 540px; animation-delay: 1s; }
.ls4-badge--edit { top: 386px; left: -45px; animation-delay: 1.7s; }

.ls4-toast {
  right: -89px;
  bottom: 27px;
}

/* =========================================================================
   NO CEILING / BUILD ANYTHING — exact Figma geometry (1176:2613)
   Content column 1132px matches Figma 289 → 1421, so values are 1:1.
   ========================================================================= */
.templates-section {
  overflow: hidden;
}

.templates-section .feature-row {
  grid-template-columns: 533px 1fr;
  gap: 114px;
  align-items: start;
}

/* Figma: copy frame y=120.97, card group y=185.21 → 64px lower */
.templates-section .tpl-deck {
  position: relative;
  width: 789px;
  height: 491px;
  /* Figma: container x=934.89 + group offset 26.98 -> deck starts 27px in */
  margin: 64px 0 0 27px;
  overflow: visible;
}

.templates-section .tpl-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 345px;
  height: 491px;
  border-radius: 14px;
  overflow: hidden;
  opacity: 1;
  transform: none;
  transition:
    left 0.6s var(--ease),
    top 0.6s var(--ease),
    width 0.6s var(--ease),
    height 0.6s var(--ease),
    opacity 0.5s var(--ease);
}

.templates-section .tpl-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Card 3 — front / centre (Figma 26.98,27.24 · 345.19 × 490.53) */
.templates-section .tpl-slide[data-pos="0"] {
  left: 0;
  top: 0;
  width: 345px;
  height: 491px;
  z-index: 4;
  opacity: 1;
  box-shadow: 0 32px 60px -24px rgba(89, 44, 16, 0.32);
}

/* Card 2 — Real Estate Hub (Figma 229.99,72.70 · 333.62 × 456.24) */
.templates-section .tpl-slide[data-pos="1"] {
  left: 203px;
  top: 18px;
  width: 334px;
  height: 456px;
  z-index: 3;
  opacity: 1;
  box-shadow: 0 24px 48px -26px rgba(89, 44, 16, 0.26);
}

/* Card 4 — Multi-Vendor Marketplace (Figma 409.49,74.20 · 305.35 × 427.93) */
.templates-section .tpl-slide[data-pos="2"] {
  left: 383px;
  top: 32px;
  width: 305px;
  height: 428px;
  z-index: 2;
  opacity: 1;
  box-shadow: 0 20px 40px -28px rgba(89, 44, 16, 0.2);
}

/* Card 1 — Local Business Finder (Figma 525.79,71.49 · 313.42 × 433.34) */
.templates-section .tpl-slide[data-pos="3"] {
  left: 499px;
  top: 29px;
  width: 313px;
  height: 433px;
  z-index: 1;
  opacity: 1;
  box-shadow: none;
}

/* Anything deeper stays parked behind the last visible card */
.templates-section .tpl-slide:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]):not([data-pos="3"]) {
  left: 499px;
  top: 29px;
  width: 313px;
  height: 433px;
  opacity: 0;
  z-index: 0;
}

@media (max-width: 1280px) {
  .templates-section .feature-row {
    grid-template-columns: 460px 1fr;
    gap: 60px;
  }
  .templates-section .tpl-deck {
    transform: scale(0.82);
    transform-origin: top left;
    height: 402px;
  }
}

@media (max-width: 1024px) {
  .templates-section .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .templates-section .tpl-deck {
    transform: scale(0.72);
    height: 354px;
    margin-top: 8px;
  }
}

@media (max-width: 620px) {
  .templates-section .tpl-deck {
    transform: scale(0.46);
    height: 226px;
  }
}

/* =========================================================================
   DRAG, DROP, DONE — exact Figma geometry (1176:2707 Section - CUSTOMIZE)
   Left visual x=276.5 w=605 · right copy x=915.5 w=548.66
   ========================================================================= */
.dragdrop-section .feature-row-flip {
  grid-template-columns: 605px 548px;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.dragdrop-section .feature-media {
  width: 605px;
  margin-left: -13px; /* Figma bleeds 12.5px past the content column */
}

.dragdrop-section .feature-title {
  max-width: 548px;
  font-size: 46px;
  letter-spacing: -1.6px;
}

.dragdrop-section .feature-sub {
  max-width: 548px;
  font-size: 19px;
  line-height: 1.62;
}

.dragdrop-section .dd-list {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  counter-reset: none;
}

.dragdrop-section .dd-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 548px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.dragdrop-section .dd-num {
  flex-shrink: 0;
  width: auto;
  min-width: 12px;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--indigo);
  text-align: left;
}

.dragdrop-section .dd-list strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1280px) {
  .dragdrop-section .feature-row-flip {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .dragdrop-section .feature-media {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 960px) {
  .dragdrop-section .feature-row-flip {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   IT'S YOURS, NOT OURS — animated verification card (1176:1117)
   ========================================================================= */
.domain-checks li {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.domain-checks li.is-on {
  opacity: 1;
  transform: none;
}

.dc-ico {
  background-color: #d8f7ef;
  color: #d8f7ef;
  transform: scale(0.6);
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.45s var(--spring);
}

.domain-checks li.is-on .dc-ico {
  background-color: #10c8a3;
  color: #fff;
  transform: scale(1);
}

/* Toggle is now a real control */
.domain-toggle {
  width: 100%;
  border: none;
  background: none;
  padding: 26px 0 0;
  margin-top: 26px;
  border-top: 1px solid #f1eee8;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.domain-toggle:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 4px;
  border-radius: 8px;
}

.dt-switch {
  background-color: #dcdae4;
  transition: background-color 0.35s var(--ease);
}

.dt-switch::after {
  right: auto;
  left: 3px;
  transition: transform 0.35s var(--spring);
}

.domain-toggle[aria-checked="true"] .dt-switch {
  background-color: #10c8a3;
}

.domain-toggle[aria-checked="true"] .dt-switch::after {
  transform: translateX(19px);
}

.dt-meta em {
  transition: color 0.35s var(--ease);
}

.domain-toggle[aria-checked="true"] .dt-meta em {
  color: #0fa77e;
}

@media (prefers-reduced-motion: reduce) {
  .domain-checks li,
  .dc-ico,
  .dt-switch,
  .dt-switch::after {
    transition: none;
  }
}

/* =========================================================================
   SUPPORT CHAT — conversation plays in when the section enters view
   ========================================================================= */
.chat-body {
  position: relative;
  min-height: 300px;
  justify-content: flex-end;
}

/* Bubbles start hidden; each side slides in from its own edge */
.chat-body .chat-bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--spring);
  will-change: opacity, transform;
}

.chat-body .chat-you {
  transform: translate(-14px, 10px) scale(0.97);
}

.chat-body .chat-agent {
  transform: translate(14px, 10px) scale(0.97);
}

.chat-body .chat-bubble.is-in {
  opacity: 1;
  transform: none;
}

/* Typing indicator — parks on the side of whoever is about to speak */
.chat-typing {
  display: none;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  width: max-content;
  padding: 14px 16px;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1px solid #efece5;
  box-shadow: 0 4px 12px -6px rgba(10, 8, 26, 0.08);
}

.chat-typing.is-on {
  display: inline-flex;
}

.chat-typing.is-agent {
  align-self: flex-end;
  background: linear-gradient(137deg, #5b3bf5, #7a5cff 55%, #3e9bff);
  border-color: transparent;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #b9b6c8;
  animation: chat-dot 1.1s ease-in-out infinite;
}

.chat-typing.is-agent span {
  background-color: rgba(255, 255, 255, 0.85);
}

.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-body .chat-bubble {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .chat-typing { display: none !important; }
  .chat-typing span { animation: none; }
}

/* =========================================================================
   ENGINES — all three equal at rest, images always peeking; hover expands
   (Figma 1274:736)
   ========================================================================= */
.engine-card {
  flex: 1 1 0;
  min-height: 470px;
  padding-bottom: 0;
}

/* No card is pre-expanded any more — the grid rests at 3 equal columns */
.engine-card.expanded,
.engine-grid:hover .engine-card.expanded:not(:hover) {
  flex: 1 1 0;
}

/* Hover (or keyboard focus) grows one card and squeezes the other two */
.engine-grid:hover .engine-card:hover,
.engine-grid:focus-within .engine-card:focus-within {
  flex: 1.4 1 0;
}

.engine-grid:hover .engine-card:not(:hover),
.engine-grid:focus-within .engine-card:not(:focus-within) {
  flex: 0.72 1 0;
}

/* Body copy stays visible in every state (Figma shows it in all three) */
.engine-card .engine-txt,
.engine-card.expanded .engine-txt {
  max-height: 200px;
  opacity: 1;
  margin-top: 22px;
  overflow: visible;
}

/* Preview image is always on screen, cropped by the card edge */
.engine-shot,
.engine-card.expanded .engine-shot {
  position: relative;
  margin-top: 24px;
  margin-right: -26px;   /* bleed past the card padding, like Figma */
  margin-bottom: -26px;
  border-radius: 14px 0 0 0;
  max-height: none;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.5s var(--ease),
    filter 0.4s var(--ease);
  transition-delay: 0s;
}

.engine-shot img {
  width: 100%;
  min-width: 340px;      /* keeps the shot readable while the card is narrow */
  height: auto;
}

/* Idle cards sit back slightly; the hovered one comes forward */
.engine-grid:hover .engine-card:not(:hover) .engine-shot {
  opacity: 0.62;
  filter: saturate(0.85);
}

.engine-grid:hover .engine-card:hover .engine-shot {
  opacity: 1;
  transform: translateY(-4px);
}

.engine-view {
  opacity: 0;
}

.engine-card:hover .engine-view,
.engine-card.expanded .engine-view {
  opacity: 1;
}

/* =========================================================================
   LAUNCH · state 2 — progress bar fills each time the slide becomes active
   ========================================================================= */
.ls-progress-fill {
  width: 0;
  animation: none;
  transition: width 4.3s cubic-bezier(0.22, 0.75, 0.3, 1);
}

/* =========================================================================
   LAUNCH · state 4 — congratulations blast behind "You're Live"
   ========================================================================= */
/* the blast is free to spray across the preview; .ls-site clips it */
.ls-confetti { z-index: 2; }
.ls-live-pill { position: relative; z-index: 3; }

.ls-confetti {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.ls-confetti i {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 10px;
  height: 15px;
  border-radius: 2px;
  opacity: 0;
  will-change: transform, opacity;
}

.launch-slide.active .ls-confetti i {
  animation: ls-burst 1.5s cubic-bezier(0.2, 0.75, 0.35, 1) forwards;
}

@keyframes ls-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.4);
  }
  12% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform:
      translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)))
      rotate(var(--rot)) scale(1);
  }
}

.ls-live-emoji {
  display: inline-block;
}

.launch-slide.active .ls-live-emoji {
  animation: ls-emoji-pop 1.1s var(--spring) 0.15s both;
}

@keyframes ls-emoji-pop {
  0%   { transform: scale(0) rotate(-25deg); }
  55%  { transform: scale(1.35) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ls-confetti i,
  .ls-live-emoji {
    animation: none;
  }
  .ls-progress-fill { transition: none; }
}

/* =========================================================================
   TEMPLATE FAN — arc of tilted cards, fading back; hover/click brings forward
   ========================================================================= */
.templates-section .tpl-slide {
  cursor: pointer;
  transform-origin: center center;
  transition:
    left 0.6s var(--ease),
    top 0.6s var(--ease),
    width 0.6s var(--ease),
    height 0.6s var(--ease),
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    box-shadow 0.45s var(--ease);
}

/* Arc: front leans left, the stack rotates progressively right */
/* active card is full size; each one behind steps down in scale + opacity */
.templates-section .tpl-slide[data-pos="0"] { transform: rotate(0deg) scale(1); opacity: 1; }
.templates-section .tpl-slide[data-pos="1"] { transform: rotate(1.77deg) scale(0.965); opacity: 1; }
.templates-section .tpl-slide[data-pos="2"] { transform: rotate(-2.04deg) scale(0.93); opacity: 0.9; }
.templates-section .tpl-slide[data-pos="3"] { transform: rotate(3.18deg) scale(0.895); opacity: 0.6; }

/* Hover any card: straighten it, lift it, bring it fully forward */
.templates-section .tpl-slide:hover {
  transform: rotate(0deg) scale(1.045) translateY(-10px);
  opacity: 1;
  z-index: 9;
  box-shadow: 0 40px 70px -26px rgba(89, 44, 16, 0.42);
}

@media (prefers-reduced-motion: reduce) {
  .templates-section .tpl-slide,
  .templates-section .tpl-slide:hover {
    transition: none;
  }
}

/* =========================================================================
   PRICING comparison header — plain pill + real CubeWP logo
   ========================================================================= */
.cmp-pill {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--indigo);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cmp-brand-logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .cmp-brand-logo { height: 20px; }
}

@media (max-width: 620px) {
  .cmp-brand-logo { height: 12px; }
  .cmp-pill { font-size: 9px; letter-spacing: 0.1em; }
}

/* =========================================================================
   SUPPORT CHAT — reserve the final height so nothing shifts while it types
   ========================================================================= */
.chat-body {
  min-height: 348px;
}

@media (max-width: 1024px) {
  .chat-body { min-height: 372px; }
}

@media (max-width: 560px) {
  .chat-body { min-height: 420px; }
}

/* =========================================================================
   RESPONSIVE HARDENING
   Fixed-width mockups must never widen a grid track or push the page.
   ========================================================================= */
html,
body {
  max-width: 100%;
}

/* Sections that host bleeding/fixed-width visuals clip their own overflow */
.hero,
.launch-section,
.templates-section,
.dragdrop-section,
.domain-section,
.support-section {
  overflow: hidden;
}

/* Long words / URLs never force a track wider than the screen */
.feature-copy,
.support-copy,
.launch-copy,
.hero-copy {
  min-width: 0;
}

@media (max-width: 1280px) {
  .templates-section .feature-row {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  /* Single column — the deck is allowed to overflow its (clipped) track */
  .templates-section .feature-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .templates-section .tpl-deck {
    margin-left: 0;
  }

  .templates-section .feature-title,
  .templates-section .feature-sub,
  .templates-section .feature-sub.feature-sub-2,
  .templates-section .tpl-chips {
    max-width: 100%;
  }

  .dragdrop-section .feature-row-flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .dragdrop-section .feature-title,
  .dragdrop-section .feature-sub,
  .dragdrop-section .dd-list li {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .launch-grid,
  .support-grid,
  .feature-row,
  .feature-row-flip {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-title,
  .feature-sub,
  .section-title,
  .section-sub,
  .support-title,
  .support-sub,
  .hero-title,
  .hero-sub {
    max-width: 100%;
  }

  .domain-card {
    max-width: 100%;
    margin-left: 0;
  }

  .engine-shot img {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .feature-title {
    font-size: 34px;
    letter-spacing: -1.1px;
  }

  .feature-sub {
    font-size: 17px;
  }

  .section-title {
    font-size: 30px;
  }

  .tpl-chips {
    gap: 8px;
  }

  .tpl-chip {
    padding: 8px 14px;
    font-size: 13px;
  }

  .dragdrop-section .feature-title {
    font-size: 32px;
  }

  /* Support stats wrap instead of squeezing */
  .support-stats {
    flex-wrap: wrap;
    gap: 18px 26px;
  }
}

@media (max-width: 460px) {
  .wrap {
    padding: 0 16px;
  }

  .feature-title,
  .dragdrop-section .feature-title {
    font-size: 29px;
  }

  .section-title {
    font-size: 26px;
  }

  .chat-bubble {
    max-width: 86%;
  }
}

@media (max-width: 960px) {
  
}
/* Phones: launch states stack normally instead of flexing to the right */
@media (max-width: 640px) {
  .launch-stage .launch-slide {
    display: block;
  }
}

/* Phones: keep the launch mockup at its true 626px design width — the
   scale transform handles the fit, so the inner layout stays proportional. */
@media (max-width: 640px) {
  .tl-mockup {
    width: 626px;
    max-width: none;
  }

  /* undo the small-screen shrink-downs so the composition stays 1:1 */
  .tl-grid { gap: 22.2px; }
  .tl-card > img { height: 133.3px; }
  .hm-badge { font-size: 13px; height: 38px; padding: 10px 16px; }
  .tl-badge--preview { top: 434px; }
  .tl-badge--apply { top: 469px; }
  .tl-badge--count { top: calc(100% + 9px); }
}

/* Mobile: every engine card is open by default — no hover expansion,
   the grid is already stacked so each one shows its full preview. */
@media (max-width: 960px) {
  .engine-grid .engine-card,
  .engine-grid .engine-card.expanded,
  .engine-grid:hover .engine-card:hover,
  .engine-grid:hover .engine-card:not(:hover),
  .engine-grid:focus-within .engine-card:focus-within,
  .engine-grid:focus-within .engine-card:not(:focus-within) {
    flex: none;
  }

  .engine-card .engine-view,
  .engine-card.expanded .engine-view {
    opacity: 1;
  }

  .engine-shot,
  .engine-card.expanded .engine-shot,
  .engine-grid:hover .engine-card:not(:hover) .engine-shot {
    opacity: 1;
    transform: none;
    filter: none;
    margin-right: -26px;
    margin-bottom: -26px;
  }
}

/* Launch card height steps down with the viewport */
@media (max-width: 1240px) {
  .tl-browser { min-height: 640px; }
}

@media (max-width: 960px) {
  .tl-browser { min-height: 600px; }
}

@media (max-width: 640px) {
  /* phones keep the 626px design width, so hold the design height too */
  .tl-browser { min-height: 700px; }
}
