/* Reference-logo palette; centralized for consistent brand colors. */
:root {
  --brand-navy: #0c1e40;
  --brand-blue: #0050d8;
  --brand-cyan: #0095ff;
  --brand-teal: #00cfa8;
  --brand-blue-rgb: 0, 80, 216;
  --brand-teal-rgb: 0, 207, 168;
  --brand-blue-tint: #f2f6fd;
  --brand-cyan-tint: #f0f9ff;
  --brand-teal-tint: #effcf9;
  --bs-primary: var(--brand-blue);
  --bs-primary-rgb: var(--brand-blue-rgb);
  --bs-link-color: var(--brand-blue);
  --bs-link-hover-color: var(--brand-navy);
  --bs-body-color: var(--brand-navy);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--brand-navy);
  background: #ffffff;
  line-height: 1.6;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: auto;
}

/* =========================
   HEADER
========================== */

header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e7e7e7;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 220px;
  padding: 5px 0;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;

  font-size: 14px;
  color: #444;
}

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

/* =========================
   BUTTON
========================== */

.btn {
  display: inline-block;

  padding: 13px 20px;

  border: none;
  border-radius: 7px;

  color: #fff;
  font-weight: 700;

  cursor: pointer;

  background: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-teal) 100%
  );

  transition: 0.2s;
}

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

  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.btn-outline {
  background: #fff;
  color: var(--brand-blue);

  border: 1px solid var(--brand-cyan);
}

.btn-outline:hover {
  color: #fff;
}

/* =========================
   COMMON
========================== */

section {
  padding: 75px 0;
}

.section-light {
  background: linear-gradient(
    135deg,
    var(--brand-blue-tint) 0%,
    var(--brand-cyan-tint) 50%,
    var(--brand-teal-tint) 100%
  );
}

h1 {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 20px;
}

h2 {
  font-size: 36px;
  line-height: 1.2;

  margin-bottom: 16px;

  color: var(--brand-navy);
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--brand-navy);
}

p {
  color: #656565;
  margin-bottom: 16px;
}

.lead {
  font-size: 19px;
  max-width: 720px;
}

.gradient-title {
  background: linear-gradient(
    90deg,
    var(--brand-navy) 0%,
    var(--brand-blue) 50%,
    var(--brand-teal) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.section-label {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* =========================
   HERO
========================== */

.hero {
  padding: 95px 0 80px;
  background-color: var(--brand-cyan-tint);
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.8) 45%,
      rgba(255, 255, 255, 0.22) 100%
    ),
    url("../img/hero/b2b-background.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.hero-box {
  padding: 28px;

  border-radius: 14px;

  border: 1px solid #e2e5eb;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--brand-blue-tint) 55%,
    var(--brand-teal-tint) 100%
  );

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.hero-box ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.hero-box li {
  padding-bottom: 11px;
  border-bottom: 1px solid #eee;
  color: #444;
}

.hero-box li:last-child {
  border-bottom: 0;
}

.check {
  color: var(--brand-teal);
  font-weight: 900;
  margin-right: 7px;
}

/* =========================
   PROBLEM CARDS
========================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 10px;

  padding: 24px;
}

/* =========================
   HOW IT WORKS
========================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
  margin-top: 32px;
}

.step {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 10px;

  padding: 22px;
}

.step-number {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #fff;
  font-weight: bold;

  margin-bottom: 15px;

  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
}

/* =========================
   TWO COLUMN
========================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 22px;
}

.tag {
  padding: 9px 13px;

  border-radius: 6px;

  border: 1px solid #dde3eb;

  background: #fff;

  font-size: 14px;
}

.list {
  display: grid;
  gap: 13px;

  margin-top: 20px;
}

.list-item {
  display: flex;
  gap: 10px;

  padding-bottom: 13px;

  border-bottom: 1px solid #eee;
}

/* =========================
   USE CASE
========================== */

.usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 15px;

  margin-top: 28px;
}

.usecase {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 8px;

  padding: 18px;
}

/* =========================
   SAMPLE TABLE
========================== */

.table-wrap {
  margin-top: 25px;

  overflow-x: auto;

  border: 1px solid #e3e6ea;

  border-radius: 10px;

  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;

  border-collapse: collapse;
}

th,
td {
  padding: 14px;

  text-align: left;

  border-bottom: 1px solid #eee;

  font-size: 14px;
}

th {
  background: #f7f9fc;
}

/* =========================
   OFFER
========================== */

.offer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;

  gap: 35px;

  align-items: center;

  padding: 32px;

  border-radius: 14px;

  border: 1px solid #e1e5ea;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--brand-blue-tint) 50%,
    var(--brand-teal-tint) 100%
  );
}

.price-box {
  padding: 25px;

  border-radius: 12px;

  border: 1px solid #e1e5ea;

  background: linear-gradient(
    135deg,
    var(--brand-cyan-tint) 0%,
    var(--brand-teal-tint) 100%
  );
}

.price {
  font-size: 42px;

  font-weight: 800;

  color: var(--brand-navy);

  margin: 8px 0;
}

/* =========================
   FORM
========================== */

.form-wrap {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  gap: 32px;

  align-items: start;
}

.form-card {
  padding: 25px;

  border-radius: 12px;

  border: 1px solid #e0e4e8;

  background: #fff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
}

input,
select,
textarea {
  width: 100%;

  padding: 12px 13px;

  border: 1px solid #cfd6de;

  border-radius: 6px;

  outline: none;

  background: #fff;

  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-cyan);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.progress {
  height: 6px;

  background: #e9edf2;

  border-radius: 10px;

  overflow: hidden;

  margin-bottom: 23px;
}

.progress-bar {
  width: 50%;
  height: 100%;

  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal));

  transition: 0.2s;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-actions {
  display: flex;
  justify-content: space-between;

  gap: 10px;

  margin-top: 20px;
}

.conditional {
  display: none;
  margin-top: 8px;
}

.conditional.show {
  display: block;
}

.error {
  display: none;

  padding: 10px 12px;

  margin-bottom: 15px;

  border-radius: 6px;

  background: #fff1f1;

  color: #b91c1c;

  font-size: 13px;
}

.error.show {
  display: block;
}

/* =========================
   MULTI SELECT
========================== */

.multi-box {
  padding: 8px;

  border: 1px solid #cfd6de;

  border-radius: 6px;

  background: #fff;
}

.multi-search {
  border: 0;
  border-bottom: 1px solid #eee;
  border-radius: 0;
}

.multi-options {
  max-height: 150px;
  overflow-y: auto;
  margin-top: 5px;
}

.multi-option {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 7px;

  cursor: pointer;

  font-size: 13px;
}

.multi-option input {
  width: auto;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin-top: 8px;
}

.selected-tags span {
  padding: 4px 7px;

  border-radius: 4px;

  font-size: 11px;

  color: var(--brand-blue);

  background: linear-gradient(
    135deg,
    var(--brand-blue-tint),
    var(--brand-teal-tint)
  );
}

/* =========================
   THANK YOU
========================== */

.thankyou {
  display: none;

  padding: 35px 10px;

  text-align: center;
}

.thankyou.show {
  display: block;
}

.thank-icon {
  width: 65px;
  height: 65px;

  display: grid;
  place-items: center;

  margin: auto auto 16px;

  border-radius: 50%;

  background: var(--brand-teal-tint);

  color: var(--brand-navy);

  font-size: 30px;
  font-weight: bold;
}

.thank-actions {
  display: flex;

  justify-content: center;

  gap: 10px;

  flex-wrap: wrap;

  margin-top: 20px;
}

/* =========================
   FINAL CTA
========================== */

.cta-box {
  text-align: center;

  padding: 45px 24px;

  border: 1px solid #e1e5ea;

  border-radius: 16px;

  background: linear-gradient(
    135deg,
    var(--brand-blue-tint) 0%,
    var(--brand-teal-tint) 55%,
    var(--brand-cyan-tint) 100%
  );
}

/* =========================
   FOOTER
========================== */

footer {
  padding: 32px 0;

  border-top: 1px solid #e8e8e8;

  color: #666;

  font-size: 13px;
}

.footer-row {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;
}

.footer-links {
  display: flex;

  gap: 16px;

  flex-wrap: wrap;
}

.notice {
  margin-top: 18px;

  padding-top: 18px;

  border-top: 1px solid #eee;

  font-size: 12px;
}

/* =========================
   RESPONSIVE
========================== */

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .offer,
  .form-wrap {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  section {
    padding: 55px 0;
  }

  .hero {
    padding: 65px 0 55px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 29px;
  }

  .steps,
  .usecases,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  nav .btn {
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* Preserve the landing page typography and spacing over Bootstrap defaults. */
.container {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
}
h3 {
  line-height: 1.6;
}
.lead {
  font-weight: 400;
}
ul {
  padding-left: 0;
}
.btn {
  line-height: 1.6;
}
.btn:hover,
.btn:focus-visible {
  color: #fff;
}
.hero-note {
  font-size: 13px;
  margin-top: 18px;
}
.thank-you-title {
  font-size: 30px;
}
.footer-tagline {
  margin-top: 5px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Match Bootstrap interactive states to the logo palette. */
.btn {
  --bs-btn-focus-shadow-rgb: var(--brand-blue-rgb);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-blue);
  --bs-btn-active-border-color: var(--brand-blue);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--brand-blue);
}
::selection {
  background: var(--brand-blue);
  color: #fff;
}

@media (max-width: 600px) {
  nav {
    gap: 10px;
  }
  .logo {
    width: clamp(110px, 34vw, 180px);
  }
  nav > .btn {
    max-width: 55%;
  }
}

.footer-logo {
  display: block;
  width: 280px;
  max-width: 100%;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

section,
footer [id] {
  scroll-margin-top: 100px;
}
.section-note {
  margin-top: 24px;
  font-size: 14px;
}
.usecase h3 {
  font-size: 18px;
}
.usecase p {
  font-size: 14px;
  margin-bottom: 0;
}
caption {
  padding: 14px;
  font-size: 13px;
  color: var(--brand-navy);
}
.footer-information {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  margin-top: 30px;
}
.footer-information details {
  border-bottom: 1px solid #e1e5ea;
  padding: 12px 0;
}
.footer-information summary {
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
}
.footer-information details p {
  margin-top: 12px;
  font-size: 14px;
}
@media (max-width: 600px) {
  .footer-information {
    grid-template-columns: 1fr;
  }
  .hero {
    background-position: 65% center;
  }
}

/* Branded single-select for the offering field. */
.sell-dropdown {
  position: relative;
  width: 100%;
}
.sell-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cfd6de;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-navy);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.sell-dropdown-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  transform: rotate(45deg);
  margin: -4px 3px 0 0;
}
.sell-dropdown-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.sell-dropdown-trigger:focus-visible,
.sell-dropdown-trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(var(--brand-blue-rgb), 0.1);
}
.sell-dropdown-trigger.is-placeholder {
  color: #656565;
}
.sell-dropdown-options {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: #fff;
  border: 1px solid #d6e4ed;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(12, 30, 64, 0.14);
  scrollbar-width: thin;
  scrollbar-color: var(--brand-cyan) var(--brand-blue-tint);
}
.sell-dropdown-option {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--brand-navy);
  cursor: pointer;
}
.sell-dropdown-option:hover,
.sell-dropdown-option.is-active {
  background: var(--brand-cyan-tint);
}
.sell-dropdown-option[aria-selected="true"] {
  background: linear-gradient(
    100deg,
    var(--brand-blue-tint),
    var(--brand-teal-tint)
  );
  color: var(--brand-blue);
  font-weight: 700;
}
.sell-dropdown-option[aria-selected="true"]::after {
  content: "✓";
  float: right;
  color: var(--brand-blue);
}

/* Responsive primary header. */
.site-header {
  backdrop-filter: blur(14px);
  box-shadow: 0 3px 18px rgba(12, 30, 64, 0.04);
}
.site-nav {
  min-height: 88px;
  padding: 8px 0;
  gap: 24px;
}
.site-nav .logo {
  width: 210px;
  padding: 0;
}
.site-nav .navbar-collapse {
  justify-content: flex-end;
  gap: 28px;
}
.site-nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav .nav-link {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--brand-navy);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.active {
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
}
.site-nav .header-cta {
  padding: 12px 18px;
  font-size: 13px;
  white-space: nowrap;
}
.site-nav .navbar-toggler {
  border: 1px solid #d6e4ed;
  border-radius: 8px;
  padding: 8px;
}
.site-nav .navbar-toggler:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--brand-blue-rgb), 0.15);
}
@media (max-width: 991.98px) {
  .site-nav {
    min-height: 76px;
    gap: 0;
  }
  .site-nav .logo {
    width: 185px;
  }
  .site-nav .navbar-collapse {
    flex-basis: 100%;
  }
  .site-nav .nav-links {
    align-items: stretch;
    gap: 4px;
    padding: 16px 0 12px;
    border-top: 1px solid #e1e5ea;
    margin-top: 10px;
  }
  .site-nav .nav-link {
    padding: 12px 14px;
  }
  .site-nav .header-cta {
    display: block;
    margin-bottom: 12px;
    text-align: center;
  }
}

.site-nav .nav-link.active {
  color: var(--brand-blue);
  background: linear-gradient(
    110deg,
    var(--brand-blue-tint),
    var(--brand-teal-tint)
  );
  box-shadow: inset 0 -3px 0 var(--brand-blue);
  font-weight: 700;
}
