:root {
  color-scheme: dark;
  --bg: #070910;
  --bg-soft: #0d111a;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --text: #f7fbff;
  --muted: #aab7c6;
  --muted-strong: #d7e2ee;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --cyan: #27d7ff;
  --blue: #2f7dff;
  --violet: #8b5cf6;
  --green: #35e7a6;
  --amber: #ffbf4d;
  --danger: #ff6f91;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(39, 215, 255, 0.2), transparent 27rem),
    radial-gradient(circle at 85% 18%, rgba(139, 92, 246, 0.18), transparent 25rem),
    linear-gradient(180deg, #070910 0%, #0b0f18 42%, #070910 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: url("assets/crowflow-hero.png");
  background-position: 62% top;
  background-size: min(1200px, 100vw) auto;
  background-repeat: no-repeat;
  opacity: 0.08;
  mask-image: linear-gradient(180deg, #000 0%, transparent 66%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent 82%);
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.site-header::before {
  position: absolute;
  inset: 8px -14px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(7, 9, 16, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-proof,
.dashboard-topbar,
.dashboard-footer,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 34px rgba(39, 215, 255, 0.32);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 1.25rem;
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.82;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover {
  color: var(--cyan);
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 0.95rem;
  color: #051019;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 28px rgba(39, 215, 255, 0.22);
}

.button {
  padding: 0 1.15rem;
}

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

.button-primary {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), #7df3ff 48%, var(--green));
  box-shadow: 0 16px 42px rgba(39, 215, 255, 0.26);
}

.button-primary:hover {
  box-shadow: 0 18px 54px rgba(39, 215, 255, 0.36);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.button-secondary:hover {
  border-color: rgba(39, 215, 255, 0.52);
  background: rgba(39, 215, 255, 0.08);
}

.section-pad {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.25rem, 8vw, 7rem) 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100vh - 78px);
  padding-top: clamp(4rem, 8vw, 7.4rem);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0.42;
  animation: drift 12s ease-in-out infinite alternate;
}

.glow-one {
  top: 12%;
  left: -12%;
  background: rgba(39, 215, 255, 0.38);
}

.glow-two {
  right: -14%;
  bottom: 4%;
  background: rgba(139, 92, 246, 0.38);
  animation-delay: 1.4s;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(53, 231, 166, 0.66);
  content: "";
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-subhead {
  max-width: 40rem;
  margin-bottom: 1.75rem;
  color: var(--muted-strong);
  font-size: 1.13rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.45rem;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-proof span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.75rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 750;
}

.hero-visual {
  perspective: 1200px;
}

.dashboard-card,
.benefit-card,
.loss-card,
.flow-step,
.service-card,
.step-card,
.workflow-panel,
.pricing-card,
.faq-item,
.final-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(8, 12, 20, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-card {
  position: relative;
  padding: clamp(1rem, 2vw, 1.3rem);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg);
}

.dashboard-card::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 28% 12%, rgba(39, 215, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, 0.18), transparent 16rem);
}

.dashboard-card > * {
  position: relative;
}

.dashboard-topbar {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dashboard-topbar div {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 22px rgba(53, 231, 166, 0.72);
}

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

.signal-card {
  min-height: 152px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.062);
}

.signal-card.alert {
  border-color: rgba(255, 111, 145, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.signal-card.active {
  border-color: rgba(39, 215, 255, 0.38);
}

.signal-card.booked {
  border-color: rgba(53, 231, 166, 0.35);
}

.signal-card.review {
  border-color: rgba(255, 191, 77, 0.35);
}

.card-kicker,
.loss-label,
.workflow-line small,
.dashboard-footer small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.signal-card h3 {
  margin: 0.38rem 0;
}

.signal-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.dashboard-footer {
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(3, 7, 13, 0.44);
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 5px;
  width: 92px;
  height: 62px;
}

.mini-chart span {
  width: 10px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(39, 215, 255, 0.32);
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(3.25rem, 7vw, 5.5rem);
}

.benefit-card {
  padding: 1.05rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.benefit-card span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
}

.benefit-card h2 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1.05rem;
}

.benefit-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  display: block;
  max-width: 780px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.problem-layout,
.offer {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.loss-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.loss-card strong {
  display: block;
  margin: 0.25rem 0 0.7rem;
  color: var(--text);
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  line-height: 0.96;
}

.loss-card p {
  margin-bottom: 0;
}

.mini-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.flow-step {
  display: grid;
  min-height: 210px;
  align-content: center;
  justify-items: start;
  padding: 1rem;
}

.flow-step small {
  color: var(--muted);
  line-height: 1.5;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 28px rgba(39, 215, 255, 0.26);
  font-size: 0.75rem;
  font-weight: 900;
}

.flow-line {
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.flow-line span {
  position: absolute;
  inset: 0;
  width: 44%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green));
  animation: lineTravel 2.6s ease-in-out infinite;
}

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

.service-card,
.step-card,
.pricing-card {
  padding: 1.25rem;
}

.service-card {
  min-height: 238px;
}

.wide-card {
  grid-column: span 2;
}

.service-icon,
.step-card span,
.workflow-line article span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(39, 215, 255, 0.36);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(39, 215, 255, 0.095);
  box-shadow: 0 0 26px rgba(39, 215, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p,
.step-card p {
  margin-bottom: 0;
}

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

.step-card {
  min-height: 260px;
}

.step-card span {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.workflow-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.2rem, 4vw, 2.2rem);
}

.workflow-panel::before {
  position: absolute;
  inset: auto -10% -36% 18%;
  width: 70%;
  height: 22rem;
  content: "";
  background: radial-gradient(circle, rgba(39, 215, 255, 0.24), transparent 62%);
  filter: blur(42px);
}

.workflow-panel > * {
  position: relative;
}

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

.workflow-line::before {
  position: absolute;
  top: 26px;
  right: 8%;
  left: 8%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber), var(--violet));
  opacity: 0.52;
}

.workflow-line article {
  position: relative;
  min-height: 180px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 14, 0.72);
}

.workflow-line article span {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  animation: pulse 2.4s ease-in-out infinite;
}

.workflow-line article:nth-child(2) span {
  animation-delay: 0.2s;
}

.workflow-line article:nth-child(3) span {
  animation-delay: 0.4s;
}

.workflow-line article:nth-child(4) span {
  animation-delay: 0.6s;
}

.workflow-line article:nth-child(5) span {
  animation-delay: 0.8s;
}

.workflow-line article strong {
  display: block;
  margin-bottom: 0.45rem;
}

.offer {
  align-items: center;
}

.offer-copy p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(39, 215, 255, 0.13), transparent 42%);
}

.pricing-card > * {
  position: relative;
}

.pricing-card h3 {
  margin-top: 1rem;
  font-size: 1.6rem;
}

.pricing-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted-strong);
}

.pricing-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "+";
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 880px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 64px;
  border: 0;
  padding: 0 1rem;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.faq-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.faq-plus::before,
.faq-plus::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  content: "";
  transition: transform 180ms ease;
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-plus::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

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

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 1rem 0;
  transition: padding 220ms ease;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1rem;
}

.final-card {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}

.final-card::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(39, 215, 255, 0.54), rgba(53, 231, 166, 0.08), rgba(139, 92, 246, 0.38));
  filter: blur(16px);
  opacity: 0.55;
}

.final-card .eyebrow {
  justify-content: center;
}

.final-card h2 {
  max-width: 820px;
  margin: 0 auto 1rem;
}

.final-card p {
  max-width: 620px;
  margin-right: auto;
  margin-bottom: 1.4rem;
  margin-left: auto;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 1.8rem 0 2.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 850;
}

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

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

.benefit-card,
.service-card,
.step-card,
.pricing-card,
.faq-item,
.flow-step {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.benefit-card:hover,
.service-card:hover,
.step-card:hover,
.pricing-card:hover,
.faq-item:hover,
.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 215, 255, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(8, 12, 20, 0.78);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2rem, -1.5rem, 0) scale(1.08);
  }
}

@keyframes lineTravel {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(240%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(39, 215, 255, 0.42);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(39, 215, 255, 0);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .problem-layout,
  .offer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .dashboard-card {
    transform: none;
  }

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

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

  .workflow-line {
    grid-template-columns: 1fr;
  }

  .workflow-line::before {
    top: 2rem;
    bottom: 2rem;
    left: 27px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--cyan), var(--green), var(--amber), var(--violet));
  }

  .workflow-line article {
    min-height: auto;
    padding-left: 4.4rem;
  }

  .workflow-line article span {
    position: absolute;
    top: 1rem;
    left: 0.9rem;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-pad,
  .benefit-strip,
  .site-footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header::before {
    inset: 8px -8px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    max-width: 10ch;
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-subhead {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .benefit-strip,
  .dashboard-grid,
  .service-grid,
  .steps,
  .mini-flow {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: auto;
  }

  .mini-flow {
    gap: 0.7rem;
  }

  .flow-line {
    width: 2px;
    height: 52px;
    justify-self: center;
  }

  .flow-line span {
    width: 100%;
    height: 44%;
    background: linear-gradient(180deg, transparent, var(--cyan), var(--green));
    animation-name: lineTravelY;
  }

  .flow-step {
    min-height: auto;
  }

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

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

@keyframes lineTravelY {
  0% {
    transform: translateY(-120%);
  }

  100% {
    transform: translateY(240%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
