:root {
  --bg: #ffffff;
  --bg-soft: #f7fffe;
  --text: #1f2a33;
  --muted: #5e6a72;
  --teal-100: #d9f8f3;
  --teal-300: #aeeae1;
  --teal-500: #57cfc0;
  --purple-200: #e4defb;
  --purple-400: #cfc5f6;
  --purple-600: #9d8ee8;
  --line: #e5eaef;
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 24px 58px rgba(99, 108, 125, 0.13);
  --teal-main: var(--teal-500);
  --purple-main: var(--purple-600);
  --text-light: var(--muted);
  --border-color: var(--line);
  --card-bg: rgba(255, 255, 255, 0.84);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 14%, #e8fffb 0%, transparent 42%),
    radial-gradient(circle at 84% 16%, #f1edff 0%, transparent 41%),
    var(--bg);
  overflow-x: hidden;
}

em, i {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: normal;
}

.mesh-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: linear-gradient(rgba(73, 90, 108, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 90, 108, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), transparent 68%); mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), transparent 68%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: #102130;
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus-visible {
  left: 12px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #7c8cff;
  outline-offset: 2px;
}

.aurora {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(64px);
  z-index: -1;
  opacity: 0.34;
  animation: drift 14s ease-in-out infinite alternate;
}

.aurora-a {
  top: -12vh;
  left: -14vw;
  background: var(--teal-300);
}

.aurora-b {
  right: -15vw;
  top: 18vh;
  background: var(--purple-400);
  animation-delay: 1.8s;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}





.network-state {
  margin: 0;
  text-align: center;
  padding: 0.35rem 0.8rem 0.45rem;
  font-size: 0.78rem;
  color: #45617a;
  border-top: 1px solid rgba(229, 234, 239, 0.7);
}

.network-state.offline {
  color: #7b2f2f;
  background: rgba(255, 238, 238, 0.8);
}

/* Logo & Header Setup */
.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem; /* Increased text size to match bigger logo */
}



.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.btn-icon:hover {
  background: rgba(142, 125, 223, 0.1);
}





.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(130deg, var(--teal-500), var(--purple-600));
  box-shadow: 0 10px 28px rgba(121, 128, 168, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(130, 146, 163, 0.28);
  background: rgba(255, 255, 255, 0.75);
}

/* Interactive Hero Styles */
.interactive-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0;
}

.hero-flow-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.flow-line {
  fill: none;
  stroke: rgba(142, 125, 223, 0.3);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: march 20s linear infinite;
}

.flow-dot {
  fill: #8e7ddf;
}

@keyframes march {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

@keyframes velocityLineShift {
  0%,
  100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: -16; }
}

@keyframes velocityLineGlow {
  0%,
  100% { opacity: 0.82; }
  50% { opacity: 1; }
}

@keyframes meterBreathe {
  0%,
  100% { filter: saturate(1); }
  50% { filter: saturate(1.15); }
}

@keyframes meterSweep {
  0%,
  20% { transform: translateX(-130%); }
  60%,
  100% { transform: translateX(130%); }
}

.hero-centered-grid {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: #4a5b6d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.trust-badge svg {
  color: #ff6b6b;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto;
}

.center-actions {
  justify-content: center;
  margin-top: 2rem;
}

.orbital-widgets {
  width: min(1300px, 98vw);
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  pointer-events: none;
  z-index: 2;
}

.orbital-card {
  position: absolute;
  pointer-events: auto;
  width: 260px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(110, 120, 150, 0.1);
  transform: translate(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px));
  transition: transform 0.15s ease-out;
  text-align: left;
}

/* Positions - Pushed outward to create breathing room around center content */
.widget-tl { top: calc(50% - 330px); left: 0%; width: 250px; }
.widget-ml { top: calc(50% - 50px); left: -3%; width: 250px; }
.widget-bl { top: calc(50% + 230px); left: 1%; width: 250px; }

.widget-tr { top: calc(50% - 340px); right: 0%; width: 250px; }
.widget-mr { top: calc(50% - 40px); right: -3%; width: 250px; }
.widget-br { top: calc(50% + 240px); right: 1%; width: 250px; }

.widget-head {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #1f2a33;
}
.widget-head.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.badge {
  font-size: 0.7rem;
  background: #f0f4f8;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: var(--muted);
  font-weight: 600;
}

.badge-up {
  background: rgba(32, 178, 108, 0.14);
  color: #1a8d57;
}

.badge-warn {
  background: rgba(245, 158, 11, 0.16);
  color: #b86b08;
}

.widget-note {
  font-size: 0.76rem;
  color: #66788a;
  margin: 0.35rem 0 0.65rem;
}

.velocity-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  color: #243447;
}

.velocity-sparkline {
  width: 100%;
  height: 42px;
  margin-top: 0.35rem;
}

.velocity-sparkline polyline {
  fill: none;
  stroke: var(--purple-600);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 240;
  animation: velocityLineShift 10s ease-in-out infinite, velocityLineGlow 4.8s ease-in-out infinite;
}

.velocity-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.22rem;
  font-size: 0.68rem;
  color: #788897;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.health-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #5f7384;
}

.health-list strong {
  color: #233446;
}

.text-amber {
  color: #c87306 !important;
}

.text-red {
  color: #db3b5d !important;
}

.health-meter {
  margin-top: 0.82rem;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(190, 202, 216, 0.66);
}

.health-meter-label {
  display: block;
  font-size: 0.69rem;
  color: #738497;
  margin-bottom: 0.36rem;
}

.health-meter-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(199, 209, 220, 0.65);
  overflow: hidden;
}

.health-meter-fill {
  display: block;
  position: relative;
  width: 96%;
  height: 100%;
  background: linear-gradient(90deg, #2dd4bf, #8b5cf6);
  transform-origin: left center;
  animation: meterBreathe 5s ease-in-out infinite;
}

.health-meter-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%);
  animation: meterSweep 6s ease-in-out infinite;
}

@media (max-width: 1360px) and (min-width: 981px) {
  .interactive-hero {
    padding-bottom: 4.8rem;
  }

  .orbital-widgets {
    position: relative;
    inset: auto;
    width: min(1040px, 96%);
    height: auto;
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    pointer-events: auto;
  }

  .orbital-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto !important;
    min-height: 156px;
    transform: none !important;
  }

  .velocity-sparkline {
    height: 36px;
  }
}

@media (max-height: 940px) and (min-width: 981px) {
  .orbital-widgets {
    position: relative;
    inset: auto;
    width: min(1040px, 96%);
    height: auto;
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .orbital-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto !important;
    min-height: 150px;
    transform: none !important;
  }
}

.widget-list {
  list-style: none;
  padding: 0; margin: 0;
}
.widget-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}
.widget-list strong { color: #1f2a33; }
.text-green { color: #20b26c !important; }
.text-muted { color: var(--muted) !important; }

.widget-toggle {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  align-items: center;
}
input[type="checkbox"] {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #d8e0e8;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
input[type="checkbox"]:checked { background: #20b26c; }
input[type="checkbox"]:checked::after { left: 16px; }

.connector-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.connector-item:last-child { margin-bottom: 0; }
.c-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 0.75rem; color: #fff;
}
.salesforce { background: #00a1e0; }
.greenhouse { background: #1bc58c; }
.c-info { flex: 1; font-size: 0.85rem; font-weight: 600; color: #1f2a33;}

.activity-list { display: flex; flex-direction: column; gap: 0.8rem; }
.activity-item {
  display: flex; align-items: center; gap: 0.6rem;
}
.a-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: white;
}
.a-icon.purple { background: var(--purple-600); }
.a-icon.green { background: #20b26c; }
.a-text { font-size: 0.85rem; flex: 1; font-weight: 600; color: #2e3f4d; }
.a-val { font-size: 0.8rem; font-weight: 700; }

.chart-layout {
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: 1rem;
}
.donut-chart {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: conic-gradient(#1f2a33 0% 35%, var(--purple-600) 35% 85%, #d8e0e8 85% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut-chart::before {
  content: "";
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}
.chart-legend {
  display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.75rem; color: var(--muted);
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.dark { background: #1f2a33; }
.dot.purple { background: var(--purple-600); }
.dot.gray { background: #d8e0e8; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 2.3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  color: #5d7392;
  font-weight: 700;
  margin-bottom: 0.95rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.04;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy p {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

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

.hero-metrics div {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
}

.hero-metrics strong {
  font-family: "Space Grotesk", sans-serif;
  display: block;
  font-size: 1.6rem;
  color: #30455f;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: #607180;
}

.metric-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #627488;
}

.glass {
  border: 1px solid rgba(212, 220, 228, 0.74);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: 1.2rem;
}

.board {
  padding: 1rem;
  animation: float-board 5.5s ease-in-out infinite;
}

.board-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(223, 228, 234, 0.8);
  padding-bottom: 0.8rem;
}

.board-header p {
  margin-left: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #3c4b59;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8e0ea;
}

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

.pipeline-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(217, 224, 232, 0.7);
  border-radius: 0.9rem;
  padding: 0.85rem;
}

.pipeline-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.pipeline-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pipeline-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.26rem 0;
  color: #50616f;
  font-size: 0.86rem;
}

.meter {
  margin-top: 0.55rem;
}

.meter-label {
  font-size: 0.72rem;
  color: #617281;
  display: block;
  margin-bottom: 0.3rem;
}

.meter-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(193, 203, 213, 0.45);
  overflow: hidden;
}

.meter-fill {
  width: var(--fill);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #50c9ba, #9888e5);
  transform-origin: left;
  animation: meter-grow 1.8s ease;
}

.insight-row {
  margin-top: 0.95rem;
  background: linear-gradient(120deg, rgba(87, 207, 192, 0.17), rgba(157, 142, 232, 0.2));
  border: 1px solid rgba(186, 195, 207, 0.63);
  border-radius: 0.8rem;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.insight-row p {
  color: #384857;
  font-size: 0.9rem;
  font-weight: 600;
}

.insight-row button {
  font-size: 0.79rem;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  color: #ffffff;
  background: linear-gradient(130deg, #46c4b5, #8e7ddf);
}

.ticker {
  margin-top: 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(199, 208, 218, 0.7);
  background: rgba(245, 250, 255, 0.82);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.65rem 0;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  animation: ticker-move 22s linear infinite;
}

.ticker span {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #42617c;
  margin-right: 2rem;
  padding-left: 1rem;
}

.results-strip {
  padding-top: 2rem;
}

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

.result-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(165deg, rgba(251, 255, 255, 0.9), rgba(245, 242, 255, 0.7));
}

.result-line {
  margin-bottom: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  color: #2f4a67;
}

.logo-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.logo-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  padding: 0.55rem 0.3rem;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c6d7a;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 1.4rem;
}

.section-head h2,
.compare-grid h2,
.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.12;
}

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
}

.feature-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.06rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.compare-grid .glass {
  padding: 1.05rem;
}

.delta-list {
  margin: 0;
  padding-left: 1rem;
  color: #4a5c6a;
  display: grid;
  gap: 0.75rem;
}

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

.pricing-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 1rem;
  padding: 1rem;
}

.pricing-card h3 {
  margin-bottom: 0.35rem;
}

.pricing-card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: #3f5990;
}

.price-points {
  margin: 0;
  padding-left: 1rem;
  color: #4d5c69;
  font-size: 0.87rem;
  line-height: 1.5;
}

.pricing-card.featured {
  background: linear-gradient(165deg, rgba(223, 253, 247, 0.66), rgba(237, 231, 255, 0.7));
}

.faq-wrap {
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 0.8rem;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.6rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #2e3f4d;
}

.faq-item p {
  margin-top: 0.7rem;
}

.final-cta .container {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.6rem 1.2rem;
  background: linear-gradient(160deg, rgba(234, 255, 251, 0.62), rgba(243, 239, 255, 0.66));
}

.final-cta .hero-actions {
  justify-content: center;
}

.lead-form {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: end;
  text-align: left;
}

.lead-form label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5a6976;
  display: grid;
  gap: 0.3rem;
}

.lead-form input,
.lead-form select {
  border: 1px solid rgba(171, 183, 197, 0.85);
  border-radius: 0.7rem;
  padding: 0.68rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: #263748;
  width: 100%;
}

.form-message {
  min-height: 1.2em;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  color: #4d657f;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.84);
  position: relative;
  overflow: hidden;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--purple-600);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  position: relative;
  z-index: 10;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--text);
  /* The fading waterfall effect (10% faded at top, 90% at bottom) */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0) 80%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0) 80%);
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
}

.footer-logo-img {
  height: 12rem; /* Matches closely to the 15rem font size 'Z' taking into account line-height */
  width: auto;
  object-fit: contain;
}

.footer-watermark svg {
  width: 140px;
  height: 140px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  100% {
    transform: translateY(-18px) translateX(22px) scale(1.08);
  }
}

@keyframes float-board {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes ticker-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes meter-grow {
  0% {
    transform: scaleX(0.15);
  }
  100% {
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {


  .hero {
    min-height: calc(100vh - 74px);
    padding-top: 8rem;
  }

  .interactive-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-flow-lines { display: none; }
  .orbital-widgets {
    display: none; /* Removed entirely on mobile to keep the hero section cleaner and focus on the CTA */
  }

  .hero-grid,
  .pipeline-grid,
  .compare-grid,
  .feature-grid,
  .pricing-grid,
  .results-grid,
  .logo-row,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-watermark {
    font-size: 8rem;
  }
  
  .footer-logo-img {
    height: 6.5rem;
    width: auto;
  }

  .insight-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

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

  .section {
    padding: 4rem 0;
  }

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

@media (max-width: 640px) {
  /* Smaller mobile screen adjustments */
  .footer-watermark {
    font-size: 5rem;
    bottom: -10px;
  }
  .footer-logo-img {
    height: 4rem;
  }
  .hero-title {
    font-size: 3rem;
  }
}

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

/* -------------------------------------
   Dark Mode Implementation
   ------------------------------------- */

[data-theme="dark"] {
  --bg: #0b1120;
  --bg-soft: #121b2a;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: #1e293b;
  --glass: rgba(11, 17, 32, 0.74);
  --shadow: 0 24px 58px rgba(0, 0, 0, 0.4);
  --text-light: #cbd5e1;
  --border-color: var(--line);
  --card-bg: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] body {
  background: radial-gradient(circle at 12% 14%, #1e1b4b 0%, transparent 42%),
              radial-gradient(circle at 84% 16%, #0f172a 0%, transparent 41%),
              var(--bg);
}

[data-theme="dark"] 

[data-theme="dark"] .glass,
[data-theme="dark"] .pipeline-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .result-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .ticker,
[data-theme="dark"] .logo-row span,
[data-theme="dark"] .trust-badge,
[data-theme="dark"] .site-footer {
  background: rgba(30, 41, 59, 0.5);
  border-color: var(--line);
}

[data-theme="dark"] .final-cta .container,
[data-theme="dark"] .pricing-card.featured,
[data-theme="dark"] .insight-row {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
  border-color: var(--line);
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-ghost {
  color: #000000 !important; /* Forces black text in dark mode */
}

[data-theme="dark"] .btn-ghost,
[data-theme="dark"] .btn-secondary {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(130deg, var(--teal-300), var(--purple-400));
}

[data-theme="dark"] .top-nav a,
[data-theme="dark"] .network-state {
  color: #e2e8f0;
}

[data-theme="dark"] .hero-metrics strong,
[data-theme="dark"] .hero h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] .widget-head,
[data-theme="dark"] .velocity-value,
[data-theme="dark"] .health-list strong,
[data-theme="dark"] .widget-list strong,
[data-theme="dark"] .a-text,
[data-theme="dark"] .c-info,
[data-theme="dark"] .faq-item summary,
[data-theme="dark"] .result-line,
[data-theme="dark"] .board-header p,
[data-theme="dark"] .insight-row p {
  color: #f8fafc;
}

[data-theme="dark"] .eyebrow {
  color: var(--teal-300);
}

[data-theme="dark"] .logo-row span {
  color: #e2e8f0;
}

[data-theme="dark"] .delta-list,
[data-theme="dark"] .price-points,
[data-theme="dark"] .trust-badge {
  color: #cbd5e1;
}

[data-theme="dark"] .widget-note,
[data-theme="dark"] .velocity-scale,
[data-theme="dark"] .health-list li,
[data-theme="dark"] .health-meter-label {
  color: #b9c6d8;
}

[data-theme="dark"] .badge-up {
  background: rgba(32, 178, 108, 0.25);
  color: #6ee7b7;
}

[data-theme="dark"] .badge-warn {
  background: rgba(245, 158, 11, 0.24);
  color: #facc15;
}

[data-theme="dark"] .health-meter {
  border-top-color: rgba(118, 135, 160, 0.5);
}

[data-theme="dark"] .health-meter-track {
  background: rgba(79, 96, 121, 0.62);
}

[data-theme="dark"] .lead-form label {
  color: #e2e8f0;
}

[data-theme="dark"] .lead-form input,
[data-theme="dark"] .lead-form select {
  background: rgba(15, 23, 42, 0.9);
  color: #f1f5f9;
  border-color: var(--line);
}

/* Fallback for components holding inline dark-ish texts */
[data-theme="dark"] .dot.dark { background: #f8fafc; }


/* -------------------------------------
   View Transitions API (Waterfall Ripple)
   ------------------------------------- */

::view-transition-group(root) {
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.25, 1, 0.3, 1);
}

::view-transition-old(root),
::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: none;
  display: block;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 9999;
}


/* -------------------------------------
   Dynamic Island Navigation
   ------------------------------------- */

.dynamic-island {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 234, 239, 0.72);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 54px;
  max-width: 90vw;
  padding: 0 1rem;
}

[data-theme="dark"] .dynamic-island {
  background: rgba(11, 17, 32, 0.68);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.island-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: gap 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.island-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
  cursor: pointer;
  height: 100%;
}

.island-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.island-group {
  display: flex;
  align-items: center;
  width: 0;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  overflow: hidden;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.group-left {
  justify-content: flex-end;
}

.group-right {
  justify-content: flex-start;
}

.island-group a:not(.nav-demo-btn) {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  margin: 0 0.8rem;
  transition: color 0.2s ease, transform 0.3s ease;
  transform: translateY(10px);
  opacity: 0;
}

[data-theme="dark"] .island-group a:not(.nav-demo-btn) {
  color: #e2e8f0;
}

.island-group a:not(.nav-demo-btn):hover {
  color: var(--teal-500);
}

[data-theme="dark"] .island-group a:not(.nav-demo-btn):hover {
  color: var(--teal-300);
}

.island-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.75rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-demo-btn {
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.nav-demo-btn:hover {
  transform: scale(1.05);
}

[data-theme="dark"] .nav-demo-btn {
  background: #fff;
  color: #000;
}

/* Hover State - Dropdown interaction */
.dynamic-island:hover, .dynamic-island:focus-within {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0 1.5rem;
}

[data-theme="dark"] .dynamic-island:hover, [data-theme="dark"] .dynamic-island:focus-within {
  background: rgba(11, 17, 32, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dynamic-island:hover .island-content, .dynamic-island:focus-within .island-content {
  gap: 1.5rem;
}

.dynamic-island:hover .island-group, .dynamic-island:focus-within .island-group {
  width: 450px;
  opacity: 1;
  pointer-events: auto;
}

.dynamic-island:hover .island-group a:not(.nav-demo-btn),
.dynamic-island:focus-within .island-group a:not(.nav-demo-btn),
.dynamic-island:hover .island-actions,
.dynamic-island:focus-within .island-actions {
  transform: translateY(0);
  opacity: 1;
}

/* Staggered entry */
.dynamic-island:hover .group-left a:nth-child(1) { transition-delay: 0.05s; }
.dynamic-island:hover .group-left a:nth-child(2) { transition-delay: 0.10s; }
.dynamic-island:hover .group-left a:nth-child(3) { transition-delay: 0.15s; }
.dynamic-island:hover .group-left a:nth-child(4) { transition-delay: 0.20s; }

.dynamic-island:hover .group-right a:nth-child(1) { transition-delay: 0.05s; }
.dynamic-island:hover .group-right a:nth-child(2) { transition-delay: 0.10s; }
.dynamic-island:hover .group-right a:nth-child(3) { transition-delay: 0.15s; }
.dynamic-island:hover .island-actions { transition-delay: 0.20s; }

@media (max-width: 980px) {
  .dynamic-island {
    padding: 0 1.5rem;
    height: 60px;
    width: calc(100% - 3rem);
    max-width: none;
    border-radius: 999px;
  }

  .dynamic-island:hover .island-content {
    gap: 0;
  }
  .dynamic-island:hover .island-group {
    display: none;
  }
  .island-group {
    display: none !important;
  }
  .island-actions {
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    max-width: 200px !important;
    margin-left: 1rem;
    pointer-events: auto !important;
  }
  .dynamic-island .island-content {
     display: flex;
     justify-content: space-between;
     width: 100%;
  }
}


/* -------------------------------------
   Mobile Navigation & Dropdown
   ------------------------------------- */

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 9999;
}

[data-theme="dark"] .mobile-menu-toggle {
  color: #e2e8f0;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.95);
  width: calc(100vw - 2rem);
  max-width: 320px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(229, 234, 239, 0.72);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9998;
}

[data-theme="dark"] .mobile-dropdown {
  background: rgba(11, 17, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mobile-dropdown a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
}

[data-theme="dark"] .mobile-dropdown a {
  color: #e2e8f0;
}

.mobile-dropdown a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--teal-500);
}

[data-theme="dark"] .mobile-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--teal-300);
}

.mobile-dropdown-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-dropdown-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* -------------------------------------
   Mobile Navigation & Dropdown
   ------------------------------------- */

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 9999;
}

[data-theme="dark"] .mobile-menu-toggle {
  color: #e2e8f0;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.95);
  width: calc(100vw - 2rem);
  max-width: 320px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(229, 234, 239, 0.72);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9998;
}

[data-theme="dark"] .mobile-dropdown {
  background: rgba(11, 17, 32, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mobile-dropdown a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
}

[data-theme="dark"] .mobile-dropdown a {
  color: #e2e8f0;
}

.mobile-dropdown a:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--teal-500);
}

[data-theme="dark"] .mobile-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--teal-300);
}

.mobile-dropdown-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mobile-dropdown-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


.icon-moon {
  display: none;
}
.mt-2 {
  margin-top: 2rem;
}

/* =========================================================================
   FOUR NEW SECTIONS (Added for Redesign)
   ========================================================================= */

/* SECTION 1: Interactive Feature Cards */
#feature-cards {
  position: relative;
  overflow-x: clip;
  overflow-y: hidden;
  --feature-accent-rgb: 87, 207, 192;
  --feature-accent-rgb-alt: 157, 142, 232;
}

#feature-cards .container {
  overflow: visible;
}

.feature-bg-glow {
  position: absolute;
  top: -46%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 120vh;
  background:
    radial-gradient(circle at 22% 34%, rgba(var(--feature-accent-rgb), 0.16) 0%, rgba(var(--feature-accent-rgb), 0) 56%),
    radial-gradient(circle at 78% 62%, rgba(var(--feature-accent-rgb-alt), 0.14) 0%, rgba(var(--feature-accent-rgb-alt), 0) 58%);
  pointer-events: none;
  z-index: -1;
}

.feature-sets {
  display: grid;
  gap: 1.8rem;
  margin-top: 2.2rem;
}

.feature-set {
  background: transparent;
  padding: 1.25rem 0;
  box-shadow: none;
  border: none;
  width: 100vw;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
}

.feature-set-head {
  margin-bottom: 1rem;
  text-align: center;
}

.feature-set-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature-track-shell {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 200px, black calc(100% - 200px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 200px, black calc(100% - 200px), transparent 100%);
}

.feature-track-viewport {
  overflow: hidden;
  padding: 0.2rem 0 0.8rem;
  scroll-snap-type: none;
  max-width: 100%;
  overscroll-behavior-x: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.feature-track-viewport::-webkit-scrollbar {
  display: none;
}

.feature-track-viewport:focus-visible {
  outline: 2px solid rgba(var(--feature-accent-rgb), 0.7);
  outline-offset: 6px;
  border-radius: 18px;
}

.feature-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  align-items: stretch;
  margin: 0;
}

.feature-track-card {
  --card-rotate-x: 0deg;
  --card-rotate-y: 0deg;
  --card-lift: 0px;
  --card-glow-opacity: 0;
  --glow-x: 50%;
  --glow-y: 18%;

  position: relative;
  display: flex;
  flex-direction: column;
  width: min(290px, 74vw);
  min-height: 320px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text);
  border-radius: 20px;
  text-align: left;
  padding: 1.15rem 1.05rem;
  cursor: pointer;
  scroll-snap-align: none;
  box-shadow: none;
  transform: perspective(920px) rotateX(var(--card-rotate-x)) rotateY(var(--card-rotate-y)) translateY(var(--card-lift));
  transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
  animation: featureCardAutoRotate 8.8s ease-in-out infinite;
  animation-delay: calc(var(--feature-order, 0) * -0.3s);
}

.feature-track-card[data-feature-set="growth"] {
  background: linear-gradient(165deg, rgba(87, 207, 192, 0.2), rgba(87, 207, 192, 0.09));
}

.feature-track-card[data-feature-set="operations"] {
  background: linear-gradient(165deg, rgba(157, 142, 232, 0.2), rgba(157, 142, 232, 0.09));
}

@keyframes featureCardAutoRotate {
  0% {
    transform: perspective(920px) rotateX(calc(var(--card-rotate-x) - 0.8deg)) rotateY(calc(var(--card-rotate-y) - 1.4deg)) translateY(var(--card-lift));
  }
  50% {
    transform: perspective(920px) rotateX(calc(var(--card-rotate-x) + 0.8deg)) rotateY(calc(var(--card-rotate-y) + 1.4deg)) translateY(var(--card-lift));
  }
  100% {
    transform: perspective(920px) rotateX(calc(var(--card-rotate-x) - 0.8deg)) rotateY(calc(var(--card-rotate-y) - 1.4deg)) translateY(var(--card-lift));
  }
}

.feature-track-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(var(--feature-accent-rgb), 0.2), rgba(var(--feature-accent-rgb), 0));
  opacity: var(--card-glow-opacity);
  transition: opacity 0.2s ease;
}

.feature-track-card:hover,
.feature-track-card.is-hovering,
.feature-track-card:focus-visible {
  --card-lift: -8px;
  --card-glow-opacity: 1;
  border-color: rgba(var(--feature-accent-rgb), 0.45);
  box-shadow: 0 20px 36px rgba(19, 30, 40, 0.12);
  animation-play-state: paused;
}

.feature-track-card:focus-visible {
  outline: 2px solid rgba(var(--feature-accent-rgb), 0.7);
  outline-offset: 2px;
}

.feature-track-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  background: linear-gradient(145deg, rgba(var(--feature-accent-rgb), 0.2), rgba(var(--feature-accent-rgb-alt), 0.16));
  font-size: 1.35rem;
}

.feature-track-title {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.35;
}

.feature-track-description {
  margin: 0.75rem 0 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-track-benefit {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--feature-accent);
}

.feature-track-benefit span {
  display: block;
  margin-top: 0.3rem;
  font-weight: 600;
  color: var(--text);
}

[data-theme="dark"] .feature-set {
  background: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="dark"] .feature-track-card {
  border-color: rgba(89, 107, 139, 0.34);
}

[data-theme="dark"] .feature-track-card[data-feature-set="growth"] {
  background: linear-gradient(165deg, rgba(87, 207, 192, 0.18), rgba(87, 207, 192, 0.08));
}

[data-theme="dark"] .feature-track-card[data-feature-set="operations"] {
  background: linear-gradient(165deg, rgba(157, 142, 232, 0.2), rgba(157, 142, 232, 0.08));
}

[data-theme="dark"] .feature-track-benefit span {
  color: rgba(230, 238, 251, 0.92);
}

.feature-track-viewport::-webkit-scrollbar {
  height: 10px;
}

.feature-track-viewport::-webkit-scrollbar-track {
  background: rgba(129, 140, 158, 0.12);
  border-radius: 999px;
}

.feature-track-viewport::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 158, 0.5);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .feature-set {
    padding: 1rem 0;
  }
  .feature-track-shell {
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  }
}

@media (max-width: 640px) {
  .feature-track-card {
    width: min(240px, 85vw);
    min-height: 290px;
    padding: 1rem;
    border-radius: 16px;
  }
  .feature-track-shell {
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 35px, black calc(100% - 35px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 35px, black calc(100% - 35px), transparent 100%);
  }
  .feature-track-icon {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    border-radius: 10px;
  }
  .feature-track-title {
    font-size: 0.98rem;
  }
  .feature-track-description {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-track-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transform: none !important;
    animation: none !important;
  }

  .feature-track-card::before {
    display: none;
  }
}

/* SECTION 2: Dynamic ROI Calculator */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.roi-copy-intro {
  margin-bottom: 1rem;
}
.roi-copy-notes {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-light);
  display: grid;
  gap: 0.5rem;
}
.roi-copy-notes li {
  line-height: 1.4;
}
.interactive-slider {
  width: 100%;
  margin: 2rem 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.roi-widget {
  --roi-slider-track: #7c3aed;
  --roi-slider-thumb-bg: #ffffff;
  --roi-slider-thumb-border: #7c3aed;
  --roi-slider-thumb-shadow: rgba(124, 58, 237, 0.45);
}
[data-theme="dark"] .roi-widget {
  --roi-slider-track: #22d3ee;
  --roi-slider-thumb-bg: #0f172a;
  --roi-slider-thumb-border: #22d3ee;
  --roi-slider-thumb-shadow: rgba(34, 211, 238, 0.45);
}
.roi-widget .interactive-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  background: var(--roi-slider-track);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  cursor: pointer;
}
.roi-widget .interactive-slider::-webkit-slider-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--roi-slider-thumb-bg);
  border: 3px solid var(--roi-slider-thumb-border);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 14px var(--roi-slider-thumb-shadow);
  transition: transform 0.1s;
}
.roi-widget .interactive-slider::-moz-range-track {
  height: 10px;
  background: var(--roi-slider-track);
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}
.roi-widget .interactive-slider::-moz-range-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--roi-slider-thumb-bg);
  border: 3px solid var(--roi-slider-thumb-border);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 12px var(--roi-slider-thumb-shadow);
}
.roi-widget .interactive-slider::-webkit-slider-thumb:hover,
.roi-widget .interactive-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}
#team-size-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-main);
}
.roi-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.5rem;
  gap: 1rem;
}
.roi-term-toggle {
  margin: 0;
  transform: scale(0.85);
  transform-origin: right;
}
.roi-period-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.roi-period-caption {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}
.roi-term-label {
  font-size: 0.85rem;
}
.roi-period-state {
  margin: 0;
  font-size: 0.76rem;
  color: var(--teal-main);
  font-weight: 600;
}
.roi-rate-label {
  margin-top: 1.5rem;
  display: block;
}
#hourly-rate-value {
  font-weight: 700;
  color: var(--teal-main);
}
.roi-results {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}
.roi-results-extended {
  flex-wrap: wrap;
}
.roi-metric {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}
.roi-number {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow-wrap: normal;
  background: linear-gradient(135deg, var(--purple-main), var(--teal-main));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.roi-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.roi-assumptions {
  margin-top: 0.5rem;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.4;
}
.roi-breakdown {
  margin-top: 1rem;
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.roi-segment-automation {
  width: 40%;
  background: var(--teal-main);
}
.roi-segment-comms {
  width: 35%;
  background: var(--purple-main);
}
.roi-segment-data {
  width: 25%;
  background: var(--text-light);
}
.roi-breakdown-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.roi-graph-wrap {
  margin-top: 2rem;
}
.roi-graph {
  width: 100%;
  height: 120px;
  overflow: visible;
}
.roi-legend-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.roi-legend-manual {
  color: var(--text-light);
}
.roi-legend-zitboard {
  color: var(--purple-main);
}
.roi-dot-manual {
  background: var(--text-light);
}
.roi-dot-zitboard {
  background: var(--purple-main);
}

/* SECTION 3: Orbit Integration Ecosystem */
.orbit-copy-intro {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.orbit-copy-list {
  margin-bottom: 0;
}

.orbit-check-icon {
  color: var(--teal-main);
}

.orbit-shell {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.orbit-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.orbit-rotation-btn {
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  min-height: 44px;
  min-width: 132px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.orbit-rotation-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.orbit-motion-state {
  margin: 0;
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  text-align: right;
}

.orbit-container {
  --orbit-r1: 130px;
  --orbit-r2: 230px;
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 550px;
  margin: 4rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
}
.orbit-center {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: var(--card-bg);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3), inset 0 0 15px rgba(139, 92, 246, 0.2);
}
.orbit-center img {
  width: 50%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.6px solid rgba(124, 58, 237, 0.34);
  box-shadow: 0 0 0 1px rgba(87, 207, 192, 0.18) inset, 0 0 26px rgba(124, 58, 237, 0.2);
}

.orbit-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(87, 207, 192, 0.22);
  opacity: 0.58;
  filter: blur(0.6px);
  pointer-events: none;
}
[data-theme="dark"] .orbit-ring {
  border: 1.6px solid rgba(148, 163, 184, 0.42);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2) inset, 0 0 32px rgba(139, 92, 246, 0.34);
}

[data-theme="dark"] .orbit-ring::after {
  border-color: rgba(94, 234, 212, 0.28);
  opacity: 0.72;
}
.orbit-ring.ring-1 {
  width: calc(var(--orbit-r1) * 2);
  height: calc(var(--orbit-r1) * 2);
  border-width: 2px;
}
.orbit-ring.ring-2 {
  width: calc(var(--orbit-r2) * 2);
  height: calc(var(--orbit-r2) * 2);
  border-style: dashed;
}
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-content {
  background: var(--card-bg);
  color: var(--text);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 12px rgba(139, 92, 246, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.item-content:focus-visible {
  outline: 2px solid var(--teal-main);
  outline-offset: 2px;
}
[data-theme="dark"] .item-content {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(139, 92, 246, 0.15);
}
.ring-1 .orbit-item { z-index: 6; }
.ring-2 .orbit-item { z-index: 4; }

.ring-1 .orbit-item:nth-child(1) { animation: orbit-1-1 20s linear infinite; }
.ring-1 .orbit-item:nth-child(2) { animation: orbit-1-2 20s linear infinite; }
.ring-2 .orbit-item:nth-child(1) { animation: orbit-2-1 35s linear infinite; }
.ring-2 .orbit-item:nth-child(2) { animation: orbit-2-2 35s linear infinite; }
.ring-2 .orbit-item:nth-child(3) { animation: orbit-2-3 35s linear infinite; }

@keyframes orbit-1-1 {
  0% { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(var(--orbit-r1) * -1)) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateY(calc(var(--orbit-r1) * -1)) rotate(-360deg); }
}
@keyframes orbit-1-2 {
  0% { transform: translate(-50%, -50%) rotate(180deg) translateY(calc(var(--orbit-r1) * -1)) rotate(-180deg); }
  100% { transform: translate(-50%, -50%) rotate(540deg) translateY(calc(var(--orbit-r1) * -1)) rotate(-540deg); }
}
@keyframes orbit-2-1 {
  0% { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(var(--orbit-r2) * -1)) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg) translateY(calc(var(--orbit-r2) * -1)) rotate(360deg); }
}
@keyframes orbit-2-2 {
  0% { transform: translate(-50%, -50%) rotate(120deg) translateY(calc(var(--orbit-r2) * -1)) rotate(-120deg); }
  100% { transform: translate(-50%, -50%) rotate(-240deg) translateY(calc(var(--orbit-r2) * -1)) rotate(240deg); }
}
@keyframes orbit-2-3 {
  0% { transform: translate(-50%, -50%) rotate(240deg) translateY(calc(var(--orbit-r2) * -1)) rotate(-240deg); }
  100% { transform: translate(-50%, -50%) rotate(-120deg) translateY(calc(var(--orbit-r2) * -1)) rotate(120deg); }
}

.orbit-container:focus-within .orbit-item,
.orbit-container[data-orbit-paused="true"] .orbit-item,
.orbit-container.is-out-of-view .orbit-item {
  animation-play-state: paused !important;
}

@media (hover: hover) and (pointer: fine) {
  .orbit-container:hover .orbit-item {
    animation-play-state: paused !important;
  }

  .orbit-item:hover .item-content,
  .orbit-item:focus-within .item-content {
    transform: scale(1.14) translateY(-8px);
    border-color: var(--teal-main);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.28), 0 0 24px rgba(87, 207, 192, 0.42);
    background: var(--bg);
  }
}

@media (hover: none), (pointer: coarse) {
  .orbit-controls {
    align-items: stretch;
  }

  .orbit-rotation-btn {
    width: 100%;
  }

  .orbit-motion-state {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .orbit-item:hover .item-content,
  .orbit-item:focus-within .item-content {
    transform: none;
  }

  .item-content {
    padding: 0.64rem 0.98rem;
    font-size: 0.88rem;
  }
}

@container (max-width: 520px) {
  .orbit-container {
    height: 430px;
    --orbit-r1: 105px;
    --orbit-r2: 180px;
  }
}

@media (max-width: 1100px) {
  .orbit-grid {
    gap: 2.5rem;
  }

  .orbit-container {
    max-width: 540px;
    height: 500px;
    --orbit-r1: 120px;
    --orbit-r2: 205px;
  }
}

@media (max-width: 980px) {
  .orbit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .orbit-copy {
    text-align: center;
  }

  .orbit-copy .section-head {
    margin-bottom: 1.2rem;
  }

  .orbit-shell {
    max-width: 560px;
    margin: 0 auto;
  }

  .orbit-controls {
    justify-content: center;
  }

  .orbit-motion-state {
    margin-left: 0;
    text-align: center;
  }

  .orbit-container {
    max-width: 500px;
    height: 470px;
    --orbit-r1: 118px;
    --orbit-r2: 200px;
  }
}

@media (max-width: 768px) {
  .orbit-shell {
    max-width: 100%;
  }

  .orbit-container {
    max-width: 420px;
    height: 420px;
    --orbit-r1: 98px;
    --orbit-r2: 165px;
  }

  .orbit-center {
    width: 96px;
    height: 96px;
  }

  .item-content {
    font-size: 0.84rem;
    padding: 0.58rem 0.9rem;
  }
}

@media (max-width: 520px) {
  .orbit-container {
    height: 360px;
    --orbit-r1: 84px;
    --orbit-r2: 138px;
  }

  .orbit-center {
    width: 84px;
    height: 84px;
  }

  .orbit-ring {
    border-width: 1.4px;
  }

  .orbit-ring.ring-2 {
    border-style: solid;
    opacity: 0.9;
  }

  .item-content {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-container .orbit-item {
    animation: none !important;
  }

  .ring-1 .orbit-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(var(--orbit-r1) * -1)) rotate(0deg); }
  .ring-1 .orbit-item:nth-child(2) { transform: translate(-50%, -50%) rotate(180deg) translateY(calc(var(--orbit-r1) * -1)) rotate(-180deg); }
  .ring-2 .orbit-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(var(--orbit-r2) * -1)) rotate(0deg); }
  .ring-2 .orbit-item:nth-child(2) { transform: translate(-50%, -50%) rotate(120deg) translateY(calc(var(--orbit-r2) * -1)) rotate(-120deg); }
  .ring-2 .orbit-item:nth-child(3) { transform: translate(-50%, -50%) rotate(240deg) translateY(calc(var(--orbit-r2) * -1)) rotate(-240deg); }
}

/* SECTION 4: Transparent Pricing */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}
.billing-toggle .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.billing-toggle .switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.billing-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: .4s;
}
.billing-toggle .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: var(--purple-main);
  transition: .4s;
}
.billing-toggle input:checked + .slider:before {
  transform: translateX(26px);
  background-color: var(--teal-main);
}
.billing-toggle .slider.round {
  border-radius: 34px;
}
.billing-toggle .slider.round:before {
  border-radius: 50%;
}
.active-toggle-label {
  font-weight: 700;
  color: var(--text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0;
}
.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}
.pricing-card .feature-list {
  flex-grow: 1;
  margin-bottom: 2rem;
}
.pricing-card .btn {
  width: 100%;
  text-align: center;
}
.pro-tier {
  border: 2px solid var(--purple-main);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.tier-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--purple-main), var(--teal-main));
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Base Responsive Fixes for New Sections */
@media (max-width: 980px) {
  .engine-display, .roi-grid, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .roi-controls-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .roi-period-group {
    align-items: flex-start;
  }
  .roi-term-toggle {
    transform: none;
    transform-origin: left;
  }
  .pro-tier {
    transform: none;
  }
}

/* =========================================================================
   REFINEMENTS & FIXES
   ========================================================================= */

/* Orbit 2-Column Adjustment */
.orbit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.orbit-copy {
  text-align: left;
}
.orbit-copy .section-head { 
  margin-bottom: 2rem;
}
.orbit-container {
  margin: 0; /* Reset previous center margin */
}

@media (max-width: 980px) {
  .orbit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .orbit-copy {
    order: 1;
    text-align: center;
  }

  .orbit-shell {
    order: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .orbit-copy .section-head {
    margin-bottom: 1.2rem;
  }

  .orbit-container {
    margin: 0 auto;
  }
}

/* Glass Panel for Engine Cards (Dark/Light mode contrast) */
.glass-panel {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(128, 128, 128, 0.2);
  padding: 2.5rem;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
[data-theme="dark"] .glass-panel {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.engine-content h3 {
  color: var(--text) !important;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.engine-content p {
  color: var(--text-light) !important;
}

/* Hard reset for ROI numbers visibility */
.roi-number {
  color: var(--purple-main) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: var(--text) !important;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* ROI Graph Redesign */
.roi-graph {
  height: 220px;
}
.roi-plot-bg {
  fill: rgba(255, 255, 255, 0.7);
  stroke: rgba(126, 58, 242, 0.22);
  stroke-width: 1;
}
[data-theme="dark"] .roi-plot-bg {
  fill: rgba(7, 11, 30, 0.8);
  stroke: rgba(148, 163, 184, 0.18);
}
.roi-y-grid line {
  stroke: rgba(148, 163, 184, 0.28);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}
[data-theme="dark"] .roi-y-grid line {
  stroke: rgba(148, 163, 184, 0.32);
}
.roi-y-labels text,
.roi-x-labels text,
.roi-axis-caption {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
  fill: rgba(71, 85, 105, 0.92);
}
[data-theme="dark"] .roi-y-labels text,
[data-theme="dark"] .roi-x-labels text,
[data-theme="dark"] .roi-axis-caption {
  fill: rgba(203, 213, 225, 0.85);
}
#path-zitboard-area {
  fill: url(#roi-area-gradient);
  opacity: 0.52;
  transition: d 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
#path-manual,
#path-zitboard {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 0.45s cubic-bezier(0.22, 1, 0.36, 1), stroke-dashoffset 0.5s ease;
}
#path-manual {
  stroke: #7c8ea7;
  stroke-width: 2.6;
  stroke-dasharray: 5 5;
  opacity: 0.9;
}
#path-zitboard {
  stroke: #8b5cf6;
  stroke-width: 3.2;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.65));
}
#roi-point-manual,
#roi-point-zitboard {
  transition: cx 0.4s ease, cy 0.4s ease;
}
#roi-point-manual {
  fill: #94a3b8;
  stroke: #0f172a;
  stroke-width: 1;
}
#roi-point-zitboard {
  fill: #8b5cf6;
  stroke: #ede9fe;
  stroke-width: 1.2;
}
[data-theme="dark"] #roi-point-manual {
  stroke: #020617;
}
[data-theme="dark"] #roi-point-zitboard {
  stroke: rgba(255, 255, 255, 0.75);
}

/* ROI Responsive Optimizations */
@media (max-width: 1024px) {
  .roi-widget {
    padding: 2rem 1.5rem;
  }
  .roi-results {
    gap: 1.25rem;
  }
  .roi-metric {
    min-width: 120px;
  }
  .roi-legend-row {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .roi-copy-intro {
    margin-bottom: 0.85rem;
  }
  .roi-copy-notes {
    gap: 0.35rem;
    font-size: 0.92rem;
  }
  .roi-widget {
    padding: 1.4rem 1rem;
  }
  .roi-controls-row {
    gap: 0.65rem;
    margin-bottom: 0.25rem;
  }
  .roi-period-caption,
  .roi-period-state {
    font-size: 0.72rem;
  }
  .roi-term-toggle {
    gap: 0.5rem;
  }
  .roi-term-label {
    font-size: 0.78rem;
  }
  .roi-rate-label {
    margin-top: 1rem;
    font-size: 0.92rem;
  }
  .interactive-slider {
    margin: 1.2rem 0;
  }
  .roi-results {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    gap: 0.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roi-metric {
    min-width: 0;
  }
  .roi-label {
    font-size: 0.76rem;
    letter-spacing: 0.05em;
  }
  .roi-assumptions {
    font-size: 0.73rem;
    margin-top: 0.8rem;
  }
  .roi-breakdown-legend {
    flex-wrap: wrap;
    row-gap: 0.25rem;
    column-gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }
  .roi-graph-wrap {
    margin-top: 1.25rem;
  }
  .roi-graph {
    height: 190px;
  }
  .roi-y-labels text,
  .roi-x-labels text,
  .roi-axis-caption {
    font-size: 9px;
  }
  .roi-legend-row {
    margin-top: 0.65rem;
    font-size: 0.76rem;
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .roi-widget {
    padding: 1.2rem 0.85rem;
  }
  .roi-results {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .roi-number {
    font-size: clamp(1.6rem, 8vw, 2.3rem) !important;
  }
  .roi-label {
    font-size: 0.72rem;
  }
  .roi-term-toggle {
    flex-wrap: wrap;
    transform: none;
    transform-origin: left;
  }
  .roi-term-label {
    font-size: 0.72rem;
  }
  .roi-graph {
    height: 172px;
  }
  .roi-y-labels text,
  .roi-x-labels text,
  .roi-axis-caption {
    font-size: 8px;
  }
  .roi-x-labels text:nth-child(2),
  .roi-x-labels text:nth-child(4) {
    display: none;
  }
  #roi-point-manual,
  #roi-point-zitboard {
    r: 3.2;
  }
}

/* ROI Number Text Readability Hard Override */
.roi-number {
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  font-weight: 800 !important;
  color: var(--purple-main) !important;
  -webkit-text-fill-color: var(--purple-main) !important;
  text-shadow: 0 5px 15px rgba(139, 92, 246, 0.4) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

[data-theme="light"] .roi-number {
  color: #6d28d9 !important;
  -webkit-text-fill-color: #6d28d9 !important;
  text-shadow: none !important;
}

/* FAQ Redesign */
.faq-reimagined {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5.8rem 0;
}

.faq-reimagined::before {
  content: "";
  position: absolute;
  inset: 0.6rem 1.2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(169, 176, 190, 0.28);
  background: linear-gradient(135deg, rgba(248, 250, 254, 0.92), rgba(248, 245, 255, 0.92));
  box-shadow: 0 24px 60px rgba(74, 85, 102, 0.12);
  z-index: -2;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.95) 10%,
    rgba(0, 0, 0, 0.95) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.95) 10%,
    rgba(0, 0, 0, 0.95) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.faq-reimagined::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 22% 26%, rgba(176, 202, 239, 0.56) 0%, rgba(176, 202, 239, 0) 54%),
    radial-gradient(circle at 78% 74%, rgba(215, 179, 244, 0.52) 0%, rgba(215, 179, 244, 0) 50%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.5) 100%),
    repeating-linear-gradient(125deg, rgba(120, 140, 170, 0.08) 0 2px, rgba(120, 140, 170, 0) 2px 16px);
  background-size: 460px 460px, 460px 460px, 340px 340px, 220px 220px;
  animation: faqBackgroundScroll 24s linear infinite;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.9) 12%,
    rgba(0, 0, 0, 0.9) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.9) 12%,
    rgba(0, 0, 0, 0.9) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}

.faq-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem;
  align-items: start;
  padding: 2.6rem 2.4rem;
}

.faq-intro h2 {
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  margin-bottom: 0.95rem;
}

.faq-intro-text {
  max-width: 34ch;
  margin-bottom: 1.4rem;
  color: #586678;
}

.faq-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
}

.faq-pill {
  border: 1px solid rgba(61, 72, 86, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #2a3645;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 0.86rem;
  cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.faq-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(78, 93, 113, 0.55);
}

.faq-pill.is-active {
  background: #151922;
  color: #eef3ff;
  border-color: #151922;
}

.faq-content {
  display: grid;
  gap: 1.1rem;
}

.faq-accordion {
  border-top: 1px solid rgba(103, 116, 133, 0.3);
}

.faq-accordion-item {
  border-bottom: 1px solid rgba(103, 116, 133, 0.3);
  padding: 0.22rem 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1rem 0;
  color: #182230;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-question-label {
  color: inherit;
  line-height: 1.35;
}

.faq-toggle-icon {
  position: relative;
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #2c3949;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.84rem;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), opacity 620ms ease;
}

.faq-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer-shell {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 760ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 1.15rem;
  color: #5f6f82;
  line-height: 1.7;
}

.faq-accordion-item.is-open .faq-answer-shell {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-accordion-item.is-open .faq-toggle-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-support-card {
  margin-top: 0.72rem;
  padding: 1.25rem 1.3rem;
  border-radius: 0.86rem;
  border: 1px solid rgba(167, 177, 193, 0.26);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.86), rgba(252, 248, 255, 0.8));
}

.faq-support-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.faq-support-card p {
  color: #5f6f82;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.faq-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.54rem 0.95rem;
  border-radius: 0.62rem;
  background: linear-gradient(130deg, #7b68e0, #8b5cf6);
  color: #f8f5ff;
  font-size: 0.78rem;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.faq-support-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(124, 95, 235, 0.28);
}

@keyframes faqBackgroundScroll {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 420px -280px, -380px 300px, 220px -210px, 140px -120px;
  }
}

@media (max-width: 980px) {
  .faq-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.35rem;
  }

  .faq-intro-text {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .faq-reimagined {
    padding: 4.7rem 0;
  }

  .faq-reimagined::before {
    inset: 0.45rem;
  }

  .faq-shell {
    padding: 1.4rem 1rem;
    gap: 1.6rem;
  }

  .faq-pill {
    font-size: 0.75rem;
    padding: 0.46rem 0.74rem;
  }

  .faq-question {
    font-size: 0.92rem;
    padding: 0.88rem 0;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  .faq-support-card {
    padding: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-reimagined::after {
    animation: none;
  }

  .faq-pill,
  .faq-toggle-icon::before,
  .faq-toggle-icon::after,
  .faq-answer-shell,
  .faq-support-btn {
    transition-duration: 1ms !important;
  }
}

[data-theme="dark"] .faq-reimagined::before {
  border-color: rgba(90, 103, 124, 0.44);
  background: linear-gradient(132deg, rgba(10, 14, 22, 0.9), rgba(20, 18, 33, 0.9));
}

[data-theme="dark"] .faq-reimagined::after {
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 22% 26%, rgba(48, 64, 92, 0.46) 0%, rgba(48, 64, 92, 0) 52%),
    radial-gradient(circle at 78% 74%, rgba(93, 63, 131, 0.38) 0%, rgba(93, 63, 131, 0) 48%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.06) 100%);
}

[data-theme="dark"] .faq-intro-text,
[data-theme="dark"] .faq-answer p,
[data-theme="dark"] .faq-support-card p {
  color: rgba(193, 203, 223, 0.84);
}

[data-theme="dark"] .faq-pill {
  border-color: rgba(146, 160, 186, 0.38);
  background: rgba(10, 16, 26, 0.7);
  color: rgba(225, 233, 247, 0.92);
}

[data-theme="dark"] .faq-pill.is-active {
  background: rgba(226, 233, 248, 0.94);
  color: #111827;
  border-color: rgba(226, 233, 248, 0.94);
}

[data-theme="dark"] .faq-accordion,
[data-theme="dark"] .faq-accordion-item {
  border-color: rgba(113, 129, 154, 0.42);
}

[data-theme="dark"] .faq-question,
[data-theme="dark"] .faq-toggle-icon {
  color: rgba(236, 242, 253, 0.93);
}

[data-theme="dark"] .faq-support-card {
  border-color: rgba(111, 124, 149, 0.36);
  background: linear-gradient(132deg, rgba(15, 23, 39, 0.84), rgba(36, 27, 53, 0.84));
}

/* ROI Number Text Readability Hard Override */
.roi-number {
  font-size: clamp(2rem, 4.2vw, 3rem) !important;
  font-weight: 800 !important;
  color: var(--purple-main) !important;
  -webkit-text-fill-color: var(--purple-main) !important;
  text-shadow: 0 5px 15px rgba(139, 92, 246, 0.4) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

[data-theme="light"] .roi-number {
  color: #6d28d9 !important;
  -webkit-text-fill-color: #6d28d9 !important;
  text-shadow: none !important;
}

/* Dual-Engine Image-Style Toggle Override */
.engine-toggle {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
  padding: 6px !important;
  border-radius: 100px !important;
  display: flex !important;
  position: relative !important;
  width: fit-content;
  margin: 0 auto;
}
[data-theme="dark"] .engine-toggle {
  box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
}

.engine-toggle label {
    width: 200px;
    text-align: center;
    padding: 1rem 1.5rem !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 2;
  }

.engine-toggle input[type="radio"]:checked + label { color: var(--text) !important; }
[data-theme="light"] .engine-toggle input[type="radio"]:checked + label { color: var(--text) !important; }

.toggle-pill {
    position: absolute !important;
    top: 6px !important;
    bottom: 6px !important;
    left: 6px !important;
    width: calc(50% - 6px) !important;
    background: rgba(139, 92, 246, 0.1) !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.5s !important;
    z-index: 1 !important;
  }

#mode-hiring:checked ~ .toggle-pill {
    transform: translateX(100%) !important;
    background: rgba(45, 212, 191, 0.1) !important;
    box-shadow: none !important;
  }

/* Make content cross-fade smoother */
.engine-content > div {
  transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.engine-content.sales-active .engine-hiring {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.engine-content.hiring-active .engine-sales {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.engine-content.sales-active .engine-sales {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.engine-content.hiring-active .engine-hiring {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

/* =========================================================================
   RICH DUAL-ENGINE VISUALS
   ========================================================================= */

.engine-visual {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1200px;
}

.visual-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.engine-visual.sales-active .visual-hiring {
  opacity: 0;
  transform: rotateY(15deg) translateX(40px) translateZ(-100px);
  pointer-events: none;
}
.engine-visual.hiring-active .visual-sales {
  opacity: 0;
  transform: rotateY(-15deg) translateX(-40px) translateZ(-100px);
  pointer-events: none;
}
.engine-visual.sales-active .visual-sales {
  opacity: 1;
  transform: rotateY(0) translateX(0) translateZ(0);
}
.engine-visual.hiring-active .visual-hiring {
  opacity: 1;
  transform: rotateY(0) translateX(0) translateZ(0);
}

/* Dashboard Skeleton */
.dashboard-base {
  width: 90%;
  margin: 0 auto;
  height: 280px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateZ(20px);
}
.dash-head {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0,0,0,0.1);
}
.dash-dots .dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:#4b5563; margin-right:4px;}
.dash-search { height: 12px; width: 40%; background: var(--border-color); border-radius: 20px;}
.dash-tabs { display:flex; gap:10px; }
.dash-tabs .dtab { width: 40px; height:6px; border-radius:10px; background:var(--border-color); }
.dash-tabs .dtab.active { background:var(--teal-main); }
.dash-body {
  display: flex;
  flex: 1;
  padding: 15px;
  gap: 15px;
}
.dash-nav { width: 25%; background: var(--border-color); border-radius: 8px; opacity: 0.5;}
.dash-content { flex: 1; display:flex; flex-direction:column; gap:15px;}
.dash-chart-area { flex: 2; background: rgba(139, 92, 246, 0.05); border-radius: 8px; border: 1px dashed rgba(139, 92, 246, 0.3); display:flex; align-items:flex-end; padding: 10px; position: relative; overflow: hidden;}
.sparkline { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(139,92,246,0.4)); animation: lineDraw 3s linear infinite;}
@keyframes lineDraw { 0% { stroke-dasharray: 200; stroke-dashoffset: 200; } 100% { stroke-dashoffset: 0; } }

.dash-bars { flex: 1; display:flex; flex-direction:column; gap:8px;}
.dbar { height:8px; border-radius:10px; background: var(--border-color); }

.pipeline-body { flex-direction: row; gap: 10px;}
.pline-stage { flex:1; background: rgba(0,0,0,0.05); border-radius:8px; padding:10px; display:flex; flex-direction:column; gap:10px;}
[data-theme="dark"] .pline-stage { background: rgba(255,255,255,0.02); }
.pcard { height:30px; background: var(--card-bg); border-radius:6px; box-shadow:0 2px 5px rgba(0,0,0,0.1); border:1px solid var(--border-color);}
.pcard.spark { border: 1px solid var(--teal-main); background: rgba(45,212,191,0.1); box-shadow:0 0 15px rgba(45,212,191,0.3);}

/* Floating Badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  transform: translateZ(60px);
  animation: floatBadge 6s ease-in-out infinite;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}
.float-badge.fb-top-right { top: -10px; right: -10px; animation-delay: 0s;}
.float-badge.fb-bottom-left { bottom: 60px; left: -10px; animation-delay: -3s;}

.fb-icon { width: 40px; height: 40px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:white;}
.fb-text { display: flex; flex-direction: column; text-align: left; }
.fb-text strong { color: var(--text); font-size: 0.9rem; margin-bottom:2px;}
.fb-text span { color: var(--text-light); font-size: 0.8rem; font-weight: 500;}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) translateZ(60px); }
  50% { transform: translateY(-15px) translateZ(60px); }
}

/* Feature list hover fx */
.feature-list li {
  transition: transform 0.2s, color 0.2s;
  padding: 8px;
  border-radius: 8px;
  cursor: default;
}
.feature-list li:hover {
  transform: translateX(10px);
  background: rgba(139,92,246,0.05);
  color: var(--text) !important;
}
[data-theme="dark"] .feature-list li:hover {
  background: rgba(255,255,255,0.05);
}

/* =========================================================================
   ORBIT INTERACTIVITY UPGRADES
   ========================================================================= */
/* Orbit interactivity is handled in the main Orbit section above to avoid duplicate overrides. */











/* =========================================================================
   AUTH PAGES (Login, Sign Up, Forgot Password)
   ========================================================================= */
.auth-wrapper {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.auth-container {
  display: flex;
  width: 100vw;
  max-width: none;
  background: var(--card-bg);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  min-height: 100vh;
}

.auth-side-image {
  flex: 1;
  position: relative;
  background: url('../../dash_1.png') center/cover no-repeat;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  margin: 0.75rem;
}

.auth-side-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13,8,22,0.2) 0%, rgba(13,8,22,0.8) 100%);
  z-index: 1;
}

.auth-image-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.auth-image-content .amu-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-family: "Space Grotesk", sans-serif;
  -webkit-text-stroke: 0.4px #000;
}

.back-badge {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #fff;
  z-index: 2;
  transition: background 0.2s;
}

.back-badge:hover {
  background: rgba(255,255,255,0.25);
}

.auth-side-form {
  flex: 1;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
  position: relative;
}

.auth-theme-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
}

.auth-side-form h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.auth-side-form p.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.auth-side-form p.subtitle a {
  color: var(--purple-400);
  text-decoration: underline;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.auth-form-grid.full {
  grid-template-columns: 1fr;
}

.auth-input-group {
  position: relative;
}

.auth-input {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.1rem;
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: var(--purple-600);
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  cursor: pointer;
}

.auth-checkbox a {
  color: var(--purple-400);
}

.auth-btn-primary {
  width: 100%;
  background: var(--purple-600);
  color: #fff;
  border: none;
  padding: 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.auth-btn-primary:hover {
  opacity: 0.9;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2.5rem 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider:not(:empty)::before { margin-right: 1em; }
.auth-divider:not(:empty)::after { margin-left: 1em; }

.social-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.social-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.9rem;
  border-radius: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  font-size: 0.95rem;
}

.social-btn:hover {
  background: var(--bg-soft);
  border-color: var(--text);
}

@media (max-width: 980px) {
  .auth-container { flex-direction: column; min-height: auto; }
  .auth-side-image { min-height: 250px; padding: 1.5rem; border-radius: 12px 12px 0 0; }
  .back-badge { top: 1.5rem; right: 1.5rem; }
  .auth-side-form { padding: 2.5rem 1.5rem; }
}
@media (max-width: 640px) {
  .auth-form-grid { grid-template-columns: 1fr; }
  .social-btns { grid-template-columns: 1fr; }
}
