:root {
  --ink: #12151a;
  --muted: #5d6572;
  --line: #dde3e8;
  --paper: #f8faf9;
  --white: #ffffff;
  --teal: #16b8bc;
  --teal-dark: #0e6c73;
  --coral: #f07d63;
  --amber: #f3b35f;
  --charcoal: #171b21;
  --shadow: 0 18px 60px rgba(21, 30, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.74), rgba(5, 8, 22, 0.08));
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.hero-bullets,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.78rem;
}

.brand-logo {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 5px;
  box-shadow: 0 12px 35px rgba(83, 109, 255, 0.24);
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-next,
.brand-labs {
  color: #f6f8ff;
}

.brand-gen {
  background: linear-gradient(135deg, #0758f0 0%, #1aa7ff 54%, #27d8f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-labs {
  margin-left: 4px;
  font-size: 0.68em;
  letter-spacing: 0.42em;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.84);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  background: linear-gradient(90deg, #36dff0, #62f5ad);
  color: #06101b;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 7%, rgba(55, 71, 159, 0.58), transparent 34%),
    radial-gradient(circle at 74% 98%, rgba(94, 62, 155, 0.28), transparent 32%),
    linear-gradient(125deg, #18256a 0%, #070d22 44%, #030712 100%);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.24;
  filter: saturate(1.1) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 8, 22, 0.92) 0%, rgba(4, 8, 22, 0.82) 43%, rgba(4, 8, 22, 0.44) 74%, rgba(4, 8, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(4, 8, 22, 0.62) 0%, rgba(4, 8, 22, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  margin-left: clamp(18px, 10vw, 132px);
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding: 13px 20px;
  border: 1px solid rgba(98, 245, 173, 0.34);
  border-radius: 999px;
  background: rgba(22, 184, 188, 0.14);
  color: #62f5ad;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.74rem, 1.5vw, 1rem);
  letter-spacing: 0.18em;
  box-shadow: inset 0 0 0 1px rgba(54, 223, 240, 0.1);
}

.hero .eyebrow::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #62f5ad;
  box-shadow: 0 0 0 10px rgba(98, 245, 173, 0.12);
}

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

h1 {
  max-width: 980px;
  margin-bottom: 30px;
  font-size: clamp(4rem, 10vw, 8.65rem);
  line-height: 0.93;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-title {
  color: #f5f7ff;
}

.hero-gradient {
  display: block;
  width: max-content;
  max-width: 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-gradient-teal {
  background-image: linear-gradient(90deg, #36dff0 0%, #62f5ad 100%);
}

.hero-gradient-mix {
  background-image: linear-gradient(90deg, #63f3a8 0%, #78c7df 48%, #9170f4 88%, #9b6cff 100%);
}

.grad {
  background: linear-gradient(135deg, var(--cyan), var(--green) 38%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 920px;
  color: #b7c0dc;
  font-size: clamp(1.15rem, 2.2vw, 1.78rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 20px;
  margin: 52px 0 42px;
}

.button {
  border: 1px solid transparent;
  min-height: 64px;
  padding: 0 30px;
  cursor: pointer;
  font-size: 1.05rem;
}

.button.primary {
  color: #06101b;
  background: linear-gradient(90deg, #36dff0 0%, #62f5ad 100%);
  box-shadow: 0 18px 40px rgba(54, 223, 240, 0.22);
}

.button.secondary {
  color: #f5f7ff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.button.full {
  width: 100%;
}

.hero-bullets {
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #d8def2;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 800;
}

.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-bullets li::before {
  content: "✓";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #62f5ad;
  background: rgba(98, 245, 173, 0.16);
  box-shadow: 0 0 18px rgba(98, 245, 173, 0.16);
  font-size: 0.95rem;
  font-weight: 900;
}

.trust-band {
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.trust-band p {
  margin: 0;
}

.section,
.workflow,
.cta-section {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

.section-copy {
  max-width: 820px;
}

.section-copy.narrow {
  max-width: 900px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background: var(--white);
}

.intro-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid article,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-grid article {
  min-height: 250px;
  padding: 24px;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 8px;
  background: #e8fbf9;
  color: var(--teal-dark);
  font-weight: 900;
}

.intro-grid p,
.feature-card p,
.steps p,
.split p,
.cta-copy p {
  color: var(--muted);
}

.feature-section {
  background: #edf4f2;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 210px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(18, 21, 26, 0.04);
}

.feature-card:nth-child(2n) {
  border-top: 4px solid var(--coral);
}

.feature-card:nth-child(2n + 1) {
  border-top: 4px solid var(--teal);
}

.call-section {
  background: var(--white);
}

.call-section .section-copy p:last-child,
.builder-section .section-copy p:last-child,
.pricing-section .section-copy p:last-child {
  color: var(--muted);
}

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

.capability-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
}

.capability-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 900;
}

.capability-grid p,
.builder-grid p,
.plan p,
.plan li {
  color: var(--muted);
}

.builder-section {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: #11151b;
  color: var(--white);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.builder-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.builder-grid article::before {
  content: "";
  display: block;
  width: 38px;
  height: 6px;
  margin-bottom: 28px;
  border-radius: 99px;
  background: var(--teal);
}

.builder-grid article:nth-child(2)::before,
.builder-grid article:nth-child(4)::before {
  background: var(--coral);
}

.workflow {
  background: var(--charcoal);
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  background: var(--white);
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.use-case-list span {
  padding: 18px 20px;
  border-left: 5px solid var(--coral);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}

.use-case-list span:nth-child(3n) {
  border-left-color: var(--teal);
}

.use-case-list span:nth-child(4n) {
  border-left-color: var(--amber);
}

.pricing-section {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 72px);
  background: #edf4f2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.plan {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(18, 21, 26, 0.04);
}

.plan.featured {
  border-color: rgba(22, 184, 188, 0.55);
  box-shadow: var(--shadow);
}

.price {
  margin: 8px 0 16px;
  color: var(--ink) !important;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 24px;
}

.plan li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--teal);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: start;
  background: #f3f5f0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd7dd;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .split,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .feature-grid,
  .capability-grid,
  .steps,
  .builder-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand > span:not(.brand-name) {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 8, 22, 0.94) 0%, rgba(4, 8, 22, 0.82) 62%, rgba(4, 8, 22, 0.36) 100%),
      linear-gradient(0deg, rgba(4, 8, 22, 0.58) 0%, rgba(4, 8, 22, 0) 48%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5.2rem);
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .button {
    width: 100%;
  }

  .hero-bullets {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .intro-grid,
  .feature-grid,
  .capability-grid,
  .steps,
  .builder-grid,
  .pricing-grid,
  .use-case-list {
    grid-template-columns: 1fr;
  }

  .intro-grid article,
  .feature-card,
  .steps li {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }

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

/* nextgen-labs.io design system overrides: visual-only, no content changes */
:root {
  --bg: #050816;
  --bg2: #0a1026;
  --panel: #0f1733;
  --panel2: #111b3d;
  --text: #f6f8ff;
  --soft: #dbe4ff;
  --muted: #a6b0d2;
  --line: rgba(255, 255, 255, 0.12);
  --line2: rgba(255, 255, 255, 0.2);
  --cyan: #34d6ff;
  --blue: #536dff;
  --violet: #9b5cff;
  --green: #62ffb5;
  --amber: #ffd166;
  --rose: #ff5c9a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 5%, rgba(83, 109, 255, 0.38), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(52, 214, 255, 0.2), transparent 30%),
    radial-gradient(circle at 70% 95%, rgba(155, 92, 255, 0.25), transparent 34%),
    linear-gradient(180deg, #050816 0%, #060b1d 45%, #04050d 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.site-header {
  position: sticky;
  background: rgba(5, 8, 22, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--text);
  background: linear-gradient(135deg, #0d1634, #151f4b);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 35px rgba(83, 109, 255, 0.3);
}

.brand-logo {
  width: 76px;
  height: 76px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  font-size: 1.42rem;
  font-weight: 900;
}

.nav-links {
  color: var(--muted);
  font-weight: 650;
}

.nav-cta,
.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #03101a;
  box-shadow: 0 16px 40px rgba(52, 214, 255, 0.23);
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(52, 214, 255, 0.32);
}

.button,
.nav-cta {
  transition: 0.25s ease;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line2);
  color: var(--text);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100vh - 76px);
  background: transparent;
}

.hero-image {
  opacity: 0.92;
  mix-blend-mode: normal;
  filter: saturate(1.15) contrast(1.04) brightness(1.14);
}

.hero-overlay {
  background:
    radial-gradient(circle at 12% 5%, rgba(83, 109, 255, 0.1), transparent 35%),
    linear-gradient(90deg, rgba(5, 8, 22, 0.76) 0%, rgba(5, 8, 22, 0.52) 42%, rgba(5, 8, 22, 0.08) 100%);
}

.hero .eyebrow,
.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--green);
  background: rgba(98, 255, 181, 0.07);
  border: 1px solid rgba(98, 255, 181, 0.25);
  box-shadow: none;
}

.hero .eyebrow::before {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(98, 255, 181, 0.1);
}

h1 {
  color: var(--text);
  letter-spacing: -0.075em;
}

.hero-title {
  max-width: 920px;
  font-size: clamp(3.6rem, 8.2vw, 7rem);
}

.hero-copy {
  color: var(--muted);
  max-width: 690px;
}

.hero-bullets {
  color: var(--soft);
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-bullets li::before {
  width: 22px;
  height: 22px;
  color: var(--green);
  background: rgba(98, 255, 181, 0.15);
  font-size: 0.78rem;
}

.section,
.workflow,
.cta-section,
.builder-section,
.pricing-section {
  background: transparent;
}

.intro,
.feature-section,
.call-section,
.split {
  background: rgba(255, 255, 255, 0.018);
}

.section-copy h2,
.workflow h2,
.cta-copy h2,
.pricing-section h2,
.builder-section h2 {
  color: var(--text);
  letter-spacing: -0.055em;
}

.section-copy > p:not(.eyebrow),
.intro-grid p,
.feature-card p,
.steps p,
.split p,
.cta-copy p,
.capability-grid p,
.builder-grid p,
.plan p,
.plan li,
.footer {
  color: var(--muted);
}

.intro-grid article,
.feature-card,
.capability-grid article,
.steps li,
.use-case-list span,
.plan,
.contact-form,
.builder-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-grid article,
.feature-card,
.capability-grid article,
.steps li,
.use-case-list span,
.plan,
.contact-form,
.builder-grid article,
input,
select,
textarea {
  border-radius: 24px;
}

.feature-card,
.capability-grid article,
.plan {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.capability-grid article::before,
.plan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--violet));
  opacity: 0.8;
}

.feature-card:hover,
.capability-grid article:hover,
.plan:hover,
.intro-grid article:hover {
  transform: translateY(-6px);
  border-color: var(--line2);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.feature-card,
.capability-grid article,
.plan,
.intro-grid article {
  transition: 0.25s ease;
}

.icon {
  background: rgba(52, 214, 255, 0.12);
  border: 1px solid rgba(52, 214, 255, 0.18);
  color: var(--cyan);
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps li {
  background: rgba(255, 255, 255, 0.045);
}

.steps span,
.capability-grid span,
.price,
.footer p:first-child {
  color: var(--green) !important;
}

.use-case-list span {
  color: var(--soft);
  border-left-color: var(--cyan);
}

.use-case-list span:nth-child(3n) {
  border-left-color: var(--green);
}

.use-case-list span:nth-child(4n) {
  border-left-color: var(--violet);
}

.builder-grid article::before,
.builder-grid article:nth-child(2)::before,
.builder-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--violet));
}

.plan.featured {
  border-color: rgba(98, 255, 181, 0.34);
}

.price span {
  color: var(--muted);
}

.plan li::before {
  background: var(--green);
}

input,
select,
textarea {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
}

input::placeholder,
textarea::placeholder {
  color: rgba(219, 228, 255, 0.48);
}

label {
  color: var(--soft);
}

.cta-section {
  border-top: 1px solid var(--line);
}

.contact-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  justify-content: space-between;
  color: var(--muted);
}

.footer p:first-child {
  color: var(--text);
}

/* Simplified NextGen Labs palette */
:root {
  --cyan: #18c8f4;
  --blue: #0758f0;
  --violet: #18a7ff;
  --green: #22d3ee;
  --teal: #18c8f4;
  --teal-dark: #0758f0;
  --coral: #18a7ff;
  --amber: #38bdf8;
}

.nav-cta,
.button.primary {
  background: linear-gradient(135deg, #0758f0 0%, #18c8f4 100%);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(24, 200, 244, 0.22);
}

.button.primary:hover,
.nav-cta:hover {
  box-shadow: 0 22px 55px rgba(24, 200, 244, 0.3);
}

.brand-gen,
.grad,
.hero-gradient-teal,
.hero-gradient-mix {
  background-image: linear-gradient(135deg, #0758f0 0%, #18a7ff 48%, #18c8f4 100%);
}

.hero {
  background:
    radial-gradient(circle at 12% 5%, rgba(7, 88, 240, 0.34), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(24, 200, 244, 0.2), transparent 30%),
    linear-gradient(180deg, #050816 0%, #07142c 48%, #04050d 100%);
}

.hero .eyebrow,
.eyebrow {
  color: #67e8f9;
  background: rgba(24, 200, 244, 0.08);
  border-color: rgba(24, 200, 244, 0.28);
}

.hero .eyebrow::before,
.hero-bullets li::before {
  color: #67e8f9;
  background: rgba(24, 200, 244, 0.16);
  box-shadow: 0 0 18px rgba(24, 200, 244, 0.14);
}

.feature-card::before,
.capability-grid article::before,
.plan::before,
.builder-grid article::before,
.builder-grid article:nth-child(2)::before,
.builder-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, #0758f0, #18a7ff, #18c8f4);
}

.feature-card:nth-child(2n),
.feature-card:nth-child(2n + 1) {
  border-top-color: #18c8f4;
}

.feature-section {
  background:
    radial-gradient(circle at 12% 5%, rgba(7, 88, 240, 0.26), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(24, 200, 244, 0.16), transparent 30%),
    linear-gradient(180deg, #050816 0%, #07142c 48%, #04050d 100%);
}

.workflow,
.builder-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(24, 200, 244, 0.12), transparent 30%),
    linear-gradient(180deg, #10172f 0%, #070b1c 100%);
}

.workflow .steps span,
.steps span,
.capability-grid span,
.price,
.footer p:first-child {
  color: #18c8f4 !important;
}

#industries.split,
.split#industries {
  background:
    radial-gradient(circle at 12% 8%, rgba(7, 88, 240, 0.26), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(24, 200, 244, 0.16), transparent 30%),
    linear-gradient(180deg, #050816 0%, #07142c 48%, #04050d 100%);
}

#industries .use-case-list span,
#industries .use-case-list span:nth-child(3n),
#industries .use-case-list span:nth-child(4n),
.use-case-list span,
.use-case-list span:nth-child(3n),
.use-case-list span:nth-child(4n) {
  border-left-color: #18c8f4;
}

.plan li::before,
.hero .eyebrow::before {
  background: #18c8f4;
}

.plan.featured {
  border-color: rgba(24, 200, 244, 0.42);
}

.hero-bullets li::before,
.check,
.icon,
.cap-card .cap-icon {
  color: #18c8f4;
  background: rgba(24, 200, 244, 0.12);
  border-color: rgba(24, 200, 244, 0.2);
}

.hero .eyebrow,
.eyebrow {
  background: rgba(24, 200, 244, 0.08) !important;
  border-color: rgba(24, 200, 244, 0.28) !important;
}

/* Green-forward palette revision */
:root {
  --cyan: #34d6ff;
  --blue: #1f6fff;
  --violet: #4fd8d1;
  --green: #62ffb5;
  --teal: #25e6c8;
  --teal-dark: #0a8b8f;
  --coral: #34d6ff;
  --amber: #62ffb5;
}

.nav-cta,
.button.primary {
  background: linear-gradient(135deg, #34d6ff 0%, #62ffb5 100%);
  color: #03101a;
  box-shadow: 0 16px 40px rgba(98, 255, 181, 0.22);
}

.button.primary:hover,
.nav-cta:hover {
  box-shadow: 0 22px 55px rgba(98, 255, 181, 0.3);
}

.brand-gen,
.grad,
.hero-gradient-teal,
.hero-gradient-mix {
  background-image: linear-gradient(135deg, #34d6ff 0%, #62ffb5 58%, #27d8f4 100%);
}

.hero,
.feature-section,
#industries.split,
.split#industries {
  background:
    radial-gradient(circle at 12% 5%, rgba(52, 214, 255, 0.28), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(98, 255, 181, 0.2), transparent 30%),
    linear-gradient(180deg, #050816 0%, #061426 48%, #04050d 100%);
}

.workflow,
.builder-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(98, 255, 181, 0.12), transparent 30%),
    linear-gradient(180deg, #10172f 0%, #070b1c 100%);
}

.hero .eyebrow,
.eyebrow {
  color: #62ffb5 !important;
  background: rgba(98, 255, 181, 0.08) !important;
  border-color: rgba(98, 255, 181, 0.28) !important;
}

.hero .eyebrow::before,
.hero-bullets li::before,
.plan li::before {
  background: #62ffb5;
}

.hero-bullets li::before,
.check,
.icon,
.cap-card .cap-icon {
  color: #62ffb5;
  background: rgba(98, 255, 181, 0.12);
  border-color: rgba(98, 255, 181, 0.2);
}

.feature-card::before,
.capability-grid article::before,
.plan::before,
.builder-grid article::before,
.builder-grid article:nth-child(2)::before,
.builder-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, #34d6ff, #62ffb5, #25e6c8);
}

.feature-card:nth-child(2n),
.feature-card:nth-child(2n + 1) {
  border-top-color: #62ffb5;
}

.workflow .steps span,
.steps span,
.capability-grid span,
.price,
.footer p:first-child {
  color: #62ffb5 !important;
}

#industries .use-case-list span,
#industries .use-case-list span:nth-child(3n),
#industries .use-case-list span:nth-child(4n),
.use-case-list span,
.use-case-list span:nth-child(3n),
.use-case-list span:nth-child(4n) {
  border-left-color: #62ffb5;
}

.plan.featured {
  border-color: rgba(98, 255, 181, 0.42);
}

/* Footer matched to nextgen-labs.io reference */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px clamp(28px, 13vw, 166px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 95% 15%, rgba(155, 92, 255, 0.2), transparent 32%),
    linear-gradient(90deg, #030712 0%, #050816 54%, #130b2a 100%);
  color: #a6b0d2;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
}

.footer p {
  margin: 0;
}

.footer strong {
  color: #f6f8ff;
  font-weight: 900;
}

.footer p:first-child {
  color: #a6b0d2 !important;
}

/* Balanced dark/light pass: dark first screen, lighter content sections */
body {
  background: #f8faf9;
}

body::before,
body::after {
  opacity: 0;
}

.hero {
  background:
    radial-gradient(circle at 12% 5%, rgba(83, 109, 255, 0.38), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(52, 214, 255, 0.2), transparent 30%),
    radial-gradient(circle at 70% 95%, rgba(155, 92, 255, 0.25), transparent 34%),
    linear-gradient(180deg, #050816 0%, #060b1d 45%, #04050d 100%);
}

.intro,
.feature-section,
.call-section,
.split,
.pricing-section,
.cta-section {
  background: #f8faf9;
  color: #12151a;
}

.intro,
.call-section,
.split {
  background: #ffffff;
}

.feature-section,
.pricing-section,
.cta-section {
  background: #edf4f2;
}

.intro .section-copy h2,
.feature-section .section-copy h2,
.call-section .section-copy h2,
.split h2,
.pricing-section .section-copy h2,
.cta-section h2 {
  color: #12151a;
}

.intro .section-copy > p:not(.eyebrow),
.feature-section .section-copy > p:not(.eyebrow),
.call-section .section-copy > p:not(.eyebrow),
.split p,
.pricing-section .section-copy > p:not(.eyebrow),
.cta-section p,
.intro-grid p,
.feature-card p,
.capability-grid p,
.use-case-list,
.plan p,
.plan li {
  color: #5d6572;
}

.intro-grid article,
.feature-card,
.capability-grid article,
.use-case-list span,
.plan,
.contact-form {
  border: 1px solid #dde3e8;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(21, 30, 37, 0.12);
  backdrop-filter: none;
}

.intro-grid article:hover,
.feature-card:hover,
.capability-grid article:hover,
.plan:hover {
  border-color: #cfd7dd;
  box-shadow: 0 20px 55px rgba(21, 30, 37, 0.16);
}

.use-case-list span {
  color: #12151a;
  background: #f8faf9;
}

.plan.featured {
  border-color: rgba(22, 184, 188, 0.55);
}

.price {
  color: #12151a !important;
}

.price span {
  color: #5d6572;
}

label {
  color: #5d6572;
}

input,
select,
textarea {
  color: #12151a;
  background: #ffffff;
  border: 1px solid #cfd7dd;
}

input::placeholder,
textarea::placeholder {
  color: #8a94a3;
}

.workflow,
.builder-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(52, 214, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #10172f 0%, #070b1c 100%);
  color: #f6f8ff;
}

.workflow .section-copy h2,
.builder-section .section-copy h2 {
  color: #f6f8ff;
}

.workflow .section-copy > p:not(.eyebrow),
.builder-section .section-copy > p:not(.eyebrow),
.steps p,
.builder-grid p {
  color: #a6b0d2;
}

.steps li,
.builder-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

/* Dark theme for platform capability cards */
.feature-section {
  background:
    radial-gradient(circle at 12% 5%, rgba(83, 109, 255, 0.32), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(52, 214, 255, 0.18), transparent 30%),
    radial-gradient(circle at 70% 95%, rgba(155, 92, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #050816 0%, #060b1d 48%, #04050d 100%);
  color: #f6f8ff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-section .section-copy h2 {
  color: #f6f8ff;
}

.feature-section .section-copy > p:not(.eyebrow) {
  color: #a6b0d2;
}

.feature-section .feature-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.feature-section .feature-card h3 {
  color: #f6f8ff;
}

.feature-section .feature-card p {
  color: #a6b0d2;
}

.feature-section .feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

/* Light theme for workflow section */
.workflow {
  background: #ffffff;
  color: #12151a;
  border-top: 1px solid #dde3e8;
  border-bottom: 1px solid #dde3e8;
}

.workflow .section-copy h2 {
  color: #12151a;
}

.workflow .section-copy > p:not(.eyebrow),
.workflow .steps p {
  color: #5d6572;
}

.workflow .steps li {
  border: 1px solid #dde3e8;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(21, 30, 37, 0.12);
  backdrop-filter: none;
}

.workflow .steps li h3 {
  color: #12151a;
}

.workflow .steps span {
  color: #16b8bc !important;
}

/* Dark nextgen-labs theme for use cases section */
.split#industries,
#industries.split {
  background:
    radial-gradient(circle at 12% 8%, rgba(83, 109, 255, 0.34), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(52, 214, 255, 0.18), transparent 30%),
    radial-gradient(circle at 72% 90%, rgba(155, 92, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #050816 0%, #060b1d 48%, #04050d 100%);
  color: #f6f8ff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#industries h2 {
  color: #f6f8ff;
}

#industries p {
  color: #a6b0d2;
}

#industries .use-case-list span {
  color: #f6f8ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid #34d6ff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

#industries .use-case-list span:nth-child(3n) {
  border-left-color: #62ffb5;
}

#industries .use-case-list span:nth-child(4n) {
  border-left-color: #9b5cff;
}

/* Final override: keep last CTA as dark centered pilot card */
.cta-section {
  display: block !important;
  padding: clamp(32px, 5vw, 58px) clamp(18px, 4vw, 42px) !important;
  background: #f8faf9 !important;
  color: #f6f8ff !important;
}

.cta-card {
  max-width: 1770px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) clamp(22px, 5vw, 82px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 52px;
  background:
    radial-gradient(circle at 4% 0%, rgba(52, 214, 255, 0.16), transparent 32%),
    radial-gradient(circle at 96% 6%, rgba(98, 255, 181, 0.1), transparent 30%),
    linear-gradient(135deg, #050816 0%, #061426 48%, #04050d 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.cta-kicker {
  margin: 0 0 14px !important;
  color: #34d6ff !important;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cta-card h2 {
  max-width: 1360px;
  margin: 0 auto 22px;
  color: #f6f8ff !important;
  font-size: clamp(3.1rem, 7.2vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.cta-card p:not(.cta-kicker) {
  max-width: 940px;
  margin: 0 auto;
  color: #dbe4ff !important;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 52px;
}

.cta-actions .button {
  min-width: 194px;
}

/* Final CTA card styled like nextgen-labs.io */
.cta-section {
  display: block;
  padding: clamp(32px, 5vw, 58px) clamp(18px, 4vw, 42px);
  background: #f8faf9 !important;
  color: #f6f8ff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-card {
  max-width: 1770px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) clamp(22px, 5vw, 82px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 52px;
  background:
    radial-gradient(circle at 4% 0%, rgba(52, 214, 255, 0.16), transparent 32%),
    radial-gradient(circle at 96% 6%, rgba(98, 255, 181, 0.1), transparent 30%),
    linear-gradient(135deg, #050816 0%, #061426 48%, #04050d 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.cta-kicker {
  margin: 0 0 14px !important;
  color: #34d6ff !important;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cta-card h2 {
  max-width: 1360px;
  margin: 0 auto 22px;
  color: #f6f8ff !important;
  font-size: clamp(3.1rem, 7.2vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.cta-card p:not(.cta-kicker) {
  max-width: 940px;
  margin: 0 auto;
  color: #dbe4ff !important;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 52px;
}

.cta-actions .button {
  min-width: 194px;
}

@media (max-width: 660px) {
  .cta-card {
    border-radius: 28px;
  }

  .cta-actions .button {
    width: 100%;
  }
}

/* Final hero readability pass */
.hero {
  min-height: calc(100vh - 92px);
  align-items: center;
}

.hero-content {
  width: min(760px, calc(100% - 48px));
  margin-left: clamp(24px, 6vw, 96px);
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(42px, 6vw, 80px);
}

h1,
.hero-title {
  max-width: 760px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-size: clamp(3.25rem, 6.2vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 640px;
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  gap: 14px;
  margin: clamp(28px, 4vw, 42px) 0 clamp(22px, 3vw, 34px);
}

.hero-bullets {
  gap: 12px 22px;
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
}

.section-copy h2,
.workflow h2,
.builder-section h2,
.split h2 {
  max-width: 980px;
  font-size: clamp(2rem, 3.8vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-copy.narrow {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-copy.narrow h2 {
  max-width: 1080px;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
}

.call-section .section-copy.narrow h2 {
  max-width: 1120px;
  font-size: clamp(2.15rem, 4.2vw, 4.8rem);
}

.section-copy p,
.call-section .section-copy p,
.builder-section .section-copy p,
.split p {
  max-width: 760px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
}

.cta-card {
  padding: clamp(56px, 6vw, 88px) clamp(22px, 5vw, 76px);
}

.cta-card h2 {
  max-width: 1180px;
  font-size: clamp(3rem, 5.8vw, 5.9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.cta-card p:not(.cta-kicker) {
  max-width: 900px;
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
  line-height: 1.55;
}

.cta-actions {
  margin-top: clamp(34px, 4.2vw, 48px);
}

.cta-kicker {
  margin-bottom: clamp(12px, 1.6vw, 18px) !important;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  letter-spacing: 0.24em;
}

@media (min-width: 1440px) {
  .hero-content {
    width: min(840px, calc(100% - 96px));
    margin-left: clamp(56px, 7vw, 128px);
  }

  h1,
  .hero-title {
    max-width: 840px;
    font-size: clamp(4.5rem, 5.5vw, 6.8rem);
  }
}

@media (max-width: 900px) {
  .hero-content {
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-top: 46px;
  }

  h1,
  .hero-title {
    font-size: clamp(2.85rem, 10vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.035em;
  }
}

@media (max-width: 660px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 34px;
    padding-bottom: 48px;
  }

  h1,
  .hero-title {
    font-size: clamp(2.55rem, 13vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-image {
    object-position: 68% center;
    opacity: 0.55;
    filter: saturate(1.05) contrast(1.05) brightness(0.72);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 8, 21, 0.86) 0%, rgba(3, 8, 21, 0.7) 44%, rgba(3, 8, 21, 0.82) 100%),
      linear-gradient(90deg, rgba(3, 8, 21, 0.9) 0%, rgba(3, 8, 21, 0.62) 58%, rgba(3, 8, 21, 0.38) 100%);
  }

  .hero-content {
    padding-top: 42px;
  }

  .hero-title {
    max-width: 94%;
  }

  .hero-copy {
    max-width: 94%;
    color: #d9ecff;
  }

  .section-copy h2,
  .workflow h2,
  .builder-section h2,
  .split h2,
  .section-copy.narrow h2,
  .call-section .section-copy.narrow h2 {
    font-size: clamp(1.9rem, 9vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .cta-card {
    padding: 46px 22px;
  }

  .cta-card h2 {
    font-size: clamp(2.3rem, 12vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .cta-card p:not(.cta-kicker) {
    font-size: 1rem;
  }
}

/* Pilot modal */
body.modal-open {
  overflow: hidden;
}

.pilot-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.pilot-modal[aria-hidden="false"] {
  display: flex;
}

.pilot-modal[aria-hidden="true"] {
  display: none !important;
}

.pilot-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.74);
  backdrop-filter: blur(10px);
}

.pilot-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: none;
  overflow: visible;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 214, 255, 0.18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(98, 255, 181, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 51, 0.98), rgba(7, 12, 31, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  color: #f6f8ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pilot-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6f8ff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.pilot-head {
  max-width: 520px;
  margin-bottom: 14px;
}

.pilot-head p {
  display: inline-flex;
  margin: 0 0 7px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  color: #62ffb5;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pilot-head h2 {
  margin: 0;
  color: #f6f8ff;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.pilot-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}

.pilot-form label {
  color: #dbe4ff;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 800;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  color: #f6f8ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  padding: 9px 12px;
  min-height: 40px;
  font-size: 0.86rem;
  font-weight: 650;
}

.pilot-form select {
  color-scheme: dark;
  background-color: #182137;
}

.pilot-form select option {
  color: #f6f8ff;
  background: #111827;
}

.pilot-form input::placeholder,
.pilot-form textarea::placeholder {
  color: rgba(219, 228, 255, 0.5);
}

.pilot-form__full,
.pilot-submit {
  grid-column: 1 / -1;
}

.pilot-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  font-size: 0.92rem;
}

.pilot-form textarea {
  min-height: 58px;
}

@media (max-width: 660px) {
  .pilot-form {
    grid-template-columns: 1fr;
  }

  .pilot-modal {
    padding: 12px;
  }

  .pilot-dialog {
    width: min(430px, 100%);
    max-height: none;
    overflow: visible;
    padding: 16px;
    border-radius: 18px;
  }

  .pilot-head {
    margin-bottom: 12px;
  }

  .pilot-head h2 {
    max-width: calc(100% - 42px);
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.06;
  }

  .pilot-form {
    gap: 8px;
  }

  .pilot-form input,
  .pilot-form select,
  .pilot-form textarea {
    min-height: 39px;
    border-radius: 12px;
    padding: 8px 11px;
    font-size: 0.84rem;
  }

  .pilot-form textarea {
    min-height: 52px;
  }

  .pilot-submit {
    min-height: 42px;
  }
}

/* Separate success/error popup */
.feedback-popup {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(3, 7, 18, 0.58);
  backdrop-filter: blur(8px);
}

.feedback-popup[aria-hidden="false"] {
  display: flex;
}

.feedback-popup__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 214, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 51, 0.98), rgba(7, 12, 31, 0.98));
  color: #f6f8ff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

.feedback-popup[data-type="success"] .feedback-popup__panel {
  border-color: rgba(98, 255, 181, 0.34);
}

.feedback-popup[data-type="error"] .feedback-popup__panel {
  border-color: rgba(255, 92, 122, 0.34);
}

.feedback-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f6f8ff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.feedback-popup__kicker {
  margin: 0 0 12px;
  color: #62ffb5;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.feedback-popup[data-type="error"] .feedback-popup__kicker {
  color: #ff9bae;
}

.feedback-popup h2 {
  margin: 0 42px 14px 0;
  color: #f6f8ff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feedback-popup p:last-child {
  margin: 0;
  color: #dbe4ff;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Final brand color pass: NextGen Labs logo palette */
:root {
  --brand-navy: #0b1b32;
  --brand-navy-2: #071225;
  --brand-blue: #0758f0;
  --brand-blue-2: #0b7df5;
  --brand-cyan: #16c9ef;
  --brand-sky: #38d9ff;
  --brand-soft: #d9ecff;
  --brand-muted: #627085;
  --cyan: var(--brand-cyan);
  --blue: var(--brand-blue);
  --violet: var(--brand-blue-2);
  --green: var(--brand-cyan);
  --teal: var(--brand-cyan);
  --teal-dark: var(--brand-blue);
  --coral: var(--brand-blue-2);
  --amber: var(--brand-sky);
}

.brand-gen,
.grad,
.hero-gradient-teal,
.hero-gradient-mix {
  background-image: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-2) 52%, var(--brand-cyan) 100%);
}

.hero,
.feature-section,
.split#industries,
#industries.split {
  background:
    radial-gradient(circle at 14% 4%, rgba(7, 88, 240, 0.32), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(22, 201, 239, 0.2), transparent 30%),
    linear-gradient(180deg, #061126 0%, #081b35 48%, #030815 100%);
}

.workflow,
.builder-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 201, 239, 0.13), transparent 30%),
    linear-gradient(180deg, #0b1b32 0%, #061126 100%);
}

.nav-cta,
.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  box-shadow: 0 16px 40px rgba(7, 88, 240, 0.24);
}

.nav-cta:hover,
.button.primary:hover {
  box-shadow: 0 22px 55px rgba(22, 201, 239, 0.28);
}

.button.secondary {
  border-color: rgba(22, 201, 239, 0.28);
}

.hero .eyebrow,
.eyebrow,
.cta-kicker,
.pilot-head p,
.feedback-popup__kicker {
  color: var(--brand-sky) !important;
  background: rgba(22, 201, 239, 0.08) !important;
  border-color: rgba(22, 201, 239, 0.26) !important;
}

.hero .eyebrow::before,
.hero-bullets li::before,
.plan li::before {
  background: var(--brand-cyan);
}

.hero-bullets li::before,
.check,
.icon,
.cap-card .cap-icon {
  color: var(--brand-cyan);
  background: rgba(22, 201, 239, 0.12);
  border-color: rgba(22, 201, 239, 0.22);
}

.feature-card::before,
.capability-grid article::before,
.plan::before,
.builder-grid article::before,
.builder-grid article:nth-child(2)::before,
.builder-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2), var(--brand-cyan));
}

.feature-card:nth-child(2n),
.feature-card:nth-child(2n + 1) {
  border-top-color: var(--brand-cyan);
}

.workflow .steps span,
.steps span,
.capability-grid span,
.price,
.footer p:first-child {
  color: var(--brand-blue-2) !important;
}

#industries .use-case-list span,
#industries .use-case-list span:nth-child(3n),
#industries .use-case-list span:nth-child(4n),
.use-case-list span,
.use-case-list span:nth-child(3n),
.use-case-list span:nth-child(4n) {
  border-left-color: var(--brand-cyan);
}

.cta-card,
.pilot-dialog,
.feedback-popup__panel {
  background:
    radial-gradient(circle at 4% 0%, rgba(7, 88, 240, 0.18), transparent 32%),
    radial-gradient(circle at 96% 6%, rgba(22, 201, 239, 0.12), transparent 30%),
    linear-gradient(135deg, #061126 0%, #0b1b32 52%, #030815 100%);
}

.feedback-popup[data-type="success"] .feedback-popup__panel,
.plan.featured {
  border-color: rgba(22, 201, 239, 0.38);
}

.footer {
  background:
    radial-gradient(circle at 95% 15%, rgba(22, 201, 239, 0.16), transparent 32%),
    linear-gradient(90deg, #030815 0%, #061126 54%, #0b1b32 100%);
}

/* Compact final CTA card */
.cta-section {
  padding: clamp(28px, 4vw, 48px) clamp(18px, 4vw, 42px) !important;
}

.cta-card {
  max-width: 1720px;
  min-height: 0;
  padding: clamp(46px, 5.2vw, 72px) clamp(22px, 4.6vw, 68px);
  border-radius: clamp(26px, 3.5vw, 42px);
}

.cta-card h2 {
  max-width: 1420px;
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 4.25vw, 4.75rem);
  line-height: 1.03;
  white-space: nowrap;
}

.cta-card p:not(.cta-kicker) {
  max-width: 820px;
  font-size: clamp(1rem, 1.35vw, 1.26rem);
}

.cta-actions {
  margin-top: clamp(28px, 3.4vw, 38px);
}

.cta-actions .button {
  min-height: 56px;
  min-width: 176px;
}

@media (max-width: 1180px) {
  .cta-card h2 {
    white-space: normal;
  }
}

/* Keep workflow section light for readability */
.workflow {
  background: #ffffff !important;
  color: #12151a !important;
  border-top: 1px solid #dde3e8;
  border-bottom: 1px solid #dde3e8;
}

.workflow .section-copy h2,
.workflow .steps li h3 {
  color: #12151a !important;
}

.workflow .section-copy > p:not(.eyebrow),
.workflow .steps p {
  color: #5d6572 !important;
}

.workflow .steps li {
  position: relative;
  overflow: hidden;
  border: 1px solid #dde3e8 !important;
  background: #ffffff !important;
  box-shadow: 0 20px 60px rgba(21, 30, 37, 0.13) !important;
  backdrop-filter: none !important;
}

.workflow .steps li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.workflow .steps span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 26px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--brand-blue-2) !important;
  background: rgba(7, 88, 240, 0.08);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.workflow .steps li h3 {
  margin-bottom: 14px;
  font-size: clamp(1.18rem, 1.35vw, 1.38rem);
  line-height: 1.22;
}

.workflow .steps p {
  font-size: clamp(1.02rem, 1.12vw, 1.16rem);
  line-height: 1.62;
}

.workflow .steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 88, 240, 0.22) !important;
  box-shadow: 0 24px 70px rgba(7, 88, 240, 0.14) !important;
}

/* Use cases section polish */
#industries {
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
}

#industries .section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 20px;
  padding: 0 14px;
  border: 1px solid rgba(22, 201, 239, 0.26);
  border-radius: 999px;
  color: var(--brand-sky);
  background: rgba(22, 201, 239, 0.08);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#industries h2 {
  max-width: 700px;
  font-size: clamp(2.45rem, 4.35vw, 4.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

#industries p:not(.section-kicker) {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

#industries .use-case-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#industries .use-case-list span {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-left: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 100% 0%, rgba(22, 201, 239, 0.12), transparent 34%);
  color: #f6f8ff;
  font-size: clamp(1rem, 1.05vw, 1.14rem);
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

#industries .use-case-list span::before {
  content: "";
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(22, 201, 239, 0.28);
  border-radius: 14px;
  color: var(--brand-sky);
  background: rgba(22, 201, 239, 0.11);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 23px 23px;
}

#industries .use-case-list span[data-icon="support"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Cpath d='M4 12v3a2 2 0 0 0 2 2h1v-6H6a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M20 12v3a2 2 0 0 1-2 2h-1v-6h1a2 2 0 0 1 2 2Z'/%3E%3Cpath d='M14 19h-3'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="sales"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 17l6-6 4 4 6-8'/%3E%3Cpath d='M14 7h6v6'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="billing"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="helpdesk"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="calendar"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16M9 15l2 2 4-5'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="ticket"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-2a2 2 0 0 0 0-4V8Z'/%3E%3Cpath d='M9 9h6M9 15h6'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="complaint"]::before,
#industries .use-case-list span[data-icon="status"]::before,
#industries .use-case-list span[data-icon="returns"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v8Z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="healthcare"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s-7-4.4-7-11a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 6.6-7 11-7 11Z'/%3E%3Cpath d='M12 8v6M9 11h6'/%3E%3C/svg%3E");
}

#industries .use-case-list span[data-icon="realestate"]::before,
#industries .use-case-list span[data-icon="dispatch"]::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338d9ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

#industries .use-case-list span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-cyan));
}

#industries .use-case-list span:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 201, 239, 0.34);
  box-shadow: 0 24px 65px rgba(7, 88, 240, 0.18);
}

@media (max-width: 760px) {
  #industries h2 {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  #industries .use-case-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Local-only additions (not in production):
   header login button, hero live-test signpost.
   landing-auth.js styles its own modals inline.
   ============================================================ */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.header-actions .nav-cta {
  min-height: 46px;
  margin: 0;
  padding: 0 19px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

#landing-account-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f6f8ff;
  box-shadow: none;
}

#landing-account-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.hero-login-prompt {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(56, 217, 255, 0.28);
  border-radius: 13px;
  background: rgba(7, 18, 37, 0.64);
  color: #d9ecff;
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-login-prompt:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 217, 255, 0.58);
  background: rgba(7, 28, 55, 0.82);
}

.hero-login-prompt strong {
  color: #fff;
}

.hero-login-prompt__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0758f0, #16c9ef);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-login-prompt__arrow {
  color: #38d9ff;
  font-size: 1.2rem;
}

@media (max-width: 660px) {
  .header-actions {
    gap: 6px;
  }

  .header-actions .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero-login-prompt {
    align-items: flex-start;
    font-size: 0.86rem;
  }

  .hero-login-prompt__arrow {
    display: none;
  }
}

/* CTA kicker is a plain label, not an eyebrow pill — drop the tinted box. */
.cta-kicker {
  display: inline-block;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #38d9ff !important;
}
