/* ============================================================
   Flowpilot promo site — stylesheet
   Layout/visuals live as inline styles in index.html (so each
   element is easy to tweak). This file holds only what inline
   styles can't do: resets, fonts, keyframes, :hover/:focus
   states, and responsive breakpoints.
   ============================================================ */

:root {
  --blue: 211 69% 47%; /* matches #2374ba */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: #0e2a47;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #34c9e2;
  color: #0e2a47;
}

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

img,
video {
  max-width: 100%;
}

/* ---------- Layout shell ---------- */
.fp-page-shell {
  overflow-x: hidden;
  background: #ffffff;
}

.fp-container-wide {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Keyframes ---------- */
@keyframes fp-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(-1.5deg);
  }
}
@keyframes fp-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}
@keyframes fp-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Nav scroll shadow (toggled by flowpilot.js) ---------- */
.fp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(14, 42, 71, 0.07);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s ease;
}

.fp-nav-inner {
  width: 100%;
  padding: 0 clamp(24px, 6vw, 96px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fp-nav-brand {
  display: flex;
  align-items: center;
}

.fp-nav-logo {
  height: 42px;
  width: auto;
  display: block;
}

.fp-nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.fp-navlink {
  font-size: 15px;
  font-weight: 500;
  color: #3a4a5e;
}

.fp-nav-cta {
  white-space: nowrap;
}
.fp-nav.is-scrolled {
  box-shadow: 0 6px 24px rgba(14, 42, 71, 0.08);
}

.fp-navlink {
  transition: color 0.15s ease;
}
.fp-navlink:hover {
  color: #0e2a47;
}

/* ---------- Hero ---------- */
.fp-hero {
  position: relative;
  padding: 152px clamp(24px, 6vw, 96px) 96px;
  background:
    radial-gradient(1100px 560px at 78% -8%, #ddf5fa 0%, rgba(221, 245, 250, 0) 60%),
    linear-gradient(180deg, #f4fbfd 0%, #ffffff 78%);
}

.fp-hero-aura {
  position: absolute;
  top: 120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 201, 226, 0.2) 0%, rgba(52, 201, 226, 0) 70%);
  animation: fp-pulse 7s ease-in-out infinite;
  pointer-events: none;
}

.fp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 470px);
  justify-content: space-between;
  gap: 48px;
  align-items: center;
  position: relative;
}

.fp-hero-copy {
  width: 100%;
  max-width: 470px;
  animation: fp-rise 0.7s ease both;
}

.fp-beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(35, 116, 186, 0.08);
  border: 1px solid rgba(35, 116, 186, 0.18);
  margin-bottom: 18px;
}

.fp-beta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ac46c;
  box-shadow: 0 0 0 4px rgba(154, 196, 108, 0.25);
}

.fp-beta-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1c5e98;
}

.fp-hero-h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #0e2a47;
  margin-bottom: 16px;
}

.fp-hero-gradient {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(120deg, #2374ba, #34c9e2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fp-tagline {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #43566b;
  max-width: 470px;
  margin-bottom: 26px;
  font-weight: 400;
}

.fp-waitlist {
  scroll-margin-top: 100px;
}

.fp-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fp-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 11px;
  font-family: "Outfit", sans-serif;
  font-size: 15.5px;
  font-weight: 600;
}

.fp-btn-secondary {
  color: #1c5e98;
  background: #fff;
  border: 1.5px solid rgba(35, 116, 186, 0.28);
  box-shadow: 0 8px 22px rgba(14, 42, 71, 0.08);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 300ms ease;
}

.fp-btn-secondary:hover {
  color: #0e2a47;
  border-color: rgba(35, 116, 186, 0.5);
  transform: translateY(-1px);
  box-shadow:
    0 0 20px 5px hsl(var(--blue) / 0.25),
    0 0 40px 10px hsl(var(--blue) / 0.1);
}

.fp-waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  flex-wrap: wrap;
}

.fp-input-name,
.fp-input-email {
  min-width: 0;
  padding: 14px 16px;
  font-family: "Outfit", sans-serif;
  font-size: 15.5px;
  color: #0e2a47;
  background: #fff;
  border: 1.5px solid rgba(14, 42, 71, 0.14);
  border-radius: 11px;
  outline: none;
}

.fp-input-name {
  flex: 1 1 150px;
}

.fp-input-email {
  flex: 1.3 1 190px;
}

.fp-waitlist-btn {
  flex: none;
  padding: 14px 24px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
  background: #2374ba;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(35, 116, 186, 0.3);
}

.fp-waitlist-proof {
  font-size: 13.5px;
  color: #7d8a99;
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.fp-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 470px;
  justify-self: end;
}

.fp-hero-visual-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(52, 201, 226, 0.28) 0%,
    rgba(35, 116, 186, 0.06) 55%,
    rgba(255, 255, 255, 0) 72%
  );
}

.fp-hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 470px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 64px rgba(14, 42, 71, 0.3),
    0 0 0 1px rgba(35, 116, 186, 0.14);
}

.fp-hero-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0b2138;
}

.fp-hero-video-overlay {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 40px rgba(11, 33, 56, 0.45);
  pointer-events: none;
}

.fp-hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 13px;
  padding: 11px 15px;
  box-shadow: 0 14px 34px rgba(14, 42, 71, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fp-hero-chip-top {
  top: 8%;
  left: -2%;
  animation: fp-float 5.2s ease-in-out infinite;
}

.fp-hero-chip-bottom {
  bottom: 10%;
  right: -3%;
  animation: fp-float 6.4s ease-in-out infinite;
}

.fp-chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-chip-icon-green {
  background: rgba(154, 196, 108, 0.18);
}

.fp-chip-icon-cyan {
  background: rgba(52, 201, 226, 0.18);
}

.fp-chip-title {
  font-size: 13px;
  font-weight: 600;
  color: #0e2a47;
}

.fp-chip-subtitle {
  font-size: 11.5px;
  color: #7d8a99;
}

/* ---------- Features intro ---------- */
.fp-features {
  padding: 124px clamp(24px, 6vw, 96px);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
  scroll-margin-top: 80px;
}

.fp-features-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.fp-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fp-eyebrow-blue {
  color: #2374ba;
  margin-bottom: 20px;
}

.fp-features-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #0e2a47;
  margin-bottom: 24px;
}

.fp-features-copy {
  font-size: 20px;
  line-height: 1.65;
  color: #51647a;
  max-width: 660px;
  margin: 0 auto;
}

.fp-features-image-wrap {
  margin: 34px auto 0;
  max-width: 740px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(14, 42, 71, 0.16);
  border: 1px solid rgba(14, 42, 71, 0.08);
}

.fp-features-image {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- How it works ---------- */
.fp-how {
  padding: 118px clamp(24px, 6vw, 96px);
  background: #0e2a47;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.fp-how-glow {
  position: absolute;
  border-radius: 50%;
}

.fp-how-glow-left {
  top: -140px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(52, 201, 226, 0.16) 0%, rgba(52, 201, 226, 0) 70%);
}

.fp-how-glow-right {
  bottom: -160px;
  right: -100px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(35, 116, 186, 0.22) 0%, rgba(35, 116, 186, 0) 70%);
}

.fp-how-inner {
  position: relative;
}

.fp-how-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 70px;
}

.fp-eyebrow-cyan {
  color: #34c9e2;
  margin-bottom: 16px;
}

.fp-how-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 18px;
}

.fp-how-copy {
  font-size: 19px;
  line-height: 1.6;
  color: #a9c0d6;
}

.fp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fp-step-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 34px 30px;
  transition:
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.fp-step-card:hover {
  box-shadow:
    0 0 20px 5px hsl(var(--blue) / 0.35),
    0 0 40px 10px hsl(var(--blue) / 0.15);
  border-color: hsl(var(--blue) / 0.5);
}

.fp-step-label {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #34c9e2;
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.fp-step-label-green {
  color: #9ac46c;
}

.fp-step-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fp-step-icon-cyan {
  background: linear-gradient(135deg, #2374ba, #34c9e2);
  box-shadow: 0 10px 24px rgba(52, 201, 226, 0.3);
}

.fp-step-icon-green {
  background: linear-gradient(135deg, #7aa84a, #9ac46c);
  box-shadow: 0 10px 24px rgba(154, 196, 108, 0.3);
}

.fp-step-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: #fff;
  margin-bottom: 11px;
}

.fp-step-copy {
  font-size: 15.5px;
  line-height: 1.62;
  color: #a9c0d6;
}

.fp-step-card > :not(.fp-step-preview) {
  position: relative;
  z-index: 2;
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 220ms ease;
}

.fp-step-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin-top: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 30px rgba(7, 18, 34, 0.28);
  background: #0b2138;
  opacity: 0;
  transform: translateX(14%);
  pointer-events: none;
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-step-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 33, 56, 0.24) 0%, rgba(11, 33, 56, 0) 55%);
}

.fp-step-preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.fp-step-card:hover .fp-step-preview,
.fp-step-card:focus-within .fp-step-preview {
  opacity: 1;
  transform: translateX(0);
}

.fp-step-card:hover > :not(.fp-step-preview),
.fp-step-card:focus-within > :not(.fp-step-preview) {
  opacity: 0;
  transform: translateX(-14px);
  filter: blur(2px);
}

/* ---------- Product mockup ---------- */
.fp-product {
  padding: 110px clamp(24px, 6vw, 96px);
  background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
  scroll-margin-top: 80px;
}

.fp-product-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.fp-product-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.fp-product-eyebrow {
  margin-bottom: 16px;
}

.fp-product-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0e2a47;
}

.fp-mockup-scroll {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(14, 42, 71, 0.22);
  border: 1px solid rgba(14, 42, 71, 0.1);
  background: #fff;
  transition:
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.fp-mockup-scroll:hover {
  box-shadow:
    0 40px 90px rgba(14, 42, 71, 0.22),
    0 0 20px 5px hsl(var(--blue) / 0.35),
    0 0 40px 10px hsl(var(--blue) / 0.15);
  border-color: hsl(var(--blue) / 0.4);
}

.fp-product-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.fp-mockup-topbar {
  height: 42px;
  background: #0e2a47;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.fp-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.fp-dot-red {
  background: #ff5f57;
}

.fp-dot-yellow {
  background: #febc2e;
}

.fp-dot-green {
  background: #28c840;
}

.fp-mockup-urlbar {
  margin-left: 14px;
  flex: 1;
  max-width: 320px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 7px;
}

.fp-mockup-urltext {
  font-size: 11.5px;
  color: #9fb6cc;
}

.fp-mockup-grid {
  display: grid;
  grid-template-columns: 210px 1fr 268px;
  min-height: 480px;
}

.fp-mockup-sidebar {
  background: #0b2138;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-mockup-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 16px;
}

.fp-mockup-brand-icon {
  width: 26px;
  height: 26px;
}

.fp-mockup-brand-text {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.fp-mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 9px;
  color: #8da6bf;
  font-size: 13.5px;
  font-weight: 500;
}

.fp-mockup-nav-item-active {
  background: rgba(52, 201, 226, 0.16);
  color: #fff;
}

.fp-mockup-profile {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.fp-mockup-profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2374ba, #34c9e2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.fp-mockup-profile-meta {
  line-height: 1.2;
}

.fp-mockup-profile-name {
  font-size: 12.5px;
  color: #fff;
  font-weight: 500;
}

.fp-mockup-profile-role {
  font-size: 10.5px;
  color: #7e96ae;
}

.fp-board {
  padding: 22px;
  background: #f7fafc;
}

.fp-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.fp-board-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #0e2a47;
}

.fp-board-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #5f8a2f;
  background: rgba(154, 196, 108, 0.18);
  padding: 5px 11px;
  border-radius: 999px;
}

.fp-board-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ac46c;
}

.fp-board-meta {
  font-size: 12.5px;
  color: #7d8a99;
  margin-bottom: 18px;
}

.fp-board-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fp-board-col-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9aa7b4;
  margin-bottom: 10px;
}

.fp-task-card {
  background: #fff;
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 11px;
  padding: 13px;
  box-shadow: 0 1px 2px rgba(14, 42, 71, 0.05);
}

.fp-task-card + .fp-task-card {
  margin-top: 10px;
}

.fp-task-title {
  font-size: 13.5px;
  font-weight: 500;
  color: #0e2a47;
  margin-bottom: 9px;
}

.fp-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fp-task-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.fp-task-tag-blue {
  color: #2374ba;
  background: rgba(35, 116, 186, 0.1);
}

.fp-task-tag-green {
  color: #7aa84a;
  background: rgba(154, 196, 108, 0.18);
}

.fp-task-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 10px;
  color: #0e2a47;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-task-avatar-cyan {
  background: #34c9e2;
}

.fp-task-avatar-green {
  background: #9ac46c;
}

.fp-task-card-done {
  opacity: 0.72;
}

.fp-task-title-done {
  text-decoration: line-through;
  text-decoration-color: rgba(14, 42, 71, 0.3);
}

.fp-task-done-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fp-task-done-text {
  font-size: 11.5px;
  color: #7d8a99;
}

.fp-ai-panel {
  background: #fff;
  border-left: 1px solid rgba(14, 42, 71, 0.08);
  padding: 20px 18px;
}

.fp-ai-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.fp-ai-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2374ba, #34c9e2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-ai-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #0e2a47;
}

.fp-ai-card {
  border-radius: 13px;
  padding: 14px;
  margin-bottom: 12px;
}

.fp-ai-card-cyan {
  background: #f4fbfd;
  border: 1px solid rgba(52, 201, 226, 0.25);
}

.fp-ai-card-green {
  background: #fbf7ef;
  border: 1px solid rgba(154, 196, 108, 0.4);
}

.fp-ai-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.fp-ai-label-cyan {
  color: #2096b0;
}

.fp-ai-label-green {
  color: #7aa84a;
}

.fp-ai-text {
  font-size: 13px;
  line-height: 1.55;
  color: #37495c;
}

.fp-ai-strong {
  color: #0e2a47;
}

.fp-ai-input {
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: 13px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.fp-ai-input-text {
  font-size: 12.5px;
  color: #9aa7b4;
}

/* ---------- Use cases ---------- */
.fp-usecases {
  padding: 110px clamp(24px, 6vw, 96px);
  background: #fff;
}

.fp-usecases-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.fp-usecases-eyebrow {
  margin-bottom: 16px;
}

.fp-usecases-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0e2a47;
  margin-bottom: 18px;
}

.fp-usecases-copy {
  font-size: 18px;
  line-height: 1.6;
  color: #51647a;
}

.fp-usecases-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fp-usecase-card {
  background: linear-gradient(180deg, #f8fdff 0%, #f1f9fd 100%);
  border: 1px solid rgba(14, 42, 71, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.fp-usecase-card:hover {
  box-shadow:
    0 0 20px 5px hsl(var(--blue) / 0.25),
    0 0 40px 10px hsl(var(--blue) / 0.1);
  border-color: hsl(var(--blue) / 0.35);
}

.fp-usecase-card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: #0e2a47;
  margin-bottom: 10px;
}

.fp-usecase-card-copy {
  font-size: 15.5px;
  line-height: 1.6;
  color: #56697d;
  margin-bottom: 18px;
}

.fp-usecase-card-label {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #34c9e2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fp-usecase-card-label-green {
  color: #9ac46c;
}

.fp-usecase-card-cta {
  display: inline-flex;
  align-items: center;
  color: #2374ba;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Final CTA ---------- */
.fp-final-cta-section {
  padding: 30px clamp(24px, 6vw, 96px) 100px;
  background: #f4fbfd;
  scroll-margin-top: 92px;
}

.fp-final-cta-shell {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(125deg, #0e2a47 0%, #14457a 55%, #1c5e98 100%);
  padding: 72px 56px;
}

.fp-final-cta-aura {
  position: absolute;
  top: -100px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 201, 226, 0.3) 0%, rgba(52, 201, 226, 0) 70%);
  animation: fp-pulse 8s ease-in-out infinite;
}

.fp-final-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: center;
}

.fp-final-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 18px;
}

.fp-final-copy {
  font-size: 19px;
  line-height: 1.6;
  color: #b9cfe4;
  max-width: 520px;
  margin-bottom: 30px;
}

.fp-final-form {
  display: flex;
  gap: 16px;
  max-width: 640px;
  flex-wrap: wrap;
}

.fp-final-field-label {
  flex: 1 1 100%;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #b9cfe4;
}

.fp-final-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 15px 18px;
  font-family: "Outfit", sans-serif;
  font-size: 15.5px;
  color: #0e2a47;
  background: #fff;
  border: none;
  border-radius: 11px;
  outline: none;
}

.fp-final-btn {
  flex: none;
  padding: 15px 26px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: #0e2a47;
  background: #34c9e2;
  border: none;
  border-radius: 11px;
  cursor: pointer;
}

.fp-final-notes {
  flex: 1 1 100%;
  resize: vertical;
  min-height: 96px;
  line-height: 1.45;
}

.fp-notes-meta {
  flex: 1 1 100%;
  margin-top: -8px;
  font-size: 12.5px;
  color: #b9cfe4;
}

.fp-notes-meta.is-maxed {
  color: #f3e38b;
  font-weight: 600;
}

.fp-final-select {
  flex: 1 1 100%;
  min-height: 54px;
  padding-right: 44px;
  border: 2px solid rgba(52, 201, 226, 0.75);
  box-shadow:
    0 0 0 4px rgba(52, 201, 226, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  background-image:
    linear-gradient(45deg, transparent 50%, #1c5e98 50%), linear-gradient(135deg, #1c5e98 50%, transparent 50%),
    linear-gradient(180deg, #ffffff, #f2fbfe);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.fp-final-select:focus {
  border-color: #34c9e2;
  box-shadow:
    0 0 0 5px rgba(52, 201, 226, 0.32),
    0 8px 22px rgba(14, 42, 71, 0.18);
}

.fp-final-mascot {
  display: flex;
  justify-content: center;
}

.fp-final-mascot-img {
  width: 230px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
  animation: fp-float 6s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.fp-footer {
  background: #0b2138;
  padding: 60px clamp(24px, 6vw, 96px) 36px;
}

.fp-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.fp-footer-brand-logo {
  height: 36px;
  width: auto;
}

.fp-footer-brand-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.fp-footer-copy {
  font-size: 15px;
  line-height: 1.6;
  color: #8da6bf;
  max-width: 300px;
}

.fp-footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f7c98;
  margin-bottom: 16px;
}

.fp-footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fp-footer-link {
  font-size: 14.5px;
  color: #b6c9dc;
}

.fp-footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.fp-footer-meta {
  font-size: 13.5px;
  color: #5f7c98;
}

.fp-footer-meta-link {
  font-size: 13.5px;
  color: #8da6bf;
}

/* ---------- Buttons ---------- */
.fp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: #2374ba;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 6px 18px rgba(35, 116, 186, 0.28);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 300ms ease;
}
.fp-btn-primary:hover {
  background: #1c5e98;
  transform: translateY(-1px);
  box-shadow:
    0 0 20px 5px hsl(var(--blue) / 0.45),
    0 0 40px 10px hsl(var(--blue) / 0.2);
}

.fp-btn-cyan {
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 300ms ease;
}
.fp-btn-cyan:hover {
  background: #5fd6e9;
  transform: translateY(-1px);
  box-shadow:
    0 0 20px 5px hsl(var(--blue) / 0.35),
    0 0 40px 10px hsl(var(--blue) / 0.15);
}

.fp-btn-primary.is-loading,
.fp-btn-cyan.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Inputs ---------- */
.fp-input {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.fp-input:focus {
  border-color: #2374ba;
  box-shadow: 0 0 0 4px rgba(35, 116, 186, 0.12);
}
.fp-input--cta {
  transition: box-shadow 0.2s ease;
}
.fp-input--cta:focus {
  box-shadow: 0 0 0 4px rgba(52, 201, 226, 0.3);
}

/* ---------- Typewriter hero copy ---------- */
.typing::after {
  content: "▍";
  margin-left: 4px;
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.cursor-done::after {
  content: "";
  animation: none;
}

.glow {
  display: inline;
}

/* ---------- Links ---------- */
.fp-foot-link {
  transition: color 0.15s ease;
}
.fp-foot-link:hover {
  color: #34c9e2;
}

.fp-link-arrow {
  transition: opacity 0.15s ease;
}
.fp-link-arrow:hover {
  opacity: 0.75;
}

/* ---------- Feature / use-case cards ---------- */
.fp-card {
  transition:
    transform 0.2s ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}
.fp-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 20px 5px hsl(var(--blue) / 0.25),
    0 0 40px 10px hsl(var(--blue) / 0.1);
  border-color: hsl(var(--blue) / 0.35);
}

/* ---------- Flash messages (from your Flask flashes) ---------- */
.flashes {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 90%;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  background: #2374ba;
  box-shadow: 0 10px 30px rgba(14, 42, 71, 0.18);
}

/* Visually-hidden labels for accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   Scroll-reveal animations
   Elements start invisible (handled in JS so no flash of
   hidden content if JS is slow). JS adds [data-reveal] and
   toggles .is-visible when the element enters the viewport.
   ============================================================ */

/* Fade + rise — section headings and single blocks */
[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(42px) scale(0.965);
  filter: blur(7px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered cards — each child gets its delay set inline by JS */
[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(30px) scale(0.955);
  filter: blur(2px);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revealed state */
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-reveal="stagger"].is-visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal="fade-up"],
  [data-reveal="stagger"] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive — the design is built at desktop width; these
   breakpoints stack the multi-column sections on tablet/phone.
   ============================================================ */

/* Narrow desktop / large tablet: grid is still two columns but
   the h1 is too large and overflows into the video column.
   Shrink it so "takeoff to touchdown" stays within its column. */
@media (max-width: 1280px) {
  .fp-hero-h1 {
    font-size: 52px;
  }
}

@media (max-width: 1100px) {
  .fp-hero-h1 {
    font-size: 42px;
  }
}

@media (max-width: 920px) {
  /* hide centre nav links on small screens */
  .fp-nav-links {
    display: none !important;
  }

  /* hero: stack text over visual */
  .fp-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .fp-hero-visual {
    order: -1;
  }

  /* 3-up steps -> 1-up */
  .fp-steps-grid {
    grid-template-columns: 1fr !important;
  }

  .fp-step-preview {
    display: none;
  }

  .fp-step-card > :not(.fp-step-preview) {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* use-cases + final CTA -> single column */
  .fp-usecase-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .fp-usecases-cards {
    grid-template-columns: 1fr !important;
  }
  .fp-final-grid {
    grid-template-columns: 1fr !important;
  }
  .fp-final-mascot {
    display: none !important;
  }

  /* product mockup: let it scroll horizontally instead of crushing */
  .fp-mockup-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fp-mockup-grid {
    min-width: 760px;
  }
}

@media (max-width: 560px) {
  .fp-hero-h1 {
    font-size: 40px !important;
  }
  .fp-section-h2 {
    font-size: 32px !important;
  }
  .fp-hero-cta {
    width: 100%;
  }
  .fp-hero-chip {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-step-preview {
    transition: none;
    transform: none;
  }

  .fp-step-card > :not(.fp-step-preview) {
    transition: none;
  }
}
