/* ===================================================
   template.websites.css - Websites product page styles
   Inherits: template.css (reset, variables, buttons, nav, footer)
   =================================================== */

/* --- Typography helpers --- */
.label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.eyebrow-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.h1-display {
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0;
}

.h2-section {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 400;
  margin: 0;
}

.h3-large {
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0;
}

.body-lg {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  font-weight: 300;
  color: var(--dark);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  transition: all .2s ease;
}

.btn-ghost-dark:hover {
  background: var(--text);
  color: var(--white);
}

.btn-arrow {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 220px);
  padding: 140px 80px 100px;
}

.hero-copy .label {
  margin-bottom: 32px;
}

.hero-copy h1 {
  margin: 0 0 28px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-copy .lead {
  max-width: 50ch;
  margin-bottom: 40px;
}

.hero-copy .ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-ghost-dark:hover {
  background: var(--text);
  color: var(--white);
}

/* Connection nexus visual */
.hero-nexus {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
}

.nexus-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nx-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid #DFDFDF;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-deep);
  box-shadow: 0 4px 16px rgba(7, 40, 52, 0.06);
  white-space: nowrap;
  animation: chip-float 6s ease-in-out infinite;
}

.nx-chip .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 124, 77, 0.18);
}

.nx-1 {
  top: 14%;
  right: 10%;
  animation-delay: 0s;
}

.nx-2 {
  top: 13%;
  left: 12%;
  animation-delay: 0.4s;
}

.nx-2 .d {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 139, 34, 0.18);
}

.nx-3 {
  top: 50%;
  left: 0%;
  animation-delay: 0.8s;
}

.nx-3 .d {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 136, 191, 0.18);
}

.nx-4 {
  bottom: 12%;
  left: 18%;
  animation-delay: 1.2s;
}

.nx-4 .d {
  background: var(--salmon);
  box-shadow: 0 0 0 3px rgba(249, 193, 185, 0.35);
}

.nx-5 {
  bottom: 10%;
  right: 8%;
  animation-delay: 1.6s;
}

.nx-5 .d {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(166, 198, 50, 0.25);
}

.nx-6 {
  top: 50%;
  right: -2%;
  animation-delay: 2s;
}

.nx-6 .d {
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(7, 76, 103, 0.18);
}

@keyframes chip-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.nx-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 1.15 / 1;
}

.nx-window {
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 1px solid #DFDFDF;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(7, 40, 52, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nx-window .bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: var(--cream);
  border-bottom: 1px solid #DFDFDF;
}

.nx-window .bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DFDFDF;
}

.nx-window .win-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.nx-window .line {
  height: 6px;
  background: #DFDFDF;
  border-radius: 999px;
}

.nx-window .line.w70 {
  width: 70%;
}

.nx-window .line.w50 {
  width: 50%;
}

.nx-window .line.w90 {
  width: 90%;
}

.nx-window .pill {
  margin-top: 6px;
  align-self: flex-start;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 28px;
  background: var(--muted);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {

  0%,
  100% {
    transform: scaleY(0.3);
    transform-origin: top;
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Animated hero mesh — abstract dots that drift */
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* =========================================================
   TAB SWITCH (Concept selector)
   ========================================================= */
.concept-switch-wrap {
  position: sticky;
  top: 80px;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-top: -28px;
}

.concept-switch {
  pointer-events: auto;
  display: inline-flex;
  background: var(--text);
  color: var(--white);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(7, 40, 52, 0.18);
}

.concept-switch button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.concept-switch button.active {
  background: var(--white);
  color: var(--text);
}

.concept-switch button:hover:not(.active) {
  color: var(--white);
}

.concept-switch .num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  opacity: 0.6;
}

/* =========================================================
   CONCEPT VIEW WRAPPER
   ========================================================= */
.concept-view {
  display: none;
}

.concept-view.active {
  display: block;
}

/* =========================================================
   CONCEPT A — HORIZONTAL JOURNEY
   ========================================================= */
.journey-intro {
  padding: 160px 0 120px;
  background: var(--white);
  position: relative;
}

.journey-intro .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.journey-intro h2 {
  max-width: 16ch;
}

.journey-intro .lead {
  max-width: 42ch;
}

/* Journey Swiper container */
.journey-section {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
}

.journey-inner {
  position: relative;
  overflow: hidden;
}

.journey-swiper {
  width: 100%;
  height: 100vh;
}

.journey-panel {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 80px;
}

/* Navigation */
.journey-nav {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.journey-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.journey-nav-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.journey-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Progress dot indicator */
.journey-progress {
  display: flex;
  gap: 14px;
  z-index: 10;
}

.journey-progress .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all .3s ease;
  cursor: pointer;
}

.journey-progress .dot.active {
  background: var(--orange);
  width: 32px;
  border-radius: 999px;
}

/* Counter — small, on the LEFT */
.journey-counter {
  position: absolute;
  bottom: 48px;
  left: 64px;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  gap: 6px;
  align-items: baseline;
  z-index: 10;
  direction: ltr;
  text-transform: uppercase;
}

.journey-counter .big {
  font-size: 22px;
  line-height: 1;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0;
}

.journey-counter .divider {
  opacity: 0.4;
}

.journey-counter .total {
  opacity: 0.55;
}

/* Panel 0: intro */
.j-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.j-intro .num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 220px;
  line-height: 0.85;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.07);
}

.j-intro .j-arrow {
  font-size: 0;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.j-intro .j-arrow svg {
  width: 70%;
  max-width: 320px;
  height: auto;
  display: block;
  animation: arrow-drift 2.8s ease-in-out infinite;
}

.j-intro .j-arrow-label {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding-right: 2px;
}

@keyframes arrow-drift {

  0%,
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }

  50% {
    transform: translateX(-10px);
    opacity: 1;
  }
}

.j-intro h3 {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 400;
  margin-bottom: 24px;
}

.j-intro p {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 40ch;
  font-weight: 300;
}

/* Stations */
.station {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.station-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.station-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
}

.station-title {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  font-weight: 400;
  margin: 0;
}

.station-title em {
  font-style: normal;
  color: var(--orange);
}

.station-desc {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  max-width: 38ch;
}

.station-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
}

.station-bullets li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 300;
}

.station-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Station visual containers — image slot + overlay annotation */
.station-vis {
  position: relative;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
}

.station-vis img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vis-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(7, 40, 52, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.vis-overlay .o-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 12px;
}

/* — Station 1: Plan / Discovery — overlapping blueprint cards */
.vis-plan {
  position: relative;
  width: 100%;
  height: 100%;
}

.vis-plan .card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  font-weight: 300;
}

.vis-plan .card .head {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.vis-plan .card.c1 {
  top: 8%;
  right: 6%;
  width: 48%;
}

.vis-plan .card.c2 {
  top: 38%;
  right: 28%;
  width: 56%;
  transform: rotate(-2deg);
}

.vis-plan .card.c3 {
  top: 64%;
  right: 4%;
  width: 44%;
  transform: rotate(1.5deg);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row .k {
  color: rgba(255, 255, 255, 0.6);
}

.spec-row .v {
  color: var(--white);
}

/* — Station 2: Design — color & type system */
.vis-design {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.swatch-row {
  display: flex;
  gap: 10px;
}

.swatch {
  flex: 1;
  height: 80px;
  border-radius: 10px;
  position: relative;
}

.swatch span {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  font-family: 'Clash Grotesk', sans-serif;
  color: var(--white);
  opacity: 0.85;
}

.type-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.type-stack .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.type-stack .label-en {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.type-stack .sample-1 {
  font-size: 38px;
  line-height: 1;
  font-weight: 300;
}

.type-stack .sample-2 {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

.type-stack .sample-3 {
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* — Station 3: Code + Connections — terminal + integration map */
.vis-code {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.term {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  direction: ltr;
  text-align: left;
}

.term-head {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.term-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.term-line {
  line-height: 1.7;
}

.term-line .c-key {
  color: var(--lime);
}

.term-line .c-str {
  color: var(--salmon);
}

.term-line .c-com {
  color: rgba(255, 255, 255, 0.4);
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.int-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--white);
}

.int-chip .ico {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border-radius: 7px;
  background: rgba(38, 136, 191, 0.18);
  border: 1px solid rgba(38, 136, 191, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}

/* — Station 4: QA — checklist with checks */
.vis-qa {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qa-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 6px;
}

.qa-head .t {
  font-size: 16px;
  font-weight: 500;
}

.qa-head .pct {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.qa-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.qa-row .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qa-row .check svg {
  width: 12px;
  height: 12px;
  stroke: var(--navy-deep);
  stroke-width: 2.5;
}

.qa-row.pending .check {
  background: rgba(255, 255, 255, 0.15);
}

.qa-row.pending .check svg {
  display: none;
}

.qa-row.pending {
  color: rgba(255, 255, 255, 0.5);
}

/* — Station 5: Launch & Support — pulse circle with team */
.vis-support {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
      rgba(38, 136, 191, 0.25) 0%,
      rgba(38, 136, 191, 0.05) 60%,
      transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse::before,
.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(38, 136, 191, 0.4);
  animation: pulse-ring 3s ease-out infinite;
}

.pulse::after {
  animation-delay: 1.5s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.pulse-core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  z-index: 2;
  box-shadow: 0 0 40px rgba(38, 136, 191, 0.4);
}

.support-orbits {
  position: absolute;
  inset: -60px;
  pointer-events: none;
}

.orbit-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* Panel 5 (closing): connections summary */
.j-close {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.j-close h3 {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  font-weight: 400;
  margin-bottom: 24px;
}

.j-close h3 em {
  font-style: normal;
  color: var(--orange);
}

.j-close p {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42ch;
  font-weight: 300;
  margin-bottom: 32px;
}

/* =========================================================
   IMS SECTION
   ========================================================= */
.ims-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 140px 80px;
}

.ims-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(7, 40, 52, 0.05) 1px, transparent 1.2px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.7;
}

.ims-section .container {
  position: relative;
  z-index: 2;
}

.ims-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.ims-copy h2 {
  margin: 0 0 28px;
  max-width: 24ch;
}

.ims-copy h2 em {
  font-style: normal;
  color: var(--orange);
}

.ims-copy .lead {
  max-width: 46ch;
  margin: 0 0 40px;
}

.ims-copy .lead strong {
  color: var(--navy-deep);
  font-weight: 500;
}

.ims-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.ims-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 40, 52, 0.1);
}

.ims-features li:first-child {
  border-top: none;
  padding-top: 0;
}

.ims-features .ims-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 10px;
  box-shadow: 0 0 0 4px rgba(255, 139, 34, 0.15);
}

.ims-features h5 {
  font-family: 'Heebo', sans-serif;
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ims-features p {
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark);
  margin: 0;
  font-weight: 300;
}

/* IMS visual: a browser-window framing the placeholder image */
.ims-vis {
  position: relative;
  width: 100%;
}

@media (min-width: 992px) {
  .ims-vis {
    margin-right: -60px;
  }
}


.ims-screen {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(7, 40, 52, 0.1);
  border-radius: 18px;
  box-shadow:
    0 30px 70px -20px rgba(7, 40, 52, 0.25),
    0 8px 24px rgba(7, 40, 52, 0.08);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
}

.ims-screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--cream);
  border-bottom: 1px solid rgba(7, 40, 52, 0.08);
  flex-shrink: 0;
  text-align: left;
  direction: ltr;
}

.ims-screen-bar>span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(7, 40, 52, 0.18);
}

.ims-screen-bar>span:first-child {
  background: #FF6B5B;
}

.ims-screen-bar>span:nth-child(2) {
  background: #FFC95B;
}

.ims-screen-bar>span:nth-child(3) {
  background: var(--green);
}

.ims-url {
  margin-right: 16px;
  background: var(--white);
  border: 1px solid rgba(7, 40, 52, 0.08);
  border-radius: 999px;
  padding: 5px 16px;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  direction: ltr;
  flex: 1;
}

.ims-screen image-slot {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.ims-vis-tag {
  position: absolute;
  bottom: -22px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  box-shadow: 0 12px 32px rgba(7, 40, 52, 0.2);
}

.ims-vis-tag .t-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 12px;
  text-transform: uppercase;
}

/* =========================================================
   FORMS SECTION
   ========================================================= */
.forms-section {
  background: var(--navy-deep);
  color: var(--white);
      padding: 140px 80px;
  position: relative;
  overflow: hidden;
}

.forms-section .container {
  position: relative;
  z-index: 2;
}


.forms-head h2 {
  color: var(--white);
  margin: 0;
  text-align: center;
}

.forms-head h2 em {
  font-style: normal;
  color: var(--orange);
}

.forms-body {
  max-width: 900px;
  margin: 0 auto;
}

.forms-head .lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
  font-weight: 300;
  text-align: center;
}

.forms-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
      max-width: 500px;
    margin: 0 auto;
}

.forms-mini li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.forms-mini li span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

/* The flow infographic */
.forms-flow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.forms-flow-svg {
  position: absolute;
  inset: 40px 0 40px 0;
  width: 100%;
  height: calc(100% - 80px);
  z-index: 1;
  pointer-events: none;
}

.forms-flow {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 360px;
}

.flow-node {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.flow-node-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 240px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.flow-node-inner.is-center {
  background: var(--white);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  max-width: 320px;
  padding: 20px 22px 22px;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.4);
}

.flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.flow-icon-user {
  background: rgba(255, 139, 34, 0.14);
  color: var(--orange);
  border: 1px solid rgba(255, 139, 34, 0.35);
}

.flow-icon-crm {
  background: rgba(38, 136, 191, 0.18);
  color: var(--blue);
  border: 1px solid rgba(38, 136, 191, 0.4);
}

.flow-icon svg {
  width: 30px;
  height: 30px;
}

.flow-label-en {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.flow-node-inner.is-center .flow-label-en {
  color: var(--orange);
}

.flow-label-he {
  font-family: 'Heebo', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}

.flow-node-inner.is-center .flow-label-he {
  color: var(--text);
}

.flow-sub {
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.flow-node-inner.is-center .flow-sub {
  color: var(--muted);
}

/* Mini form mockup inside center node */
.form-mock {
  width: 100%;
  background: var(--cream);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row .lbl {
  width: 40%;
  height: 6px;
  background: rgba(7, 40, 52, 0.25);
  border-radius: 3px;
}

.form-row .inp {
  width: 100%;
  height: 22px;
  background: var(--white);
  border: 1px solid rgba(7, 40, 52, 0.1);
  border-radius: 6px;
}

.form-row .inp.tall {
  height: 36px;
}

.form-submit {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  padding: 7px 14px;
  border-radius: 999px;
  align-self: flex-end;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Order in RTL: user (right) → site (center) → crm (left).
   Grid columns are written as 1fr 1.4fr 1fr; in RTL the FIRST column
   is on the right. So:
   - .node-user is FIRST   → right column (correct)
   - .node-site is SECOND  → center column
   - .node-crm  is THIRD   → left column (correct)
*/

/* =========================================================
   CONCEPT B — MODULAR GRID
   ========================================================= */
.grid-intro {
  padding: 160px 0 100px;
  background: var(--cream);
  position: relative;
}

.grid-intro .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.grid-intro h2 {
  max-width: 18ch;
}

.grid-intro .lead {
  max-width: 44ch;
}

.modular-section {
  background: var(--cream);
  padding: 60px 0 160px;
  position: relative;
  overflow: hidden;
}

.modular-canvas {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.modular-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 92px;
  gap: 14px;
  position: relative;
  z-index: 2;
}

/* Connector lines layer */
.modular-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.modular-svg path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
  opacity: 0;
  stroke-dashoffset: 200;
  transition: opacity 1.2s ease, stroke-dashoffset 1.6s ease;
}

.modular-svg.connect path {
  opacity: 0.55;
  stroke-dashoffset: 0;
}

/* Module base */
.mod {
  position: relative;
  border-radius: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(7, 40, 52, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}

.mod.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mod .num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-weight: 500;
}

.mod h4 {
  font-family: 'Heebo', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--text);
  line-height: 1.15;
}

.mod p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}

/* Module variants */
.mod.dark {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}

.mod.dark h4 {
  color: var(--white);
}

.mod.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.mod.dark .num {
  color: var(--lime);
}

.mod.teal {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.mod.teal h4 {
  color: var(--white);
}

.mod.teal p {
  color: rgba(255, 255, 255, 0.75);
}

.mod.teal .num {
  color: var(--lime);
}

.mod.orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.mod.orange h4 {
  color: var(--white);
}

.mod.orange p {
  color: rgba(255, 255, 255, 0.85);
}

.mod.orange .num {
  color: rgba(255, 255, 255, 0.85);
}

.mod.lime {
  background: var(--lime);
  color: var(--navy-deep);
  border-color: var(--lime);
}

.mod.blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.mod.blue h4 {
  color: var(--white);
}

.mod.blue p {
  color: rgba(255, 255, 255, 0.85);
}

.mod.blue .num {
  color: rgba(255, 255, 255, 0.7);
}

.mod.outline {
  background: transparent;
  border: 1.5px dashed rgba(7, 40, 52, 0.25);
}

/* Module content variants */
.mod-headline h4 {
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.024em;
}

.mod-headline em {
  font-style: normal;
  color: var(--orange);
}

.mod.dark.mod-headline em {
  color: var(--lime);
}

.mod-stat .stat-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.mod-stat .stat-suf {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 0.5em;
  vertical-align: super;
  margin-right: 4px;
}

/* Connection icons layer for "integrations" module */
.mod-int {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.int-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.int-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.mod:not(.dark):not(.teal):not(.blue):not(.orange):not(.lime) .int-tag {
  background: var(--cream);
  color: var(--dark);
  border: 1px solid #DFDFDF;
}

/* CMS UI mockup module */
.cms-mock {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}

.cms-mock .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--cream);
  border-radius: 6px;
  color: var(--dark);
}

.cms-mock .row .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.cms-mock .row.draft .dot {
  background: var(--orange);
}

.cms-mock .row .name {
  flex: 1;
}

.cms-mock .row .meta {
  color: var(--muted);
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 10px;
}

/* Process timeline module */
.process-track {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.process-track .step {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
}

.process-track .step.active {
  background: var(--lime);
}

.process-labels {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
}

.process-labels span {
  flex: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Avatar stack */
.avatars {
  display: flex;
  gap: -8px;
}

.avatars .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-right: -10px;
}

.av.a1 {
  background: var(--orange);
}

.av.a2 {
  background: var(--blue);
  color: var(--white);
}

.av.a3 {
  background: var(--green);
}

.av.a4 {
  background: var(--salmon);
  color: var(--navy-deep);
}

.av.a5 {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

/* Big arrow module */
.mod.arrow-mod {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mod.arrow-mod svg {
  width: 60%;
  height: auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* =========================================================
   CTA / FOOTER
   ========================================================= */
.cta-section {
  background: var(--navy-deep);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section .gradient-bar {
  margin-bottom: 80px;
}

.cta-section .grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
}

.cta-section h2 {
  color: var(--white);
  max-width: 14ch;
}

.cta-section h2 em {
  font-style: normal;
  color: var(--orange);
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-weight: 300;
}

.cta-section .ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}



/* =========================================================
   TWEAKS PANEL
   ========================================================= */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 280px;
  background: var(--white);
  border: 1px solid #DFDFDF;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 48px rgba(7, 40, 52, 0.18);
  z-index: 200;
  font-family: 'Heebo', sans-serif;
  display: none;
}

.tweaks-panel.visible {
  display: block;
}

.tweaks-panel h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.tweaks-panel .sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.tweaks-row {
  margin-bottom: 14px;
}

.tweaks-row label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 8px;
}

.tweaks-row label .v {
  font-family: 'Clash Grotesk', sans-serif;
  color: var(--orange);
}

.tweaks-row input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.tweaks-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .container {
    padding: 0 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 120px 40px 80px;
  }

  .journey-intro .grid,
  .grid-intro .grid,
  .cta-section .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modular-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 80px;
  }

  .station,
  .j-intro,
  .j-close {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .station-vis {
    height: 280px;
  }

  .journey-panel {
    padding: 0 40px;
  }

  .nav-pill {
    gap: 14px;
    padding: 6px 6px 6px 14px;
    font-size: 13px;
  }

  .nav-links {
    gap: 12px;
  }

  .journey-counter {
    left: 24px;
    bottom: 32px;
  }

  /* IMS + Forms responsive */
  .ims-section {
    padding: 100px 40px;
  }

  .ims-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ims-vis {
    margin-right: 0;
  }

  .ims-vis-tag {
    right: 16px;
    bottom: -18px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .forms-section {
    padding: 100px 40px 120px;
  }

  .forms-head {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }

  .forms-head h2 {
    font-size: clamp(32px, 5vw, 48px);
  }

  .forms-head .lead {
    font-size: 17px;
  }

  .forms-flow {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .forms-flow-svg {
    display: none;
  }

  .forms-mini {
    grid-template-columns: 1fr;
  }
}


/* ===== HERO 3D MOCKUP ===== */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  perspective: 1800px;
}

/* Glowing lines behind */
.hero-glow-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow-lines svg {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 120%;
  height: 80%;
  opacity: .7;
}

.hero-glow-lines .glow-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  animation: glowFadeIn 1.5s ease forwards;
}

.glow-line:nth-child(1) {
  stroke: rgba(38, 136, 191, .5);
  animation-delay: .2s;
}

.glow-line:nth-child(2) {
  stroke: rgba(38, 136, 191, .35);
  animation-delay: .5s;
}

.glow-line:nth-child(3) {
  stroke: rgba(38, 136, 191, .25);
  animation-delay: .8s;
}

.glow-line:nth-child(4) {
  stroke: rgba(100, 200, 180, .3);
  animation-delay: 1.1s;
}

.glow-line:nth-child(5) {
  stroke: rgba(38, 136, 191, .2);
  animation-delay: 1.4s;
}

@keyframes glowFadeIn {
  to {
    opacity: 1
  }
}

/* Stacked window shadows behind the main browser */
.hero-mockup-stack {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.hero-mockup-shadow {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.hero-mockup-shadow:nth-child(1) {
  transform: translateZ(-60px) translateX(20px) translateY(12px) scale(.96);
  opacity: .35;
}

.hero-mockup-shadow:nth-child(2) {
  transform: translateZ(-30px) translateX(10px) translateY(6px) scale(.98);
  opacity: .55;
}

/* Main browser mockup */
.hero-mockup-main {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .16), 0 8px 20px rgba(0, 0, 0, .1);
  overflow: hidden;
  width: clamp(320px, 38vw, 520px);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform .3s ease;
}

.hero-mockup-main:hover {
  transform: rotateY(-4deg) rotateX(1deg);
}

.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f2f2f4;
  border-bottom: 1px solid #e5e5ea;
}

.hero-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.hero-mockup-dot:nth-child(1) {
  background: #ff5f57;
}

.hero-mockup-dot:nth-child(2) {
  background: #ffbd2e;
}

.hero-mockup-dot:nth-child(3) {
  background: #28c840;
}

.hero-mockup-url {
  margin-inline-start: auto;
  font-size: 11px;
  color: #888;
  font-family: monospace;
  direction: ltr;
}

.hero-mockup-body {
  padding: 16px;
  min-height: 240px;
}

/* Inner site content mockup */
.hm-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.hm-nav span {
  width: 40px;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
}

.hm-nav .hm-logo {
  width: 50px;
  height: 14px;
  background: #222;
  border-radius: 4px;
  margin-inline-end: auto;
}

.hm-hero-img {
  height: 90px;
  background: linear-gradient(135deg, #e8eff3 0%, #f5f5f5 100%);
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hm-hero-img::after {
  content: '';
  width: 60%;
  height: 70%;
  background: linear-gradient(160deg, rgba(38, 136, 191, .1), rgba(255, 139, 34, .08));
  border-radius: 6px;
}

.hm-text-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-text-lines span {
  height: 6px;
  background: #eee;
  border-radius: 3px;
}

.hm-text-lines span:nth-child(1) {
  width: 85%;
}

.hm-text-lines span:nth-child(2) {
  width: 65%;
}

.hm-text-lines span:nth-child(3) {
  width: 75%;
}

/* Floating feature pills */
.hero-mockup-pills {
  position: absolute;
  bottom: 8%;
  right: 5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hm-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
  font-size: 12px;
  font-weight: 500;
  color: #333;
  opacity: 0;
  animation: pillSlideIn .5s ease forwards;
  white-space: nowrap;
}

.hm-pill:nth-child(1) {
  animation-delay: .6s;
}

.hm-pill:nth-child(2) {
  animation-delay: .9s;
}

.hm-pill:nth-child(3) {
  animation-delay: 1.2s;
}

.hm-pill:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes pillSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.hm-pill-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-pill-icon svg {
  width: 14px;
  height: 14px;
}

.hm-pill-icon.pill-data {
  background: rgba(38, 136, 191, .12);
  color: #2688BF;
}

.hm-pill-icon.pill-auto {
  background: rgba(255, 139, 34, .12);
  color: #FF8B22;
}

.hm-pill-icon.pill-users {
  background: rgba(38, 136, 191, .12);
  color: #2688BF;
}

.hm-pill-icon.pill-connect {
  background: rgba(100, 200, 130, .12);
  color: #48b068;
}

/* Responsive */
@media(max-width:768px) {
  .hero-mockup-wrapper {
    min-height: 320px;
    perspective: 1200px;
  }

  .hero-mockup-main {
    width: min(300px, 85vw);
    transform: rotateY(-4deg) rotateX(2deg);
  }

  .hero-mockup-main:hover {
    transform: rotateY(-2deg) rotateX(1deg);
  }

  .hero-mockup-shadow:nth-child(1) {
    transform: translateZ(-40px) translateX(12px) translateY(8px) scale(.97);
  }

  .hero-mockup-shadow:nth-child(2) {
    transform: translateZ(-20px) translateX(6px) translateY(4px) scale(.985);
  }

  .hero-mockup-pills {
    display: none;
  }

  .hero-glow-lines svg {
    bottom: -5%;
    width: 130%;
  }
}

/* ===== IMS 3D PERSPECTIVE ===== */
.ims-vis {
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

.ims-screen {
  transform: rotateY(12deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, .18),
    0 8px 20px rgba(0, 0, 0, .12),
    20px 20px 40px rgba(0, 0, 0, .08);
  border-radius: 14px;
  overflow: hidden;
  will-change: transform;
}

.ims-screen img {
  display: block;
}

.ims-vis-tag {
  transform: rotateY(12deg) rotateX(4deg);
  transform-origin: center top;
  transition: transform .15s ease-out;
}

@media(max-width:768px) {

  .ims-screen,
  .ims-vis-tag {
    transform: none;
  }
}

/* =========================================================
   MOBILE — COMPREHENSIVE RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {

  /* ── Global ── */
  .container {
    padding: 0 20px;
  }

  .h1-display {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.08;
  }

  .h2-section {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.1;
  }

  .body-lg,
  .body-lg.lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .label {
    font-size: 11px;
  }

  .btn {
    font-size: 14px;
    padding: 12px 24px;
    width: 100%;
    justify-content: center;
  }

  /* ── Hero ── */
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-copy .label {
    margin-bottom: 20px;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
  }

  .hero-copy h1 span {
    display: inline;
  }

  .hero-copy .lead {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-copy .ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero .ims-vis {
    max-width: 100%;
    perspective: 800px;
  }

  .hero .ims-screen {
    transform: none;
  }

  .scroll-cue {
    bottom: 16px;
    font-size: 10px;
  }

  /* ── Journey ── */
  .journey-swiper {
    height: 85vh;
  }

  .journey-panel {
    padding: 0 20px;
  }

  .j-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .j-intro h3 {
    font-size: clamp(28px, 7vw, 40px);
  }

  .j-intro p {
    font-size: 16px;
    max-width: 100%;
  }

  .j-intro .j-arrow {
    display: none;
  }

  .station {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .station-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .station-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .station-bullets li {
    font-size: 14px;
  }

  .station-vis {
    height: 240px;
    display: block;
  }

  .journey-counter {
    left: 20px;
    bottom: 20px;
  }

  .journey-counter .big {
    font-size: 18px;
  }

  .journey-progress {
    gap: 10px;
  }

  .journey-progress .dot {
    width: 6px;
    height: 6px;
  }

  .journey-progress .dot.active {
    width: 24px;
  }

  /* ── IMS Section ── */
  .ims-section {
    padding: 80px 20px;
  }

  .ims-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ims-copy h2 {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .ims-copy .lead {
    max-width: 100%;
    margin-bottom: 28px;
  }

  .ims-features li {
    gap: 14px;
    padding-top: 16px;
  }

  .ims-features h5 {
    font-size: 17px;
  }

  .ims-features p {
    font-size: 14px;
  }

  .ims-vis {
    margin-right: 0 !important;
  }

  .ims-vis-tag {
    right: 12px;
    bottom: -16px;
    padding: 8px 14px;
    font-size: 11px;
    gap: 8px;
  }

  /* ── Forms Section ── */
  .forms-section {
    padding: 60px 20px 80px;
  }

  .forms-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .forms-head h2 {
    max-width: 100%;
    font-size: clamp(28px, 7vw, 40px);
  }

  .forms-head .lead {
    max-width: 100%;
    font-size: 16px;
  }

  .forms-mini {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .forms-mini li {
    font-size: 14px;
  }

  .forms-flow {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    padding: 20px 0;
  }

  .forms-flow-svg {
    display: none;
  }

  .flow-node-inner {
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .flow-node-inner.is-center {
    max-width: 100%;
    padding: 16px;
  }

  .flow-icon {
    width: 48px;
    height: 48px;
  }

  .flow-icon svg {
    width: 24px;
    height: 24px;
  }

  .flow-label-he {
    font-size: 17px;
  }

  .flow-sub {
    font-size: 12px;
  }

  /* ── Footer CTA ── */
  .footer-cta-inner {
    flex-direction: column;
    padding: 48px 20px;
    gap: 32px;
    text-align: center;
  }

  .footer-cta-title {
    font-size: clamp(26px, 7vw, 36px) !important;
  }

  .footer-cta-desc {
    font-size: 16px;
  }

  .footer-cta-visual {
    display: block;
    width: 100%;
    height: auto;
  }

  .footer-cta-features {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .footer-cta-feature {
    font-size: 15px;
  }

  .footer-cta-feature-icon {
    width: 44px;
    height: 44px;
  }

  .footer-cta-actions {
    justify-content: center;
  }

  /* ── Concept B Modular (in template) ── */
  .modular-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 70px;
    gap: 10px;
  }

  .modular-canvas {
    padding: 0 16px;
  }

  .mod h4 {
    font-size: 18px;
  }

  .mod p {
    font-size: 13px;
  }

  .mod-headline h4 {
    font-size: clamp(22px, 5vw, 28px);
  }

  .mod-stat .stat-num {
    font-size: clamp(36px, 10vw, 56px);
  }

  .grid-intro {
    padding: 80px 0 48px;
  }

  .grid-intro .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ── Tweaks Panel ── */
  .tweaks-panel {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 16px;
    border-radius: 14px;
  }

  /* ── Footer ── */
  footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* ── CTA Section ── */
  .cta-section {
    padding: 80px 0;
  }

  .cta-section .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-section .ctas {
    flex-direction: column;
  }

  /* ── Lead Section (CTA form) ── */
  .lead-section { padding: 60px 20px; }
  .lead-section .cta-inner { max-width: 100%; }
  .lead-section h2 { font-size: 32px; line-height: 1.15; }
  .lead-section p { font-size: 16px; margin-bottom: 24px; }
}